Repository navigation
docs(pm): the security seat triages a non-finding, reads a release by ancestry, and recovers the CI flakes the relay cannot re-run - #30155
Conversation
…ates, a release read by ancestry, and the CI recoveries the relay leaves Five security-seat steps, each written into the reference that owns it: lanes/security.md (triage intake, publish-state owners, release contents by ancestry), review-checklist.md (a PR that moves work after the response), platform-readings.md (recoveries for flakes the relay cannot re-run). Every file stays at its line ceiling; restated lines pay. Claude-Session: https://claude.ai/code/session_01QSeKYn5CmmdShCJifm6WYj Co-authored-by: Claude <noreply@anthropic.com>
|
security#1 · os-justin · session_01QSeKYn5CmmdShCJifm6WYj Contract-review-claim: session_01QSeKYn5CmmdShCJifm6WYj · head 2e3dbd3 · 2026-11-04T17:21Z |
|
security#1 · os-justin · session_01QSeKYn5CmmdShCJifm6WYj Contract reviewServed-tier: Inputs read: card #30111 (body, three comments), PR #30155 (body, file list, net diff of head against ① Derived judgmentsItem 1 — a report that is not a finding. Present, in Item 2 — ledger states. The vocabulary line (23) is unchanged from what PR #30135 left:
Item 3 — a release's contents by ancestry. Present, in Item 4 — work moved after the response. Present, in Item 5 — CI recoveries the relay leaves. Present, in Lines removed to pay for headroom — each deleted line read, and where its rule now lives:
No deleted line loses a rule outright; one loses a judgment aid. Ceilings and widths. Charter header. ② Semver level
③ Boundary flagsThe dev's out-of-scope note is a real disagreement, not a wording difference. ④ Design judgmentItem 5, against the real relay and workflows on
Item 1 against the relay: both Check-runs on the head at review time: every concluded run is Findings
No must-fix. Implemented-by: VERDICT: PASS |
…ks a merged fix A PR run's merge ref is computed from main when the run is created, so a fix that merged after that moment is missing from its base and a re-run cannot pick it up. The judgment is restored on its own line; the line is paid for by folding the minimal_output pair into one and dropping its unmeasured narrow-interface alternative and the 107-point figure the quota section already states. Claude-Session: https://claude.ai/code/session_01QSeKYn5CmmdShCJifm6WYj Co-authored-by: Claude <noreply@anthropic.com>
|
security#1 · os-justin · session_01QSeKYn5CmmdShCJifm6WYj Contract reviewServed-tier: Delta review on the prior PASS record for head ① Derived judgmentsShould-fix 1 of the prior record — restored. The rerun pair now reads (lines 286–287):
The line it was paid for by — the
Rule by rule:
Ceiling and widths. Note (no action required on the diff): the PR body's "deleted (said elsewhere)" table was not extended with the ② Semver levelUnchanged: one prose file under ③ Boundary flagsNothing new in this delta. The ④ Design judgmentThe restored judgment holds against the relay: Check-runs on this head: every non-skipped check-run is No must-fix. No new should-fix. Implemented-by: VERDICT: PASS |
|
security#1 · os-justin · session_01QSeKYn5CmmdShCJifm6WYj 席位核对ACCEPT · head
|
Fixes #30111
Clause-②: no
Metadata-protocol: none
维护者速读
lanes/security.md(接收 ② 与判定两行、祖先两行);platform-readings.md重跑段新增三行;review-checklist.md末尾新增两行。node scripts/pm/check-skill-line-ratchet.mjs,预期全部 ✓,三份文件各自 headroom 0。What changes
Each of the card's five additions lands in the one reference that owns its topic. All three files are under
.claude/skills/pm-dispatch/references/.A report that is not a finding goes in
lanes/security.md, section 接收与台账. A second intake route is added: an advisory sitting intriagewith no doorbell (an outside report, or a relay live test). The seat reads it throughadvisory_readand claims it as areceivedrow on the seat post. Then it judges the advisory. A finding moves todraftthrough the relay'sadvisory_stateand follows the fix path. A non-finding moves toclosed, and its ledger row says it was not a finding, with no detail (the ledger line already bars detail). The line naming where advisory ids come from gains "a relay live test".Ledger states stay in
lanes/security.md. PR feat(pm): the fleet-write relay publishes an approved security advisory — reopen, set the versions, publish #30135 had already putclosed(fix merged) into the vocabulary and the relay publish onto the maintainer's list. What remained was which state move belongs to whom. The publish line now says that the maintainer's approval of the list isawaiting publish, and the seat's relay publish ispublished. The vocabulary line is unchanged.A release's contents are read by ancestry goes in
lanes/security.md, section 呈维护者, next to the publish-list line. That section owns the per-release list.release-aftercare.mdowns production roll-out duties and has no publish list. A fix is in version X only if its merge commit is an ancestor of the commit tagged for X (git merge-base --is-ancestor). A merge time earlier than the tag time is not proof.A change that moves work after the response goes in
review-checklist.md, section 测试与门禁证据, beside thedogfood_batterycheck. It is a review step before landing.true-green.mdis a per-repository index of how to run checks, so it does not own it. The dogfood jobs skippull_requestandmerge_group(ci.yml THE TWO SPEEDS). So a PR that moves a send or write to after the response can be green everywhere and still redmainon push. Before queueing, the seat grepspackages/qa/dogfood/testfor readers of that side effect straight after the answer, and has them wait within a bound in the same PR.CI recoveries the relay leaves go in
platform-readings.md, directly under the existingrerun-failed.mjsrule.rest-channel.mdis the per-operation channel table and does not hold the rerun or re-queue rules. Three lines are added:run_rerun_failedcoversci.ymlonly (RERUN_FAILED_WORKFLOWS). ⛔ Never an empty commit, never close and reopen.pr-automation.yml: the seat's body edit that records the flake reason is aneditedevent, andeditedre-runsCheck Changeset(the workflow'son.pull_request.typeslists it).lint.yml: oncemainhas moved, a relaypr_update_branchproduces a real new head with a full run. While the head is level withmain, the update is a no-op.The merge-group case (the failed step is
Checkout repositorytiming out) is folded into the existing known-flaky re-queue line, which now also says to record the reason on the PR. The neighbouring line ("a second ejection of the same PR stops re-queueing") already limits it to once.How each file stays at its line ceiling. The ratchet allows no raise without a ruling, so every added line is paid for by deleting text that already lives somewhere else:
lanes/security.mdsecurity-findings.md§3 (no-card dispatch,xhigh, mechanism only in the order); the contract-review lines restated §6; the card-closing line restatedlanding-operations.md(MERGED closesFixes/Part ofcards); the mis-disclosed-card line restated §7. Each line now points to its section.review-checklist.mdplatform-readings.mdrerun_failed_jobspair, the recipelanding-operations.mdspells; after the review, the merge-time judgment is restored and paid for by folding theminimal_outputpair into one line (dropping the 107-point figure, stated in the quota section, and the unmeasured narrow-interface alternative)lanes/security.mdstill carries no finding, advisory id, path, object name or mechanism. Its diff names only relay op names, the existingGHSA-IDplaceholder and thegit merge-basecommand.Governed surface: the diff touches
.claude/**(Tier S). It lands on the owning seat's contract-tier review of record, not on green alone.Tests
Prose-only change to skill references: no test file, no ablation (no tested behaviour changed). Line widths were measured before writing: every added or rewritten line is at most 120 bytes.
Acceptance notes
SKILL.mdstill names MCPrerun_failed_jobsas the one exception to "no MCP writes".platform-readings.mdroutes a seat's re-run throughrerun-failed.mjs(the relay). Those two lines may disagree.SKILL.mdis at headroom 0 and outside this card's file surface, so the question is left for the seat.Verification
Head
2e3dbd35ed.node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstackderived 20 families, and all 20 ran locally, each with its exit captured before any pipe.--ranreconciliation: "20 derived famil(ies) accounted for — 20 run, 0 NOT-MEASURED (a DERIVED zero — all 20 recorded an exit code and none of them is 3)".Local gate exits
Every family exited 0:
check-closing-keyword-parity(and--self-test),check-comment-mask-corpus,check-governed-queue-guard --self-test,check-harness-current --self-test,check:agent-test-spelling,check:cross-package-test-inputs,check:doc-authoring,check:driver-memory-census,check:gitlink-declared,check:nul-bytes,check:pm-governed-merges,check:pm-half-states,check:pm-skill-id-lint("110 file(s) clean"),check:pm-skill-ratchet,check:refd-timer-probe,check:required-contexts,check:skill-frame-sync,check:watch-hint-literal, andcheck:doc-formula-expressions. The last one ran after@objectstack/formulaand@objectstack/lintwere built under the shared verify lock ("VERDICT command-exit 0").Roster families with a roster under
.claudewere also run:check:pm-settings-deny-rosterexit 0,check-skills-token-ratchetexit 0,check-published-list-mirrorsexit 0.CI runs more families than the local subset. Read those from this PR's check-runs.