Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

test(harness-ops): add behavior-probes cases for /autocompact window precedence

Aperta
#6,930 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

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

needs-triage priority: low

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

  1. Add plugins/harness-ops/skills/behavior-probes/cases/autocompact/* cases with paired controls, one per row.
  2. Each case writes the settings into the case workdir and matches the first line of /autocompact output.
  3. Check whether the runner can isolate CLAUDE_CONFIG_DIR per case. Today it passes the parent's through, so the user-scope rows need that before they can run without touching real settings.
  4. 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

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di melodic-software/claude-code-plugins

Tutte le issue di melodic-software/claude-code-plugins

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.