pstack correct: a check behind an opt-in switch should count as unshipped until the switch is on

未关闭 适合新手
#1,320 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
78/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
领域
documentation

调研方向

修改应放在 pstack/skills/correct/SKILL.md 的“Fix and prove”部分中,紧邻关于用真实的过去错误证明每个新检查的规则。请先阅读该规则及其附近的措辞。完成标准是:新增的一行说明,位于选择性开关之后的检查,在真实运行所使用的配置中开关开启之前不予发布;并且证明需要显示该处开关的状态,而不只是在强制开启开关的情况下重放。

由索引模型根据 Issue 内容生成。

描述

Skill: pstack/skills/correct/SKILL.md (0.15.36)

What happens. correct asks for each new check to be proved against a real past mistake ("Prove each new check fails on a real past mistake"). It does not say what counts when the check sits behind an opt-in switch: an env var, a marker file, a config flag. A check can be written, tested against a replay, and reported as shipped, while it never runs in the real pipeline because the switch was never turned on.

Seen in. A multi-day coordinator program in Claude Code. A previous retro added a second-version merge gate (independent premise verdicts and a call-site inventory file) behind a marker file. One batch later the marker file existed in no batch directory. The gate had blocked nothing, and the inventory file had been produced zero times. Meanwhile the rule text described the gate as enforced.

Proposal. Add one line under "Fix and prove". A check behind a switch counts as not shipped until the switch is on in the configuration that real runs use. The proof includes showing the switch's state there, not only a replay with the switch forced on.

主要语言
TypeScript
星标
18.2k
派生
2k
平均合并
4 小时 20 分钟
30 天内合并 PR
80

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

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

cursor/plugins 的其他 Issue

查看 cursor/plugins 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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