| 1 | # Continued Native Subagent |
| 2 | |
| 3 | This fixture records Codex continuing a native subagent from a later parent turn. |
| 4 | |
| 5 | ```text |
| 6 | Parent app thread / Codex thread A |
| 7 | Turn 1: spawn one subagent |
| 8 | | |
| 9 | +-- spawnAgent |
| 10 | | |
| 11 | v |
| 12 | Child app thread / Codex thread B |
| 13 | Turn 1: initial prompt |
| 14 | Assistant: initial subagent response |
| 15 | |
| 16 | Turn 2: @hooke continue the same subagent |
| 17 | | |
| 18 | +-- resumeAgent + sendInput |
| 19 | | |
| 20 | v |
| 21 | Child app thread / Codex thread B |
| 22 | Turn 2: continuation prompt |
| 23 | Assistant: continued subagent response |
| 24 | ``` |
| 25 | |
| 26 | The original parent `subagent` item represents only the spawn lifecycle. It must |
| 27 | remain completed with the first result while the child thread accumulates later |
| 28 | conversation turns. |