Repository navigation
docs(pm-dispatch): a security finding on a private repository is an ordinary security issue; the relay withholds a refusal message that quotes the body - #31102
Conversation
…rdinary `security` issue On a private repository the private card is an ordinary issue labelled `security`, filed through the relay like any card and dispatched from it at xhigh; a public repository keeps the draft advisory. A seat tells the two apart by the affected repository's `private` flag, read from the API at filing time. On a private repository too, a fix's PR, commits and changeset stay at the rule and link the issue. Pointer wording that would now be wrong (filing gate, security lane charter, the lane table) is scoped in place. The relay's executor self-test pins the channels where an issue_create title and body never surface in the public run log: a landed stroke, a transport failure, and a payload refused for an over-cap or ill-typed body. Claude-Session: https://claude.ai/code/session_016WV4cxfNdCqsVzihQoX3BE Co-authored-by: Claude <noreply@anthropic.com>
…ith origin/main The designated branch stood at origin/main, so one merge takes both. Two conflicts: the security rule file keeps main's removal of the os-dev report section's seat line and both fix-PR lines; the executor keeps both new self-test batteries and raises the floor to 24. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J8VVAjG6DxvHuUKNbj3JB1
…hat quotes the body sent On a refusal, requestLanded keeps the status and prints the platform's message only when it reproduces no prose of the body sent, judged by the same quote window the advisory rows use, raw and flattened. A message that quotes it is withheld from the row, the action log line and the step summary, and the row says so. The executor self-test battery for an issue filed on a private repository gains three cases: a quoting refusal withheld, a quoted run that straddles a pipe caught on the flattened side, and a message that quotes nothing printed as given. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J8VVAjG6DxvHuUKNbj3JB1
…e private-repository branch by deletion Seat 1's raise of the security-findings.md ceiling is reverted, so main's row stands. Two restating lines leave the file: the seat's own-account sentence (home: the seat invariants in SKILL.md, that content writes go only through the relay as the fleet App, and the file's own refusals of a seat-account read and of a re-send under another account), and the cross-repo finder's filing line (home: the affected repository named in the advisory line and the private-flag line of the private-card section, and the ownership section's relay-refusal line). The advisory line names the affected repository again. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J8VVAjG6DxvHuUKNbj3JB1
… card as mis-disclosed on a public repository only On a private repository an open `security` issue is the private card itself, so the charter line that hands a labelled card over under the mis-disclosure section now names public repositories and says so. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J8VVAjG6DxvHuUKNbj3JB1
…, whatever the repository The line read as a universal "a security finding is never a card", which a private repository's `security` issue now contradicts. It names the runner's own duty instead; the private card stays the PM's. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J8VVAjG6DxvHuUKNbj3JB1
…emainder, on the maintainer's ruling The private-repository branch adds four lines; three same-file deletions pay three. The remaining line is raised 64 to 65 on the maintainer's recorded ruling (option A), cited in the row's comment. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J8VVAjG6DxvHuUKNbj3JB1
Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J8VVAjG6DxvHuUKNbj3JB1
|
domain:skills#3 · huangyiirene · session_01J8VVAj7CvjkGXvgXzd6RZ7 Contract-review-claim: session_01J8VVAj7CvjkGXvgXzd6RZ7 · head 1a0dc42 · 2026-11-07T08:18Z Full contract review of PR #31102 (#30114, claim and widenings on the card, ruling 6704167516). The seat review runs at CONTRACT_REVIEW_TIER in an isolated subagent. |
|
domain:skills#3 · huangyiirene · session_01J8VVAj7CvjkGXvgXzd6RZ7 Contract reviewServed-tier: ① Derived judgmentsInputs: card #30114 (body; the triage 6633882869; seat 1's claim 6671655834 and release 6680051129; seat 1's handoff 6702493518 with ruling A2; the seat-3 claim 6703042549; the widening 6703143582; the ruling record 6704167516), the PR body, and the net diff.
② Semver levelNo release. Only ③ Boundary flags
④ Design judgment
Must-fix: M1. Should-fix: S1, S2. Nit: N1, N2, N3. Reviewed-by: VERDICT: FAIL |
…ings for any private card, one owner named The ownership section's two-things line drops the QA runner: a runner's finding reaches its PM session privately first, as checklist-test says, and the seat files the card. The mailbox form line rings `Notify: security` when any private card is built, a private repository's `security` issue included. The cross-repo finder's public line names the owner seat, as the blocked-task line does. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J8VVAjG6DxvHuUKNbj3JB1
|
domain:skills#3 · huangyiirene · session_01J8VVAj7CvjkGXvgXzd6RZ7 Contract-review-claim: session_01J8VVAj7CvjkGXvgXzd6RZ7 · head bb396b5 · 2026-11-07T08:45Z Delta review against the FAIL at head 1a0dc42 (comment 6704473385: must-fix M1, should-fixes S1–S2, nits N1–N3). The delta is one commit answering M1, S1 (claim widened in #30114 comment 6704480966) and N1, plus the PR body (patched by the seat). S2 is filed as #31103. The seat review runs at CONTRACT_REVIEW_TIER in an isolated subagent. |
|
domain:skills#3 · huangyiirene · session_01J8VVAj7CvjkGXvgXzd6RZ7 Contract reviewServed-tier: ① Derived judgments
② Semver levelNo change. ③ Boundary flags
④ Design judgment
Must-fix: none. Should-fix: none open (S2 is tracked on #31103). Nit: N2, N3, N4. Reviewed-by: VERDICT: PASS |
|
domain:skills#3 · huangyiirene · session_01J8VVAj7CvjkGXvgXzd6RZ7 维护者速读
席位核对 — ACCEPT · domain:skills#3 · head
|
Requested by Irene · project thread
Fixes #30114
Clause-②: no
Metadata-protocol: none
dispatch-gates --tierreads a MANDATORY model tier for.claude/skills/pm-dispatch/SKILL.md(clause ① of the model-tiering ruling). It is waived by the maintainer's standing order of 2026-11-03, and this card ran on the project's default model. The dispatching seat runs the contract review.Serial: #30271 waits on this card
维护者速读
security标签的普通 issue,经中继立卡、机制写在卡里、照卡派修;公开仓仍是草稿安全公告。中继执行器在请求被拒时,不再把引用了请求正文的平台message印进公开运行日志。scripts/pm中继脚本,不发包(skip-changeset);回滚即 revert。security-findings.md第 3 节(L19–L30)与第 6 节 L45;execute.mjs的requestLanded失败路径。node scripts/pm/fleet-write/execute.mjs --self-test,预期 284 例全过;node scripts/pm/check-skill-line-ratchet.mjs,预期退出 0、security-findings.md65 行(上限 65)。What changes
The rule (
.claude/skills/pm-dispatch/references/security-findings.md)privateflag, read from the API when the private card is filed, never recalled (L19).securitylabel, filed through the relay'sissue_create, and it holds the mechanism (L29). Its fix is dispatched from that issue like any card atxhigh, with no card-less order and no advisory (L30).#Non a private repository (L63). A QA runner's finding reaches its PM session first (checklist-testL266), so the line names seats only.security#1first (L64).Pointers whose wording would now be wrong
filing-gate.mdL15: "not a card" becomes "does not pass this gate".lanes/security.mdL10 and L16: the private card per §3, and the doorbell carries#Non a private repository. L48: the patrol treats an opensecuritycard as mis-disclosed on a public repository only; on a private repository it is the private card.SKILL.mdL165 (lane table): drops "card-less order" from the fix route.checklist-test/SKILL.mdL266 (claim widened by the seat): "a security finding is not a card" becomes the runner's own duty, "the runner files no card for a security finding". The PM files the private card.project-forms.mdL48 (claim widened by the seat, comment 6704480966): theNotify: securitydoorbell rings when a private card is built (「私卡建成」, either branch of §3), not only a draft advisory..claude/agents/os-dev.mdL49,lanes/server.mdL52,lanes/review.mdL21,project-forms.mdL52 andrest-channel.mdL50–51 point at the file without wording that is now wrong. Left unchanged.The relay (
scripts/pm/fleet-write/execute.mjs)requestLanded's generic failure path used to printHTTP {status} — {json.message}as the platform gave it. A refusal whose message quoted the request body (anissue_createtitle or body, say) reached the row, the✗ actionlog line and both step-summary lines of a public run. Now the status is always kept, and the message is printed only when it reproduces no prose of the body sent. The test is the one the advisory rows use (advisoryRefusalCause):advisoryProseOfof the body and a 16-characterquotesKnownwindow, raw and flattened. A quoting message is replaced by "the platform's message is not printed: it quotes the body sent, and no row prints that". Nothing else changes: the GraphQL branch and the 2xx legs are untouched.Tests
The executor self-test battery for an
issue_createon a private repository (added by seat 1's work, 5 cases) gains 3 cases, now 8. The battery floor goes 23 → 24, becausemainadded the mailbox branch delete battery meanwhile. All fixtures use synthetic text.Mutation proof (each run on the final code with one change, then restored):
284 cases pass across 24 batteries, exit 0return)Acceptance notes
Ruling of record for the ceiling
Comment 6704167516 on #30114 (seat 3, 2026-11-07T07:55Z): "Maintainer
huangyiireneruled at 2026-11-07T07:54Z (option A of the seat's question in the project thread): raise the line ceiling of.claude/skills/pm-dispatch/references/security-findings.mdfrom 64 to 65 for the one-line remainder the card thread measured after three real same-file deletions. Not option B (folding L31 and L47 into one line)." (Those were the line numbers before the deletions; on the head they are L30 and L45.)Seat 1's earlier raise to 67, which cited the card body, is reverted. The 65 row stands on this ruling alone.
Line budget (
scripts/pm/check-skill-line-ratchet.mjs, exit 0)references/security-findings.mdreferences/lanes/security.mdreferences/filing-gate.mdpm-dispatch/SKILL.mdchecklist-test/SKILL.mdreferences/project-forms.mdEvery touched prose line is ≤ 120 B (largest:
security-findings.mdL20 117,lanes/security.mdL48 119;security-findings.mdL63 is now 105, L34 84;project-forms.mdL48 110 → 104). TheSKILL.mdL165 table row goes 333 → 315 B, under its pin. Bytes measured without the newline.security-findings.md: +4 lines added (L19, L29, L30, L45), three deleted, net +1:pm-dispatch/SKILL.mdseat invariants L94–95 (content writes only through the REST relay, the write side alwaysobjectstack-fleet[bot]), plus the same file's L22 (a seat-account read is refused) and L25 (no re-send under another account)security#1, the maintainer when vacant). This line had also named the maintainer where §9 names the seat.L20 gets "on the affected repository" back, so the repository the card goes on stays named after the §4 line goes.
Review fixes (contract review 6704473385)
security-findings.mdL63: drops 「与 QA runner」, so only a seat files the private card. That matcheschecklist-testL266 and the mailbox recogniser (a QA runner's finding reaches its PM session privately first). 119 → 105 B, no line cost.project-forms.mdL48 (claim widened, 6704480966): 「草稿公告建成」 becomes 「私卡建成」, so the doorbell also rings for a private repository'ssecurityissue. 110 → 104 B, net 0 lines.security-findings.mdL34: 「with the maintainer」 becomes 「with the owner seat」, as L65 says. The rule means the seat: L64 routes a relay refusal tosecurity#1first and to the maintainer only when the seat is vacant. Same bytes (84), no line cost.Notify: security · #Ndoorbell inscripts/pm/record-recognisers.mjs); it is outside this claim.Verification
Local gates on bb396b5: 47 derived, 47 run with exit 0, 0 NOT MEASURED (`dispatch-gates --ran`)
node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstackderived 47 commands (32 pnpm, 15 direct node) for the 8 changed paths. Each ran with its exit code captured before any pipe, after building@objectstack/formula,@objectstack/lintand@objectstack/objectql. All 47 exited 0.check:pm-skill-ratchet,check:pm-fleet-write-execute,check:pm-fleet-write-validate,check:pm-fleet-write-dispatch,check:pm-governed-merges,check:pm-governed-prose,check:pm-skill-id-lint,check:skill-frame-sync,check:doc-authoring,check:ratchet-remedy-authorityandcheck-comment-mask-corpus.mjs.--ranprinted:47 derived famil(ies) accounted for — 47 run, 0 NOT-MEASURED (a DERIVED zero — all 47 recorded an exit code and none of them is 3).node scripts/pm/check-governed-merges.mjs --branch claude/project-thread-kk5w88: GOVERNED, Tier S (席内达档复核落地):.claude/**×6.scripts/pm/check-skill-line-ratchet.mjsandscripts/pm/fleet-write/execute.mjsare not on the register. 94 changed lines (+73 / −21), under 3000.node scripts/check-commit-card-trailers.mjs --range origin/main..HEAD: exit 0 before every push.origin/maintwice. No rebase, no force-push.Human Minimum
packages/specholds no runtime logic. (No schema touched.)main, one pull request..claude/**andscripts/pm/**), so the PR takesskip-changeset. Both declaration lines are filled in above.packages/specnot touched; nothing to regenerate.content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.🤖 Generated with Claude Code
https://claude.ai/code/session_01J8VVAjG6DxvHuUKNbj3JB1