mirror of
https://github.com/boshu2/agentops.git
synced 2026-09-14 15:08:13 +08:00
55ded76d0b
Substrate fix for the intent-echo hook trap. The Mac codex install ships ~/.codex/hooks.json with intent-echo.sh on UserPromptSubmit; long prompts containing destructive verbs or scope-limiters trigger a HIGH-STAKES preamble that captures as the assistant message. Non-interactive `codex exec` then produces no real output. team-runner.sh:226 is the load-bearing dispatcher behind /swarm, /crank, /evolve, /codex-team, /red-team — patching it once propagates the fix to every team-runtime skill. Mirror on the dry-run echo at :195. smoke-test-codex-skills.sh prompts contain "only" (line 175); validate prompt contains "only" (line 61). Both trigger today. test-sandbox-mode.sh and test-structured-output.sh patched defensively for drift resistance. See .agents/findings/registry.jsonl entries f-2026-05-02-002 and f-2026-05-02-003.