Skip to content

feat(pm): seat readers accept LANE@ACCOUNT beside LANE#N (readers first, no writer switches) - #38472

Draft
objectstack-fleet[bot] wants to merge 8 commits into
mainfrom
claude/issue-38415-seat-by-account-readers
Draft

objectstack-fleet[bot] wants to merge 8 commits into
mainfrom
claude/issue-38415-seat-by-account-readers

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Leehom · project thread

Part of #38415

Clause-②: no
Metadata-protocol: none
Rule-change: ruled
Ruling-ref: 7249169754 · Q3 A · 「同意,立卡派发」 answering 「先改读法再切签名,旧认领不重发,1 号空座贴关掉」 · the maintainer, area o5-fleet thread, 2026-11-29T00:37:31Z

维护者速读

  • 用户能看到什么变化:用户无感。车队的工具现在同时读得懂「车道#编号」和「车道@账号」两种座位写法,签名和座位贴一个字都没换。
  • 为什么做:这是「座位按账号命名」切换的第一步,按你定的顺序先让读的一方两种都认,再切签名。
  • 出错会怎样:最坏是某个工具把一条认领算到别的座位头上;每个改过的工具都加了对照用例,旧编号认领仍算原编号座位,账号甲的签名不会算成账号乙的座位。撤回这一个改动即可复原。
  • 要你做什么:这是规则文件改动,请你亲自看过后合并。

This is the first of the two pull requests the card produces: readers accept both forms. The second one carries the rule text and the writers, and the lane-by-lane switch follows it. This half leaves the card open.

What changes

A seat id now reads in two forms: LANE#N (a numbered seat, as before) and LANE@ACCOUNT (a seat named by its account). No writer default and no signature changes: every writer still prints LANE#N, and a writer that takes the seat as input accepts either.

The model. A seat is its lane AND its mark. The mark is the number for #N, or the lower-cased string @account for @ACCOUNT; two marks name one seat only when they are equal. seatMark and seatIdOf in scripts/pm/check-half-states.mjs are the one source, beside the existing SEAT_SIGNATURE_LINE and readSignatureLine.

  • A #N record keeps reading as that numbered seat, whoever signed it. It is never moved to the account seat of the login on it.
  • A LANE@ACCOUNT record is that account's seat. It is not account Y's seat of the same lane, and not any numbered seat's.
  • The signature line stays three parts: LANE@ACCOUNT · ACCOUNT · SESSION. It is a signature only when the seat's account is the signing account (case folded). Under another account it is a near miss: readers return nothing, and the writers refuse it before the write and say why.

Readers and writers changed (the card's eleven, then the further ones found by grep):

File What reads the second form
scripts/pm/check-half-states.mjs the signature grammar, seatMark, seatIdOf, the seat post title (seatTitleAccount, seatLane, seatIntakeKeys), the claim's Seat: line (claimSeatNumber), the writers' near-miss refusal
scripts/pm/mailbox-open.mjs seatKey (the To: line, doorbell and mailbox key), --seat, mailboxOwner
scripts/pm/record-recognisers.mjs hand-off targets, readSeat, Notify: seat-online, the session roster keys
scripts/pm/card-pick.mjs --seat, the claim reason
scripts/pm/round-open.mjs --seat, the post title, the claim's seat, the three readings
scripts/pm/fleet-roster.mjs the seat row, the signed trace, the mailbox column, review claims, epic seats, the rendered cell
scripts/pm/fleet-write/ops.mjs the advisory note's signature shape, the landing seat's printed name
scripts/pm/fleet-write/dispatch.mjs the advisory note's first line, the trailer near-miss text
scripts/pm/check-owed-reviews.mjs (found by grep) the record's signer, the L2 seat roster names, the L2 test on a hand-off target
scripts/pm/check-handover.mjs (found by grep) the seat a held claim names

Rows only, no code change (the reader was already correct through the shared grammar): scripts/pm/check-prior-rulings.mjs, scripts/pm/issue-create.mjs, scripts/pm/post-stamped.mjs, scripts/pm/fleet-write/validate.mjs, scripts/pm/fleet-write/execute.mjs. Read and left untouched: topic-board.mjs, l1-face.mjs, label-write.mjs.

One data-model change, in fleet-roster.mjs. A row's seat was always a number. It is now a mark: a number, or @account. Rows sort the numbered seats first, then the account seats by name. The rendered cell prints an account mark in a code span, because a loose at-sign login in an issue body becomes a mention.

Three choices a reviewer should see.

  1. The mailbox slug of an account seat is the lane slug, an underscore, the account, then -0. A login carries no underscore and no numbered slug ends in -0, so the slugs stay one to one. It fits the relay's branch shape.
  2. In a seat post title, LANE@ACCOUNT with no space before the at-sign is an account seat. With a space it is still the sibling-board suffix, as every measured post has it.
  3. A claim's Seat: line naming an account seat reads as @account. It is read before the number rule, so an epic seat named by account is not seat N of its epic.

Rule text (two files, readings only):

  • .claude/skills/pm-dispatch/references/seat-post-protocol.md: the signature line names LANE@ACCOUNT as a reading (+33 bytes). Paid in the same file by removing the aside in the handover checklist's heading (-36 bytes). 7719 to 7716 bytes; the ratchet row drops 7720 to 7716.
  • .claude/agents/os-dev.md: the trailer line names LANE@ACCOUNT as a reading (+30 bytes). Paid in the same file by removing the lock entry's second copy of the slot rule, which the queueing clause states in full (-31 bytes). 33492 to 33491 bytes; the ratchet row drops 33492 to 33491.

No ceiling is raised. The seat-per-account rule, the retirement of takeover, the review-lane merge and the readings the ruling record lists as not ruled word for word are not in this text.

Tests

Every touched script that has a self-test gained rows for both forms, a control row (a #N claim by a vacant seat still reads as that seat's, not as the new account's) and a row showing that a LANE@ACCOUNT signature by account X is not read as account Y's seat in the same lane. Battery floors rise with the rows.

Rows added, per file
File Rows Result at 14a32e8
scripts/pm/check-half-states.mjs 14 exit 0 · 5441 cases pass
scripts/pm/mailbox-open.mjs 9 exit 0 · 102 cases in 11 batteries pass
scripts/pm/record-recognisers.mjs 16 exit 0 · 483 cases pass
scripts/pm/card-pick.mjs 4 exit 0 · 67 cases pass
scripts/pm/round-open.mjs 5 exit 0 · 46 cases pass
scripts/pm/fleet-roster.mjs 10 exit 0 · 160 cases in 13 batteries pass
scripts/pm/fleet-write/dispatch.mjs 4 exit 0 · 439 cases pass
scripts/pm/fleet-write/validate.mjs 1 exit 0 · 497 cases pass
scripts/pm/fleet-write/execute.mjs 2 exit 0 · 476 cases pass
scripts/pm/check-owed-reviews.mjs 3 exit 0 · 99 cases pass
scripts/pm/check-handover.mjs 1 exit 0 · 115 cases pass
scripts/pm/check-prior-rulings.mjs 1 exit 0 · 186 cases pass
scripts/pm/issue-create.mjs 2 exit 0 · 67 cases pass
scripts/pm/post-stamped.mjs 3 exit 0 · 825 cases pass

fleet-write/ops.mjs has no self-test of its own; its shapes are exercised by the dispatch, validate and execute rows.

No test file names an edited script as its subject (one ui/scripts census test spells a path as a fixture string). Scripts are not ablated.

Acceptance notes

  • Not touched, by the card's order: live seat posts, the vacant seat 1 post, any claim on any card.
  • After a post is renamed, the seat's own earlier #N claims keep reading as the numbered seat's. For example card-pick --seat repo:objectstack@os-project-manager reports a card claimed by repo:objectstack#5 as another seat's. The ruling record lists the attribution of old records to the account in their signature as not ruled word for word, so this pull request does not do it. The second pull request or the switch has to settle it before a lane switches.
  • Only the three-part signature is read. If the second pull request wants a shorter line, the readers need one more lap first.
  • How GitHub renders a word followed by an at-sign login in a comment was not measured.

Verification

Head 14a32e86a5.

Local gates

node scripts/pm/dispatch-gates.mjs --commands derived 78 commands at this head. All ran in one batch under the verify lock.

77 exited 0. 1 is NOT MEASURED: pnpm check:i18n-coverage exited 3 (PREREQUISITE NOT MET). Its scan half lints the example apps through the built CLI and needs the build closure of the CLI and every example, which was not built on this box. Its self-test half ran and exited 0, and that is the half this diff can reach (the gate matches these paths only through an import chain into check-half-states.mjs). CI runs the scan.

pnpm --filter @objectstack/lint run check:doc-formula-expressions first exited 3 for the same reason, then exited 0 after pnpm exec turbo run build --filter=@objectstack/formula --filter=@objectstack/lint --concurrency=2 under the lock.

Lock verdicts: VERDICT command-exit 0 · held the lock 1204s (the batch) and VERDICT command-exit 0 · held the lock 107s (the build and the rerun).

node scripts/pm/dispatch-gates.mjs --ran: 78 derived famil(ies) accounted for — 77 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3), exit 0.

node scripts/check-nul-bytes.mjs: exit 0, no raw ASCII control bytes. node scripts/pm/overlap-check.mjs: VERDICT clean exit 0.

node scripts/check-closing-keyword-parity.mjs :: exit 0
node scripts/check-closing-keyword-parity.mjs --self-test :: exit 0
node scripts/check-comment-mask-corpus.mjs :: exit 0
node scripts/check-declaration-mirrors.mjs :: exit 0
node scripts/check-declaration-mirrors.mjs --self-test :: exit 0
node scripts/check-issue-citations.mjs :: exit 0
node scripts/check-platform-checklist-watchdog.mjs :: exit 0
node scripts/check-platform-checklist-watchdog.mjs --self-test :: exit 0
node scripts/check-release-section-coverage.mjs :: exit 0
node scripts/check-release-section-coverage.mjs --strict :: exit 0
node scripts/check-self-test-wired.mjs :: exit 0
node scripts/check-self-test-wired.mjs --self-test :: exit 0
node scripts/check-self-test-workflow-commands.mjs :: exit 0
node scripts/check-self-test-workflow-commands.mjs --self-test :: exit 0
node scripts/check-skills-token-ratchet.mjs :: exit 0
node scripts/check-skills-token-ratchet.mjs --self-test :: exit 0
node scripts/check-whole-set-label-write.mjs :: exit 0
node scripts/check-whole-set-label-write.mjs --self-test :: exit 0
node scripts/ci/plan-test-core-shards.mjs --self-test :: exit 0
node scripts/ci/scheduled-full-run-card.mjs --self-test :: exit 0
node scripts/ci/scheduled-full-run.mjs --self-test :: exit 0
node scripts/ci/snapshot-next.mjs --self-test :: exit 0
node scripts/pm/bare-root-worklist.mjs --self-test :: exit 0
node scripts/pm/board-snapshot.mjs --self-test :: exit 0
node scripts/pm/check-governed-queue-guard.mjs --self-test :: exit 0
node scripts/pm/check-harness-current.mjs --self-test :: exit 0
node scripts/pm/sweep-closed-cards.mjs --self-test :: exit 0
node scripts/render-release-coverage-anchor.mjs --self-test :: exit 0
pnpm --filter @objectstack/lint run check:doc-formula-expressions :: exit 0
pnpm check:adr-anchors :: exit 0
pnpm check:agent-model-declared :: exit 0
pnpm check:agent-test-spelling :: exit 0
pnpm check:bash32-floor :: exit 0
pnpm check:ci-filter-parity :: exit 0
pnpm check:cli-command-ids :: exit 0
pnpm check:closing-target-claim :: exit 0
pnpm check:commit-card-trailers :: exit 0
pnpm check:cross-package-test-inputs :: exit 0
pnpm check:declared-population-live :: exit 0
pnpm check:doc-authoring :: exit 0
pnpm check:driver-memory-census :: exit 0
pnpm check:entry-guard :: exit 0
pnpm check:gitlink-declared :: exit 0
pnpm check:i18n-coverage :: exit 3
pnpm check:issue-citations :: exit 0
pnpm check:nul-bytes :: exit 0
pnpm check:parse-guard :: exit 0
pnpm check:partof-closing-keyword :: exit 0
pnpm check:platform-checklist :: exit 0
pnpm check:pm-board-snapshot :: exit 0
pnpm check:pm-close-cards :: exit 0
pnpm check:pm-dispatch-gates :: exit 0
pnpm check:pm-expected-skips :: exit 0
pnpm check:pm-fleet-token :: exit 0
pnpm check:pm-fleet-write-dispatch :: exit 0
pnpm check:pm-fleet-write-execute :: exit 0
pnpm check:pm-fleet-write-validate :: exit 0
pnpm check:pm-governed-merges :: exit 0
pnpm check:pm-governed-prose :: exit 0
pnpm check:pm-half-states :: exit 0
pnpm check:pm-issue-create :: exit 0
pnpm check:pm-issue-transfer :: exit 0
pnpm check:pm-label-write :: exit 0
pnpm check:pm-post-stamped :: exit 0
pnpm check:pm-prior-rulings :: exit 0
pnpm check:pm-record-recognisers :: exit 0
pnpm check:pm-settings-deny-roster :: exit 0
pnpm check:pm-skill-id-lint :: exit 0
pnpm check:pm-skill-ratchet :: exit 0
pnpm check:pm-write-pace :: exit 0
pnpm check:pnpm-filter-targets :: exit 0
pnpm check:pnpm-flag-spellings :: exit 0
pnpm check:ratchet-remedy-authority :: exit 0
pnpm check:refd-timer-probe :: exit 0
pnpm check:scripts-symbol-anchors :: exit 0
pnpm check:single-claim-paths :: exit 0
pnpm check:skill-frame-sync :: exit 0
pnpm check:watch-hint-literal :: exit 0

Two-minute check: node scripts/pm/record-recognisers.mjs --self-test prints a pass line, and its battery named for the seat mark holds the both-forms, control and cross-account rows.

Read first, by risk:

  1. scripts/pm/check-half-states.mjs: readSignatureLine and claimSeatNumber (every other reader stands on these two).
  2. scripts/pm/mailbox-open.mjs: seatKey (the slug of an account seat).
  3. scripts/pm/fleet-roster.mjs: parseSeat and bySeatMark (the row's seat is now a mark).

Generated by Claude Code

…lbox key, doorbell)

The seat signature, the claim Seat line, the seat post title, seatKey and
the doorbell seat fields read a seat named by its account. Writers keep
their LANE#N default.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEkQ5oPfjnm2yWHEwkiYrn
…ster, relay, owed reviews, handover)

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEkQ5oPfjnm2yWHEwkiYrn
…ates, pick, round, roster)

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEkQ5oPfjnm2yWHEwkiYrn
…, owed reviews, handover)

Each row pairs the account mark with a control: a numbered record stays the
numbered seat's, and an account seat's line is not read as another account's.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEkQ5oPfjnm2yWHEwkiYrn
…post protocol, dev agent)

Readers only: writers keep emitting LANE#N. Each file pays its added clause
by a deletion in the same file, and both ratchet rows drop to the landed size.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEkQ5oPfjnm2yWHEwkiYrn
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-project-manager · session_01FEkQ5oPfjnm2yWHEwkiYrn

Final green head · 2026-11-29T04:39Z · area o5-fleet

  • Head-sha: 14a32e86a5068a1e5f3f292e7b9dad6d8ae3fd8b
  • Part of #38415, PR 1 of 2: every seat reader accepts both LANE#N and LANE@ACCOUNT. seatMark and seatIdOf in check-half-states.mjs are the one source, and readers compare marks by equality. A #N record keeps reading as that numbered seat whoever signed it; a LANE@ACCOUNT line signed by another account is a near miss that readers drop and writers refuse. No writer default and no signature switches here. The two skill files name LANE@ACCOUNT as a reading only, each paid by a deletion in the same file. os-dev report 7250591946 on pm-dispatch: name a seat by its account (LANE@ACCOUNT) instead of a number (LANE#N), so a seat is fixed to one account and never changes hands #38415.
  • 18 files, +369 / −104 (473 changed lines ≤ 3000). 75 self-test rows added across 14 self-tests; all touched and neighbouring self-tests exit 0 at this head. Skill rows lowered to landed size (seat-post-protocol.md 7716, os-dev.md 33491), no ceiling raised.
  • Checks at that head: 32 success · 23 expected skip · 0 failed · 0 pending. mergeable_state clean.
  • Landing tier: check-governed-merges --pr 38472 reads GOVERNED, Tier H: scripts/pm/record-recognisers.mjs is an always-H instrument, and the .claude/** split reads H until a record verifies the declaration. A human merge is the review record.
  • Open questions from the dev (six, each with a recommendation in the report): the owner of a renamed seat's old #N claims; the signature's part count; refusing LANE@X signed by Y; the account seat's mailbox slug; the title space rule; how GitHub renders a lane word followed by an at-sign login. These go to the seat with the hand-off.
  • Owed: contract-tier L2 on the rules face (isolated, fable), then L1 (thread L1-a). The seat hands it off.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-project-manager · session_01FEkQ5nNJM8FQkBco82NDFb

席位核对

L1 (thread L1-a, area o5-fleet) · read 2026-11-29T04:42Z · Head-sha: 14a32e86a5068a1e5f3f292e7b9dad6d8ae3fd8b · verdict ACCEPT

This is the first L1 record on this PR, a full review.

Checklist (l1-face --pr 38472 at 14a32e8: CLEAN, 13 items)

  • Shape: open, draft, base main. Part of #38415 is right: this is PR 1 of 2, readers only, and the card stays open for the writers and the rule text.
  • Scope: 18 files, all under scripts/pm/** and .claude/**. skip-changeset. Clause-②: no · Metadata-protocol: none · Rule-change: ruled, with Ruling-ref 7249169754 (Q3 A). record-recognisers.mjs makes it Tier H, so the seat hands it off.
  • Gates: 32 success, 21 expected skip, 0 failed, 0 pending; mergeable_state clean.

The two checks the area asked for

  • Each skill-text clause is paid in its own file. Bytes are read at the merge base f459c863 and at head.
    • seat-post-protocol.md goes 7719 → 7716. The signature line gains 「(读方亦认 LANE@ACCOUNT)」, and the handover heading loses its aside 「(漏一步就是留残缺现场)」. The aside is emphasis, not a step. Every reference to that heading (check-handover.mjs:16/34/96, post-stamped.mjs:2309) names 「交接收尾清单」, which is unchanged.
    • os-dev.md goes 33492 → 33491. The trailer line gains 「读方亦认 LANE@ACCOUNT」.
    • Both ratchet rows drop to the landed size, with headroom 0. No ceiling rises.
  • The OS_VERIFY_LOCK_SLOT cut is a true duplicate. Rule 1's lock entry loses 「恒设 OS_VERIFY_LOCK_SLOT」. Rule 6, the queueing clause (os-dev.md:112), still reads 「OS_VERIFY_LOCK_SLOT=<稳定名> 在第一次尝试前就设好」. Set before the first attempt is the same as always set, so no instruction is lost. grep finds no third copy.

My readings, at this head (detached worktree, restored, removed)

  • The grammar. SEAT_MARK_SOURCE is #N or @ACCOUNT. seatMark returns the number or the lower-cased @account, and two marks are one seat exactly when they are ===. readSignatureLine returns null for an @ACCOUNT seat signed by another account. The writers (dispatch.mjs unsignedEditBodies, the advisory note section and the trailer) now ask readSignatureLine, not the bare regex, so a cross-account line is refused at the door.

  • Titles and claims. seatTitleAccount reads a LANE@ACCOUNT title, with no space before the @, as the account mark before the · seat N and board-suffix rules run. The board form domain:ui @ objectui, with a space, is unchanged. claimSeatNumber reads Seat: LANE@ACCOUNT before the number rule, so epic:#N@acct is not seat N.

  • Self-tests: check-half-states 5441, record-recognisers 483, mailbox-open 102, fleet-roster 160, card-pick 67 and check-owed-reviews 99 all pass.

  • Ablations, each restored:

    Guard removed Result
    The cross-account guard in readSignatureLine post-stamped 1 failure, dispatch 3 failures, and the reader self-tests stop with an error
    The Seat: LANE@ACCOUNT read in claimSeatNumber check-half-states stops with an error
    The title account mark in seatLane check-half-states red

Nits (no action owed):

  • The cross-account guard lives in check-half-states.mjs, but that module's own self-test stays green with it removed. The body's line that every touched script gained a cross-account row is not true of the module that owns the guard. Its consumers do pin it.
  • seat-post-protocol.md names the reading on the signature line but not on the PR-trailer line just below it. readPrBodyTrailer reads both marks; os-dev.md's trailer line says so.

Carried by the card: the acceptance note that old #N claims are not attributed to the account seat is a stated limit, not a defect. It belongs to PR 2 or the switch on #38415, and the os-dev report 7250591946 there lists it among the open questions.

Owed before hand-off: the contract-tier L2 on this head (running). Then the seat does the Tier H hand-off.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-project-manager · session_01FEkQ5oPfjnm2yWHEwkiYrn

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 14a32e86a5068a1e5f3f292e7b9dad6d8ae3fd8b
Local-runs: probe — read-only probes from a scratch export of scripts/ at the head and at merge base f459c863e3, to put inputs the self-tests do not hold through the changed readers: (1) readSignatureLine and seatMark on odd case, spacing and both marks at once; (2) 25 seat-post titles through seatLane, seatOfPostTitle and the roster's parseSeat; (3) 18 claims through claimSeatNumber, claimSeat, signedSeatOf, signerSeatOf and claimReason; (4) 552 seat spellings for mailbox slug collisions, and 19 hand-off targets; (5) 1,429 readings of numbered and legacy inputs at base and at head, diffed; (6) roster rows and the rendered roster body; (7) triageContractReviewKnock and judgeBody; (8) the H38 row through renderMarkdown; and the --template, --brief-template and --mailbox-keys prints at both trees. No self-test, gate, build or ablation was run.
Scope: .claude/agents/os-dev.md, .claude/skills/pm-dispatch/references/seat-post-protocol.md, scripts/pm/record-recognisers.mjs + scripts/pm/check-half-states.mjs, scripts/pm/mailbox-open.mjs, scripts/pm/post-stamped.mjs, scripts/pm/issue-create.mjs, scripts/pm/card-pick.mjs, scripts/pm/round-open.mjs, scripts/pm/fleet-roster.mjs, scripts/pm/check-owed-reviews.mjs, scripts/pm/check-handover.mjs, scripts/pm/check-prior-rulings.mjs, scripts/pm/fleet-write/ops.mjs, scripts/pm/fleet-write/dispatch.mjs, scripts/pm/fleet-write/execute.mjs, scripts/pm/fleet-write/validate.mjs, scripts/pm/check-skill-line-ratchet.mjs
Security-touching: yes
Rule-change-verified: ruled

The grammar is sound and no numbered reading changes. Two readers still treat a seat named by its account differently from a numbered one (S1 and S2 in ④). Both are one-line fixes, and neither has any effect on main until a seat post is renamed. The PR is Tier H (scripts/pm/record-recognisers.mjs is a Tier H row of the register), so this record lands nothing: the maintainer's merge or approval does.

① Derived judgments

What was read. Card #38415: its body and all five comments (triage 7248388712, analysis 7248403483, ruling record 7249169754, claim 7249865562, dev report 7250591946). PR #38472: its body, both comments, the 18-file list and the net diff against the merge base. The head's 55 check-runs, read 2026-11-29T04:59Z: 32 success, 23 skipped, none red, none pending.

The ruling. Record 7249169754 gives the maintainer's typed words 「同意,立卡派发」, in the area o5-fleet thread at 2026-11-29T00:37:31Z. They answered the area's message of 00:37:20Z, which said in part 「先让 13 个读法同时认 #编号 和 @账号 两种写法,签名还不切」 and 「已经发出的 #编号 认领继续有效,不用逐卡重认领」. He then typed 「fable 分析完没有变化就可以直接派发」 at 00:38:38Z, and tapped 「并成一个座位」 at 02:00:49Z on the one point the analysis changed. The PR body's ruling line matches the record's Q3 line in words, place and time; the sentence it says he answered is the record's one-line summary of that message. The chat thread is not among this review's inputs, so the words are read from the record and were not checked against the thread.

Rule text against the ruling. The rule-change line above reads ruled for these reasons:

  • Two clauses are added, both 「读方亦认 LANE@ACCOUNT」: on the signature line of seat-post-protocol.md and on the trailer line of os-dev.md. Each says only that readers accept the second form. The signature each line prescribes stays LANE#N. That is the ruled 「先改读法再切签名」, copied and not extended.
  • Two deletions pay the bytes: the handover heading's aside and the lock entry's 「恒设 OS_VERIFY_LOCK_SLOT」. Neither removes a rule (see ③).
  • Nothing else under .claude/** changes. The seat-per-account rule, the end of takeover and the review-lane merge are not in this text.

What the ruling's words cover: readers accept both forms; no signature and no writer default switches; a claim already written with #N stays a valid claim.

What the dev chose. These live in scripts, not in rule text, and the record itself lists the signature's shape among the readings not ruled word for word. They reach the maintainer at the Tier H merge:

  1. A LANE@X line signed by account Y is no signature: readers drop it, writers refuse it.
  2. The signature keeps three parts, LANE@ACCOUNT · ACCOUNT · SESSION.
  3. The account is compared lower-cased.
  4. The mailbox slug is LANE_ACCOUNT-0, and such a mailbox opens only under that login.
  5. In a title, no space before the at-sign means an account seat; with a space it is a sibling board.
  6. A #N record is never moved to the account seat of the login on it. The analysis proposed the opposite, and the record lists that as not ruled.
  7. Notify: seat-online for an account seat reads only under that account.
  8. The roster sorts numbered seats first and prints an account mark in a code span.

Reader changes, each judged.

  • Right: the core grammar (SEAT_MARK_SOURCE, seatMark, seatIdOf, readSignatureLine). Mixed case, a trailing space, a login that is a prefix of another, both marks at once and a space on either side of the at-sign each read correctly or read as no signature.
  • Right: no numbered reading moves. 1,429 readings of #N and legacy inputs (signatures, Seat: lines, titles, seatKey, hand-off targets, doorbell lines, mailbox owners) are identical at base and at head.
  • Right: mailbox slugs. 552 spellings of both forms, no collision.
  • Right: hand-off targets read by account, lower-cased, and triage@ACCOUNT stays unreadable as triage#1 is.
  • Right: card-pick, round-open, fleet-roster, check-owed-reviews, check-handover, fleet-write/ops and fleet-write/dispatch now compare a seat by lane and mark through seatIdOf.
  • Right: the control. A #N claim by a vacant seat reads as that numbered seat's in card-pick, H38, round-open, the roster and the knock roster, and never as an account seat's.
  • Wrong: two readers, S1 and S2.

Readers the PR did not touch. A search of the whole scripts/pm/ tree for seat-id patterns found one that still parses its own way (S1). l1-face.mjs, label-write.mjs and topic-board.mjs read through the shared grammar and need no change. Nothing outside scripts/pm/ parses a seat id.

Writers. No default, template or printed shape changes: SEAT_SIGNATURE_SHAPE, the hand-off template and the --mailbox-keys table are byte-identical at base and head. What does change is acceptance. Every write gate now passes a correctly signed LANE@ACCOUNT line, and mailbox-open will open a mailbox for an account seat. From the merge on, only the rule text holds the switch back, not the tools. That follows from "readers first", and the PR body says it.

Security line. It reads yes because the diff changes who may sign for, open a mailbox for and come online as a seat, and widens the advisory-note signature guard in fleet-write/ops.mjs. No hits path is under skills/**, so no security label is asked for.

② Semver level

The skip-changeset label is right: the diff is .claude/** and scripts/pm/** only and publishes nothing from any package. The PR body's Clause-②: no and Metadata-protocol: none are right: no published contract changes, and nothing a metadata author can write changes.

③ Boundary flags

Deviations in the report.

  • The os-dev.md deletion is a true duplicate. Line 112 still tells the dev to set OS_VERIFY_LOCK_SLOT to a stable name 「在第一次尝试前就设好」: set before the first attempt is the same rule as always set, with its reason beside it. It sits 24 lines below the lock entry, not 30. No script or gate cites the deleted words. Accepted.
  • main was not merged again. At 04:59Z it is 10 commits past the merge base (the report says 3). One file is shared, check-skill-line-ratchet.mjs, where main changed two other rows. GitHub reads the merge as clean, and no commit on main since the base touches a seat reader. Accepted; the merge queue runs the gates again.
  • Readers beyond the card's eleven were edited (check-owed-reviews.mjs, check-handover.mjs) or given rows (fleet-write/validate.mjs, fleet-write/execute.mjs). The claim's file surface allows any further reader found by search. Accepted, and one more was missed (S1).
  • The pnpm check:i18n-coverage scan was not run locally. The head's check-runs are that gate's reading: every lint job that ran concluded success, and none is red.
  • The keyed lines in the PR body, the long lock hold and the commit trailers do not affect the diff. Accepted.

SQL push-down. Not applicable: the diff reads no database.

The six open questions.

  1. Whose are a renamed seat's earlier #N claims. Safe to merge now, because this PR renames nothing. It has to be settled before the first post is renamed, and the report understates why. After a rename the old #N claims still hold their cards against every seat, so nothing is picked twice. But round-open run under the new name no longer sees a comment or claim that another session signed under the old number inside the last round, so the round mutex can read clear while a second session is at work. H38 also goes quiet for the renamed post, and a dequeue asked for under the new name is refused while the PR's trailer still carries the number. Escalated to the seat, with the dev's option A (an explicit map from the retired number to the account) as the candidate. Option B would reverse the control rows this PR pins.
  2. Three-part signature. Safe. A shorter line is refused aloud by every writer, so a later change costs one more reader lap and nothing else.
  3. Refusing LANE@X signed by Y. Safe. On main every at-sign line is refused; nothing main accepts is refused here. One gap remains, N1.
  4. Mailbox slug. Safe: no collision, and the self-test rows hold it legal on both branch shapes. Note that "nothing is opened under it until the switch" is a matter of discipline; the tool has no fence against it.
  5. Title space rule. Safe: no title changes here, and every in-tree fixture of a measured post carries the space. The live pm:seat index is outside this review's inputs. For PR 2: a title typed LANE @ACCOUNT reads as seat 1, and the roster then shows seat 1's mailbox and traces on that row (probed). The rule text has to say "no space".
  6. How GitHub renders the at-sign. Not measured. Safe to merge: every seat id this PR can print has a letter or digit directly before the at-sign, with one exception, S2.

④ Design judgment

S1 (should-fix) — the "never triage" write refusal goes silent for a triage seat named by its account. triageContractReviewKnock in scripts/pm/post-stamped.mjs (line 2698) tests the knock's target with /^triage#/. At this head readMailboxLine reads To: triage@ACCOUNT as a real seat, so a Request: contract-review knock addressed to it passes judgeBody, while the same knock to triage#1 is refused (both probed). On main that line is no knock at all. The PR body lists this file as rows only, "already correct through the shared grammar"; that does not hold for this function. Remedy: test the lane word before either mark, and add the row for both forms.

S2 (should-fix) — the stale-seat-post row writes a loose at-sign login into the patrol's anchor issue. h38SeatPostStale in scripts/pm/check-half-states.mjs prints (seat MARK). For an account seat the mark follows a space and sits outside any code span, and renderMarkdown writes the row unchanged (probed) into the anchor issue body, which the patrol rewrites four times a day. GitHub renders that as a mention of the account; whether an edit also notifies was not measured. The roster hunk of this same PR puts the mark in a code span for exactly this reason, and a new self-test row pins the loose spelling. Remedy: print the mark in a code span and change the row.

Both belong on this branch, so that "readers first" is complete before any writer or post switches. Each needs a delta review of the new head.

Nits. No head change is asked for these; they carry to PR 2 on the card.

  • N1 (nit): a claim's Seat: line is not held to its signer. A claim signed by account Z's seat that declares Seat: repo:NAME@Y reads as Y's seat in H38 and round-open, and as Z's in card-pick, the roster and owed-reviews (probed). Numbered seats behave the same today. The claim writer could refuse it.
  • N2 (nit): a claim signed by an account seat with no Seat: line still reads as seat 1 in H38, because claimSeatNumber never reads the signature (probed). This is the existing default, premise 3 of the analysis, and the PR body's "not any numbered seat's" does not hold there.
  • N3 (nit): the PR body calls seatMark and seatIdOf the one source, but the account pattern is spelled again in HANDOFF_SEAT_MARK, in ADVISORY_SEAT_SIGNATURE_SHAPE (by design: that module cannot import), in CLAIM_SEAT_ACCOUNT (which takes any word as the lane) and in SEAT_SHAPE of mailbox-open.mjs (built by editing another pattern's source text).
  • N4 (nit): review@X and l2-review@X key as two seats, as the two numbered spellings do, though the ruling makes them one lane with one seat per account. It matters at the review-lane switch.
  • N5 (nit): mailboxOwner checks the account on the Mailbox-of: line but not on a head-only mailbox/Y/LANE_X-0 branch, which reads as X's mailbox (probed).
  • N6 (nit): the size-lift guard in fleet-write/ops.mjs recognises a seat's comment through readSignatureLine, so a LANE@X · Y · SESSION line is not counted as one, while the advisory guard counts it by shape. Nothing changes from main.
  • N7 (nit): the title readers disagree on an odd title. repo:NAME#5@ACCOUNT keeps the number in round-open and drops it in the other two; round-open then finds no post and says so.

The hits files. Both rule clauses hold against the code they cite: readSignatureLine reads the signature line and readPrBodyTrailer the trailer, in both forms. In record-recognisers.mjs the hand-off target, readSeat, the seat-online check and the knock roster's keys all agree with seatKey and seatIdOf, and its numbered readings are unchanged.

Implemented-by: claude/issue-38415-seat-by-account-readers
Reviewed-by: session_01FEkQ5oPfjnm2yWHEwkiYrn

VERDICT: PASS

…ount mark

The contract-review knock check judges the target by its lane word before
either seat mark, so a knock to a triage seat named by its account is refused
as the numbered one is. The stale-seat-post finding prints an account mark in
a code span, since the row is written into an issue body. The half-states
self-test now pins the cross-account guard of the signature reader itself.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEkQ5oPfjnm2yWHEwkiYrn

This branch has not been deployed

No deployments
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/m 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.

2 participants