Skip to content

Commit c311848

Browse files
committed
docs(pm-dispatch): a finder reports a security finding through the security channel and never fixes it in place
security-findings.md §9 now states the rule once: the finder reports and does not fix in place (no widening of the PR or branch in hand, no own fix branch, no hardening on the same surface); a dev reports through the private report field, a seat or QA runner through a relay draft plus the opaque-id doorbell; a task that cannot proceed without that code path stops as blocked with the opaque cause line while the seat parks the card; the fix comes only from the owner seat's no-card order. os-dev.md rule 3 keeps a single pointer line. The line ratchet row records the ruled raise (62 -> 64) with the measured delta. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufzfz49TMMdiSJVgkdAf
1 parent 21510bb commit c311848

3 files changed

Lines changed: 13 additions & 5 deletions

File tree

‎.claude/agents/os-dev.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ model: opus
4646
- (c) 让 AI 写出运行时拒收或静默丢弃的元数据的陷阱;三类内 ⛔ 不因看着小揣着不报。
4747
- 三类同欠 `reach:`:公开入口(HTTP/界面/`os validate`/保存)一次实测错误,或具名真实生产者。
4848
- 例外两种照报,`reach:` 写明哪种:发版即固化的错误文字;维护者直派。
49-
- 安全发现 ⛔ 不进本字段,只进终报私有字段 `security_findings`,照 `security-findings.md`。
49+
- 安全发现 ⛔ 不就地修,只经终报私有字段 `security_findings` 上报,照 `security-findings.md`。
5050
- (c) 元数据 = 他人存储并再作者化的键,须具名生产者:React prop 不是,存储视图配置是。
5151
- 把作者引向运行时会兑现却让事情更糟的元数据的警告不在 (c) 内,记为边界不扩类。
5252
- 其余 ⛔ 不立卡:只读推断、观察、休眠、零拉动、死代码、未演练漂移、抛光、命名。

‎.claude/skills/pm-dispatch/references/security-findings.md‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
- 两操作皆被拒 ⇒ 会话专递(选 A):机制只在会话里交维护者,由其建草稿,⛔ 不换账号重发。
2626
- 私有仓无私密漏洞报告功能,那些操作上线后仍会话专递。
2727
- 回退时座位贴只写不透明编号与状态,⛔ 无细节。
28-
- 修复经 pm-dispatch 以无卡派发令派 `os-dev`,`xhigh`;机制只进派发令与公告。
28+
- 修复只由 `security#1` 席以无卡派发令派 `os-dev`,`xhigh`;机制只进派发令与公告。
2929
- 用到公告的临时私有 fork ⇒ 修复从该 fork 落地。
3030

3131
## 4. 跨仓发现者(应用仓量框架、cloud 席位)
@@ -57,6 +57,8 @@
5757

5858
## 9. 归属:`security#1` 席
5959

60-
- 每份安全发现从接收到发布归 `security#1` 席(章程 `lanes/security.md`),⛔ 不归发现者。
61-
- 发现者只做两件:经中继 `advisory_create` 建草稿;向该席敲 `Notify: security · GHSA-ID`,只带编号。
60+
- 每份安全发现从接收到发布归 `security#1` 席(章程 `lanes/security.md`),发现者只报不修。
61+
- ⛔ 不扩本 PR 或分支,不自开修复分支,不在同一面顺手加固;dev 只走第 5 节上报。
62+
- 席位与 QA runner 两件事:中继 `advisory_create` 建草稿;敲 `Notify: security · GHSA-ID`,只带编号。
6263
- 中继拒(第 3 节)⇒ 机制在会话里交 `security#1` 席;席空缺 ⇒ 交维护者;发布恒归维护者。
64+
- 任务绕不开它 ⇒ 报 `blocked`,只写「a security item is with the owner seat」;席位停卡,⛔ 不绕行。

‎scripts/pm/check-skill-line-ratchet.mjs‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1332,7 +1332,13 @@ export const CEILINGS = new Map([
13321332
// §8's pointer list in place. Ruling of record: that card's body, filed under the maintainer's verbatim
13331333
// 「设 security#1 座位」, and its amendment comment 6592303181 (「这个应该算一个车道吧?…」) naming this file's
13341334
// new section. Measured delta +6 (56 → 62 lines); landed count, headroom 0.
1335-
['.claude/skills/pm-dispatch/references/security-findings.md', 62],
1335+
// 62 → 64 (#29731): the finder reports and never fixes in place — no widening of the PR or branch in hand, no
1336+
// own fix branch, no hardening on the same surface — and the task that cannot proceed without that code path
1337+
// stops as `blocked` with the opaque cause line while the seat parks the card. Ruling of record: that card's
1338+
// body, filed under the maintainer's verbatim 「开发中遇到的问题应该通过安全通道上报而不是直接处理」. The
1339+
// dev's route and the fix-only-by-order sentence folded into existing lines (§9 L60, §3 L28). Measured
1340+
// delta +2 (62 → 64 lines); landed count, headroom 0.
1341+
['.claude/skills/pm-dispatch/references/security-findings.md', 64],
13361342
['.claude/skills/pm-dispatch/references/external-contributions.md', 22],
13371343
['.claude/skills/pm-dispatch/references/reading-discipline.md', 37],
13381344
// Lowered 51 → 47 by #25712 item 4: objectui stopped being a sister repo, so

0 commit comments

Comments
 (0)