test(harness-ops): add behavior-probes cases for /autocompact window precedence
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- shell
- Ambito
- testing-qa
Direzione di ricerca
Start with the existing per-spawn effort cases from #6913 under plugins/harness-ops/skills/behavior-probes/cases/ as a template, and read the runner to see how it passes CLAUDE_CONFIG_DIR through to each case. Then read the observation record from #6906 in context-guard. Done means one autocompact case per table row, each with a paired control, matching the first line of /autocompact output, and user-scope cases that run without touching real settings.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
The auto-compact window precedence that context-guard records (#6906) was observed once, by hand, on Claude Code 2.1.296 on 2026-10-10. The probe used claude -p "/autocompact" under a throwaway CLAUDE_CONFIG_DIR. Nothing re-checks it when a release changes the resolver. The per-spawn effort precedence, by contrast, is covered by behavior-probes cases (#6913).
Observed:
| Setup | Reported by /autocompact (no argument) |
|---|---|
/autocompact 400000 |
saves user settings.json at modelSettings.<model id>.autoCompactWindow |
+ project top-level autoCompactWindow: 300000 |
300k: project top-level beats user per-model |
| user file with top-level 250000 and per-model 400000 | 400k: per-model beats top-level in the same file |
--autocompact 200000 |
200k: the flag beats settings |
CLAUDE_CODE_AUTO_COMPACT_WINDOW=150000 + flag |
150k: the env var beats the flag |
Proposed next step
- Add
plugins/harness-ops/skills/behavior-probes/cases/autocompact/*cases with paired controls, one per row. - Each case writes the settings into the case workdir and matches the first line of
/autocompactoutput. - Check whether the runner can isolate
CLAUDE_CONFIG_DIRper case. Today it passes the parent's through, so the user-scope rows need that before they can run without touching real settings. - Point context-guard's observation record at the cases once they exist.
- Lingua principale
- Shell
- Stelle
- 22
- Fork
- 2
- Merge medio
- 7h 42m
- PR unite (30g)
- 923
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun 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 melodic-software/claude-code-plugins
-
priority: medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
melodic-software/claude-code-plugins#7351 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
priority: high
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
melodic-software/claude-code-plugins#7312 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
priority: medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
melodic-software/claude-code-plugins#7288 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
knowledge: docpage-digest dual verification defines no verdict vocabulary or pass/fail thresholdApertaneeds-human
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
melodic-software/claude-code-plugins#7286 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
priority: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
melodic-software/claude-code-plugins#7282 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di melodic-software/claude-code-plugins
Issue simili
-
[Bug]: armbian-firstlogin: preset Wi-Fi key with " or \ breaks netplan configForse già presa @jfcabral l’ha presa oggi. ApertaBug Good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
armbian/build#10995 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
lane:repo
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
SPARDiffData/differential-data-collection#42 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
alunduil/alunduil-chezmoi#923 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
xonsh/xontrib-abbrevs#11 ·