Skip to content

Commit 1d36ecf

Browse files
committed
docs(pm-dispatch): advisory_report needs the same advisory write grant as advisory_create
security-findings.md §3 said `advisory_report` was for a repository where the App has no advisory write grant. The relay mints `repository-advisories: write` for both rows, so on such a repository both are refused at the mint and the fallback is the session hand-off. The bullet now says so, on one line. execute.mjs pointed at ops.mjs's section by its old name ("The three rows"); it now names "The four rows that touch a security advisory" and the separate read section for `advisory_read`. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J8VVAjYkaBE16yPTYraBmt
1 parent dd4a21f commit 1d36ecf

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
- 私卡 = 受影响仓上一份未发布的安全公告,只有管理员、安全经理与受邀协作者可见。
2121
- 首选中继 `advisory_create` 建草稿公告,再 `advisory_collaborators_add` 带具名账号进公告。
2222
- 读公告只走中继 `advisory_read`(席位账号读被拒):一次性密钥只在席位进程,只回密文。
23-
- `advisory_report` 只留给 App 无公告写权的仓:GitHub 按账号限每日新私报,全队共一个 App。
23+
- `advisory_report` 与 `advisory_create` 同铸公告写权,无此权的仓两者皆拒;私报另有账号日限。
2424
- ⛔ 席位永不以自身账号私报或写公告:GitHub 写只走中继,以 App 身份;发布归维护者。
2525
- 两操作皆被拒 ⇒ 会话专递(选 A):机制只在会话里交维护者,由其建草稿,⛔ 不换账号重发。
2626
- 私有仓无私密漏洞报告功能,那些操作上线后仍会话专递。

‎scripts/pm/fleet-write/execute.mjs‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,9 @@
192192
*
193193
* ## The four advisory rows — fenced on the ADVISORY, printing none of its text
194194
*
195-
* `ops.mjs`'s header section "The three rows that touch a security advisory"
196-
* is the authority; this is where its fences and landings are measured.
195+
* `ops.mjs`'s header section "The four rows that touch a security advisory"
196+
* is the authority, and its "The one row that READS an advisory" for the read
197+
* below; this is where their fences and landings are measured.
197198
*
198199
* - `advisory_report` is ONE POST of the row's body to the private-report
199200
* endpoint, and nothing is read first. It LANDS on a 2xx whose answer

0 commit comments

Comments
 (0)