mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-23 00:21:14 +01:00
Codex /review with gpt-6.1-sol counts the second-model pass it already ran (GEVA-562) (#4526)
On Codex with gpt-6.1-sol, /review is no longer blocked at session end for a missing second-model pass that it ran. Why: with Sol, Codex starts subagents through its `collaboration` tools and names a started agent by `task_name`, not `agent_id`, so the checklist reader missed it; this blocks gstack-evals' Codex pin. Nothing to do: the fix ships with the next gstack release. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
45e6d549e3
commit
18e24a2ee9
6 files changed
+90
-7
No files matched your search
@@ -96,7 +96,7 @@ The hook reads `destructive_guard` every time it runs, so `gstack-config set des
|
||||
**Contracts on Codex** use the same Stop hook, with the same one block per skill run, records and fail-open rules; Codex sends it the same `stop_hook_active` and `last_assistant_message` keys and takes the same block answer. The transcript is Codex's rollout file (`~/.codex/sessions/<yyyy>/<mm>/<dd>/rollout-*.jsonl`), and the checker tells it from a Claude Code transcript by what the file holds (a rollout starts with a `session_meta` record), never by its path. On Codex:
|
||||
|
||||
- A **load** is Codex injecting a `gstack-*` skill into the conversation as a `<skill>` message (the app server's skill input does this), or the model reading one with a shell command such as `cat ~/.codex/skills/gstack-review/SKILL.md`. `codex exec '$review ...'` also injects the skill as a `<skill>` message (codex-cli 0.170); a mention of the folder name instead of the listed name is plain text, so then the skill loads only when the model reads it.
|
||||
- A **dispatch** is a `spawn_agent` call that started an agent. One that failed (its result has no `agent_id`) doesn't count.
|
||||
- A **dispatch** is a call to Codex's own `spawn_agent` that started an agent: its result names an `agent_id` (the `multi_agent_v1` tools) or, when Codex serves the tool in its `collaboration` namespace (as it does for gpt-6.1-sol), a `task_name`. One that failed (its result names neither), or a tool of the same name from another namespace, doesn't count.
|
||||
- **The contract** comes from gstack's own copy of the skill (`<gstack>/review/SKILL.md`), because Codex's installed `SKILL.md` keeps only its name and description.
|
||||
- **/review's `specialists-dispatched` item is skipped**, because Codex doesn't run /review's specialist reviewers yet. The adversarial pass and the report are checked as on Claude Code, and the block text names `spawn_agent` and `wait_agent` where Claude Code's names an Agent dispatch.
|
||||
- **A subagent's own rollout is never checked**: its first record names the parent thread.
|
||||
|
||||
Reference in new issue
Block a user