docs: reserve Harness branch selection for executor
This commit is contained in:
@@ -61,7 +61,8 @@ Execution contract:
|
||||
- `.codex/hooks.json` is authoritative: PreToolUse runs `scripts/hooks/pre_tool_use.py` and Stop
|
||||
runs `scripts/hooks/stop_validation.py` automatically. Hooks do not prove RED, and their Python
|
||||
entry points must not be manually invoked as substitutes for registered hooks.
|
||||
- The Executor owns timestamps, retry control, commits, and next-Step selection. Do not write
|
||||
- The Executor (`scripts/execute.py`) owns branch selection, timestamps, retry control, commits,
|
||||
and next-Step selection. Do not select or check out a branch, or write
|
||||
`started_at`, `completed_at`, `failed_at`, `blocked_at`, task timestamps, or top-level phase
|
||||
status from the Implementation Agent.
|
||||
- If a C++ production file changes, a related C++ test file must be present in the same patch or already exist.
|
||||
|
||||
Reference in New Issue
Block a user