test(harness-ops): add behavior-probes cases for /autocompact window precedence
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- shell
- 领域
- testing-qa
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Shell
- 星标
- 22
- 派生
- 2
- 平均合并
- 6 小时 42 分钟
- 30 天内合并 PR
- 902
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
melodic-software/claude-code-plugins 的其他 Issue
-
needs-triage priority: medium
难度 2/5 1-3 小时 新手友好度 76/100
melodic-software/claude-code-plugins#7288 · 1 条评论 ·
维护者通常 1 天内回复
-
knowledge: docpage-digest dual verification defines no verdict vocabulary or pass/fail threshold未关闭needs-human needs-triage
难度 2/5 1-3 小时 新手友好度 78/100
melodic-software/claude-code-plugins#7286 · 1 条评论 ·
维护者通常 1 天内回复
-
needs-triage priority: low
难度 2/5 1-3 小时 新手友好度 76/100
melodic-software/claude-code-plugins#7282 · 1 条评论 ·
维护者通常 1 天内回复
-
needs-triage priority: medium
难度 2/5 1-3 小时 新手友好度 62/100
melodic-software/claude-code-plugins#7273 · 1 条评论 ·
维护者通常 1 天内回复
-
needs-human needs-triage
难度 2/5 1-3 小时 新手友好度 79/100
melodic-software/claude-code-plugins#7232 · 1 条评论 ·
维护者通常 1 天内回复
查看 melodic-software/claude-code-plugins 的全部 Issue
相似的 Issue
-
Install software-properties-common before adding the Suricata PPA可能已有人在做 @himanishpuri 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
Ergane-Foundation/vajra#55 · 2 条评论 ·
维护者通常 2 天内回复
-
[cifuzz] "Minimizing crashes reduces fuzzing time" is logged for every batch run, even with minimize-crashes off可能已有人在做 @martinfrancois 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 1 天内回复
-
enhancement
难度 1/5 1 小时以内 新手友好度 85/100
alunduil/alunduil-chezmoi#914 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 78/100
obra/superpowers#2505 ·
维护者通常 3 天内回复
-
cao-evolution cao-evolution:compiler-security
难度 1/5 1 小时以内 新手友好度 86/100
githubnext/gh-aw-cao#17586 ·
维护者通常 1 天内回复