You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a955a2c
Browse filesBrowse the repository at this point in the historyBrowse files
test(server): record Codex multi-agent V2 subagents live on 0.156.1
The subagent_v2 and subagent_v2_nested transcripts were hand-built with
synthetic thread ids and hand-ordered frames. Record both against a real
Codex 0.156.1 app-server on gpt-5.6-sol, which runs multi-agent v2.
The recorder gains the two scenarios and a per-run thread/start config
override: the nested scenario raises agents.max_depth to 3, since Codex only
lets root spawn by default. Replay ignores thread/start config, so the
transcript still matches the adapter's frames. The prompts now ask for the
spawns explicitly; "just say hello" alone no longer spawns anything on this
model.
In both recordings Codex emits the child's idle status, then the parent's
subAgentActivity(started), then the child's turn/started, so the adapter
registers the child before its first turn. Assertions now name the agent
paths and answers the model chose, and the scenario expectations use the
recorder's method labels.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
"Respond with exactly: steering fixture initial response";
48
48
exportconstSUBAGENT_PROMPT=
49
49
"Spawn 2 subagents, one to read package.json and one to read tsconfig.json";
50
-
exportconstSUBAGENT_V2_PROMPT="just say hello";
50
+
exportconstSUBAGENT_V2_NESTED_LIVE_PROMPT=
51
+
"Spawn one subagent and tell it to spawn its own subagent, which must in turn spawn one more subagent whose only task is to reply with exactly: Hello. Each agent waits for its child and replies with exactly what the child said. Wait for your subagent, then reply with exactly what it said.";
52
+
exportconstSUBAGENT_V2_LIVE_PROMPT=
53
+
"Spawn one subagent whose only task is to reply with exactly: Hello. Wait for it to finish, then reply with exactly what it said.";
51
54
exportconstOPENCODE_SUBAGENT_PROMPT=
52
55
"Use the task tool exactly once. Delegate to the general subagent with this prompt: Respond exactly CHILD_OK. After the task completes, respond exactly PARENT_OK.";
0 commit comments