strategy: resolve Codex subagent transcripts through the inventory at condensation

main

Commit

Soph3d ago

A Codex child's rollout path reaches its task record only when the parent's turn-end inventory refresh sees a terminal turn. When the parent commits mid-turn (after the child finished, before its own Stop), condensation saw a record with no path, the Claude-layout fallback could not find a Codex rollout, and the checkpoint stored a reason-only task.json.

materializeTaskRecords now offers records whose declared path is missing or no longer exists to the agent's inventory-aware extractor, which accepts a rollout only when its session_meta.id matches the agent ID. This also covers rollouts Codex archived after their path was recorded.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com Entire-Checkpoint: 01M41HTQTGV65F9V8Z315FAWVE

Checkpoints

Codex Subagent Transcript Resolution

PiGPT-6-astra
View session
Checkpoint 1

Fix Codex Subagent Transcript Resolution Path

Claude CodeOpus 5.5
View session
Checkpoint 1