Skip to content

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

Merged
objectstack-fleet[bot] merged 9 commits into
mainfrom
claude/project-thread-kk5w88
Nov 7, 2026
Merged

objectstack-fleet[bot] merged 9 commits into
mainfrom
claude/project-thread-kk5w88

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Requested by Irene · project thread

Fixes #30114

Clause-②: no
Metadata-protocol: none

dispatch-gates --tier reads 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

维护者速读

  • 改了什么:私有仓(今天是 cloud)的安全发现改为该仓带 security 标签的普通 issue,经中继立卡、机制写在卡里、照卡派修;公开仓仍是草稿安全公告。中继执行器在请求被拒时,不再把引用了请求正文的平台 message 印进公开运行日志。
  • 为什么改:你的原话「cloud 私有仓库可以直接用带 security 标签的普通 issue,立卡修改 skills」,以及裁定「A2 本卡里一起修中继」;行数上限按你 07:54Z 的裁定(选项 A)64 → 65。
  • 风险与回滚:只改内部 agent 规程与 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.md 65 行(上限 65)。
  • 需要你做的:无,席位落地。

What changes

The rule (.claude/skills/pm-dispatch/references/security-findings.md)

  • §3: a seat tells a public repository from a private one by the affected repository's private flag, read from the API when the private card is filed, never recalled (L19).
  • §3: on a private repository, the private card is an ordinary issue with the security label, filed through the relay's issue_create, and it holds the mechanism (L29). Its fix is dispatched from that issue like any card at xhigh, with no card-less order and no advisory (L30).
  • §2's "no issue" and §3's advisory lines, including fallback A, apply to public repositories (L13, L20, L27; fallback A at L25 names only the advisory operations, so it is public-only by its own terms).
  • §6, item 2 of the card: on a private repository too, PR titles, PR bodies, commits and changesets state only the rule and link the issue, because a private repository can be made public and its history goes with it (L45).
  • §9's "two things" line: a seat files the private card per §3 and rings the doorbell with #N on a private repository (L63). A QA runner's finding reaches its PM session first (checklist-test L266), so the line names seats only.
  • §4's public line names the owner seat (L34), as §9's blocked-task line (L65) does, because a relay refusal now goes to security#1 first (L64).
  • §8 (one place) is kept.

Pointers whose wording would now be wrong

  • filing-gate.md L15: "not a card" becomes "does not pass this gate".
  • lanes/security.md L10 and L16: the private card per §3, and the doorbell carries #N on a private repository. L48: the patrol treats an open security card as mis-disclosed on a public repository only; on a private repository it is the private card.
  • SKILL.md L165 (lane table): drops "card-less order" from the fix route.
  • checklist-test/SKILL.md L266 (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.md L48 (claim widened by the seat, comment 6704480966): the Notify: security doorbell rings when a private card is built (「私卡建成」, either branch of §3), not only a draft advisory.

.claude/agents/os-dev.md L49, lanes/server.md L52, lanes/review.md L21, project-forms.md L52 and rest-channel.md L50–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 print HTTP {status} — {json.message} as the platform gave it. A refusal whose message quoted the request body (an issue_create title or body, say) reached the row, the ✗ action log 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): advisoryProseOf of the body and a 16-character quotesKnown window, 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_create on a private repository (added by seat 1's work, 5 cases) gains 3 cases, now 8. The battery floor goes 23 → 24, because main added the mailbox branch delete battery meanwhile. All fixtures use synthetic text.

  • A 422 whose message quotes the body: FAILED, status 422 kept, the marker in no log line, row, step summary or annotation.
  • A title whose every 16-character run holds a pipe, quoted back with slashes: caught on the flattened side.
  • A 410 whose message quotes nothing: printed as given.

Mutation proof (each run on the final code with one change, then restored):

Mutation Result
none 284 cases pass across 24 batteries, exit 0
fix reverted (the old one-line return) 2 of 284 fail (the quoting refusal, the flattened run), exit 1
flattened comparison dropped 1 of 284 fails (the flattened run), exit 1

Acceptance notes

Ruling of record for the ceiling

Comment 6704167516 on #30114 (seat 3, 2026-11-07T07:55Z): "Maintainer huangyiirene ruled 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.md from 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)

File Lines (main → head) Ceiling Bytes (main → head)
references/security-findings.md 64 → 65 64 → 65 (ruling above) 3,601 → 3,800
references/lanes/security.md 53 → 53 unchanged 3,156 → 3,190
references/filing-gate.md 67 → 67 unchanged 6,558 → 6,561
pm-dispatch/SKILL.md 319 → 319 unchanged 32,177 → 32,159
checklist-test/SKILL.md 276 → 276 unchanged 19,278 → 19,288
references/project-forms.md 59 → 59 unchanged 4,531 → 4,525

Every touched prose line is ≤ 120 B (largest: security-findings.md L20 117, lanes/security.md L48 119; security-findings.md L63 is now 105, L34 84; project-forms.md L48 110 → 104). The SKILL.md L165 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:

Deleted line Surviving home
§3 "a private repository has no private vulnerability reporting, so those operations stay a hand-off" stale: the private-repository branch (L19, L29, L30) replaces it
§3 "a seat never reports privately or writes an advisory under its own account: GitHub writes go only through the relay, as the App" pm-dispatch/SKILL.md seat invariants L94–95 (content writes only through the REST relay, the write side always objectstack-fleet[bot]), plus the same file's L22 (a seat-account read is refused) and L25 (no re-send under another account)
§4 the cross-repo finder's filing line, "file through the relay in the framework repository (§3); relay refused ⇒ hand the mechanism to the maintainer in session" §3 L19–L20 (the affected repository's flag decides; the advisory sits on the affected repository) and §9 L63 (every seat files the private card per §3), L64 (relay refused ⇒ to 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)

  • M1 security-findings.md L63: drops 「与 QA runner」, so only a seat files the private card. That matches checklist-test L266 and the mailbox recogniser (a QA runner's finding reaches its PM session privately first). 119 → 105 B, no line cost.
  • S1 project-forms.md L48 (claim widened, 6704480966): 「草稿公告建成」 becomes 「私卡建成」, so the doorbell also rings for a private repository's security issue. 110 → 104 B, net 0 lines.
  • N1 security-findings.md L34: 「with the maintainer」 becomes 「with the owner seat」, as L65 says. The rule means the seat: L64 routes a relay refusal to security#1 first and to the maintainer only when the seat is vacant. Same bytes (84), no line cost.
  • S2 is filed as pm: the Notify: security doorbell for a private-repository security card carries a bare #N that names no repository #31103 (a repository-qualified number for the Notify: security · #N doorbell in scripts/pm/record-recognisers.mjs); it is outside this claim.
  • N2 (fallback A L25 stays public-only by its own terms) and N3 (a non-quoting refusal message is printed unflattened, as before) are left as they are.

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/objectstack derived 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/lint and @objectstack/objectql. All 47 exited 0.
  • They include 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-authority and check-comment-mask-corpus.mjs.
  • --ran printed: 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).
  • Earlier runs (6969dfe before the ceiling ruling, 1a0dc42 before the review fixes) do not count here.
  • node scripts/pm/check-governed-merges.mjs --branch claude/project-thread-kk5w88: GOVERNED, Tier S (席内达档复核落地): .claude/** ×6. scripts/pm/check-skill-line-ratchet.mjs and scripts/pm/fleet-write/execute.mjs are 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.
  • History: seat 1's commit 5274bbc merged in, then origin/main twice. No rebase, no force-push.

Human Minimum

  • 1. Schemas start as Zod; packages/spec holds no runtime logic. (No schema touched.)
  • 2. Every name I added uses the casing for its kind.
  • 3. No formatter ran.
  • 4. One issue, one branch off an up-to-date main, one pull request.
  • 5. Nothing publishes (.claude/** and scripts/pm/**), so the PR takes skip-changeset. Both declaration lines are filled in above.
  • 6. packages/spec not touched; nothing to regenerate.
  • 7. No hand edits to content/docs/references/, packages/*/CHANGELOG.md or content/docs/releases/.
  • 8. Title, body and comments are in English. (The 维护者速读 section is Chinese, per the lane template.)
  • The Before Submitting list in CONTRIBUTING.md is done.

🤖 Generated with Claude Code

https://claude.ai/code/session_01J8VVAjG6DxvHuUKNbj3JB1

…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
@objectstack-fleet objectstack-fleet Bot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Nov 7, 2026
@github-actions github-actions Bot added size/s documentation Improvements or additions to documentation labels Nov 7, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#3 · huangyiirene · session_01J8VVAj7CvjkGXvgXzd6RZ7

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 1a0dc42b19243012d0537f3f9286cf6a73312631
Local-runs: probe — one throwaway worktree at the head (removed after), run to prove the relay fix is real: the executor self-test with the requestLanded fix reverted to main's one-line return (2 of 284 cases fail, exit 1). The same worktree also gave the unmutated self-test (284 pass, 24 batteries, exit 0), check-skill-line-ratchet (exit 0) and check-governed-merges --pr 31102
Scope: .claude/skills/pm-dispatch/references/security-findings.md, .claude/skills/pm-dispatch/references/filing-gate.md, .claude/skills/pm-dispatch/references/lanes/security.md, .claude/skills/pm-dispatch/SKILL.md, .claude/skills/checklist-test/SKILL.md, scripts/pm/fleet-write/execute.mjs, scripts/pm/check-skill-line-ratchet.mjs; net diff against merge base 9c1edbcd2 (origin/main is now 7faa23750, and none of the 7 paths moved since the merge base); also read on the head, unchanged: .claude/skills/pm-dispatch/references/project-forms.md, lanes/triage.md, lanes/server.md, lanes/review.md, rest-channel.md, .claude/agents/os-dev.md, scripts/pm/record-recognisers.mjs (the security doorbell parser), scripts/pm/fleet-write/validate.mjs, .github/workflows/fleet-write.yml

① Derived judgments

Inputs: 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.

  • The rule. TRUE to the card. security-findings.md now says:
    • a seat tells the two cases apart by the affected repository's private flag, read from the API when it files (L19);
    • on a public repository the private card stays a draft advisory (L20), and the fix stays a card-less order (L27);
    • on a private repository the private card is an ordinary security issue, filed through the relay's issue_create, holding the mechanism (L29), and the fix is dispatched from that issue at xhigh, with no card-less order and no advisory (L30);
    • §2's "no issue" is scoped to public repositories (L13), and the title says so (L1);
    • card item 2 is answered: on a private repository too, PR titles, bodies, commits and changesets state the rule and link the issue (L45);
    • §8 is kept, and no label or gate is added.
  • Pointer lines. Four of the five agree with the rule:
    • filing-gate.md L15 ("does not pass this gate").
    • lanes/security.md L10, L16 and L48.
    • pm-dispatch/SKILL.md L165 (drops "card-less order").
    • ⛔ must-fix M1, checklist-test/SKILL.md L266 against security-findings.md L63. L266 now says the runner files no card for a security finding. The claim widening says why: "the PM files the private card". But L63, also edited in this PR, still says "seats and QA runners do two things: file the private card per §3 and ring the doorbell". L266 also tells the runner to follow security-findings.md for the private card. So a QA runner gets two opposite orders, on a security route. The mailbox recogniser agrees with L266 (a QA runner's finding "reaches its PM session privately first"), so L63 is the odd line out. The tension already existed on main, but this PR rewrote both lines and kept it. Fix inside the claim, net 0 lines: drop "与 QA runner" from L63 (119 → about 105 B). The runner's route already lives in checklist-test L266–268.
  • No line in .claude/** still states the old universal rule. Grepped for the old wording (永不立卡, 永不成卡, 不立卡, 不是卡, 无卡派发, 不立 issue, and English forms). The remaining hits are about other things, or are runner-only duties (checklist-test L162 and L188), which is right.
    • should-fix S1, project-forms.md L48. This is the doorbell form line. It fires Notify: security only when "a draft advisory is built or a mis-disclosed card is labelled". A private-repository security issue is a new trigger, and the line leaves it out. The PR body checks L52 of that file but not L48. Widen the claim and say "私卡建成" in place of "草稿公告建成" (this is shorter, so the line shrinks).
  • The relay fix (ruling A2). TRUE and in scope.
    • The generic failure path in requestLanded keeps the status.
    • It prints the platform's message only when the message repeats no prose of the body sent. The check is the same one the advisory rows use: advisoryProseOf and a 16-character quotesKnown window, on the raw text and the flattened text.
    • The GraphQL branch and the 2xx legs did not change. The GraphQL ops carry no prose body.
    • The workflow passes the payload by event file only, and the run name uses request_id alone.
    • The fix is real. With main's one-line return restored, 2 of 284 cases fail: the quoting 422 and the flattened run. Unmutated, all 284 pass across 24 batteries.
    • The battery has 8 cases: landed, quoting refusal, flattened refusal, plain refusal, transport failure, over-cap body, ill-typed body, plus a positive control. This pins card item 3 on the rows, log lines, step summary and annotations, and through the validator the executor calls. The battery floor goes 23 → 24 (one battery, one row).
  • should-fix S2, the #N doorbell is ambiguous between repositories. L63 and lanes/security.md L16 now ring Notify: security · #N for a private card. record-recognisers.mjs reads a bare #n only (NUMBER_REF). Its when text describes only triage's public card, and an owner/repo#N form would not parse. So security#1 cannot tell a cloud #N from a mis-disclosed public #N, or which repository it is on, except from the sender. Open a follow-up card for the recogniser (repository-qualified number, or a separate form). The when text there is out of this claim.
  • The ratchet row. TRUE. Only the security-findings.md row moves, 64 → 65. Its comment cites 6704167516 (option A, 2026-11-07) and the measured +1 delta. Seat 1's raise to 67 does not appear in the net diff. No other row changed. The PR body quotes the ruling comment and the delta, which is what SKILL.md L291 requires. The ruling was given in the project thread and recorded by the seat. I took the record as written.

② Semver level

No release. Only .claude/** and scripts/pm/** change, and neither publishes. skip-changeset is set, and the body explains it. Clause-②: no and Metadata-protocol: none are line-initial and right: no schema, contract or metadata meaning moves.

③ Boundary flags

  • Diff against the claim. All 7 files are inside the claim (6703042549) and its two widenings (6703143582: checklist-test L266 only, in place; 6704167516: the one ratchet row). execute.mjs changes only requestLanded, its doc comment, the self-test battery and the battery floor.
  • Tier. check-governed-merges --pr 31102: GOVERNED, Tier S, .claude/** ×5. The two scripts are not on the register. 90 changed lines (+71 / −19), under 3000. The owning seat lands it on a PASS record for the current head, with every check green. The PR is a draft. mergeable_state is blocked.
  • PR body. It says Fixes #30114. It states the model waiver (the standing order of 2026-11-03, the project's default model) without naming a model. No model identifier appears in the body, the diff or the commits. The commit trailers are model-free.
  • Commits. 8 commits plus a merge of origin/main. No rebase.
  • Check-runs on this head, read 2026-11-07T08:23Z: 45 runs, 23 success, 20 skipped, 2 in progress, 0 failed.

④ Design judgment

  • One home per rule. Yes. The private-repository branch lives only in §3 and §6. The pointers name the file and restate nothing.
  • Line and byte budget. My readings match the body.
File Lines main → head Ceiling Bytes main → head
references/security-findings.md 64 → 65 65 3,601 → 3,814
references/lanes/security.md 53 → 53 53 3,156 → 3,190
references/filing-gate.md 67 → 67 67 6,558 → 6,561
pm-dispatch/SKILL.md 319 → 319 319 32,177 → 32,159
checklist-test/SKILL.md 276 → 276 276 19,278 → 19,288
  • Touched lines. Every touched prose line is ≤ 120 B. The widest are security-findings.md L63 (119) and L20 (117), and lanes/security.md L48 (119). The SKILL.md L165 table row goes 333 → 315 B. Table rows are exempt and held by their pin.
  • Payment. security-findings.md: 4 lines added (L19, L29, L30, L45) and 3 deleted. All three are whole-line deletions. None was merged into a surviving line, and nothing was re-wrapped. The other four files are in-place, one-line rewrites at net 0.
  • Every deleted fact, and where it survives:
    • §3, "a private repository has no private vulnerability reporting; those operations stay a hand-off after launch". Stale. L19, L29 and L30 replace it.
    • §3, "a seat never reports privately or writes an advisory under its own account". Survives in pm-dispatch/SKILL.md L94 (content writes go only through the REST relay) and L95 (the writer is always the fleet bot), plus L22 (a seat-account read is refused) and L25 (no re-send under another account).
    • §3, "GitHub writes go only through the relay, as the App". Survives in SKILL.md L94–95.
    • §4, "a cross-repo finder files in the framework repository". Survives in L19–L20 (the affected repository decides, and the advisory sits on it).
    • §4, "…as a draft advisory or a private report through the relay (§3)". Survives in L21, L23 and L63.
    • §4, "relay refused ⇒ hand the mechanism to the maintainer in session". Survives in L64, which now routes to security#1 first and to the maintainer when the seat is vacant. This is a deliberate alignment with §9, and the body says so.
    • SKILL.md L165, "the fix goes by a card-less order". Survives in L27 (public repositories).
    • lanes/security.md L10 ("never a card") and L16 ("a draft advisory already built"). Both are replaced by "the private card per §3", which now covers both branches.
    • filing-gate.md L15 ("not a card") and checklist-test L266 ("a security finding is not a card"). Both are reworded to the gate's scope and to the runner's own duty. No fact is lost.
  • nit N1. §4 L34's public line says "a security item is with the maintainer". §9 L65 says "with the owner seat". L64 now routes to the seat first. Pick one wording.
  • nit N2. The card asked that §3's fallback A (L25) be scoped to public repositories. The PR leaves it public-only by its own terms (it names only the advisory operations), and the body argues this. That is defensible. A "公开仓" prefix would make it explicit, if bytes allow.
  • nit N3. A non-quoting refusal is printed raw. It is not flattened or capped the way advisoryRefusalCause does it, so a pipe or newline in a platform message can break the summary table. This existed before, and it is outside A2. Optional.

Must-fix: M1. Should-fix: S1, S2. Nit: N1, N2, N3.

Reviewed-by: session_01J8VVAj7CvjkGXvgXzd6RZ7

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
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#3 · huangyiirene · session_01J8VVAj7CvjkGXvgXzd6RZ7

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: bb396b52528e0300e7122f2023d61a7278a02fed
Local-runs: none
Scope: delta review 1. git diff 1a0dc42b bb396b52: one commit, no rebase, 2 files (.claude/skills/pm-dispatch/references/security-findings.md L34 and L63; .claude/skills/pm-dispatch/references/project-forms.md L48). Also read: the patched PR body, the claim widening 6704480966 on #30114, follow-up card #31103, and on the head checklist-test/SKILL.md L266–268, lanes/security.md L16, scripts/pm/check-skill-line-ratchet.mjs (the two ceiling rows). The prior record (head 1a0dc42b, FAIL on M1) covers everything else, and none of it changed.

① Derived judgments

  • M1 is closed. L63 now reads "seats do two things: file the private card per §3, ring the doorbell". The QA runner is gone from the line. No line in .claude/** still gives a QA runner the duty to file a private card. git grep for "runner" next to security words finds only two lines:

    • security-findings.md L3: a QA runner reads the file. That is a read duty, not a filing duty.
    • checklist-test L266–268: the runner files no card and reports privately to its PM session.

    The mailbox recogniser says the same. All three now agree.

  • S1 is closed, and the public case is kept. project-forms.md L48 now rings Notify: security when "a private card is built or a mis-disclosed card is labelled". "Private card" (私卡) is §3's umbrella term for both branches:

    • the §3 heading says the private card is a security advisory on a public repository and a security issue on a private one;
    • L20 defines the public private card (the draft advisory);
    • L29 defines the private private card (the issue).

    So the draft-advisory doorbell for a public repository still fires. Nothing is dropped. The doorbell forms also stay named in two places: security-findings.md L63 (the advisory id, or #N on a private repository) and lanes/security.md L16.

  • N1 is closed. §4 L34's public line now says "a security item is with the owner seat". That is the same text as §9 L65. It also matches L64, which routes a relay refusal to security#1 first and to the maintainer only when the seat is vacant. No other file or script quotes the old string.

  • S2 is tracked. It is filed as pm: the Notify: security doorbell for a private-repository security card carries a bare #N that names no repository #31103 and named in the body (L100). The card names the recogniser, its when and template text, the matching skill lines and the self-test. It is outside this claim, which is right. The card carries no mechanism and no finding id.

② Semver level

No change. skip-changeset is still right: .claude/** does not publish. Clause-②: no and Metadata-protocol: none stand.

③ Boundary flags

  • Diff against the claim. The delta touches security-findings.md, which is in the claim, and project-forms.md L48, which is in widening 6704480966 ("L48 only, one in-place rewrite at net 0 lines"). Nothing else in project-forms.md changed. The net diff against origin/main is now 8 files, all inside the claim and its three widenings.
  • Tier. It is still Tier S. project-forms.md sits under .claude/**, so the governed hits go from 5 to 6, and no Tier H path appears. I read this from the earlier tool output plus the path. I did not rerun the tool.
  • PR body. It says Fixes #30114. The model waiver is unchanged and names no model. No model identifier appears in the body or the new commit, and the trailer is model-free.
  • Check-runs on this head, read 2026-11-07T08:47Z: 42 runs, 12 success, 19 skipped, 11 in progress, 0 failed. Landing still needs every check green.

④ Design judgment

  • Line and byte budget. All three edits are in place, at net 0 lines, with no re-wrap.
File Lines main → head Ceiling Bytes main → head
references/security-findings.md 64 → 65 65 (ruling 6704167516) 3,601 → 3,800
references/project-forms.md 59 → 59 59 4,531 → 4,525
  • Touched lines. L63 is 105 B and L34 is 84 B. project-forms.md L48 goes from 110 B to 104 B. All are ≤ 120 B, and they match the body.
  • Lost facts. None. The QA runner's route lives in checklist-test L266–268. "Private card" covers both doorbell triggers.
  • nit N4, the PR body. The deleted-line table (body L91) still gives the surviving home as "§9 L63 (every seat and QA runner files the private card per §3)". After M1 it should say "every seat". This is body text only.
  • Carried from the prior record. N2 (fallback A at L25 is public-only by its own terms, not by an explicit prefix) and N3 (a non-quoting refusal message is printed raw) are still open. Both are optional.

Must-fix: none. Should-fix: none open (S2 is tracked on #31103). Nit: N2, N3, N4.

Reviewed-by: session_01J8VVAj7CvjkGXvgXzd6RZ7

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#3 · huangyiirene · session_01J8VVAj7CvjkGXvgXzd6RZ7

维护者速读

  • 改了什么: security-findings.md 的安全发现规则分两支:受影响仓是公开仓,照旧走草稿公告、无卡派发;是私有仓,就在该仓立一张普通 security issue(经中继),从这张卡按 xhigh 派修。filing-gate.md、lanes/security.md、pm-dispatch/SKILL.md、checklist-test/SKILL.md、project-forms.md 各一处指针改成同一说法。中继 execute.mjs 的 requestLanded 失败路径不再把可能引用载荷的平台拒绝消息原样打进公开运行日志(裁定 A2),附 8 个自测用例。行棘轮只动 security-findings.md 一行 64 → 65(您 07:54 的裁定,记录 6704167516)。7 个文件,skip-changeset。
  • 为什么改: pm-dispatch skill: on a private repository (objectstack-ai/cloud), a security finding is an ordinary issue labelled security, not a draft advisory #30114。原规则「安全发现永不立卡」对私有仓不适用,私有仓上立卡不会泄露;中继日志可能把拒绝消息里的载荷公开。
  • 风险与回滚: agent 内部文字 + 中继一个失败分支,不发布;自测 284/284,把修复改回去 2 条变红。可整 PR revert。
  • 先看: .claude/skills/pm-dispatch/references/security-findings.md §3(L19–L30)。
  • 两分钟验证: node scripts/pm/check-skill-line-ratchet.mjs,exit 0,security-findings.md 65/65。
  • 需要你做的: 无,席位落地。.claude/** 是 Tier S,同 head 达档 PASS 与全绿 CI 在案后由本席 ready + auto-merge。
  • 席位意见: ACCEPT。

席位核对 — ACCEPT · domain:skills#3 · head bb396b52528e0300e7122f2023d61a7278a02fed

  1. 形态: draft → main,Fixes #30114;skip-changeset,Clause-②: no,Metadata-protocol: none;作者 objectstack-fleet[bot];7 个文件,在认领面与两次扩面(6703143582、6704480966)及裁定 6704167516 之内。
  2. 前提实测: 复核逐行对照:规则各支、五处指针、.claude/** 无旧通则残留;requestLanded 修复在 A2 范围内,抽掉修复后自测 2/284 变红;棘轮只动一行并引裁定,席 1 的 67 已撤。
  3. 门禁(钉 head bb396b52): dev 派生门禁 47 条全部 exit 0;check-runs 49 条:27 success、22 skip、0 失败;行读数 security-findings.md 65/65、project-forms.md 59/59、lanes/security.md 53/53、filing-gate.md 67/67、pm-dispatch/SKILL.md 319/319、checklist-test/SKILL.md 276/276,改动行均 ≤ 120 B。check-governed-merges --pr 31102:Tier S(.claude/** ×6)。复核:全量 6704473385 FAIL(M1 + S1–S2),增量 6704680278 PASS。
  4. 接受的偏差: 无。M1、S1、N1 已在新提交改正;N4(正文删行表措辞)由本席改正文;N2、N3 可选,不改。
  5. 范围外去向: S2(私有仓门铃只带裸 #N、不带仓名)→ pm: the Notify: security doorbell for a private-repository security card carries a bare #N that names no repository #31103。
  6. 落地条款: Tier S。本席翻 ready 并开 auto-merge;红或踢出照 landing-operations.md 在本落地窗口处置。

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 7, 2026 09:04
@objectstack-fleet
objectstack-fleet Bot enabled auto-merge November 7, 2026 09:04
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 7, 2026
Merged via the queue into main with commit a61f61a Nov 7, 2026
50 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/project-thread-kk5w88 branch November 7, 2026 09:22
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/s skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pm-dispatch skill: on a private repository (objectstack-ai/cloud), a security finding is an ordinary issue labelled security, not a draft advisory

1 participant