Skip to content

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

Merged
objectstack-fleet[bot] merged 4 commits into
mainfrom
claude/issue-35813-lean-review-and-memory-rules
Nov 22, 2026
Merged

objectstack-fleet[bot] merged 4 commits into
mainfrom
claude/issue-35813-lean-review-and-memory-rules

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Requested by Steedos · project thread

Fixes #35813
Part of #35905 (its item 2 and the os-dev.md mirror land here; items 1 and 3, the two project-memory lines for references/project-forms.md, are carried on branch claude/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

维护者速读

  • 用户无感;车队内部:p1 卡由卡线程交回后,审核线程做普通审核的同时就起独立的契约审核,两份意见一起回到座位,不再一前一后各等一轮;派发令缺少档位或投入度的推导时,接令的线程或分区不开工并退回座位。
  • 为什么做:你裁定所有 p1 卡都按精简流程走,并同意把「协调者严格照技能执行、不凭项目记忆」写进技能;这里是照这两条裁决抄写的规则文字。
  • 出错会怎样:只影响车队内部的审核路由与派发文字,最坏是一张 p1 卡的两级审核仍然一前一后,或一张派发令被多退回一次,随时可整段撤回。
  • 要你做什么:无;另有两条关于项目记忆的规则因所在文件的字节上限已满没有写进这次改动,座位会另行向你呈报。

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)

  1. references/contract-review.md, who runs L2. New line under the existing 谁跑 = 派发席 line:
    • - p1 卡线程卡交回且欠 L2 ⇒ L1 线程起隔离 L2 子代理,与其 L1 并行,两份意见同回席。
  2. 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, the Scope: check, the independence pair and the tier evidence read as before.
    • Before: - 卡线程隔离子代理照上落现 head 记录并贴简报 ⇒ 席核简报、…
    • After: - 卡线程或 L1 线程隔离子代理照上落现 head 记录并贴简报 ⇒ 席核简报、…
  3. references/dispatch-runbook.md, card-thread section, the roles line: the thread builds itself.
    • Before: …;线程实施、开 draft PR、驱动 CI 与可合并。
    • After: …;线程自己实施、开 draft PR、驱动 CI 与可合并,⛔ 不起 `os-dev` 子代理。
  4. 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`),两份意见同回席。
  5. references/area-lease.md, the L1 thread lines of 〈分不分区,动态定〉. This is where the L1 thread's duties live: there is no lanes/l1-review.md, and l1-review-checklist.md holds 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)

  1. references/dispatch-runbook.md, card-thread section, new line under the line that says the order carries the tier, the effort and their derivation:
    • - 线程或区见令缺推导 ⇒ 不开工,退回席位;⛔ 不凭记忆补档位。
  2. .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)

# File Cut text Bytes Where the fact still lives
1 contract-review.md (section heading) (按面;L2 席章程见 `lanes/l2-review.md`) 45 按面: the file's title and its first rule line (欠不欠按面判). The charter pointer: SKILL.md lane table, l2-review row; the routing line of the same section (请谁照 `lanes/l2-review.md` ). Scripts cite the heading as 〈L2 归属与资格〉, which still matches
2 contract-review.md (prose-face sentence) :派发席按本席档在 ACCEPT 逐句对照 diff 核,ACCEPT 点名所核句 77 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 散文面 ⛔ 不在其列
3 dispatch-runbook.md (patrol line) ;PASS 同笔摘标记、FAIL 不摘 35 contract-review.md 〈等 L2 标记〉, the 摘 line; the patrol line keeps its pointer to that file
4 dispatch-runbook.md (disclosure line) ;卡线程照计 `batch` 24 SKILL.md entry table, batch row (one slot = one running sub-agent or card thread)
5 dispatch-runbook.md (claim line) ;线程核对最新认领指向本分支方开工 49 AGENTS.md, Multi-agent discipline, claim paragraph (a dispatched executor verifies the newest claim names its branch and stops on a mismatch)
6 dispatch-runbook.md (whole line) - 线程只能推指定分支是实测平台例外,认领如实写。 70 os-dev.md rule 1 (卡线程分支由平台指定、harness 推送); the two lines above it in the section (the coordinator reads the thread's branch, the seat's claim carries that Branch:)
7 dispatch-runbook.md (derivation line) :`--tier` 过路径,MANDATORY 即绑;effort 按难度 53 execution-duties.md dispatch section (强制条款①; effort 按卡难度定); coordinator.md 四 (档位引 `dispatch-gates --tier`,effort 按卡难度); SKILL.md claim template (the Container & model line quotes the --tier output and its MANDATORY path line). The next line keeps 推导(`--tier` 行或难度读数)
8 area-lease.md (L1 thread line) ;`lanes/l2-review.md` 席规不及它 37 SKILL.md 〈审核两级〉 (L2 规则不及 L1; the L2 seat's rules govern the L2 seat only)
9 area-lease.md (L1 request line) ;信箱只留跨账号或跨项目 34 lanes/l2-review.md 路由, the same clause verbatim for requests to an L1 or L2 seat
10 area-lease.md (claim line) ;`Branch:` 照 AGENTS.md 命名 31 AGENTS.md, Multi-agent discipline §2 (branch naming)
11 os-dev.md (rule 1) (PreToolUse 钩子会拦) 25 AGENTS.md Prime Directive 11 (the two PreToolUse hooks)
12 os-dev.md (PR subscription line) ,仍以本文件为准 22 the head of the same sentence (本派发契约压过平台注入的 PR 订阅姿态)
13 os-dev.md (footer line) 耐久归属写进正文散文或评论,⛔ 不循环重贴页脚; 66 AGENTS.md, attribution footer paragraph (durable attribution lives in body prose or a comment; never re-send a body that already carries an appended footer). The line keeps its pointer to that paragraph

Ratchet readings (node scripts/pm/check-skill-line-ratchet.mjs; no ceiling or pin row touched, declared cross-file moves 0)

File Before (bytes / ceiling / headroom) After (bytes / ceiling / headroom) Added / cut
references/contract-review.md 6416 / 6419 / 3 6418 / 6419 / 1 +124 / −122
references/dispatch-runbook.md 20067 / 20070 / 3 20068 / 20070 / 2 +232 / −231
references/area-lease.md 6586 / 6586 / 0 6584 / 6586 / 2 +100 / −102
.claude/agents/os-dev.md 38846 / 38848 / 2 38846 / 38848 / 2 +113 / −113
references/project-forms.md 4669 / 4669 / 0 untouched —

Not 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 branch claude/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

  • No changeset: .claude/** is 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.
  • "Brief still posted": the brief, the independence pair and the tier evidence are carried by extending the existing adoption line to the L1 thread's sub-agent, so they are the same sentences as before. That line's wording 落现 head 记录并贴简报 is not reordered; the brief template itself says the brief is posted beside the record for the seat to read before it adopts.
  • "No os-dev sub-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.
  • The hand-back line sits under the roles line, not under the 交回: 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-check now reads clean against it. That PR also adds bytes to dispatch-runbook.md, which lands here at headroom 2, so whichever lands second pays again.
  • The tool text printed by record-recognisers.mjs --brief-template names 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.
  • Base: the branch was cut at cbd582f4 (the dispatch order named fa304140; origin/main had moved). git diff --stat fa304140 cbd582f4 -- .claude scripts/pm is empty, and so is the same reading from the branch base to origin/main at 1d060265, so no merge of main was taken before opening.
  • Fix round 1 (review record 7071038753, S1): the os-dev.md mirror 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/main at 99fbaa6d had moved area-lease.md and the ratchet table, so main was 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:

  1. 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).
  2. 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.
  3. .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 ceiling prints 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).

  • exit 0: 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 after turbo run build --filter=@objectstack/formula --filter=@objectstack/lint under the verify lock (VERDICT command-exit 0); without that build it exits 3, prerequisite not met.
  • Outside the derivation: check:skill-frame-freshness exit 0 (local reading: 1/1 framework files are byte-identical to the ref); check:pm-governed-prose exit 0.
  • node scripts/pm/overlap-check.mjs --branch=claude/issue-35813-lean-review-and-memory-rules: VERDICT clean exit 0 (merges cleanly with origin/main at 99fbaa6d18 and 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 on os-dev.md and 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 on dispatch-runbook.md).

🤖 Generated with Claude Code

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

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

Contract-review-claim: session_01QsR2jTeURPvEm465RcoYEC · head 4ae825d · 2026-11-21T23:36Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 4ae825d51d9b64f5b6a47786bb1d545eeba0e995
Local-runs: none
Scope: .claude/skills/pm-dispatch/references/contract-review.md, .claude/skills/pm-dispatch/references/dispatch-runbook.md, .claude/skills/pm-dispatch/references/area-lease.md, .claude/agents/os-dev.md + none
Security-touching: no
Rule-change-verified: yes

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 origin/main at 1d060265), the check-runs on the head. Cited text was read on origin/main; nothing was built or run.

① Derived judgments

  • No accept-set and no public-surface change: all four files are internal instruction text under .claude/**; no package, schema, export or error code is touched. Right.
  • Face: governed rules text, so the review is owed at CONTRACT_REVIEW_TIER with ④. All four paths are hits; the diff holds no implementing file (no script, gate or ratchet row moves), so the implementing set is none. Right.
  • Check-runs on the head: every run that executed concluded success (Lint and Repo Gates and its twelve lint jobs including PM dispatch-gates, the four Type Check jobs, Test Core, Test UI, Dogfood Regression Gate, Governed Surface Queue Guard, Check Changeset, Check PR Size, PR-body guards); the rest are skipped by path filter. No red, nothing pending.
  • Security: the hits are under .claude/**, not skills/**; no changed hunk teaches permission, sharing, credential, token or authentication behaviour. Cut 11 drops a parenthetical naming a hook, not a security rule.

② Semver level

Clause-②: no holds. .claude/** publishes nothing; the skip-changeset label is on the PR and Check Changeset is green. No changeset is owed and none is present. Metadata-protocol: none holds.

③ Boundary flags

④ Design judgment

Rule-changing hunks, each checked against the ruling words it cites:

  • contract-review.md, new line p1 卡线程卡交回且欠 L2 ⇒ L1 线程起隔离 L2 子代理,与其 L1 并行,两份意见同回席: copies record 7035727071 (the chosen option's consequence 卡线程自己写代码,审核线程做 L1 并起 L2,座位落地, made standing by 是所有 p1 都按照新规则执行). It is narrower than the ruling in one respect only (p1 cards that go to a card thread; an S p1 card stays a sub-agent), which is what the card states and adds no rule. Holds against the file: the default 谁跑 = 派发席 line stays directly above, tier evidence for a sub-agent is the output file as before, and starting L2 beside L1 means no L1 conclusion exists to leak into the brief.
  • contract-review.md, adoption line extended to 卡线程或 L1 线程隔离子代理: the consequence of the same ruling (the seat adopts and lands). The brief, the Scope: check and the independence pair are the same sentence as before. Holds.
  • dispatch-runbook.md, roles line 线程自己实施 … ⛔ 不起 os-dev 子代理 and the hand-back line: copy 卡线程自己写代码 and the same hand-back path. Consistent with the other two files. Holds.
  • area-lease.md, L1 thread line: same rule, in the only place the L1 thread's duties live (no lanes/l1-review.md exists on main). Does not contradict the 送审 line of 〈区内规则〉. Holds.
  • dispatch-runbook.md, 线程或区见令缺推导 ⇒ 不开工,退回席位;⛔ 不凭记忆补档位: copies item 2 of fleet skills: project memory never restates rules; a dispatch order missing its derivation is sent back; a ruling that disagrees with the skill gets a skill card the same day #35905 as ordered by record 7046610679, word for word, and sits under the line that requires the derivation in the order. Holds.
  • os-dev.md mirror: see S1.

S1 (should-fix) — .claude/agents/os-dev.md, 〈何时停手不写码〉, the mirror line drops the ruled subject. The ruled line is a thread or area that finds its dispatch order missing a derivation, and the mirror was ordered because a card thread reads os-dev.md. As written (派发令缺档位或 effort 的推导 ⇒ 不开工,退回席位) it binds every reader of os-dev.md, including an ordinary mode:subagent or mode:cloud dev. On main only the card-thread section requires the derivation in the order (派发令写两者与推导); a sub-agent order owes tier and effort (execution-duties.md line 125) and the claim template asks for a cited reading only at xhigh, so a conforming sub-agent order with effort: high and no difficulty reading would now be refused by its dev. That reaches past the ruled words, and it is why the rule-change line above reads yes on this head. Fix: scope the line the way rule 1 of the same file scopes its thread-only sentence, for example 卡线程见令缺档位或 effort 的推导 ⇒ 不开工,退回席位;⛔ 不凭记忆补档位。 (about 6 bytes more; the file has headroom 18). With that, every rule-changing hunk copies its ruling and the delta can read ruled.

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 谁跑 = 派发席 line above covers it and the ruling itself speaks of the review thread, so the contract is intact; accepted deviation, no fix asked.

No must-fix. One should-fix, S1, open on this head.

Implemented-by: claude/issue-35813-lean-review-and-memory-rules
Reviewed-by: session_01QsR2jTeURPvEm465RcoYEC

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

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

Contract-review-claim: session_01QsR2jTeURPvEm465RcoYEC · head 1b94ad0 · 2026-11-22T06:33Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 1b94ad0aaaf419cb4cfab8afb00d741bb10c6527
Local-runs: none
Scope: .claude/skills/pm-dispatch/references/contract-review.md, .claude/skills/pm-dispatch/references/dispatch-runbook.md, .claude/skills/pm-dispatch/references/area-lease.md, .claude/agents/os-dev.md + none
Security-touching: no
Rule-change-verified: ruled

Delta round on the record for head 4ae825d5, which left finding S1 open. Read this round: the delta 4ae825d5 to 1b94ad0a (fix commit 970f7dc6, then a merge of origin/main at 99fbaa6d), the PR's net diff against main (4 files, +19 −15, the same four paths), the updated PR body, and the check-runs on the new head. Cards #35813 and #35905 and ruling records 7035727071 and 7046610679 were read in the first round. Nothing was built or run.

Delta in the governed paths, old head to new head: (1) os-dev.md, the one mirror line; (2) from main: area-lease.md 〈区内规则〉 two re-wrapped lines and 安全 to 披露纪律卡 in the 留道 line (#36209), execution-duties.md the L2 review effort line, and that file's row in check-skill-line-ratchet.mjs. None of (2) is in this PR's net diff, none touches a hunk of this PR, and none is a home named by the 13 cuts (execution-duties.md lines 101 and 125 are unchanged). The net diff against main differs from the first round's in the S1 line alone.

① Derived judgments

  • No accept-set and no public-surface change: all four files are internal instruction text under .claude/**; no package, schema, export or error code is touched. Right.
  • Face: governed rules text, so the review is owed at CONTRACT_REVIEW_TIER with ④. All four paths are hits; the diff holds no implementing file (no script, gate or ratchet row moves), so the implementing set is none. Right.
  • Check-runs on the new head: 23 success, 24 skipped by path filter, no red, nothing pending.
  • Security: the hits are under .claude/**, not skills/**; no changed hunk teaches permission, sharing, credential, token or authentication behaviour. Cut 11 drops a parenthetical naming a hook, not a security rule.

② Semver level

Clause-②: no holds. .claude/** publishes nothing; the skip-changeset label is on the PR and Check Changeset is green. No changeset is owed and none is present. Metadata-protocol: none holds.

③ Boundary flags

④ Design judgment

Rule-changing hunks, each checked against the ruling words it cites:

  • contract-review.md, new line p1 卡线程卡交回且欠 L2 ⇒ L1 线程起隔离 L2 子代理,与其 L1 并行,两份意见同回席: copies record 7035727071 (the chosen option's consequence 卡线程自己写代码,审核线程做 L1 并起 L2,座位落地, made standing by 是所有 p1 都按照新规则执行). It is narrower than the ruling in one respect only (p1 cards that go to a card thread; an S p1 card stays a sub-agent), which is what the card states and adds no rule. Holds against the file: the default 谁跑 = 派发席 line stays directly above, tier evidence for a sub-agent is the output file as before, and starting L2 beside L1 means no L1 conclusion exists to leak into the brief.
  • contract-review.md, adoption line extended to 卡线程或 L1 线程隔离子代理: the consequence of the same ruling (the seat adopts and lands). The brief, the Scope: check and the independence pair are the same sentence as before. Holds.
  • dispatch-runbook.md, roles line 线程自己实施 … ⛔ 不起 os-dev 子代理 and the hand-back line: copy 卡线程自己写代码 and the same hand-back path. Consistent with the other two files. Holds.
  • area-lease.md, L1 thread line: same rule, in the only place the L1 thread's duties live (no lanes/l1-review.md exists on main). Does not contradict the 送审 line of 〈区内规则〉. Holds.
  • dispatch-runbook.md, 线程或区见令缺推导 ⇒ 不开工,退回席位;⛔ 不凭记忆补档位: copies item 2 of fleet skills: project memory never restates rules; a dispatch order missing its derivation is sent back; a ruling that disagrees with the skill gets a skill card the same day #35905 as ordered by record 7046610679, word for word, and sits under the line that requires the derivation in the order. Holds.
  • os-dev.md mirror, now 卡线程或区:派发令缺档位或 effort 的推导 ⇒ 不开工,退回席位;⛔ 不凭记忆补档位: copies item 2 of fleet skills: project memory never restates rules; a dispatch order missing its derivation is sent back; a ruling that disagrees with the skill gets a skill card the same day #35905 with its ruled subject (a thread or an area), as ordered by record 7046610679. An ordinary mode:subagent or mode:cloud dev is no longer bound, the prefix follows the way rule 1 of the same file scopes its thread-only sentence, and it agrees with the runbook line 线程或区见令缺推导. The file measures 38846 under ceiling 38848 per the PR body, and the ratchet gate is green. Holds.

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 谁跑 = 派发席 line above covers it and the ruling itself speaks of the review thread, so the contract is intact; accepted deviation, no fix asked.

No must-fix, no should-fix.

Implemented-by: claude/issue-35813-lean-review-and-memory-rules
Reviewed-by: session_01QsR2jTeURPvEm465RcoYEC

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

维护者速读

  • 用户无感:车队调度技能里,p1 卡的 L1 审核线程同时起独立的合同审查,两份意见一起回席位;卡线程自己动手,不再另起开发子代理;派发令缺档位或 effort 推导时,卡线程或区直接退回席位,不凭记忆补。
  • 为什么做:落实你的两条原话「已经决定了,不是试 3 张 p1 卡,是所有 p1 都按照新规则执行」与「同意,立卡派发」(裁决记录 7035727071、7046610679)。
  • 出错会怎样:只影响调度代理的审核与派发顺序,不碰产品代码;可直接撤回。
  • 要你做什么:无。这是 Tier S,合同审查 PASS 后由席位入队。
  • 席位意见:ACCEPT。第一轮审查的应修项 S1(镜像行没写主语)已修并经复审关闭;13 处复述删减逐条找到了原出处。

席位核对

  • 形态:draft、base main、Fixes #35813,Part of #35905(其余两行在 PR docs(pm-dispatch): project memory never restates a rule; a ruling that disagrees with the skill gets a skill card the same day #36345);4 个文件 +19 −15;skip-changeset 正确,Clause-②: no。
  • 前提实测:check-governed-merges --pr 36213 读到 .claude/** 声明拆分为 Tier S(正文 Rule-change: ruled,本 head 记录 Rule-change-verified: ruled);字节上限行未动。
  • 门禁 check-runs @ 1b94ad0aaaf419cb4cfab8afb00d741bb10c6527:23 success · 24 skipped · 0 failed · 0 pending。
  • 接受的偏差:复审记录 7075412553 的 N1(没有 L1 线程时的退路未写,由既有「谁跑 = 派发席」行兜住)作接受的偏差;合入 main 只带进 main 自己的三处改动,不在本 PR 净 diff 内。
  • 范围外去向:record-recognisers.mjs --brief-template 题头只写卡线程会交简报(L1 线程现在也会),属工具题头措辞,未立卡,留待改该工具的卡顺带。
  • 落地条款:Tier S。L2 记录 7075412553 PASS,S1: closed,无未闭 must-fix/should-fix ⇒ ready + auto-merge。

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 22, 2026 06:36
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 22, 2026
Merged via the queue into main with commit e4f5e56 Nov 22, 2026
48 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-35813-lean-review-and-memory-rules branch November 22, 2026 06:55
247257110 pushed a commit to 247257110/objectstack that referenced this pull request Nov 22, 2026
…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>
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: for p1 cards the L1 review thread starts the isolated L2 in parallel with L1

2 participants