Advance subagent scans in the same state update as the snapshot

Commit

Soph2d ago

Turn end recorded the snapshot (clearing the pending files it wrote) and the running subagents' scan positions in two separate state updates. If the second failed, the next scan re-read the snapshotted edits and re-baselined them from content that could include user edits. SaveStep now records the scan positions itself, on a written step and on a skipped one alike.

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

Checkpoints

Fix Claude Code Subagent Attribution Issues

Claude CodeOpus 5.5
View session
Checkpoint 1