Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

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

Abierto
#6,930 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
shell
Área
testing-qa

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
Shell
Estrellas
22
Forks
2
Merge medio
8 h 27 min
PR fusionados (30 d)
957

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de melodic-software/claude-code-plugins

Todos los issues de melodic-software/claude-code-plugins

Issues similares

Más issues de Shell/Bash

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.