This document defines the current agent-first workflow for this repository.
It does not replace AGENTS.md. AGENTS.md remains the policy file for worktrees, merge rules, deployment verification, and cleanup.
The default loop is:
- Read
strategy_spec.toml. - Read
.focus/context.json. - Stay inside the editable surface unless there is a concrete reason to expand.
- Refresh generated focus assets when workflow intent, pack scope, or shared navigation changes.
- Run verification in this order:
focus.smokefocus.fullonly when the smoke profile is insufficient- runtime or backtest workflows only when the task truly needs execution evidence
The repository no longer relies on an installable command-line wrapper. Treat the focus manifest and generated assets as the source for module-level runtime and verification entrypoints.
Use these assets in order:
strategy_spec.toml.focus/context.json.focus/SYSTEM_MAP.md.focus/TASK_BRIEF.md.focus/WORKFLOWS.md.focus/TASK_ROUTER.md.focus/TEST_MATRIX.mdtests/TEST.mdartifacts/validation/latest.json
If generated assets drift from the spec, update the generator/source layer and refresh the agent assets instead of hand-maintaining the generated files.
editable- default edit surface
reference- context only unless the task truly requires expansion
frozen- do not edit unless the task is explicitly about repository policy or asset generation
When you must expand scope:
- Explain why the editable surface is insufficient.
- Expand by the smallest possible step.
- Record the expansion in the delivery summary.
focus.smoke- default verification profile
- runs the current focus selectors with the smoke keyword filter
focus.full- full runnable selector set for the current focus
runtime- use only for runtime lifecycle or monitoring work
backtest- use only when behavior or parameter effects need execution evidence
Structured evidence is written to artifacts/validation/latest.json and other refreshed asset files. Do not claim completion from code inspection alone.
Do not:
- bypass
strategy_spec.tomlwhen changing intent or pack scope - hand-edit generated
.focus/*files unless the task is about the generator - widen scope without a concrete reason
- reintroduce command-wrapper abstractions around runtime or verification flows
- move domain or infrastructure responsibilities into generic coordinators
Every delivery should state:
- which source-of-truth assets were consulted
- which surface was edited
- which verification profiles or execution workflows ran
- whether
tests/TEST.mdorartifacts/*/latest.jsonchanged - any remaining risks or skipped checks