Skip to content

docs(pm): one fleet-wide rule for security findings — never a card, never a public mechanism - #29178

Merged
objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/project-thread-p2q46w
Nov 2, 2026
Merged

objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/project-thread-p2q46w

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

domain:skills#1 · huangyiirene · session_01J8VVAnMUWA9rufXzFaEh4J

Requested by Irene · project thread

Fixes #29111

Clause-②: no
Metadata-protocol: none

维护者速读

  • 改了什么:新增 pm-dispatch references/security-findings.md,把安全发现的处置写成全车队一条规则;立卡门、server 车道、信箱、checklist-test、os-dev 改为指向它,os-dev 终报新增私有字段 security_findings。
  • 为什么改:原规则只覆盖 QA runner,其他席位和 dev 仍把安全发现立成公开卡;卡上的方案 B 要求「不立卡、不公开机制、用私有安全公告当私卡」。
  • 风险与回滚:只改规则文本和棘轮数据行,不动代码与门禁;回滚即 revert 本 PR。
  • 先看:security-findings.md 第 3 节(公告步骤);os-dev.md 规则 3 新增一行、终报交付句与模板;filing-gate.md 例外行。
  • 两分钟验证:pnpm check:pm-skill-ratchet && pnpm check:pm-skill-id-lint,预期两者都以绿色判定行结束。
  • 需要你做的:无,席位落地。

What changes

  • New .claude/skills/pm-dispatch/references/security-findings.md: the card's eight points as one rule per line: what counts, never public (including the fleet-write relay payload, while its run log prints the payload), the repository security advisory as the private card, cross-repo finders, the os-dev private field, fix-PR wording, already public by mistake, and one source with no new gate or label.
  • Advisory steps name only what is real today. A write-role seat cannot create a draft advisory and the relay has no advisory op, so the maintainer creates drafts. A seat never reports or writes an advisory under its own account. Until the relay's report op (feat(pm/fleet-write): a relay op that adds named accounts to one repository security advisory, carrying no advisory text (Tier H) #29160) lands, the mechanism goes to the maintainer in session (choice A), who files the report or creates the draft. The relay's report and add-collaborators ops are named only as "once available". Private repositories stay session-only.
  • Pointers instead of restatements:
    • filing-gate.md: 「安全发现」 joins the not-a-card list, and the possible-data-leak reach exception leaves the exceptions line, because such a finding is now a security finding.
    • lanes/server.md: the security-card disclosure pair becomes one line that presumes no card.
    • project-forms.md: keeps 「⛔ 不敲:安全发现」 and adds one pointer line.
    • checklist-test/SKILL.md: the Guardrails definition and fix-dispatch text become a pointer. The runner's private report channel and the run-record line stay.
    • os-dev.md: the reach exceptions drop security, one rule line routes a security finding to the new private field, the final report template gains security_findings, and the delivery sentence says the GitHub comment copy carries withheld or none in that field.
  • scripts/pm/check-skill-line-ratchet.mjs, data rows only (CEILINGS and the table-row pin):
File Before After Delta Basis
references/security-findings.md — 55 new row ruling of record, the #29111 card body
references/filing-gate.md 66 67 +1 same ruling, measured delta
references/project-forms.md 54 55 +1 same ruling, measured delta
.claude/agents/os-dev.md 402 405 +3 same ruling, measured delta
references/lanes/server.md 87 86 −1 lowered
.claude/skills/checklist-test/SKILL.md 277 276 −1 lowered

The card body records the maintainer's 「同意方案,选 B,立卡」 and orders this text into these files, which makes it the ruling of record for these raises. Each raise is the measured delta, after paying with the deleted restatements first: the server lane and checklist-test lose their restated security text. filing-gate, project-forms and os-dev held no restatement to pay with.

Tests

No runtime code changes. Rule text and ratchet data only.

Acceptance notes

  • pm-dispatch/SKILL.md's phase index does not name the new reference: SKILL.md has no headroom, and readers reach it from the filing gate, os-dev, checklist-test, the server lane and the mailbox rules. carrier: none.
  • lanes/triage.md's push case ① already says the mechanism is given in session only, and the new file cites it unchanged.
  • This change carries no finding and no mechanism.

Verification

All runs were on head d08fd17e, tree objectstack-ai/objectstack.

Ratchet and id-lint
  • pnpm check:pm-skill-ratchet exited 0, and --self-test exited 0 with 164 cases (re-run on d08fd17e after the patch round).
  • pnpm check:pm-skill-id-lint exited 0: 107 file(s) clean.
  • The first ratchet run was red, because the new file had no table-row pin. The pin is now its measured 0.
Derived gate families (dispatch-gates --commands, reconciled with --ran)
  • On d578bb13, before the patch round: node scripts/pm/dispatch-gates.mjs --commands derived 41 commands for 7 paths (115 changed lines). All 41 ran locally and exited 0.
  • pnpm --filter @objectstack/lint run check:doc-formula-expressions first exited 3 (PREREQUISITE: formula/lint dist missing in a fresh worktree). After building those two packages under the verify lock (VERDICT command-exit 0), it exited 0.
  • node scripts/pm/dispatch-gates.mjs --ran returned: 41 derived famil(ies) accounted for — 41 run, 0 NOT-MEASURED (a DERIVED zero — all 41 recorded an exit code and none of them is 3).
  • CI's own families (type-check lanes, Plan Test Core shards, artifact rosters) are left to this PR's check-runs.

Generated by Claude Code

…ever a public mechanism

New pm-dispatch reference security-findings.md carries the rule once: what
counts, what never goes public, the repository security advisory as the
private card (private vulnerability report where enabled, session-only
fallback elsewhere), cross-repo finders, the os-dev private report field,
fix-PR wording and the already-public case. The filing gate, the server
lane, the mailbox rules, checklist-test and os-dev now point at it instead
of restating it, and os-dev's report gains `security_findings`.

Claude-Session: https://claude.ai/code/session_01J8VVAnteUoDDkfSCMzkkwB
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet objectstack-fleet Bot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Nov 2, 2026
@github-actions github-actions Bot added size/m documentation Improvements or additions to documentation labels Nov 2, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#1 · huangyiirene · session_01J8VVAnMUWA9rufXzFaEh4J

Contract-review-claim: session_01J8VVAnMUWA9rufXzFaEh4J · head d578bb1 · 2026-11-02T08:52Z

The seat review runs at CONTRACT_REVIEW_TIER in an isolated subagent (the seat session is not at that tier).

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#1 · huangyiirene · session_01J8VVAnMUWA9rufXzFaEh4J

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: d578bb13c71a6777ee07974f0069e6eb89e53411
Local-runs: probe — node scripts/pm/check-skill-line-ratchet.mjs (default run and --self-test) on a detached worktree of the head, to confirm the six ceiling rows and the table-row pin against the landed tree; check-skill-id-lint.mjs was run in the same worktree alongside it; the worktree was removed after the run and the main working tree was not touched
Scope: .claude/skills/pm-dispatch/references/security-findings.md, .claude/skills/pm-dispatch/references/filing-gate.md, .claude/skills/pm-dispatch/references/lanes/server.md, .claude/skills/pm-dispatch/references/project-forms.md, .claude/skills/checklist-test/SKILL.md, .claude/agents/os-dev.md + scripts/pm/check-skill-line-ratchet.mjs (the gate that enforces the rows), AGENTS.md (the GitHub-write rule the new file touches), .claude/skills/pm-dispatch/references/lanes/triage.md (push case ① cited by point 7), card #29160 section "For #29111's reader" (read as input)

Reviewer: an isolated contract reviewer at CONTRACT_REVIEW_TIER, read-only on GitHub, fed the card #29111 body and comments 6572594628 and 6572973090 (the dev report read as input, not as conclusions), card #29160's section for this card's reader, the PR body, the net diff against origin/main (merge-base 0d6d406, no touched file moved on main since), the head's check-runs, contract-review.md and review-checklist.md. The card, the PR and this record carry no finding and no mechanism.

① Derived judgments

Accepted-set and public-surface changes, one by one:

  1. New governed rule text references/security-findings.md (55 lines, all under 120 bytes, no NUL). The card's eight points are all present and in the card's words or tighter: §1 the seven classes plus "when unsure"; §2 no issue, no mechanism in PR title/body/comment, commit message, changeset, review record or mailbox, test names state the rule; §3 the repository security advisory as the private card, the maintainer creates drafts, fix dispatched as a no-card order to os-dev at xhigh with the mechanism only in the order and the advisory, fix lands from the private fork where one is used, session-only fallback (choice A) with an opaque id and status only; §4 cross-repo finders; §5 security_findings; §6 fix-PR wording and the reviewer's local security-note.md; §7 already public by mistake, security label (an existing label), triage push case ① (verified: lanes/triage.md line 9 says the mechanism is given in session only), the maintainer decides the close; §8 one source, no new gate, no new label. Point 3 is corrected away from "the seat drafts the advisory": §3 says drafts need admin or security manager, the relay has no advisory op, so the maintainer creates them and the seat does not. Neither the seat nor the relay ever creates a draft advisory. Correct. The fallback for private repos (choice A) is correct: private vulnerability reporting is a public-repository feature in this org and feat(pm/fleet-write): a relay op that adds named accounts to one repository security advisory, carrying no advisory text (Tier H) #29160 confirms cloud stays on session-only.
  2. filing-gate.md (+1): 「安全发现」 is in the ⛔ not-a-card list ("⛔ 不是卡:安全发现(含可能泄露数据),不论多确凿;去向只照 security-findings.md"), and the three-exception line became two. Pointer, not restatement. Correct.
  3. lanes/server.md (−1): the two deleted lines ("安全族卡的披露纪律:复现配方不落任何公开面(卡、PR、评论)" and "证据以抽象描述或私有通道承载") became one pointer that presumes no card. Surviving homes: the first lives in security-findings.md §2 (no issue, no mechanism on any public surface), reader every seat and dev; the second lives in §6 (rule-level wording, mechanism only in the private note) and §3 (the advisory or the session as the private channel), same readers. No rule lost.
  4. project-forms.md (+1): 「⛔ 不敲:...;安全发现;...」 is kept unchanged and one pointer line is added. Correct.
  5. checklist-test/SKILL.md (−1): the Guardrails definition and fix-dispatch text became a pointer; the runner's private channel to its PM session, the blocked fallback and the run-record line stay. Deleted clauses and their homes: "安全发现 = 认证 / 授权漏洞,或复现即利用配方的发现" → §1 (the card's seven classes plus "when unsure", wider than the old definition), reader the runner via the pointer; "⛔ 不立任何卡,锚卡、跟踪卡不提" → §2 line 1; "由它经 pm-dispatch 派修复:席内 os-dev 子代理、xhigh,复现只进派发令" → §3 line 28; "PR、提交与 changeset 只写加固" → §6; "要定契约的交维护者" → no line in security-findings.md or in checklist-test at head carries it. Its general form survives in filing-gate ② (only the maintainer makes contract decisions), which every seat reads, so no governed rule is lost, but the security file no longer says it. Should-fix (S2): add the clause to §3 or §6 of security-findings.md (one line, within the new row's own count if a line is merged, or a +1 under the same ruling).
  6. .claude/agents/os-dev.md (+3): rule 3's exceptions drop "possible data leak", two lines route a security finding (including a possible data leak) to the private field and to the shared rule, and the final-report template gains security_findings with the reach: exception list losing security. The seat-side handling is stated (security-findings.md §5). Must-fix (M2): os-dev.md line 17, untouched by the PR, still says "报告交付两次,GitHub 优先:同一段 JSON 先作 issue 评论 ... 再作终报:PM 机械解析,终报即 JSON 本身" — the same JSON goes to the public comment and to the final report. The new field says "PRIVATE — final report only, never the GitHub comment (there: withheld | none)", so the two copies now differ, and a dev reading the delivery rule on line 17 posts the mechanism publicly. Fix: amend line 17 (115 bytes, 5 bytes of headroom, so a short parenthesis or a split under the same +3 ruling) so the delivery rule itself says the comment copy carries withheld/none in that field. Rule 3's line and the template say it, but the delivery sentence they contradict is the one a dev executes.
  7. The reach-exception change (task point 3): the card's point 1 counts "a secret or credential that leaks" and "a cross-tenant or cross-organization read" as security findings and point 2 says never an issue; the old "possible data leak" exception let exactly such a finding be filed as a public card with no reach. Removing it from filing-gate and os-dev and routing it to security_findings is inside the card's intent (points 2, 5 and 8) and correct; "when unsure, treat it as security" covers the borderline cases the old exception served.
  8. scripts/pm/check-skill-line-ratchet.mjs, data rows only. Measured on the committed tree (merge-base → head): security-findings.md 0 → 55 (new row 55, equal to the landed count; table-row pin 0, equal to the measurement); filing-gate 66 → 67 (+1 = measured); project-forms 54 → 55 (+1 = measured); os-dev 402 → 405 (+3 = measured); server 87 → 86 and checklist-test 277 → 276 (lowered to the landed counts). Each raise cites the card body as the ruling of record with the maintainer's verbatim 「同意方案,选 B,立卡」, which is the header's ordinary ruled-raise exit (a ruling quoted in the raising PR); the card is filing-gate ③, a maintainer-named rule change, so the body is a ruling of record. None of the raised files is a CROSS_FILE_MOVES destination, so no ruledRaises record applies. server.md is a SOURCE of the platform-readings move; lowering it to 86 enlarges the net source decrease by one, which the gate reports as still paid down. Local runs on a detached worktree of the head: check-skill-line-ratchet.mjs exit 0 ("declared cross-file moves: 3, total ceilings down 498 lines"); --self-test exit 0, 164 cases; check-skill-id-lint.mjs exit 0, 107 files clean. Should-fix (S3): the new comment line at script line 1294 is 146 bytes; no gate caps the script's comment width (ESLint green, no max-len rule), but every other row comment in this block wraps at about 80 and the same ruling sentence is pasted four times. Re-wrap. No line in any of the six Markdown files exceeds 120 bytes.
  9. Public surfaces: no new gate, no new label (the security label exists), no workflow, no CODEOWNERS, no scripts/pm code path. The PR body's Clause-②: no is correct (no published schema); Metadata-protocol: none is correct; skip-changeset is correct, .claude/** and scripts/pm/** are not published (os-dev.md line 301 lists them as the fast track). PR is draft, targets main, carries Fixes #29111.
  10. Discoverability (should-fix S4, carrier the maintainer): pm-dispatch SKILL.md's reference index table (line 89 names references/untrusted-text.md and the other references with their readers) does not name the new file; SKILL.md is at 319/319 and the card does not list it, so a row there needs a ruling. The dev reported it as carrier: none. Readers do reach the file through five pointers, so this is not a must-fix.
  11. No finding and no mechanism anywhere in the diff, the PR body, the card or the test names (no tests were added; the self-test is unchanged). The only examples are the card's own rule-level phrases.

② Semver level

None. No published package, no packages/spec/src/**, no runtime code; rule text and ratchet data rows only. skip-changeset is the right declaration for this repository's docs-only PRs, and the Check Changeset check is green.

③ Boundary flags

  • Dev open_questions[0]: "AGENTS.md says every GitHub write leaves through scripts/pm as the fleet App; the new rule has the seat file a private vulnerability report under its own account ... Add a one-line AGENTS.md carve-out?" with options A (a Tier H card adds the carve-out) and B (leave it, the skill states the exception), recommending A. Answer: neither. AGENTS.md wins on conflict by its own line 6, so option B leaves seats in breach of a governed rule the moment they follow §3, and option A asks the maintainer for a carve-out he has already ruled against in feat(pm/fleet-write): a relay op that adds named accounts to one repository security advisory, carrying no advisory text (Tier H) #29160 (「席位用自己的账号提交,不经过中继 ,这个之前导致封号,所以才用中继」; "Submit a report: Relay, as the App"). The PR as written puts seats in breach, and the card's acceptance ("name only what the relay can do ...") already forbids the step. This is must-fix M1 on this PR, not a follow-up card: reword §3 so the seat hands the mechanism to the maintainer in session until the relay op exists, and name the relay route as "once available". No AGENTS.md edit is needed, so no Tier H card either.
  • Dev out_of_scope_findings[1] (SKILL.md index has no headroom): accepted as a should-fix for the maintainer to rule (S4 above).
  • Dev deviation: the PR was opened with no assignees and no reviewers although the session's platform note asked for the requester as both; os-dev.md says a PR carries no assignees, so the dev followed the governed text. No flag.
  • Independence: the PR author is objectstack-fleet[bot], so no off-relay author note is owed. The dev report's security_findings: "none" is consistent with the diff.

④ Design judgment

For each hits file, against the card's scenario (a seat, dev or runner in any repo meets a security finding) and the code it cites:

  • security-findings.md: the design (advisory as the private card, maintainer-created draft, no-card xhigh dispatch, session-only fallback, cross-repo via the framework repo or the session) holds against the card and against GitHub's roles: creating a draft advisory needs admin or security manager, which fleet seats are not; a private vulnerability report needs only read on a repo with reporting enabled, which is why the dev reached for it, but AGENTS.md routes every write through the relay and the relay has no such op on main, so the file's own fallback is the only executable route today (M1). The GET .../private-vulnerability-reporting probe is a read a seat may do. §7 and §8 hold.
  • filing-gate.md, project-forms.md, lanes/server.md, checklist-test/SKILL.md: pointers only; each keeps its own actor-specific residue (the runner's private channel, the mailbox 不敲 row) and defers the definition and the route. Holds.
  • .claude/agents/os-dev.md: the private field design holds (the dev never files; the seat handles it), but the delivery sentence on line 17 contradicts the field's privacy (M2). After M2 the file is coherent.
  • scripts/pm/check-skill-line-ratchet.mjs: rows equal measured counts; raises equal deltas and quote the ruling; lowers are landed counts; CROSS_FILE_MOVES arithmetic still pays down; self-test unchanged and green.

Must-fix: M1 (own-account private report write in §3, breaches AGENTS.md and the card's acceptance), M2 (os-dev.md line 17 "同一段 JSON" delivery rule vs the private field). Should-fix: S1 (relay-payload line conditional), S2 (「要定契约的交维护者」 clause), S3 (146-byte comment line), S4 (SKILL.md reference index, maintainer's ruling).

Check-runs at record time: 45 check-runs on d578bb1, 44 completed (24 success, 20 skipped, 0 failure), 1 in_progress (Test Core 1/8); Lint · docs & code guards, Lint · ESLint, Lint · scoped · tooling self-tests, Type Check · workspace, Governed Surface Queue Guard, PR-body guards and Check Changeset all success; combined status pending.

Implemented-by: claude/project-thread-p2q46w
Reviewed-by: session_01J8VVAnMUWA9rufXzFaEh4J

VERDICT: FAIL


Generated by Claude Code

… relay can report

Contract-review patch round on the security-findings rule:
- the seat never reports or writes an advisory under its own account; until
  the relay's report and add-collaborators ops land, the mechanism goes to the
  maintainer in session, who files the report or creates the draft
- the relay-payload line holds while the relay log prints the payload
- a fix that needs a contract decision goes to the maintainer
- os-dev's delivery sentence says the comment copy carries withheld/none in
  security_findings; the two rule-3 lines fold into one, so the row stays 405
- the ratchet-script comments state the ruling once and wrap at the block's width

Claude-Session: https://claude.ai/code/session_01J8VVAnteUoDDkfSCMzkkwB
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#1 · huangyiirene · session_01J8VVAnMUWA9rufXzFaEh4J

Contract-review-claim: session_01J8VVAnMUWA9rufXzFaEh4J · head d08fd17 · 2026-11-02T09:07Z

The seat review runs at CONTRACT_REVIEW_TIER in an isolated subagent (the seat session is not at that tier).

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#1 · huangyiirene · session_01J8VVAnMUWA9rufXzFaEh4J

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: d08fd17ed98b948dff7b8e7da00ec01644e0c663
Local-runs: probe — node scripts/pm/check-skill-line-ratchet.mjs (default run and --self-test) on a detached worktree of the head, to confirm the six ceiling rows and the table-row pin against the landed tree after the patch round; check-skill-id-lint.mjs and scripts/check-nul-bytes.mjs were run in the same worktree alongside it; the worktree was removed after the run and the main working tree was not touched
Scope: .claude/skills/pm-dispatch/references/security-findings.md, .claude/skills/pm-dispatch/references/filing-gate.md, .claude/skills/pm-dispatch/references/lanes/server.md, .claude/skills/pm-dispatch/references/project-forms.md, .claude/skills/checklist-test/SKILL.md, .claude/agents/os-dev.md + scripts/pm/check-skill-line-ratchet.mjs (the gate that enforces the rows), AGENTS.md (the GitHub-write rule the new file names), .claude/skills/pm-dispatch/references/lanes/triage.md (push case ① cited by point 7), card #29160 section "For #29111's reader" (read as input)

Reviewer: an isolated contract reviewer at CONTRACT_REVIEW_TIER, read-only on GitHub, doing the delta review of the patch round after the FAIL record at comment 6573174692 on head d578bb1 (M1, M2, S1 to S4). Fed the card #29111 body, the previous record, the dev report at comment 6572973090 (read as input, not as conclusions; no new report was posted for this head, the commit message of d08fd17 carries the dev's claims), card #29160's section for this card's reader, the PR body as edited by the seat, the delta d578bb1 to d08fd17 (three files: security-findings.md, os-dev.md, the ratchet script's comments), the net diff against origin/main (merge-base 0d6d406 unchanged; main moved to 692e0dc since the previous record, and of the Scope files only AGENTS.md changed there, in the ADR-0087 stored-rows paragraph, so the GitHub-write rule the new file names is byte-identical on both sides), the head's check-runs, contract-review.md and review-checklist.md. The card, the PR and this record carry no finding and no mechanism.

① Derived judgments

The two must-fixes first, then the should-fixes, then the eight points re-checked against the new text, then the ratchet and the PR body.

  1. M1 fixed, correctly. §3 of security-findings.md now reads (lines 20 to 28): the private card is an unpublished advisory on the affected repo; drafts need admin or security manager and the relay has no such op, so the maintainer creates them and the seat does not; line 22 「⛔ 席位永不以自身账号私报或写公告:GitHub 写只走中继,以 App 身份」; line 23 「中继私报操作上线前一律会话专递(选 A):机制只在会话里交维护者,由其私报或建草稿」; line 24 names the relay's report and add-collaborators ops only as 「上线后」 with 「未上线 ⛔ 不假设有」; line 25 keeps private repositories on session-only even once those ops exist (private vulnerability reporting is a public-repository feature, as feat(pm/fleet-write): a relay op that adds named accounts to one repository security advisory, carrying no advisory text (Tier H) #29160 records); line 26 the seat post carries an opaque id and status only; lines 27 and 28 the no-card os-dev order at xhigh and the private fork. A grep of the six files at head finds no own-account route, no 「不走中继」, no report endpoint and no reporting probe left (the only other hit is os-dev.md's pre-existing line that git push is not a REST write). The step a seat executes today is the session hand-off, which AGENTS.md permits, so no carve-out is needed and the dev's open question is closed by the text itself. The card's acceptance line ("name only what the relay can do once the maintainer has granted it advisory permission; if the relay cannot create advisories, the rule says the maintainer creates them") is now met word for word. §4 line 32 moved with it: a cross-repo finder reports on the framework repo through the relay once its op exists, and until then gives the mechanism to the maintainer in session; this is tighter than the card's "draft the advisory on the framework repo if they can" and consistent with feat(pm/fleet-write): a relay op that adds named accounts to one repository security advisory, carrying no advisory text (Tier H) #29160 (reads stay under the seat's account, publishing stays with the maintainer). No other point of the eight was disturbed by the rewrite (checked below, item 4).
  2. M2 fixed, correctly. os-dev.md line 17 now reads 「报告交付两次,GitHub 优先:同一段 JSON 先作 issue 评论(security_findings 改写 withheld/none),」 (114 bytes), with the post-stamped.mjs clause on line 18 (109 bytes) and the final-report clause on line 19 (53 bytes). The delivery sentence a dev executes now itself says the comment copy carries withheld or none in that field, agreeing with the template line (「PRIVATE — final report only, never the GitHub comment (there: withheld | none)」) and with security-findings.md §5 line 38. To keep the row at +3 the two rule-3 lines were folded into one (「安全发现 ⛔ 不进本字段,只进终报私有字段 security_findings,照 security-findings.md」); the dropped parenthesis 「含可能泄露数据」 survives in filing-gate.md's not-a-card line and in §1 of the shared rule (leaked secrets and credentials, cross-tenant reads, 「拿不准 ⇒ 按安全发现办」), which the pointer leads the dev to, so nothing is lost. The +3 is now the delivery split (+1), the rule line (+1) and the template line (+1); measured 402 to 405, equal to the row.
  3. Should-fixes. S1 fixed: §2 line 15 「中继运行日志仍打印整份载荷时,⛔ 机制不进 fleet-write 中继载荷:该日志公开」 is conditional on the log printing the payload, so feat(pm/fleet-write): a relay op that adds named accounts to one repository security advisory, carrying no advisory text (Tier H) #29160's advisory_report op (payload read from the event file, never logged) will not contradict it when it lands. S2 fixed: §6 line 45 「修复要定契约的,交维护者」 restores the clause checklist-test lost; the file stays at 55 lines because §3 shrank by one line in the rewrite. S3 fixed: the new-file comment states the ruling once ("Ruling of record: the pm-dispatch(security): one fleet-wide rule for security findings — never a card, never a public mechanism; tracked as a GitHub draft security advisory, fixed by a no-card pm-dispatch order #29111 card body, filed under the maintainer's verbatim, untranslated 「同意方案,选 B,立卡」; the raises below cite it as 'pm-dispatch(security): one fleet-wide rule for security findings — never a card, never a public mechanism; tracked as a GitHub draft security advisory, fixed by a no-card pm-dispatch order #29111'") and the three raise comments cite "the ruling" instead of repeating the quotation; the widest rewritten comment line is 92 bytes, inside the block's existing ASCII wrap; no logic line of the script changed, and the self-test is byte-identical to main. S4 not addressed and not expected to be: the pm-dispatch SKILL.md reference index does not name the new file, SKILL.md is at 319/319 and the card does not list it, so a row there needs the maintainer's ruling; the PR's Acceptance notes carry it as "carrier: none". Still a should-fix for the maintainer, not a blocker: five pointers reach the file.
  4. The eight points re-checked against the head's text: §1 lines 7 to 9 the seven classes plus "when unsure"; §2 lines 13 to 16 no issue, no mechanism on any public surface, the conditional relay-payload line, test names state the rule; §3 as in item 1; §4 lines 32 and 33 with the one permitted public line 「a security item is with the maintainer」; §5 lines 37 to 39 the private field, withheld/none in the comment copy, the seat handles it and never files it as an out_of_scope_findings card; §6 lines 43 to 45 rule-level wording, the reviewer's local security-note.md, contract decisions to the maintainer; §7 lines 49 and 50 no detail added, the existing security label (confirmed present), triage push case ① (triage.md line 9 still says the mechanism is given in session only), the maintainer decides the close; §8 lines 54 and 55 one source, no new gate, no new label. All eight present, in the card's words or tighter. 55 lines, none over 120 bytes, no NUL. Line 22 restates AGENTS.md's write rule in one clause; this is the sentence the card's acceptance asks for and it points at the same door, so it is a pointer rather than a second rule set.
  5. The other four pointer files are unchanged since the previous record and were re-read in the net diff: filing-gate.md (+1, the not-a-card line and the two-exception line), lanes/server.md (−1, one pointer presuming no card), project-forms.md (+1, the 不敲 row kept and one pointer), checklist-test/SKILL.md (−1, the Guardrails text became a pointer; the runner's private channel, blocked fallback and run-record line stay). The judgments of the previous record on these stand.
  6. scripts/pm/check-skill-line-ratchet.mjs, data rows only, measured on the committed tree (merge-base to head): security-findings.md 0 to 55 (new row 55 = landed; table-row pin 0 = measurement); filing-gate.md 66 to 67 (+1 = measured); project-forms.md 54 to 55 (+1 = measured); os-dev.md 402 to 405 (+3 = measured, the composition stated in item 2 and in the row comment); lanes/server.md 87 to 86 and checklist-test/SKILL.md 277 to 276 (lowered to the landed counts). None of the raised files is a CROSS_FILE_MOVES destination; server.md is a source of the platform-readings move and the gate reports it still paid down (sources 97 to 86 and 93 to 80). Local runs on a detached worktree of d08fd17: default run exit 0 ("declared cross-file moves: 3, total ceilings down 498 lines"); --self-test exit 0, 164 cases; check-skill-id-lint.mjs exit 0, 107 files clean; check-nul-bytes.mjs OK. The new 152-byte security_findings template line sits inside the JSON fence, which the script's 120-byte line rule exempts by design (the neighbouring template lines were already 152 to 218 bytes on main).
  7. The os-dev-report readers in scripts/pm (check-half-states.mjs H52, check-handover.mjs, post-stamped.mjs, record-recognisers.mjs) read open_questions, status and the fence marker only; none holds a closed key set, so the new field breaks no parser.
  8. PR body against the head: the "Advisory steps name only what is real today" paragraph matches §3 lines 21 to 25 sentence by sentence; the §2 relay-payload clause is described as conditional; the os-dev.md bullet names the delivery sentence; the ratchet table's six rows equal the measured values; the Verification section pins the ratchet and id-lint re-runs to d08fd17e and states honestly that the 41 derived gate families ran on d578bb13 before the patch round (the patch touched rule text and script comments only, and CI's own families run on this head). The former carve-out open question is gone from the body, correctly, since the head closes it. Fixes #29111, draft, base main, Clause-②: no, Metadata-protocol: none, skip-changeset all correct. The body matches the head.
  9. No finding and no mechanism anywhere in the delta, the net diff, the commit message, the PR body or the card.

② Semver level

None. No published package, no packages/spec/src/**, no runtime code; rule text, one script's comments and ratchet data rows only. skip-changeset is the right declaration for this repository's docs-only PRs.

③ Boundary flags

  • Dev open_questions[0] (AGENTS.md carve-out, from the d578bb1 report): closed by the head. The own-account route no longer exists, the seat's step is the session hand-off, and AGENTS.md needs no edit; the previous record's answer ("neither A nor B") stands and the text now implements it. No new dev report was posted on the card for d08fd17, so the card's newest os-dev-report still carries that one non-empty entry; the seat should stand H52 down by the record of this answer on the card, in its own ACCEPT step, not by a dev re-post.
  • Dev out_of_scope_findings[1] (SKILL.md reference index, no headroom): remains S4, the maintainer's ruling.
  • Independence: the PR author is objectstack-fleet[bot], so no off-relay author note is owed. The commit is by the dev session session_01J8VVAnteUoDDkfSCMzkkwB, the reviewer is this seat's isolated subagent.
  • Main drift: AGENTS.md moved on main since the merge-base in an unrelated paragraph; no touched file moved, so no rebase is owed before landing.

④ Design judgment

For each hits file, against the card's scenario (a seat, dev or runner in any repo meets a security finding):

  • security-findings.md: the design now holds end to end against GitHub's roles and the fleet's write door. Today: the seat gives the mechanism to the maintainer in session, the maintainer files the private report or creates the draft advisory, the seat post carries an opaque id and status, the fix goes out as a no-card xhigh order with the mechanism only in the order and the advisory. Tomorrow, once feat(pm/fleet-write): a relay op that adds named accounts to one repository security advisory, carrying no advisory text (Tier H) #29160's ops exist: the seat reports through the relay as the App and brings named accounts into the advisory through the relay, publishing stays with the maintainer, private repositories stay session-only. Neither branch asks any actor for a write it cannot make under AGENTS.md. §7 and §8 hold.
  • filing-gate.md, project-forms.md, lanes/server.md, checklist-test/SKILL.md: pointers only, unchanged since the previous record; each keeps its own actor-specific residue and defers the definition and the route. Holds.
  • .claude/agents/os-dev.md: the private field design holds and the file is now coherent: the delivery sentence, the rule-3 line and the template all say the comment copy carries withheld or none and the final report carries the finding. The dev never files; the seat handles it.
  • scripts/pm/check-skill-line-ratchet.mjs: rows equal measured counts; raises equal deltas and cite the ruling once; lowers are landed counts; CROSS_FILE_MOVES arithmetic still pays down; self-test unchanged and green.

Must-fix: none. Should-fix carried: S4 (pm-dispatch SKILL.md reference index does not name the new file; needs the maintainer's ruling because SKILL.md has no headroom; not a blocker).

Check-runs at record time: 42 check-runs on d08fd17, 30 completed (11 success, 19 skipped, 0 failure), 12 in_progress (Lint · docs & code guards, Lint · ESLint, Lint · repo & tooling gates, Lint · PM dispatch-gates, Lint · CI, release & engine gates, Lint · scoped · slot lookup & corpus, Type Check · workspace, Type Check · source gates, Type Check · debt ledger, Type Check · consumer gates, Test Core 1/8 and 2/8); Governed Surface Queue Guard, PR-body guards, Lint · scoped · tooling self-tests, Dogfood Regression Gate, Plan Test Core shards and Check PR Size success; Check Changeset skipped on this head; combined status pending. Landing waits for the in-progress runs to finish green.

Implemented-by: claude/project-thread-p2q46w
Reviewed-by: session_01J8VVAnMUWA9rufXzFaEh4J

VERDICT: PASS


Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#1 · huangyiirene · session_01J8VVAnMUWA9rufXzFaEh4J

维护者速读

  • 改了什么: 新增 pm-dispatch/references/security-findings.md,把安全发现的处置写成全车队一条规则:不立卡、不公开机制,私有安全公告当私卡;立卡门、server 车道、信箱、checklist-test、os-dev 改为指向它,os-dev 终报新增私有字段 security_findings(评论副本只写 withheld/none)。
  • 为什么改: 原规则只覆盖 QA runner,其他席位和 dev 仍把安全发现立成公开卡。卡上方案 B:「不立卡、不公开机制、用私有安全公告当私卡」。
  • 风险与回滚: 只改规则文本和棘轮数据行,不动代码与门禁;回滚即 revert。
  • 先看: security-findings.md 第 3 节(公告路径);os-dev.md 第 17 行交付句。
  • 需要你做的: 无。Tier S,本席落地。
  • 席位意见: ACCEPT。首轮复核 FAIL(6573174692):第 3 节曾让席位用自己账号提交漏洞报告,与 AGENTS.md「所有写经中继」及维护者在 feat(pm/fleet-write): a relay op that adds named accounts to one repository security advisory, carrying no advisory text (Tier H) #29160 的裁决相冲突。补丁轮已改为:中继的上报操作(feat(pm/fleet-write): a relay op that adds named accounts to one repository security advisory, carrying no advisory text (Tier H) #29160)落地前,机制在会话里交维护者,由维护者提交报告或建草稿。增量复核 PASS(6573394908)。

席位核对 — ACCEPT · domain:skills#1 · head d08fd17ed98b948dff7b8e7da00ec01644e0c663

  1. 形态: draft → main,Fixes #29111,无他卡关键词;Clause-②: no,Metadata-protocol: none,skip-changeset(只改未发布路径);作者 objectstack-fleet[bot](中继)。PR 正文已按本 head 更新。
  2. 前提实测: 复核在 merge-base 0d6d4061 与当前 main 上核对:面内文件 main 上只有 AGENTS.md 动过(无关的 ADR 段),写入规则逐字未变,所以 M1 的判断在当前 main 上成立。
  3. 门禁: 复核在本 head 跑棘轮(exit 0,三处跨文件迁移,上限合计降 498 行)、--self-test(164 例)、id-lint(107 文件干净)、NUL 检查,全绿。六行 CEILINGS 都等于实测:提额 +1/+1/+3 是 pm-dispatch(security): one fleet-wide rule for security findings — never a card, never a public mechanism; tracked as a GitHub draft security advisory, fixed by a no-card pm-dispatch order #29111 卡正文所载维护者裁决下的实测增量,降额 86 与 276 是落地行数。check-governed-merges --pr 29178:Tier S。check-runs(钉 head d08fd17e):success 26 / skipped 19 / 无红无在跑。
  4. 接受的偏差: S4,pm-dispatch/SKILL.md 的参考索引没有列出新文件:SKILL.md 已在 319/319,不在本卡申报面内;五处指针能到达新文件。不改,不另立卡(carrier: none)。
  5. dev 的开放问题(6572973090,AGENTS.md 加例外条款): 撤下。补丁后规则不再有用自己账号写 GitHub 的路径,与 AGENTS.md 无冲突,选项 A 与 B 都不需要。dev 已在补丁轮确认撤回。
  6. 落地条款: Tier S,达档复核 PASS 钉在本 head。本席 pr_ready + automerge_enable,合入后 Fixes #29111 关卡。⛔ 本 PR、卡与两份复核记录不含任何发现、机制或公告编号。

Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/m skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

1 participant