Repository navigation
Closed
Labels
capability:authoringSkills that author or maintain other skills: write-skill, optimize-skillcapability:platformFramework / agent substrate skills (install, verify, doctor, override, status, setup bootstrap)enhancementNew feature or requestfamily:ci.github workflows, prek, validatorsfamily:docsDocs, MISSION.md, READMEsfamily:securitysecurity-* skillsfamily:setupsetup-* skillsfamily:toolstools/*family:utilitiesutilities skillsgood first issueGood for newcomerssubstrate:sandboxTool substrate: agent isolation, egress control, settings audit
Description
What should happen
The Magpie repository stops committing .claude/settings.json. Its contents become a template, plus a documented step that contributors (and the secure-setup install) follow to put it in place locally.
Why
The file in this repository is the maintainers' working configuration, not something a contributor's agent should silently inherit on clone. It mixes two things:
- the sandbox and permission baseline (
sandbox.*,permissions.*); - the self-adoption wiring (
extraKnownMarketplaces,enabledPlugins).
Because it is committed, every change to it is a repository change. Contributors also get the maintainers' choices whether or not they want them, and a cloned checkout can never differ from the baseline without a dirty tree.
Which layer
The repository root .claude/settings.json, plus every surface that references it:
.github/workflows/sandbox-lint.ymlandtools/sandbox-lint/expected.json(the lint baseline);.asf.yaml(the requiredsandbox-lintcheck);.pre-commit-config.yaml(the exclusion it gets);plugins/magpie-setup/skills/setup/setup_preflight/isolated.py(it is listed as a dogfooded file);docs/security/threat-model.md(mitigation M.14 cites itsallowedDomains);docs/setup/secure-agent-setup.md,docs/setup/secure-agent-internals.md,docs/spec-driven-development.mdandplugins/magpie-utilities/skills/write-skill/security-checklist.md(they link it as the block to copy).
Boundary conditions
- Ship the template at a tracked path outside
.claude/(for exampletools/agent-isolation/claude-settings.template.json), and gitignore.claude/settings.jsonin this repository. - Retarget
sandbox-lint, the preflight fingerprint and the doc links at the template, so the baseline stays linted and required in CI. - Add the contributor step to the contributor docs and to
setup-isolated-setup-install: copy or merge the template into.claude/settings.json(orsettings.local.json), withisolated-setup-verifyreporting when it is missing. - An adopter's
adoptstill writes its own committed.claude/settings.jsonfloor. This issue is about the Magpie repository only.
Out of scope
Changing the contents of the baseline.
Metadata
Metadata
Assignees
Labels
capability:authoringSkills that author or maintain other skills: write-skill, optimize-skillcapability:platformFramework / agent substrate skills (install, verify, doctor, override, status, setup bootstrap)enhancementNew feature or requestfamily:ci.github workflows, prek, validatorsfamily:docsDocs, MISSION.md, READMEsfamily:securitysecurity-* skillsfamily:setupsetup-* skillsfamily:toolstools/*family:utilitiesutilities skillsgood first issueGood for newcomerssubstrate:sandboxTool substrate: agent isolation, egress control, settings audit
Activity
feat(setup): ship the framework's agent settings as a template
feat(setup): ship the framework's agent settings as a template
feat(setup): ship the framework's agent settings as a template
feat(setup): ship the framework's agent settings as a template (apach…
fix(ci): refuse a committed .claude/settings.json in sandbox-lint (#1675