Skip to content

feat: Add settings-repo-ref tracking and harden global-settings write blocks#18

Open
WilcoLouwerse wants to merge 3 commits intofeature/claude-code-toolingfrom
docs/update-claude-developer-guides
Open

feat: Add settings-repo-ref tracking and harden global-settings write blocks#18
WilcoLouwerse wants to merge 3 commits intofeature/claude-code-toolingfrom
docs/update-claude-developer-guides

Conversation

@WilcoLouwerse
Copy link
Copy Markdown
Contributor

Summary

  • Add optional ~/.claude/settings-repo-ref file so users can track a non-main branch/tag/SHA for global-settings version checks (applies to both the GitHub API and git fetch lookup paths in check-settings-version.sh).
  • Harden block-write-commands.sh to also protect settings-repo-ref, and add deny rules in settings.json for destructive commands (sudo, mkfs, dd if=, gh pr merge, gh repo delete, git reset --hard, git clean -f*, git filter-branch, git checkout --, git restore, git config --global, etc.).
  • Remove the CLAUDE.local.md flow: drop global-settings/CLAUDE.local.md.example and references in README/parallel-agents docs; gitignore .claude/settings.json and settings.local.json.
  • Bump global-settings/VERSION from 1.4.01.5.1.
  • Refresh the Claude developer guides under docs/claude/ (commands, getting-started, global-claude-settings, parallel-agents, testing, workflow, writing-docs, writing-skills, writing-specs) and the usage-tracker/ docs (MODELS, QUICKSTART, README, SETUP).
  • Document the skill-creator vendoring + update script, the evals/workspace/iteration-N layout, and the baseline_score regression marker in writing-skills.md; clarify L3/L5 detection criteria and the updated evals schema.
  • Add .gitattributes for line-ending normalization.

Checks

  • ⏭️ Local checks skipped — the only workflow (documentation.yml) does not trigger for PRs targeting feature/claude-code-tooling.

Test plan

  • CI passes
  • Tested locally
  • Reviewed for regressions

WilcoLouwerse and others added 3 commits April 10, 2026 14:32
Updates across Claude docs (commands, getting-started, global-claude-settings,
parallel-agents, testing, workflow, writing-docs, writing-skills, writing-specs),
usage-tracker docs (MODELS, QUICKSTART, README, SETUP), global-settings README,
adds .gitattributes for line ending normalization, and adds .claude/ config directory.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
…v1.5.1

- global-settings: add optional settings-repo-ref file to track a non-main
  branch/tag/sha for version checks (GitHub API + git fetch paths), update
  block-write-commands.sh to protect the new file, and add deny rules for
  destructive commands (sudo, rm -rf root, gh pr merge, git reset --hard, etc.)
- Remove CLAUDE.local.md flow from docs (README, parallel-agents) and delete
  the example template; gitignore .claude/settings.json + settings.local.json
- writing-skills: document skill-creator vendoring + update script, the
  evals/workspace/iteration-N layout, and the baseline_score regression marker

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@WilcoLouwerse WilcoLouwerse changed the title Add settings-repo-ref tracking, harden write blocks, and refresh Claude developer guides feat: Add settings-repo-ref tracking and harden global-settings write blocks Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant