Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): subagent approvals always land in the parent run #13726

Mergedjuliusmarmingemerged 3 commits intot3code/codex-turn-mapping fromrefs/pull/13726/headmerged by juliusmarminge View on GitHub

Showing 13 changed files with 27 additions and 0 deletions (loading 12).

x
0 of 13 viewed, 13 left
27 additions and 0 deletionsapps/server/scripts/record-codex-app-server-replay-fixture.tsModified
View file
@@ -33,6 +33,7 @@
SUBAGENT_PROMPT,
SUBAGENT_V2_APPROVAL_PROMPT,
SUBAGENT_V2_PROMPT,
+ SUBAGENT_V2_NESTED_APPROVAL_PROMPT,
SUBAGENT_V2_NESTED_PROMPT,
THREAD_ROLLBACK_AFTER_PROMPT,
THREAD_ROLLBACK_FIRST_PROMPT,
@@ -89,6 +90,7 @@
"subagent_v2",
"subagent_v2_approval",
"subagent_v2_nested",
+ "subagent_v2_nested_approval",
"multi_turn",
"queued_turn",
"provider_thread_resume",
@@ -516,6 +518,31 @@
+ {
+ name: "subagent_v2_nested_approval",
+ fileName: "subagent_v2_nested_approval.ndjson",
+ description:
+ "One root turn in approval-required mode whose multi-agent v2 subagent spawns a subagent that runs a command that needs approval.",
+ runs: [
+ {
+ name: "spawn-nested-v2-subagent-needing-approval",