Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

test(planning): one-command attended re-pin for interview-defenses digest pins

已关闭
#6,334 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@melodic-automation-lanes 已经在做这个了。

开始于 2026年10月18日。

  • #8220 来自 @melodic-automation-lanes —— 未关闭

评估

难度
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 内容生成。

描述

needs-human needs-triage

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 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

melodic-software/claude-code-plugins 的其他 Issue

查看 melodic-software/claude-code-plugins 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。