test(claude): Cover resumed children without launch metadata

Replay can recover the child's launch from its tool result or its
sidecar. Exercise each source independently.
This commit is contained in:
paseo-bot[bot]
2026-11-25 19:11:37 +00:00
parent 3299ff9978
commit ede17bf91b
@@ -778,7 +778,7 @@ describe("ClaudeAgentSession persisted subagent replay", () => {
]),
completion,
],
meta: JSON.stringify({ toolUseId: TOOL_USE_ID, finished: true }),
meta: hasLaunchResult ? null : JSON.stringify({ toolUseId: TOOL_USE_ID, finished: true }),
sidechainLines: [sidechainEntry({ stopReason: "tool_use" })],
});