Skip to content

feat: seed settings-fragments (final seed batch): https://github.com/riboseinc/claude-memory-files/issues/1 - #10

Merged
opoudjis merged 1 commit into
mainfrom
feat/seed-settings-fragments
May 18, 2026
Merged

opoudjis merged 1 commit into
mainfrom
feat/seed-settings-fragments

Conversation

@opoudjis

Copy link
Copy Markdown
Member

Implements ticket #1; PR 6 of the delivery sequence — final batch of v1 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) 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: ## fragment JSON-block extraction triggers on all four files (validator branch covered for the first time); top-level key allowlist enforced.

Next: PR 7 (tools/install.sh curl installer), PR 8 (companion plugin with 4 slash commands), PR 9 (--update mode with hash-based drift detection). Plus D2 (concepts pages) and D3 (task guides).

🤖 Generated with Claude Code

…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>
@opoudjis opoudjis self-assigned this May 18, 2026
@opoudjis
opoudjis merged commit 5fe61c8 into main May 18, 2026
4 checks passed
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