Repository navigation
Refuse tracked Claude project-local settings - #305
Merged
Merged
Conversation
Add the durable-workflow/.github#355 tracked-path refusal to scripts/check-public-boundary.sh, before the content scans. It scans the complete tracked tree, prints only the path, and never reads the file. .gitignore now covers root and nested .claude/settings.local.json. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Member
Author
|
Security: PASS. The |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Part of durable-workflow/.github#355 (other repositories remain, so this does not close it).
Same change as waterline#290 and sdk-php#379:
.gitignorecovers.claude/settings.local.jsonand**/.claude/settings.local.json.scripts/check-public-boundary.shrefuses any tracked.claude/settings.local.json(root or nested) before the content scans. It runsgit ls-filesover the whole tracked tree, so it catches a copy that was already tracked before the PR range. It prints only the path and never reads the file. The existing content and metadata scans are unchanged.tests/test_public_boundary_scanner.pygains controls: root and nested tracked copies are refused (the canary content never appears in output),.claude/settings.json,.claude/settings.local.json.exampleandcomponent/settings.local.jsonpass, and both ignore forms match. The two refusal tests fail against the old scanner.Local checks: the boundary script passes on this branch. In a scratch repo with this script and
.gitignore, tracked root and nested copies exit 1 without printing content, untracked copies are ignored and pass, and.claude/settings.json,.claude/settings.local.json.exampleandc/settings.local.jsonpass.🤖 Generated with Claude Code