Why: Normal execution roles must exclude Codex while a single enabled Codex adapter remains available for emergency routing and review. Evidence: Parser invalid-case tests were RED before validation; all 17 config tests and agent_exec validate now pass. Impact: Enables three attempts per normal profile, stable Cursor routing, and a validated emergency Codex profile. Refs: feature/agent-cli-enforcement
1.9 KiB
Project Agent Execution
Project-local execution routing configuration. This document is the single
authority for which Agent CLI profiles may implement, repair, test, or review
bounded units. Human-readable notes may appear outside the machine block; the
parser accepts exactly one agent-execution fenced block.
U3's execution controller and U4's project wiring are integrated. This file is
the execution-routing authority for implementation, repair, test, and review.
Normal implementation, repair, and test routes stay Cursor, Antigravity
(agy), and PI. Each profile may be attempted up to
max_attempts_per_profile. Only after those candidates safely exhaust their
attempts does the enabled emergency codex profile run once. Codex remains out
of the three normal role lists and may also appear in review. A configured
emergency profile replaces host write fallback. Cursor uses
cursor-agent-stable. model: auto lets each CLI use its configured default
model; PI therefore uses the operator-selected MiniMax default.
schema: agent-execution/v1
execution:
fresh_process_per_unit: true
permission: run-everything
fallback_to_host: all-unavailable
max_parallel: 3
timeout_seconds: 7200
idle_timeout_seconds: 600
summary_bytes: 16384
raw_output_bytes: 10485760
max_attempts_per_profile: 3
emergency_profile: codex
roles:
implementation: [cursor, antigravity, pi]
repair: [cursor, antigravity, pi]
test: [pi, antigravity, cursor]
review: [pi, antigravity, cursor, codex]
profiles:
cursor:
adapter: cursor
executable: cursor-agent-stable
model: auto
enabled: true
antigravity:
adapter: antigravity
executable: agy
model: auto
enabled: true
pi:
adapter: pi
executable: pi
model: auto
enabled: true
codex:
adapter: codex
executable: codex
model: auto
enabled: true