Never write gitignored subagent files as baseline blobs

Commit

Soph2d ago

CaptureSubagentBaselines blobbed whatever file a subagent touched, including a gitignored one such as .env, putting its plaintext into the object store. Shadow snapshots filter ignored files for this reason, and an ignored file is never snapshotted or attributed, so baselines now skip them the same way (failing closed when the check itself fails).

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

Checkpoints

Fix Claude Code Subagent Attribution Issues

Claude CodeOpus 5.5
View session
Checkpoint 1