2.6 KiB
2.6 KiB
Doc Review: fix-harness-command-template
Reviewed docs touched by or referring to the fix.
Files reviewed
CHANGELOG.md— added a new### Fixed — harness command template (task fix-harness-command-template)entry at the top of[unreleased]covering the fix, the new{prompt_content}token, backwards compat, the inline UnicodeDecodeError fix, harness-agnostic contract preservation, test scaffolding updates, and the 7 new tests. Also corrected the staleadd-loop-runnerv1 entry that mentioned the old--prompt-file/--cwddefault — pointed readers at the v1.1 fix entry instead. Computed full-suite count as 440 (was 433; +7 new).README.md— updated theharness.commandrow in the loop.json fields table to mention{prompt},{prompt_content},{cwd}tokens and the override pattern for non-opencode harnesses (Pi Dev, aider, etc.).design/loops/technical.md§8 — rewritten to document the new default shape; added a per-token explanation table including{prompt_content}; added a--modeloverride example for routing ticks to a local LLM (Qwen, etc.); added three non-opencode examples (Pi Dev, aider, generic shell wrapper); reaffirmed the D8 / harness-agnostic contract.design/loops/technical.md§9 — updated the self-improvement template'sharness.commandto the new default.templates/loops/self-improvement/loop.json—harness.commandupdated to the new default.AGENTS.md— no edits needed (the AGENTS.md loop runner bullet mentions the binary and the per-tick engine at a high level; doesn't reference the default command shape).prompts/loop-*.md— no edits needed (prompts are content; no flag references).contracts/harness-integration.md— no edits needed (covers pre-edit guard, not tick harness invocation).plugins/automaton-guard-pi/— no edits needed (pre-edit guard plugin; unaffected by tick harness command fix).scripts/status.py— no edits needed (status.py does not invoke the harness).--install-schedulewrites a stub at the loop dir; the stub invokesloop-runner.py --mode tickwhich in turn invokes the harness. The runner's fix is what makes the chain work end-to-end.
Cross-references checked
rg "prompt-file|--cwd" design/ templates/ scripts/ contracts/ README.md AGENTS.md— only intentional references remain (in thedesign/loops/technical.mdexplanatory text mentioning that the old default had no--prompt-fileflag, and in the Pi Dev / generic examples that use--cwdas a user-chosen flag for their harness). No stale references.
Verdict
PASS — proceed to referee.