Keep the ignore policy for tracked files in full snapshots

main

Commit

Soph2d ago

git status reports edits to tracked files that match .gitignore. The listed-file path filtered them with git check-ignore --no-index; the full-snapshot path did not, so a committed template filled with a local secret was copied verbatim into the shadow snapshot. Every snapshot now filters its changed files the same way (failing closed); an ignored file an earlier snapshot captured is reset to its base content.

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

Checkpoints

Fix Claude Code Subagent Attribution Issues

Claude CodeOpus 5.5
View session
Checkpoint 1