Repository navigation
docs(pm-dispatch): for a p1 card-thread card the L1 thread starts the isolated L2 beside its L1; a dispatch order missing its derivation is sent back (#35813) - #36213
Conversation
… isolated L2 beside its L1 contract-review.md names the L1 thread as the starter of the isolated L2 sub-agent when a p1 card dispatched to a card thread is handed back and owes L2; the two opinions return to the seat together, and the seat adopts the record the way it adopts a card thread's. The card-thread section of dispatch-runbook.md carries the same hand-back path in one line and says the thread builds itself with no os-dev sub-agent. area-lease.md, where the L1 thread's duties live, gains the L2 start. Bytes are paid in the same file by deleting restatements whose fact keeps a home elsewhere; no ceiling row moves. Claude-Session: https://claude.ai/code/session_01QsR2jTeURPvEm465RcoYEC Co-authored-by: Claude <noreply@anthropic.com>
…ck, never filled from memory The card-thread section of dispatch-runbook.md says what the receiving side does with a dispatch order that lacks the derivation of its tier or effort: a thread or an area does not start, sends it back to the seat, and never fills the tier from memory. os-dev.md mirrors the line, since a card thread reads os-dev.md, the order and the card, not the skill. Bytes are paid in the same file by deleting restatements whose fact keeps a home elsewhere; no ceiling row moves. The two project-memory lines for project-forms.md are not in this commit: that file has no headroom and no restatement large enough to pay for them. Claude-Session: https://claude.ai/code/session_01QsR2jTeURPvEm465RcoYEC Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC Contract-review-claim: session_01QsR2jTeURPvEm465RcoYEC · head 4ae825d · 2026-11-21T23:36Z |
|
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC Contract reviewServed-tier: Inputs read: card #35813 (body, 5 comments), card #35905 (body, 4 comments), ruling records 7035727071 and 7046610679, PR #36213 body, file list and net diff (4 files, +19 −15; PR base equals ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentRule-changing hunks, each checked against the ruling words it cites:
S1 (should-fix) — N1 (nit) — the three p1 lines name the L1 thread without saying what a seat with no L1 thread does (a seat under the partition threshold has none). The default No must-fix. One should-fix, S1, open on this head. Implemented-by: VERDICT: PASS |
…n area The mirror of the card-thread rule in os-dev.md named no subject, so it read as binding every dev that reads the file, including an ordinary sub-agent or cloud dev whose order is not required to carry the derivation. The ruled subject is a thread or an area that finds its dispatch order missing a derivation; the line now names it. Sixteen bytes, inside the file's headroom; no ceiling row moves. Claude-Session: https://claude.ai/code/session_01QsR2jTeURPvEm465RcoYEC Co-authored-by: Claude <noreply@anthropic.com>
main moved area-lease.md and the ratchet table under this branch; the merge is clean and no ceiling row of this branch's four files moves. Claude-Session: https://claude.ai/code/session_01QsR2jTeURPvEm465RcoYEC Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC Contract-review-claim: session_01QsR2jTeURPvEm465RcoYEC · head 1b94ad0 · 2026-11-22T06:33Z |
|
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC Contract reviewServed-tier: Delta round on the record for head Delta in the governed paths, old head to new head: (1) ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentRule-changing hunks, each checked against the ruling words it cites:
S1: closed N1 (nit) — the three p1 lines name the L1 thread without saying what a seat with no L1 thread does (a seat under the partition threshold has none). The default No must-fix, no should-fix. Implemented-by: VERDICT: PASS |
|
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC 维护者速读
席位核对
|
…t disagrees with the skill gets a skill card the same day (objectstack-ai#36345) <!-- claude-projects-attribution: {"github_login":"zhuangjianguo"} --> _Requested by **Steedos** · [project thread](https://claude.ai/code/project/chan_018ETKaNwMZCNRYD7D8Q9Ubb?thread=cmsg_018ETKaNwMZCNRYD7D8Q9UbbCxiFE11rsKwyNffJZKYqJs)_ Fixes objectstack-ai#35905 Together with draft PR objectstack-ai#36213, which carries the card's item 2 and its `os-dev.md` mirror as `Part of`, this PR's items 1 and 3 complete the card. Clause-②: no Metadata-protocol: none Rule-change: ruled Ruling-ref: 7046610679 — the maintainer's answer 「同意,立卡派发」 (cost-review thread, 2026-11-20T09:07:52Z) to the question 「如果确保协调者严格按照技能执行,之前有犯错,协调者用了项目记忆」 (2026-11-20T07:52:51Z), transcribed by the filing seat as the ruling record on the card ## 维护者速读 - 用户无感;车队内部:协调者的项目记忆今后只存你的原话(带时间)和指向技能的指针,不再抄写规则;你的裁决若与技能不一致,当天就立一张改技能的卡,技能改动合并后协调者对照改动行清理记忆。 - 为什么做:你同意把「协调者严格照技能执行、不凭项目记忆」写进技能,这里是该裁决剩下的两条规则(另一条已在另一份改动里)。 - 出错会怎样:只影响协调者如何保管项目记忆,最坏是一条过时的记忆行多留一会儿,随时可整段撤回。 - 要你做什么:无。 ## What changes Two governed files, internal only (nothing publishes). The two added lines copy items 1 and 3 of the ruling above; the bytes they need are paid first by restatement cuts in the same file, and the ceiling rises only by the measured remainder. **`.claude/skills/pm-dispatch/references/project-forms.md`**, under the line that says project memory and shared folders are never the ledger, only this account's cache (the place the card names): - Item 1: `- 项目记忆只存维护者原话(带时间)与技能指针,⛔ 不复述规则;与技能相左 ⇒ 照技能,删该行。` (125 bytes) - Item 3: `- 维护者裁决与技能相左 ⇒ 当日立技能卡,记忆行点名它,合并即删;技能 PR 合并 ⇒ 协调者照改动行查记忆。` (143 bytes) These are the drafts the objectstack-ai#36213 dev measured, kept as written: the shorter spellings considered each dropped a part of the ruled meaning (the time on the maintainer's words, "delete that line", or which line names the card). **Cut list (48 bytes, same file; each fact keeps a home)** | # | Cut | Bytes | Where the fact still lives | |---|---|---|---| | 1 | `(车道、总监、分诊同此)` in the seat-reading line | 32 | Line 6 of the same file: `车道席、总监席、分诊席都是席位` | | 2 | `,含在飞卡` in the takeover line | 13 | `seat-lifecycle.md` 〈座位贴协议〉: `维护者强制接管令取席位、队列、在飞卡、未起工卡与待落地 PR` | | 3 | un-wrap of the queue-flake continuation into its `Notify: main-green` line (newline + two-space indent) | 3 | no text deleted | **`scripts/pm/check-skill-line-ratchet.mjs`**: the `project-forms.md` row of `CEILINGS` rises **+220 bytes, 4669 → 4889**, with a row comment naming both ruling records. No other row moves. Ceiling-raise authority: ruling record **6184799323**, item 1 (letter B, the maintainer's 「同意」): "A ruling of record that orders text into a ratcheted file is the authorization to raise that file's ceiling by the measured lines the text needs: the raising PR quotes the ruling comment's id and the measured line delta in its body, and moves the `CEILINGS` row in the same PR by at most that delta." The ratchet now counts bytes, and its header reads that ruling in bytes. The ordering ruling of record here is 7046610679 above. Measured delta: 268 bytes added − 48 bytes cut = **+220 bytes**, and the row moves by exactly that. The seat reading on the card, 7071003039, records the same arithmetic and the same authority. ## Tests Text-only change to an internal instruction file and one ceiling row; no package and no test target. The ratchet script's own battery (`--self-test`) runs inside `check:pm-skill-ratchet`; no `*.test.*` file names the script. ## Acceptance notes - No changeset: `.claude/**` and `scripts/pm/**` are on the fast path of files that publish nothing; `skip-changeset` rides this create. - `.claude/**` is governed. This PR stays draft for the seat's contract-review record at `CONTRACT_REVIEW_TIER`, which must read `Rule-change-verified: ruled`. The dev knocks nobody. - The header comment above `CEILINGS` still says "Three rows were later raised by an ordinary ruled raise"; on `main` seven rows already carry a raise comment, and this is the eighth. Noted, not changed: the dispatch order forbids moving any other text in the script. - The card's seat record 7046610679 ends with the seat's reading "It orders no byte-ceiling raise". Seat reading 7071003039 reads that sentence as noting that the words name no raise, which is the case ruling 6184799323 item 1 covers, not as a refusal. This PR follows that reading. - Base: branched from `origin/main` at `71e02fff`, then `main` at `99fbaa6d` merged in (it moved the `execution-duties.md` row two lines above, a clean merge). The branch's delta vs `main` is exactly the two files above (`+6 / −5`). ## Verification First files to read, by risk: 1. `references/project-forms.md` 〈接管不等撞墙账号〉: the two new lines against items 1 and 3 of the card. 2. `scripts/pm/check-skill-line-ratchet.mjs`: the one `project-forms.md` row, 4889. Two-minute check: `node scripts/pm/check-skill-line-ratchet.mjs | grep 'project-forms.md is'` prints `project-forms.md is 4889 bytes (ceiling 4889; headroom 0)`; `wc -c` on the file prints 4889. <details><summary>Local gates at head 93c631a</summary> Derived with `node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack` at `93c631a4` (40 commands, the same list as at the pre-merge head `2a9c20af`); every exit code captured before any pipe; reconciled with `--ran`: `40 derived famil(ies) accounted for — 40 run, 0 NOT-MEASURED (a DERIVED zero — all 40 recorded an exit code and none of them is 3)`. - exit 0: `check-closing-keyword-parity` (and `--self-test`), `check-comment-mask-corpus`, `check-declaration-mirrors` (and `--self-test`), `check-self-test-wired` (and `--self-test`), `check-self-test-workflow-commands` (and `--self-test`), `check-whole-set-label-write` (and `--self-test`), `plan-test-core-shards --self-test`, `bare-root-worklist --self-test`, `check-harness-current --self-test`, `check:adr-anchors`, `check:agent-test-spelling`, `check:bash32-floor`, `check:ci-filter-parity`, `check:cli-command-ids`, `check:cross-package-test-inputs`, `check:doc-authoring`, `check:driver-memory-census`, `check:entry-guard`, `check:gitlink-declared`, `check:nul-bytes`, `check:parse-guard`, `check:pm-dispatch-gates` (`dispatch-gates self-test (fast tier): 2252 cases pass`), `check:pm-governed-merges`, `check:pm-record-recognisers`, `check:pm-settings-deny-roster`, `check:pm-skill-id-lint`, `check:pm-skill-ratchet` (its `--self-test`, then `project-forms.md is 4889 bytes (ceiling 4889; headroom 0)` and `declared cross-file moves: 0, total ceilings unchanged`), `check:pnpm-filter-targets`, `check:pnpm-flag-spellings`, `check:ratchet-remedy-authority`, `check:refd-timer-probe`, `check:scripts-symbol-anchors`, `check:skill-frame-sync`, `check:watch-hint-literal`. - `check:doc-formula-expressions` (lint package): run after `turbo run build --filter=@objectstack/formula --filter=@objectstack/lint` under the verify lock (`VERDICT command-exit 0`), exit 0. - `node scripts/pm/overlap-check.mjs --branch=claude/issue-35905-project-forms-lines`: `VERDICT clean exit 0` at `93c631a4` (merges cleanly with `origin/main` at `99fbaa6d`; no open PR head shares a file). </details> 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- signed: repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC --> Co-authored-by: Claude <noreply@anthropic.com>
Requested by Steedos · project thread
Fixes #35813
Part of #35905 (its item 2 and the
os-dev.mdmirror land here; items 1 and 3, the two project-memory lines forreferences/project-forms.md, are carried on branchclaude/issue-35905-project-forms-lines, see "Not in this PR")Clause-②: no
Metadata-protocol: none
Rule-change: ruled
Ruling-ref: 7035727071 — the maintainer's words 「已经决定了,不是试 3 张 p1 卡,是所有 p1 都按照新规则执行」, seat thread, 2026-11-20T09:22:50Z, for the p1 hand-back lines; 7046610679 — the maintainer's answer 「同意,立卡派发」, cost-review thread, 2026-11-20T09:07:52Z, to 「如果确保协调者严格按照技能执行,之前有犯错,协调者用了项目记忆」, for the missing-derivation line and its mirror; each transcribed as the ruling record on its card
维护者速读
What changes
Four governed files under
.claude/, internal only (nothing publishes). Every added line copies one of the two rulings above; every deleted fragment is a restatement whose fact keeps a home elsewhere (cut list below). No ceiling row moves.The p1 hand-back path (ruling record 7035727071)
references/contract-review.md, who runs L2. New line under the existing谁跑 = 派发席line:- p1 卡线程卡交回且欠 L2 ⇒ L1 线程起隔离 L2 子代理,与其 L1 并行,两份意见同回席。references/contract-review.md, the adoption line. The seat adopts the L1 thread's sub-agent record exactly as it adopts a card thread's, so the brief, theScope:check, the independence pair and the tier evidence read as before.- 卡线程隔离子代理照上落现 head 记录并贴简报 ⇒ 席核简报、…- 卡线程或 L1 线程隔离子代理照上落现 head 记录并贴简报 ⇒ 席核简报、…references/dispatch-runbook.md, card-thread section, the roles line: the thread builds itself.…;线程实施、开 draft PR、驱动 CI 与可合并。…;线程自己实施、开 draft PR、驱动 CI 与可合并,⛔ 不起 `os-dev` 子代理。references/dispatch-runbook.md, card-thread section, the same hand-back path in one line, directly under the roles line:- p1 卡交回且欠 L2 ⇒ L1 线程并行起 L1 与隔离 L2(`contract-review.md`),两份意见同回席。references/area-lease.md, the L1 thread lines of 〈分不分区,动态定〉. This is where the L1 thread's duties live: there is nolanes/l1-review.md, andl1-review-checklist.mdholds the L1 criteria, not who starts what. New line:- p1 卡线程卡交回且欠 L2 ⇒ L1 线程并行起隔离 L2 子代理(`contract-review.md`)。A dispatch order missing its derivation (ruling record 7046610679, item 2 of that card)
references/dispatch-runbook.md, card-thread section, new line under the line that says the order carries the tier, the effort and their derivation:- 线程或区见令缺推导 ⇒ 不开工,退回席位;⛔ 不凭记忆补档位。.claude/agents/os-dev.md, 〈何时停手不写码〉, the mirror a card thread reads, scoped to the ruled subject (a card thread or an area), so an ordinary sub-agent or cloud dev is not bound by it:- 卡线程或区:派发令缺档位或 effort 的推导 ⇒ 不开工,退回席位;⛔ 不凭记忆补档位。Cut list (bytes paid in the same file; each fact keeps a home)
contract-review.md(section heading)(按面;L2 席章程见 `lanes/l2-review.md`)欠不欠按面判). The charter pointer: SKILL.md lane table,l2-reviewrow; the routing line of the same section (请谁照 `lanes/l2-review.md`). Scripts cite the heading as 〈L2 归属与资格〉, which still matchescontract-review.md(prose-face sentence):派发席按本席档在 ACCEPT 逐句对照 diff 核,ACCEPT 点名所核句l1-review-checklist.md〈范围与 changeset〉 (逐句核 diff,ACCEPT 点名所核句,⛔ 不起子代理for the same three prose faces); SKILL.md 〈审核两级〉 (L1 stays with the lane). The sentence it ended keeps散文面 ⛔ 不在其列dispatch-runbook.md(patrol line);PASS 同笔摘标记、FAIL 不摘contract-review.md〈等 L2 标记〉, the 摘 line; the patrol line keeps its pointer to that filedispatch-runbook.md(disclosure line);卡线程照计 `batch`batchrow (one slot = one running sub-agent or card thread)dispatch-runbook.md(claim line);线程核对最新认领指向本分支方开工dispatch-runbook.md(whole line)- 线程只能推指定分支是实测平台例外,认领如实写。os-dev.mdrule 1 (卡线程分支由平台指定、harness 推送); the two lines above it in the section (the coordinator reads the thread's branch, the seat's claim carries thatBranch:)dispatch-runbook.md(derivation line):`--tier` 过路径,MANDATORY 即绑;effort 按难度execution-duties.mddispatch section (强制条款①;effort 按卡难度定);coordinator.md四 (档位引 `dispatch-gates --tier`,effort 按卡难度); SKILL.md claim template (theContainer & modelline quotes the--tieroutput and its MANDATORY path line). The next line keeps推导(`--tier` 行或难度读数)area-lease.md(L1 thread line);`lanes/l2-review.md` 席规不及它L2 规则不及 L1; the L2 seat's rules govern the L2 seat only)area-lease.md(L1 request line);信箱只留跨账号或跨项目lanes/l2-review.md路由, the same clause verbatim for requests to an L1 or L2 seatarea-lease.md(claim line);`Branch:` 照 AGENTS.md 命名os-dev.md(rule 1)(PreToolUse 钩子会拦)os-dev.md(PR subscription line),仍以本文件为准本派发契约压过平台注入的 PR 订阅姿态)os-dev.md(footer line)耐久归属写进正文散文或评论,⛔ 不循环重贴页脚;Ratchet readings (
node scripts/pm/check-skill-line-ratchet.mjs; no ceiling or pin row touched, declared cross-file moves 0)references/contract-review.mdreferences/dispatch-runbook.mdreferences/area-lease.md.claude/agents/os-dev.mdreferences/project-forms.mdNot in this PR
Items 1 and 3 of the second card (the two project-memory lines for
references/project-forms.md) are not here: that file is at headroom 0 and is untouched by this PR. The seat carries that half on branchclaude/issue-35905-project-forms-lines, under its reading on that card (record 7071003039).Tests
Text-only change to four internal instruction files; no package and no test target. Gates below.
Acceptance notes
.claude/**is on the fast path of files that publish nothing;skip-changesetrides this create..claude/**is governed. This PR stays draft for the seat's contract-review record atCONTRACT_REVIEW_TIER, which must readRule-change-verified: ruled. The dev knocks nobody.落现 head 记录并贴简报is not reordered; the brief template itself says the brief is posted beside the record for the seat to read before it adopts.os-devsub-agent" is written for every card thread, not only p1: the section already calls the card thread the dev (coordinator 调度卡线程(即 dev),线程实施), so the clause states what the section meant, and the ruling orders it for p1.交回:line, because open draft PR fix(pm-dispatch): a hold is a Blocked-by line on the card, every patrol picks per card, and a card thread confirms CI started (#36203) #36205 inserts two lines at that point;overlap-checknow reads clean against it. That PR also adds bytes todispatch-runbook.md, which lands here at headroom 2, so whichever lands second pays again.record-recognisers.mjs --brief-templatenames a card thread as the one handing the brief to its isolated sub-agent; it does not yet name the L1 thread. Noted, not changed: scripts are outside this card's file surface.cbd582f4(the dispatch order namedfa304140;origin/mainhad moved).git diff --stat fa304140 cbd582f4 -- .claude scripts/pmis empty, and so is the same reading from the branch base toorigin/mainat1d060265, so no merge ofmainwas taken before opening.os-dev.mdmirror line named no subject and so read as binding every dev that reads the file; it now names the ruled subject, 16 bytes inside that file's headroom. No other text changed.origin/mainat99fbaa6dhad movedarea-lease.mdand the ratchet table, somainwas merged (clean) before the push; the four files measure the same after the merge and no ceiling row of theirs moved.Verification
First files to read, by risk:
references/contract-review.md: the new p1 line under谁跑, the adoption line, and the two cut hunks at the top of the file (the heading and the prose-face sentence).references/dispatch-runbook.md, card-thread section: the derivation pair (cut 7 and the new line under it), the roles line and the hand-back line..claude/agents/os-dev.md〈何时停手不写码〉: the mirror line.Two-minute check:
node scripts/pm/check-skill-line-ratchet.mjs | grep -E 'contract-review|dispatch-runbook|area-lease|os-dev' | grep ceilingprints the four files at 20068, 6418, 6584 and 38846 bytes under ceilings 20070, 6419, 6586 and 38848, every line ticked.Local gates at head 1b94ad0 (re-run after the fix round and the merge of main)
Derived with
node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack(26 commands); reconciled with--ran:26 derived famil(ies) accounted for — 26 run, 0 NOT-MEASURED (a DERIVED zero — all 26 recorded an exit code and none of them is 3).check-closing-keyword-parity(and its--self-test),check-comment-mask-corpus,check-governed-queue-guard --self-test,check-harness-current --self-test,check:adr-anchors,check:agent-model-declared,check:agent-test-spelling,check:commit-card-trailers,check:cross-package-test-inputs,check:doc-authoring,check:driver-memory-census,check:gitlink-declared,check:nul-bytes,check:pm-expected-skips,check:pm-governed-merges,check:pm-label-write,check:pm-prior-rulings,check:pm-record-recognisers,check:pm-settings-deny-roster,check:pm-skill-id-lint(131 file(s) clean),check:pm-skill-ratchet,check:refd-timer-probe,check:skill-frame-sync,check:watch-hint-literal.check:doc-formula-expressions(lint package): exit 0, run afterturbo run build --filter=@objectstack/formula --filter=@objectstack/lintunder the verify lock (VERDICT command-exit 0); without that build it exits 3, prerequisite not met.check:skill-frame-freshnessexit 0 (local reading:1/1 framework files are byte-identical to the ref);check:pm-governed-proseexit 0.node scripts/pm/overlap-check.mjs --branch=claude/issue-35813-lean-review-and-memory-rules:VERDICT clean exit 0(merges cleanly withorigin/mainat99fbaa6d18and with the two open PR heads that share a file, fix(pm): the relay review plan, H43 and the early-warning leg chain the .claude/** declaration split, and the split reads the queue's record leg (#35612) #36215 onos-dev.mdand fix(pm-dispatch): a hold is a Blocked-by line on the card, every patrol picks per card, and a card thread confirms CI started (#36203) #36205 ondispatch-runbook.md).🤖 Generated with Claude Code