fix(chezmoi): ignore Claude Code credential + settings-backup runtime files - #328
Merged
Merged
Conversation
… files ~/.claude is an exact_ tree, so any unlisted top-level entry is DELETED on chezmoi apply. chezmoi status showed pending D lines for .credentials.json (Claude Code auth state) and settings.json.backup.<timestamp> (written by Claude Code before migrating settings) — neither was in .chezmoiignore, so the next apply would have silently removed them. Register both as unmanaged runtime files. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012ybMwaDwhwhXsvMfBLk8Gq
Contributor
|
| Status | Count |
|---|---|
| 🔍 Total | 170 |
| ✅ Successful | 160 |
| ⏳ Timeouts | 0 |
| 🔀 Redirected | 0 |
| 👻 Excluded | 9 |
| ❓ Unknown | 0 |
| 🚫 Errors | 1 |
Errors per input
Errors in exact_dot_claude/docs/prds/daily-catchup.PRD.md
- [404] https://docs.anthropic.com/claude-code/commands | Failed: Network error: Not Found
Full Github Actions output
Please fix the broken links before merging.
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.
What
Adds two entries to
exact_dot_claude/.chezmoiignoreunder the runtime-files section:.credentials.jsonandsettings.json.backup.*.Why
~/.claudeis anexact_tree, so any unlisted top-level entry is deleted onchezmoi apply. While preparing #327,chezmoi status ~/.claudeshowed pendingDlines for:.credentials.json— Claude Code auth state; deleting it would log the CLI outsettings.json.backup.<timestamp>— written by Claude Code (2026-07-16) before migrating settingsNeither was registered in
.chezmoiignore, so the next apply would have silently removed both. This is the same failure class as thefriction-reports/deletion incident documented inchezmoi-conventions.md.🤖 Generated with Claude Code
https://claude.ai/code/session_012ybMwaDwhwhXsvMfBLk8Gq