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 摘要。