Stop committing the framework's own .claude/settings.json; ship it as a template
I maintainer di solito rispondono entro 1 giorno
Una pull request collegata è già stata integrata.
- #1671 di @potiuk — integrata
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Start with the root .claude/settings.json and the sandbox-lint wiring in .github/workflows/sandbox-lint.yml, tools/sandbox-lint/expected.json and .asf.yaml. Then check the fingerprint in plugins/magpie-setup/skills/setup/setup_preflight/isolated.py and the exclusion in .pre-commit-config.yaml. Done means the template lives at a tracked path, the repo's own .claude/settings.json is gitignored, CI lint still passes against the template, and the doc links point at it.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 118
- Fork
- 102
- Merge medio
- 13h 35m
- PR unite (30g)
- 362
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di apache/magpie
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-2 giorni Idoneità per principianti 64/100
I maintainer di solito rispondono entro 1 giorno
-
good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
I maintainer di solito rispondono entro 1 giorno
-
capability:fix capability:intake capability:resolve capability:triage enhancement family:security family:tools kind:perf
Difficoltà 5/5 Più di una settimana Idoneità per principianti 12/100
I maintainer di solito rispondono entro 1 giorno
-
Welcome guide: setup familyApertacapability:platform family:setup good first issue
Difficoltà 3/5 Mezza giornata Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di apache/magpie
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
EchoTools/nevr-runtime#651 ·
I maintainer di solito rispondono entro 1 giorno
-
bug frontend rt sev-3
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
noontide-co/mainbranch#1211 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[1.x Bug] run-operation --sql reports success but rolls back writes on transaction-capable adaptersApertatriage
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
dbt-labs/dbt#16784 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno