docs: reserve Harness branch selection for executor

This commit is contained in:
KOKO\Mimi
2026-08-12 15:19:59 +09:00
parent 713b41b771
commit 65d5e0748a
+2 -1
View File
@@ -61,7 +61,8 @@ Execution contract:
- `.codex/hooks.json` is authoritative: PreToolUse runs `scripts/hooks/pre_tool_use.py` and Stop - `.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 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. 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 `started_at`, `completed_at`, `failed_at`, `blocked_at`, task timestamps, or top-level phase
status from the Implementation Agent. 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. - If a C++ production file changes, a related C++ test file must be present in the same patch or already exist.