Repository navigation
Tell each stage the routing decision its run line must carry (#56) - #61
Conversation
- CycleRecorder.stage() appends the routing decision of each attempt to the dispatched prompt: profile, requested provider/model and effort, with the instruction to copy them verbatim and write the resolved model as `?`. A rerouted attempt is told the fallback's target. - cc-initial-review, cc-rereview and cc-resolve-comments (shared machine-readable-record section) require copying runtime-supplied routing values instead of the agent's own configuration. - Tests: a review routed to `reviewer` receives `reviewer`, `openai/gpt-5.6-terra` and `high`, matching its telemetry row; each attempt of a reroute is told its own target.
Review summaryReviewed PR 61 at head Security triageSensitive-change triage applied because this change alters task prompt construction and the instructions given to agents. The security audit reviewed the prompt boundary and mirrored skill changes; it found no security vulnerabilities. Verification
Unverified behavior and residual riskA live runtime-launched agent cycle was not run, so the published run line has not been observed matching its telemetry row end to end. The tests verify that each attempt, including a fallback, receives the correct profile, requested model, and effort, and that the prompt directs the agent to retain VerdictAPPROVED — the reviewed head is |
Closes #56 — #56
What changed in behaviour
scripts/cycle.py):CycleRecorder.stage()now appends the routing decision of each dispatch attempt to the prompt — profile, requestedprovider/modeland effort — and tells the agent to copy them verbatim into any run line and to write the resolved model as?. It is built per attempt, so a rerouted attempt is told the fallback's target, which is what its telemetry row records.cc-initial-review,cc-rereview,cc-resolve-comments, shared machine-readable record section, kept byte-identical): when the runtime states the routed profile, requested model and effort, the run line copies them instead of the agent's own configuration. The→?rule is unchanged.Verification
python3 scripts/validate-package.py→VALID: 13 skills (6 cycle, 7 supporting), shared sections in sync, cross-agent manifests alignedpython3 -m unittest discover -s tests→ 633 tests OKreviewerreceivesreviewer,openai/gpt-5.6-terraandhighin its prompt, matching its telemetry row; each attempt of a reroute is told its own target.Residual risk
The first acceptance criterion (the published run line matches telemetry in a real runtime-launched cycle) depends on the agent following the prompt; it is not verified end to end here and should be checked on the next sandbox cycle.