Troubleshooting
Use the smallest read-only surface that answers the question before changing workflow state.
Repo-pack health
Section titled “Repo-pack health”flow doctor --json --strict- If hooks are missing:
flow install-hooks - If
doctorreports missing repo-pack files, restore the tracked files underflow/before debugging anything else.
Active task health
Section titled “Active task health”flow statusflow checkflow inspect issue
Typical failures:
- Branch mismatch: switch to the bound
issue-<n>ortask-<key>branch. - Plan not ready: run
flow plan record ...before tracked edits. - Missing validation evidence: run
flow complete --evidence ....
Acceptance and PR state
Section titled “Acceptance and PR state”flow accept statusflow accept check --strictflow pr status --json
If a remote request is still unfinished, use:
flow accept wait-remote --agent <id> --for claimflow accept wait-remote --agent <id> --for resultflow accept sync --agent <id>
Review-context and memory diagnostics
Section titled “Review-context and memory diagnostics”flow inspect review-context --json --refreshflow memory explain search "<query>" --jsonflow memory explain wake-up --json
Benchmark and release diagnostics
Section titled “Benchmark and release diagnostics”flow eval review-context --config flow/benchmarks/review-context/writeandplay.yaml --jsonflow eval memory-search --config flow/benchmarks/memory-search/writeandplay.yaml --jsontools/flow-consumer-smoketools/flow-release-check