test(planning): one-command attended re-pin for interview-defenses digest pins
维护者通常 1 天内回复
评估
- 难度
- 3/5
- 预计耗时
- 半天
- 新手友好度
- 64/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- bash, shell
调研方向
Start in plugins/planning/tests/interview-defenses.test.sh and see how sha256 pins and justification comments are stored for each section label. Add --repin <section-label> (or a sibling repin.sh) that recomputes one digest, rewrites only that pin and comment, then reruns the test. Done when a missing label is refused, a matching digest is a no-op, other pins stay byte-identical, and one attended command prints PASS/FAIL.
由索引模型根据 Issue 内容生成。
描述
Problem
plugins/planning/tests/interview-defenses.test.sh pins sha256 digests of guarded sections of the interview skill and says only an attended run may recompute a pin. That holds: on 2026-10-04 the auto-mode classifier denied an agent's re-pin edit ("Security Test Removal") even after the user had approved the new text, and it also denied an agent's plain run of reattach-slice.test.sh. The user then had to run three hand-built sed lines, one at a time, because the session's worktree isolation refuses chained commands that also touch git. That cost several round trips for a two-line change.
Proposal
Add --repin <section-label> to the test (or a sibling repin.sh). It recomputes that one section's digest, rewrites only that pin constant, takes the justification sentence as an argument and inserts it beside the existing ones, then reruns the test and prints PASS/FAIL. The attended step then becomes one ! line the user runs after reading the diff. The pin stays human-gated; only the mechanics shrink.
Acceptance
- One command re-pins one section and adds its justification comment; every other pin is left byte-identical.
- The command refuses a section label that does not exist, and changes nothing when the digest already matches.
- 主要语言
- Shell
- 星标
- 22
- 派生
- 2
- 平均合并
- 7 小时 23 分钟
- 30 天内合并 PR
- 950
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
melodic-software/claude-code-plugins 的其他 Issue
-
fix(session-flow): redact.py misses bare sk-ant-oat01- tokens and stateless ghs_ tokens with dots未关闭needs-human
难度 2/5 1-3 小时 新手友好度 82/100
melodic-software/claude-code-plugins#9026 · 1 条评论 ·
维护者通常 1 天内回复
-
needs-human
难度 2/5 1-3 小时 新手友好度 76/100
melodic-software/claude-code-plugins#9013 · 1 条评论 ·
维护者通常 1 天内回复
-
needs-triage
难度 2/5 1-3 小时 新手友好度 68/100
melodic-software/claude-code-plugins#9000 · 3 条评论 ·
维护者通常 1 天内回复
-
needs-human
难度 2/5 1-3 小时 新手友好度 73/100
melodic-software/claude-code-plugins#8998 ·
维护者通常 1 天内回复
-
fix(source-control): ready hold check treats hyphenated identifiers containing wip as a WIP marker未关闭priority: medium
难度 2/5 1-3 小时 新手友好度 77/100
melodic-software/claude-code-plugins#8977 · 1 条评论 ·
维护者通常 1 天内回复
查看 melodic-software/claude-code-plugins 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
koalaman/shellcheck#3593 ·
-
automated issue report
难度 1/5 1 小时以内 新手友好度 78/100
a2aproject/A2A#2381 ·
维护者通常 3 天内回复
-
e2e-failure ready-to-code
难度 1/5 1 小时以内 新手友好度 82/100
redhat-developer/rhdh-plugin-export-overlays#4485 · 1 条评论 ·
维护者通常 1 天内回复