Repository navigation
docs(pm): one fleet-wide rule for security findings — never a card, never a public mechanism - #29178
Conversation
…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>
|
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). |
|
domain:skills#1 · huangyiirene · session_01J8VVAnMUWA9rufXzFaEh4J Contract reviewServed-tier: 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 judgmentsAccepted-set and public-surface changes, one by one:
② Semver levelNone. No published package, no ③ Boundary flags
④ Design judgmentFor 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:
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: 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>
|
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). |
|
domain:skills#1 · huangyiirene · session_01J8VVAnMUWA9rufXzFaEh4J Contract reviewServed-tier: 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 judgmentsThe 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.
② Semver levelNone. No published package, no ③ Boundary flags
④ Design judgmentFor each hits file, against the card's scenario (a seat, dev or runner in any repo meets a security finding):
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: VERDICT: PASS Generated by Claude Code |
|
domain:skills#1 · huangyiirene · session_01J8VVAnMUWA9rufXzFaEh4J 维护者速读
席位核对 — ACCEPT · domain:skills#1 · head
|
domain:skills#1 · huangyiirene · session_01J8VVAnMUWA9rufXzFaEh4J
Requested by Irene · project thread
Fixes #29111
Clause-②: no
Metadata-protocol: none
维护者速读
references/security-findings.md,把安全发现的处置写成全车队一条规则;立卡门、server 车道、信箱、checklist-test、os-dev改为指向它,os-dev终报新增私有字段security_findings。security-findings.md第 3 节(公告步骤);os-dev.md规则 3 新增一行、终报交付句与模板;filing-gate.md例外行。pnpm check:pm-skill-ratchet && pnpm check:pm-skill-id-lint,预期两者都以绿色判定行结束。What changes
.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, theos-devprivate field, fix-PR wording, already public by mistake, and one source with no new gate or label.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 dropsecurity, one rule line routes a security finding to the new private field, the final report template gainssecurity_findings, and the delivery sentence says the GitHub comment copy carrieswithheldornonein that field.scripts/pm/check-skill-line-ratchet.mjs, data rows only (CEILINGS and the table-row pin):references/security-findings.mdreferences/filing-gate.mdreferences/project-forms.md.claude/agents/os-dev.mdreferences/lanes/server.md.claude/skills/checklist-test/SKILL.mdThe 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.Verification
All runs were on head
d08fd17e, treeobjectstack-ai/objectstack.Ratchet and id-lint
pnpm check:pm-skill-ratchetexited 0, and--self-testexited 0 with 164 cases (re-run ond08fd17eafter the patch round).pnpm check:pm-skill-id-lintexited 0: 107 file(s) clean.Derived gate families (dispatch-gates --commands, reconciled with --ran)
d578bb13, before the patch round:node scripts/pm/dispatch-gates.mjs --commandsderived 41 commands for 7 paths (115 changed lines). All 41 ran locally and exited 0.pnpm --filter @objectstack/lint run check:doc-formula-expressionsfirst exited 3 (PREREQUISITE:formula/lintdist 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 --ranreturned: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).Generated by Claude Code