feat: seed settings-fragments (final seed batch): https://github.com/riboseinc/claude-memory-files/issues/1 - #10
Merged
Conversation
…x reads, web research) Implements ticket #1 (#1); PR 6 of the delivery sequence — final batch of seed content. Lands four settings-fragment files. Each contains a `## fragment` heading followed by a fenced ```json block; the validator parses the block and enforces that only `permissions.{allow,deny,ask}` and `env` top-level keys are touched. Installs via `tools/install.sh` (PR 7) deep-merge the JSON into `~/.claude/settings.json` without disturbing other keys. - ruby-bundler-allowlist.md (team) Bash(bundle exec:*), Bash(ruby -e:*), Bash(rake:*), Bash(rubocop:*), Bash(rspec:*) - github-cli-reads-allowlist.md (team) Bash(gh issue *), Bash(gh pr view:*), Bash(gh pr list:*), Bash(gh api:*), Bash(gh repo view:*) — read-only deliberately - common-unix-reads-allowlist.md (universal) Bash(grep:*), Bash(find:*), Bash(ls:*), Bash(cat:*), Bash(head:*), Bash(tail:*), Bash(wc:*) - web-research-allowlist.md (universal) WebSearch, WebFetch(domain:docs.anthropic.com), WebFetch(domain:code.claude.com), WebFetch(domain:github.com) Plus regenerated .github/CODEOWNERS (25 per-file rules) and _meta/index.json (25 active entries). This completes the v1 seed batch: instructions=11, memory=7, settings-fragments=4, project-claude-md=1, rules=2, hooks=0 (v2-gated). All five non-hooks categories populated. Smoke test #6 from the plan exercised: - settings-fragment `## fragment` JSON-block validation triggers on all four files (validator branch covered for the first time). - Top-level key allowlist enforced (no entries outside permissions/env). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Implements ticket #1; PR 6 of the delivery sequence — final batch of v1 seed content.
Lands four settings-fragment files. Each contains a
## fragmentheading followed by a fenced```jsonblock; the validator parses the block and enforces that onlypermissions.{allow,deny,ask}andenvtop-level keys are touched. Installs viatools/install.sh(PR 7) will deep-merge the JSON into~/.claude/settings.json.ruby-bundler-allowlist.md(team) —Bash(bundle exec:*),Bash(ruby -e:*),Bash(rake:*),Bash(rubocop:*),Bash(rspec:*).github-cli-reads-allowlist.md(team) —Bash(gh issue *),Bash(gh pr view:*),Bash(gh pr list:*),Bash(gh api:*),Bash(gh repo view:*). Read-only deliberately.common-unix-reads-allowlist.md(universal) —Bash(grep:*),Bash(find:*),Bash(ls:*),Bash(cat:*),Bash(head:*),Bash(tail:*),Bash(wc:*).web-research-allowlist.md(universal) —WebSearch,WebFetch(domain:docs.anthropic.com),WebFetch(domain:code.claude.com),WebFetch(domain:github.com).Plus regenerated
.github/CODEOWNERS(25 per-file rules) and_meta/index.json(25 active entries).Seed batch complete with this PR. Final counts: instructions=11, memory=7, settings-fragments=4, project-claude-md=1, rules=2, hooks=0 (v2-gated). All five non-hooks categories populated.
Smoke test #6 exercised:
## fragmentJSON-block extraction triggers on all four files (validator branch covered for the first time); top-level key allowlist enforced.Next: PR 7 (
tools/install.shcurl installer), PR 8 (companion plugin with 4 slash commands), PR 9 (--updatemode with hash-based drift detection). Plus D2 (concepts pages) and D3 (task guides).🤖 Generated with Claude Code