Repository navigation
docs(agents): a dispatched dev's pr_create carries the claim Account as PR assignee - #31307
Conversation
…as PR assignee AGENTS.md (Multi-agent, the dispatched executor) and the fleet-write relay's pr_create commentary still said a dev's pr_create carries no assignee. Ruling A (record 6674390671, landed by PR #30796) and .claude/agents/os-dev.md rule 2 put the claim's Account: on the PR through pr_create; the card's assignee stays the PM's and hand-over stays the seat's. Comments and prose only; AGENTS.md keeps its line count. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J8VVAm38fJUP5TCBNAD8RY
|
domain:skills#3 · huangyiirene · session_01J8VVAj7CvjkGXvgXzd6RZ7 Contract reviewServed-tier: ① Derived judgmentsInputs: card #31190 (body, triage 6710211939, the Check-runs, read 2026-11-08T00:31Z and again at 00:33Z: 43 runs. At 00:33Z: 14 success, 20 skipped, 9 in progress, none failed.
Accept-set and public-surface changes:
② Semver level
③ Boundary flags
④ Design judgmentNo must-fix. No should-fix. The one
Nits, all optional:
Implemented-by: VERDICT: PASS |
|
domain:skills#3 · huangyiirene · session_01J8VVAj7CvjkGXvgXzd6RZ7 维护者速读
席位核对 — ACCEPT · domain:skills#3 · head
|
Requested by Irene · project thread
Fixes #31190
Clause-②: no
Metadata-protocol: none
dispatch-gates --tierreads no path-derived model mandate for this diff. Any mandate above the thread's would be waived by the maintainer's standing order in this project (2026-11-03). This card ran on the project's default model, and the dispatching seat (domain:skills#3) runs the contract review.维护者速读
AGENTS.mdL403 的括注改成「PR 的 assignee 是认领的Account:,由pr_create带上;交棒归席位」,保留「⛔ 永不写卡的 assignee」半句;scripts/pm/fleet-write/ops.mjs头注释与pr_create描述符上的内联注释同步改正,只改注释,不动代码。.claude/agents/os-dev.md第 2 条规定 dev 的pr_create给 PR 指派认领账号;AGENTS.md仍写「pr_create不带 assignee」,而它声称冲突时优先,已有派发的 dev 因此停工或开出无 assignee 的 PR(AGENTS.md still says a dev's pr_create carries no assignee; os-dev.md and pm-dispatch (ruling A on #29828, PR #30796) put the claim Account on it #31190)。AGENTS.md保持 1050 / 1050 行(无上限上调),只在原两行内重排,两行均在 120 字节内;ops.mjs头注释多一行;不发版(skip-changeset);回滚即 revert。AGENTS.mdL403-L404;然后scripts/pm/fleet-write/ops.mjsL125-L128 与 L2126。node scripts/pm/check-skill-line-ratchet.mjs(AGENTS.md 1050 行,余量 0,无超宽行);对照.claude/agents/os-dev.mdL38 与 L63 读新句;node scripts/pm/fleet-write/execute.mjs --self-test全绿。check-governed-merges判为 Tier H(AGENTS.md),需os-zhuang或hotlong批准;请在席位契约复核 ACCEPT 后再批。What changed (ruling A on #29828, record 6674390671, landed by PR #30796)
The ruling's home is
.claude/agents/os-dev.mdrule 2: "PR 派认领Account:(pr_create带),交棒归席位" (L38) and the write budget "pr_create(draft,含 labels 与 assignees)" (L63)..claude/skills/pm-dispatch/references/execution-duties.mdL69 and pm-dispatchSKILL.mdagree. None of those files is touched.AGENTS.mdL403-L404 (Multi-agent, the dispatched executor)The "⛔ never writes the card's assignee" half is kept. Line count unchanged (1050 / 1050). L403 is 112 bytes and L404 is 113 bytes, both under the ratchet's 120-byte line budget.
scripts/pm/fleet-write/ops.mjsheader, § The governed-review follow-up (L125-L128)Kept as still true: the draft open summons nobody (no file read, no review request, no governed-review follow-up), and the seat never REQUESTS its own account as a reviewer (pm-dispatch
SKILL.mdL198, "⛔ 永不请席位自身账号"). Only the assignee half is corrected.scripts/pm/fleet-write/ops.mjsinline comment on thepr_createdescriptor (L2126)The seat widened the claim to this site (claim 6714934662).
No code changes. The descriptor already takes
assigneesas optional and sends the leg to the number the create answered.Other sites found
Grep over
AGENTS.md,scripts/pm/**and.claude/**for a sentence saying a dev'spr_createcarries no assignee, or that a PR is never assigned the claim's account:scripts/pm/fleet-write/ops.mjsL2124-L2125 (now L2126): the same stale claim. Fixed in this PR on the seat's widening.scripts/pm/fleet-write/execute.mjsL1647 and L2012 ("no assignee"): these pin that the governed-review follow-up adds no assignee on a draft create when the caller spelled none. Still true. Checked and consistent, no action.scripts/pm/check-half-states.mjsL15733 and L15763: already state the ruling (the dev'spr_createcarries the claim'sAccount:, record 6674390671). Checked and consistent..claude/agents/os-dev.mdL38 and L63,.claude/skills/pm-dispatch/references/execution-duties.mdL69, pm-dispatchSKILL.md: agree with the ruling. Checked and consistent, untouched.scripts/pm/fleet-write/validate.mjsL1247 pins that apr_createwithout assignees or labels is one request. It describes the relay's behaviour, not who passes assignees. Consistent.Gates
On head
b069bd29(base7c523aa1): all 40node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstackcommands exit 0. Also:node scripts/pm/check-skill-line-ratchet.mjs(exit 0, AGENTS.md 1050 / 1050),node scripts/pm/fleet-write/dispatch.mjs --self-test(exit 0, 331 cases),validate.mjs --self-test(exit 0, 340 cases),execute.mjs --self-test(exit 0, 284 cases),node scripts/check-commit-card-trailers.mjs --range origin/main..HEAD(exit 0). Changed lines: 11 (+6 / -5), 2 files.🤖 Generated with Claude Code
https://claude.ai/code/session_01J8VVAm38fJUP5TCBNAD8RY