Config: support a user-level config layer or fall back to the primary worktree's config.local.yaml
I maintainer di solito rispondono entro 1 giorno
@Shivang9983 ci sta già lavorando.
Dal 1/10/2026.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- tooling
Direzione di ricerca
Read the ce-config-layers rule and docs/guides/configuration.md to trace the current resolution order; then review docs/brainstorms/2026-03-25-config-storage-redesign-requirements.md for existing user-level requirements. Implement one of the two proposed approaches, preserve repo-file precedence and keep docs_root repo-only. Done when personal preferences work across linked worktrees and the relevant configuration documentation describes the behavior.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
.compound-engineering/config.local.yaml is resolved from git rev-parse --show-toplevel only (the ce-config-layers rule and docs/guides/configuration.md). There is no user-level layer, and a linked worktree does not see the primary checkout's file.
Personal, non-secret preferences such as plan_model, brainstorm_model, cross_model_peer, and cross_model_review_mode describe the user, not the checkout. Because config.local.yaml is normally gitignored, every new worktree starts without it. Anyone who works in many worktrees (one per branch or agent) must re-create the file each time, or the settings silently do not apply.
docs/brainstorms/2026-03-25-config-storage-redesign-requirements.md describes user-level defaults and a user_state_dir (~/.compound-engineering), but the shipped resolution reads only the two repo files.
Current workaround
A post-checkout git hook that symlinks a shared file (~/.claude/ce-config.local.yaml) into each checkout's .compound-engineering/config.local.yaml. It works, but it is per-repo, untracked, and invisible to /ce-setup diagnostics.
Proposal
Either of these would remove the need for the workaround. The first is preferred.
- User-level layer. Add
~/.compound-engineering/config.yaml(honoring$XDG_CONFIG_HOME/compound-engineering/config.yaml) as the lowest-precedence layer. Resolution order:<repo>/.compound-engineering/config.local.yaml, then<repo>/.compound-engineering/config.yaml, then the user-level file, then the skill default.docs_rootstays repo-only. - Primary-worktree fallback. When the current checkout is a linked worktree and has no
config.local.yaml, read the one in the primary worktree (the parent ofgit rev-parse --git-common-dir).
Related: /ce-setup could report which layer supplied each active key.
Notes
- Existing precedence is unchanged. A repo
config.local.yamlorconfig.yamlvalue still wins over the user-level file. - Keys that are inherently repo-specific (
docs_root,sweep_state_path,feedback_sources) should stay repo-only. The user-level file would accept only personal preference keys.
- Lingua principale
- TypeScript
- Stelle
- 25.6k
- Fork
- 2.1k
- Merge medio
- 3h 57m
- PR unite (30g)
- 170
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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 EveryInc/compound-engineering-plugin
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
EveryInc/compound-engineering-plugin#2085 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
EveryInc/compound-engineering-plugin#795 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 80/100
EveryInc/compound-engineering-plugin#2084 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
EveryInc/compound-engineering-plugin#2083 ·
I maintainer di solito rispondono entro 1 giorno
-
Host support: DeepSeek Harness (dsh)Forse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
EveryInc/compound-engineering-plugin#2072 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di EveryInc/compound-engineering-plugin
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
e2e-failure ready-to-code
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
redhat-developer/rhdh-plugin-export-overlays#4794 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
area: plugins documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
CatVinci-Studio/Textus#727 ·
I maintainer di solito rispondono entro 1 giorno