test(harness-ops): add behavior-probes cases for /autocompact window precedence
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- shell
- Lĩnh vực
- testing-qa
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Shell
- Star
- 22
- Fork
- 2
- Merge trung bình
- 7 giờ 42 phút
- Pull request đã merge (30 ngày)
- 923
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của melodic-software/claude-code-plugins
-
priority: medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
melodic-software/claude-code-plugins#7351 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
priority: high
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
melodic-software/claude-code-plugins#7312 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
priority: medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
melodic-software/claude-code-plugins#7288 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
knowledge: docpage-digest dual verification defines no verdict vocabulary or pass/fail thresholdĐang mởneeds-human
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
melodic-software/claude-code-plugins#7286 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
melodic-software/claude-code-plugins#7282 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của melodic-software/claude-code-plugins
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
-
[Bug]: Three default prefs with JSON values are never set (override.sh escapes their quotes twice)Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Floorp-Projects/Floorp#2913 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
darwin zsh
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
carapace-sh/carapace-bin#3846 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
devtools: new version 1.5.3Đang mởout-of-date
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
CachyOS/CachyOS-PKGBUILDS#1981 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: backend bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
snapotter-hq/SnapOtter#2415 ·
Maintainer thường phản hồi trong vòng 1 ngày