Title: chore: .claude/settings.local.json is tracked in git — personal local settings with machine-specific paths and a broad home-read allow · Issue #370 · developing-today/code · GitHub
Open Graph Title: chore: .claude/settings.local.json is tracked in git — personal local settings with machine-specific paths and a broad home-read allow · Issue #370 · developing-today/code
X Title: chore: .claude/settings.local.json is tracked in git — personal local settings with machine-specific paths and a broad home-read allow · Issue #370 · developing-today/code
Description: Problem .claude/settings.local.json is tracked in git. By name and by Claude Code convention it is the local (personal, per-machine) settings file — the shared project file is settings.json. This is the only file under .claude/ in the re...
Open Graph Description: Problem .claude/settings.local.json is tracked in git. By name and by Claude Code convention it is the local (personal, per-machine) settings file — the shared project file is settings.json. This i...
X Description: Problem .claude/settings.local.json is tracked in git. By name and by Claude Code convention it is the local (personal, per-machine) settings file — the shared project file is settings.json. This i...
Opengraph URL: https://github.com/developing-today/code/issues/370
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"chore: .claude/settings.local.json is tracked in git — personal local settings with machine-specific paths and a broad home-read allow","articleBody":"## Problem\n\n`.claude/settings.local.json` is tracked in git. By name and by Claude Code convention it is the *local* (personal, per-machine) settings file — the shared project file is `settings.json`. This is the only file under `.claude/` in the repo, and `.gitignore` does not cover it (`git check-ignore .claude/settings.local.json` reports NOT-IGNORED; verified on main `2b0c539b`).\n\n## Evidence (main `2b0c539b`)\n\n- `git ls-files .claude/` returns exactly one file: `.claude/settings.local.json` (917 bytes).\n- Its contents are one machine's personal permission allowlist, e.g.:\n - `Read(//home/user/**)` — a blanket read of another home directory\n - `Read(//home/user/.claude/**)`, `Read(//home/user/.config/openchamber/**)`, `Read(//tmp/cc-extract/package/dist/**)`\n - One-off `Bash(...)` allows naming files from a different checkout layout (`home/common/default.nix`, `nixos/services/cloudflared/default.nix`)\n- `.gitignore` ignores the analogous local override `.env.local` (line 104) but has no entry for `.claude/settings.local.json`.\n\nEvery clone therefore inherits a personal allowlist that (a) does nothing useful on any other machine (the `/home/user/...` paths are not this repo's layout), and (b) normalizes committing local agent settings — the next person's `settings.local.json` may carry broader or more sensitive allows.\n\n## Why it matters\n\nLocal settings files are the agent-tooling equivalent of `.env.local`: personal, machine-specific, and a standing invitation to leak local paths/permissions into a shared repo. The repo already untracked the same class of artifact in `.opencode/` (#367, filed-only) and `pkgs/launcher`'s binary (#353); this is the remaining `*.local.*` settings file still tracked.\n\n## Acceptance criteria\n\n- [ ] `.claude/settings.local.json` is no longer tracked (`git ls-files .claude/` is empty, or only a deliberate shared `settings.json` remains).\n- [ ] `.gitignore` gains `.claude/settings.local.json` so it cannot be re-committed accidentally (`git check-ignore` matches).\n- [ ] If any of the allows are genuinely meant to be shared project permissions, they are moved to a new `.claude/settings.json` with repo-relative paths instead of `/home/user/...` absolutes; otherwise no replacement is needed.\n- [ ] No other file changes; the local file may remain on disk for its owner (untrack, do not necessarily delete content from history — history rewrite is out of scope).\n\n## Suggested fix\n\n`git rm --cached .claude/settings.local.json` (or delete in the PR if the content is not needed) plus one `.gitignore` line — a small, low-risk change in the same class as #353/#355/#363.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-19T22:24:24Z","url":"https://github.com/developing-today/code/issues/370"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:899506be-2f44-468f-1978-2f86c64f34ff |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E74C:D7B8A:AF5430:E23C66:6B063893 |
| html-safe-nonce | 9bea6703df38854427f5963ed176d1b1eac1684f0a565a9523b99b902fd8ead0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzRDOkQ3QjhBOkFGNTQzMDpFMjNDNjY6NkIwNjM4OTMiLCJ2aXNpdG9yX2lkIjoiNzM4MjM3MTA1OTI1NTA5NzQ5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 911275bd05a8fd87d5437d95013049581719058b54878877c8b5119bdc93e0d9 |
| hovercard-subject-tag | issue:5932531082 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/370/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ade6c05ac44aff350147362a9d609d6fb46fc3873ecaba2b63a1acf2e3c0138b/developing-today/code/issues/370 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ade6c05ac44aff350147362a9d609d6fb46fc3873ecaba2b63a1acf2e3c0138b/developing-today/code/issues/370 |
| og:image:alt | Problem .claude/settings.local.json is tracked in git. By name and by Claude Code convention it is the local (personal, per-machine) settings file — the shared project file is settings.json. This i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | dcf72c457c022486d23c3cbb0dd21aba537a87611ca9ddabd1799cf2eaa9b297 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0f38f5735226749ec5e08a8649dce4cb2613d9ad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width