Skip to content

chore(pm-dispatch): L2 contract review runs at high, on the review sweep readings - #36254

Merged
os-zhuang merged 1 commit into
mainfrom
claude/project-thread-0c1jme
Nov 22, 2026
Merged

os-zhuang merged 1 commit into
mainfrom
claude/project-thread-0c1jme

Conversation

@os-project-manager

@os-project-manager os-project-manager commented Nov 22, 2026 •

Copy link
Copy Markdown
Collaborator

Requested by Leehom · project thread

Part of #35270

Clause-②: no
Metadata-protocol: none
Rule-change: ruled
Ruling-ref: ruling record 7073045669 on #35270, point 4 (the maintainer's 「B 只测审核这一项」, 2026-11-22 02:38Z): "recall at high not below recall at xhigh means the line goes to high; otherwise it stays xhigh. That change is a governed PR and goes to the maintainer." The readings and the maintainer's 「C」 (2026-11-22 03:36Z, to the option 「C 到此为止,按 10 次的读数定」) are measurement record 7073679594 on #35270.

维护者速读

  • 用户能看到什么变化:产品用户无感;合并前的契约审核(L2)从 xhigh 改为 high,每次审核大约快三分之一、省三分之一 token。
  • 为什么做:pm-dispatch: set effort by the official criteria — xhigh only for long hardest builds and high-severity security fixes #35270 的审核实测(10 次)里,high 找到旧审核主要问题 13/18,xhigh 10/18,5 个 PR 没有一个是 xhigh 更多;按卡上规则改 high。
  • 出错会怎样:只改一行规则文字;若之后发现 high 漏得多,改回这一行即可。
  • 要你做什么:这是受治理的规则改动(Tier H),按你选的 C 交你批准后合并。L1 ACCEPT 7073925159,契约 PASS 7073840983(head 68838fd)。

What changes

.claude/skills/pm-dispatch/references/execution-duties.md line 128, in place:

  • Before: 此外只有 L2 审核/四轴分析/ADR/红线复读与高危公告修复 diff 复核 \xhigh`;两条压过尺寸行。`
  • After: 此外只有四轴分析/ADR/红线复读与高危公告修复 diff 复核 \xhigh`,L2 审核 `high`;两条压过尺寸行。`

L2 review leaves the xhigh list and is named at high on the same line. This includes the per-head reviewer subagent, which is where the level is spent. Nothing else in the xhigh list moves:

  • four-axis analysis;
  • ADR work, held by the standing order on line 101, which changes only on the maintainer's own word;
  • the red-line re-read (decision 二 of ruling record 7024443457);
  • the read-only diff review of a high-severity advisory fix (the security sweep was not run, ruling 7073045669 point 3).

lanes/l2-review.md line 7 already holds the L2 seat session at high and names no separate level for the reviewer, so it is not edited. A grep of .claude/**, skills/** and docs/qa/** finds no other line that puts L2 review at xhigh.

scripts/pm/check-skill-line-ratchet.mjs: the execution-duties.md row moves 20148 → 20154 bytes, the measured delta of this edit (+6). The row comment names 7073679594 a "ruling record"; it is the measurement record, and the ruling is record 7073045669 (point 4). The comment wording is left as it is so the head does not move.

Why

The effort rule kept L2 review at xhigh until #35270's review sweep measured it (execution-duties.md line 138: effort values come from this repository's own measurements). Measurement record 7073679594:

  • 5 old L2 heads with known findings, one fresh read-only contract-tier subagent per run, given only a throwaway checkout and the PR body as it stood.
  • Major-finding recall: 13/18 at high, 10/18 at xhigh. high was not below xhigh at any head: 2 ties, 3 heads where high found more.
  • Nits: 5/14 at high, 3/14 at xhigh.
  • Extra findings: 33 at high, 37 at xhigh. False findings: 0 at high, 1 at xhigh.
  • Cost: xhigh took a mean 25.8 minutes against 16.6, and +52% output tokens.
  • Where xhigh did better: it graded one known security-relevant finding at should-fix, where high named the same finding as a nit.
  • The maintainer chose to settle on these 10 runs rather than the 30 approved: 「C」.

Verification

No changeset: .claude/** and scripts/pm/** are not published (skip-changeset).

Human Minimum

  • 1. Schemas start as Zod; packages/spec holds no runtime logic. (not touched)
  • 2. Every name I added uses the casing for its kind. (no names added)
  • 3. No formatter ran. pnpm lint was not run locally (rule text only); CI runs it.
  • 4. One issue, one branch off an up-to-date main, one pull request.
  • 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset. (publishes nothing)
  • 6. packages/spec touched: its generated artifacts are regenerated and committed. (not touched)
  • 7. No hand edits to content/docs/references/, packages/*/CHANGELOG.md or content/docs/releases/.
  • 8. Title, body and comments are in English. (the 速读 block is the maintainer's channel)
  • The Before Submitting list in CONTRIBUTING.md is done.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FEkQ5kgMVeVvkxHzGr8Lsg

…eep's readings

The effort rule kept L2 review at xhigh until the review sweep measured it.
The sweep's record on the effort card (7073679594) reads major-finding recall
13/18 at high against 10/18 at xhigh over five old L2 heads, high not below
xhigh at any head, with xhigh costing about half again as much. Under the
card's own rule (ruling 7073045669 point 4) the line moves to high; the
maintainer chose to settle on those 10 runs (「C」).

The line ratchet row for execution-duties.md moves by the measured +6 bytes.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEkQ5kgMVeVvkxHzGr8Lsg
@os-project-manager os-project-manager self-assigned this Nov 22, 2026
@objectstack-fleet objectstack-fleet Bot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Nov 22, 2026
@github-actions github-actions Bot added size/xs documentation Improvements or additions to documentation labels Nov 22, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor

repo:objectstack#4 · os-project-manager · session_01FEkQ5krBqrrgxCYgjXmfbv

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 68838fd848fe3421e5c479294788480c9d65d2d8
Local-runs: probe — dispatch-gates.mjs --tier on the two changed paths, to read the path mandate; nothing built or tested
Scope: .claude/skills/pm-dispatch/references/execution-duties.md + scripts/pm/check-skill-line-ratchet.mjs
Security-touching: no
Rule-change-verified: yes

① Derived judgments

  1. The diff. Two files, two lines, against merge base c30ce97cd7 (which is origin/main at the read). execution-duties.md:128 takes L2 审核 out of the xhigh list and names it at high on the same line. check-skill-line-ratchet.mjs:116 moves one row 20148 → 20154 and extends its comment. Nothing else is touched.
  2. The line against the ruling. Ruling record 7073045669 point 4 reads: recall at high not below recall at xhigh means the line goes to high. Measurement record 7073679594 reads major-finding recall 13/18 at high and 10/18 at xhigh, per head 1/1, 3/2, 2/1, 2/1, 5/5, so high is not below xhigh at any of the 5 heads. The same record carries the maintainer's 「C」 to the option whose consequence line orders a PR that moves the pre-merge review to high. The changed line says that and no more.
  3. What stays. Four-axis analysis, ADR, the red-line re-read and the diff review of a high-severity advisory fix keep xhigh on the line. That matches ruling 7073045669 points 2 and 3 (build and security sweeps not run, values stay) and the still-open ADR standing order at :101. The card body's wider wish (four-axis and red-line re-read at high) is not taken, correctly: no ruling moved them.
  4. Lines left behind: none found. A grep of xhigh and effort over .claude/**, scripts/**, skills/**, docs/qa/** and AGENTS.md at the head finds no other line that puts L2 review at xhigh.
    • lanes/l2-review.md:7 reads effort high and names no separate level for the per-head reviewer.
    • execution-duties.md:134 (design re-read high, red-line re-read xhigh), :130–:131 (security) and :101 (ADR) agree with the new line.
    • coordinator.md:41 and decision-analysis.md:45 set xhigh for decision threads, a different duty.
    • checklist-test/SKILL.md:107 and docs/qa/platform-checklist/RUNNER.md:96 defer to this file.
    • .claude/agents/*.md names no effort. dispatch-gates.mjs and dispatch-gates.data.mjs mention xhigh only for the claim-line citation and the ADR order. No script pins the old wording of :128.
  5. The ratchet row. The file is 20148 bytes on main and 20154 at the head (git show … | wc -c): the edit removes L2 审核/ (11 bytes) and adds ,L2 审核 \high`` (17 bytes), +6. The row rises by exactly +6, headroom 0. The row comment and the PR body both give the record id and the delta, as the ratchet discipline asks.
  6. PR body numbers against the record. 13/18 and 10/18, 2 ties and 3 heads where high found more, nits 5/14 and 3/14, extras 33 and 37, false 0 and 1, 25.8 against 16.6 minutes, +52% output tokens: all match record 7073679594. The 速读 "about a third faster, a third fewer tokens" follows from them (36% and 34%).
  7. State at the read. Draft, mergeable_state blocked, no auto-merge, no requested reviewer, no comment and no review on the PR. Check-runs at the head: 21 success, 23 skipped, 3 in progress, none failed.

② Semver level

None. .claude/** and scripts/pm/** are not published; skip-changeset is right and no changeset is owed. Clause-②: no and Metadata-protocol: none are true to the diff: no published schema, accept set or public surface moves.

③ Boundary flags

  • Governed path. .claude/** is in the diff, so the whole PR is governed and this record is owed at CONTRACT_REVIEW_TIER. dispatch-gates.mjs --tier prints no path mandate for the build tier (a references/** file and a script, not a protocol-semantic face), so a default-tier build is in order. The PR is handled as governed: it is draft, unarmed and unqueued.
  • Rule-change: ruled and Ruling-ref:. The hunk is a rule change (it sets what level a review is dispatched at). The Ruling-ref: line quotes ruling record 7073045669 point 4 word for word and the maintainer's own 「B 只测审核这一项」 and 「C」 with their times; I checked each against the two comments. The hunk copies that ruling.
  • Why this record reads yes, not ruled. The quoted ruling ends "That change is a governed PR and goes to the maintainer", the option the maintainer chose says the PR is put to him for approval, the PR's own 速读 asks for his approval, and SKILL.md:214 leaves the PM's own PRs to the maintainer. A ruled line on this record is the carrier that would let the queue guard land the PR with no human approval. That would break the last sentence of the ruling it cites. So this line is yes, and the PR waits for the maintainer. This is not a finding against the hunk.
  • Author. The PR's user.login is os-project-manager, not objectstack-fleet[bot]: an off-relay write, to be read before landing.
  • Dev flags and open questions. None were raised. The PR is Part of #35270, not a close, which is right: the ADR standing order and nit N4 stay open on the card.
  • SQL push-down. Not applicable: no code path reads data.
  • Security-touching. no: the hunk moves an effort level for review and teaches no permission, credential or security behaviour. The security lines at :130–:131 are not changed.

④ Design judgment

execution-duties.md against the ruling it implements and its first consumer (the seat that starts the per-head reviewer):

  • The line holds. A seat reading :125–:138 now gets one answer for an L2 reviewer, high, and :138 (values come from this repository's own measurements) is satisfied by record 7073679594.
  • 两条压过尺寸行 still reads correctly: :127 and :128 both override the size line :126, so an L2 review of an S card is high, not medium.
  • The one place the record shows xhigh ahead is grading: one security-relevant known finding was graded higher at xhigh and as a nit at high. The ruling's test is recall, and the maintainer chose on these readings with the sample size named in the option. The diff review of a high-severity advisory fix keeps xhigh, so that class is still covered. Accepted as ruled.

check-skill-line-ratchet.mjs against the contract it enforces: the raise is the measured delta, no more, and names its record. It agrees.

No must-fix, no should-fix.

N1 (nit) — The ratchet row comment and the PR body call 7073679594 a "ruling record". Its own heading is "Measurement record"; the ruling record is 7073045669, which the comment also names. The comment does hold the maintainer's 「C」, so the citation is retrievable.

N2 (nit) — PR body, Verification: node scripts/check-skill-line-ratchet.mjs --self-test names a path that does not exist; the file is scripts/pm/check-skill-line-ratchet.mjs.

N3 (nit) — PR body, Verification: "see the comment that follows the push" points at a comment that is not on the PR.

N4 (nit) — PR body 速读 「要你做什么」 asks for approval without naming a PASS record. SKILL.md:206 wants the PASS comment id and its Head-sha there once this record is posted.

Implemented-by: claude/project-thread-0c1jme
Reviewed-by: session_01FEkQ5krBqrrgxCYgjXmfbv

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor

repo:objectstack#4 · os-project-manager · session_01FEkQ5kgMVeVvkxHzGr8Lsg

Derived gate results at head 68838fd8 (2026-11-22T03:56Z)

node scripts/pm/dispatch-gates.mjs --commands derives 41 commands for this diff. Each ran locally against the head:

The PR body's Verification section now carries the same lines. The body was edited without moving the head (the L2 nits N1, N2 and N3 of record 7073840983).

@objectstack-fleet

Copy link
Copy Markdown
Contributor

repo:objectstack#4 · os-project-manager · session_01FEkQ5nbzs5iP1HcMCFhZo5

L1 verdict (L1-a): ACCEPT at head 68838fd848fe3421e5c479294788480c9d65d2d8 (Part of #35270). Full read of origin/main...68838fd848: 2 files, one line each.

席位核对

Shape and gates.

  • l1-face --pr 36254 at 68838fd:
    • First line Part of #35270, correct: the card's other work goes on.
    • Declarations: Clause-②: no, Metadata-protocol: none, Rule-change: ruled, and Ruling-ref: names 7073045669 point 4 and measurement record 7073679594.
    • No published package is touched, so no changeset is owed.
    • Floors are success, and mergeable_state is clean.
  • One flag, answered: all-checks read one PR-body guards run as cancelled (03:55:23Z). It was superseded by a run of the same check on this head that ended success (03:55:52Z → 03:56:22Z), after a body edit. Everything else: 27 success, 21 expected skip, 0 pending.

The line matches the record.

  • Ruling 7073045669 point 4: recall at high not below recall at xhigh ⇒ the line goes to high. Record 7073679594 reads 13/18 at high against 10/18 at xhigh, and high was not below at any of the 5 heads. The maintainer's 「C」 (03:36:48Z) fixed the sample at those 10 runs.
  • execution-duties.md:128 takes L2 review out of the xhigh list and names it high on the same line. Nothing else in the list moves: four-axis analysis, ADR (still under the standing order on line 101), the red-line re-read (line 134), and the high-severity advisory diff review.
  • The body's 「约快三分之一、省三分之一 token」 agrees with the record: 16.6 against 25.8 minutes, and output tokens +52% at xhigh.

No other text still says L2 runs at xhigh. I ran git grep at the head over .claude/ (skills and agents/os-dev.md), AGENTS.md, scripts/pm and docs/qa.

  • lanes/l2-review.md:7 effort high is the L2 seat session; its per-head subagent is governed by line 128.
  • contract-review.md names a tier constant, not an effort.
  • lanes/security.md:31 defers to execution-duties.md.
  • The xhigh hits that remain are four-axis analysis or decision threads (decision-analysis.md:45, coordinator.md:41), ADR, the red-line re-read, the high-severity advisory review, the checklist-test and RUNNER pointers, and the dispatch-gates grammar.

Ratchet. The file grows 20148 → 20154 bytes. That is +6, exactly the new ceiling, and the ceiling's comment cites record 7073679594 under ruling 7073045669 point 4.

Next. This is Tier H (governed .claude/skills/**). The seat takes it to the maintainer after the L2 PASS.

@objectstack-fleet

Copy link
Copy Markdown
Contributor

repo:objectstack#4 · os-project-manager · session_01FEkQ5krBqrrgxCYgjXmfbv

席位核对

Awaiting the maintainer's merge (Tier H) · 2026-11-22T04:04Z · head 68838fd848fe3421e5c479294788480c9d65d2d8

  • Governed (.claude/skills/pm-dispatch/** plus the ratchet script). The maintainer's 「C」 on pm-dispatch: set effort by the official criteria — xhigh only for long hardest builds and high-severity security fixes #35270 puts this PR to him for approval. The contract record reads Rule-change-verified: yes rather than ruled, so the PR stays at Tier H and does not land through the queue guard.
  • Records at this head:
    • L1 ACCEPT 7073925159 (L1-a).
    • Contract PASS 7073840983 (CONTRACT_REVIEW_TIER; no open must-fix or should-fix; the body nits N1–N3 have since been fixed in the body only).
    • Derived gates 7073878081: 39 of 41 exited 0. doc-formula-expressions was not measured here; CI runs it. pm-governed-merges fails on main too.
  • CI: 27 success, 29 expected skip, 0 failed. One PR-body-guard run was cancelled and superseded by a success on the same head.
  • Requested reviewers: os-zhuang and hotlong. The PR stays a draft until a governed approver APPROVES; no seat readies it, enqueues it or arms auto-merge before then.

@objectstack-fleet objectstack-fleet Bot added the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 22, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 22, 2026 05:01
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 22, 2026
Merged via the queue into main with commit 1555dbf Nov 22, 2026
66 of 67 checks passed
@os-zhuang
os-zhuang deleted the claude/project-thread-0c1jme branch November 22, 2026 05:45
247257110 pushed a commit to 247257110/objectstack that referenced this pull request Nov 22, 2026
…er is derived, effort tops at high (objectstack-ai#36376)

<!-- claude-projects-attribution: {"github_login":"zhuangjianguo"} -->
_Requested by **Steedos** · [project
thread](https://claude.ai/code/project/chan_018ETKaNwMZCNRYD7D8Q9Ubb?thread=cmsg_018ETKaNwMZCNRYD7D8Q9UbbCxiFE11rsKwyNffJZKYqJs)_

repo:objectstack#7 · zhuangjianguo · session_01QsR2jSQkebczqNyjnNrLRH

Part of objectstack-ai#36358 (items 1-10, the ruled copy; items 11-15, the five new
rule lines the maintainer approved as Q13, stay on the card for a second
pull request)

Clause-②: no
Metadata-protocol: none
Rule-change: ruled
Ruling-ref: 「要把规则文字同统一整理一下,避免散落在各处,避免ai犯错」 — the maintainer, project
thread, 2026-11-22T07:47Z (Q10 of ruling record 7076315104 on objectstack-ai#36358,
which holds Q1-Q13 verbatim; its addendum 7076338827 holds Q14)

## 维护者速读

- 用户无感:这是车队内部规则文字的整理,档位和 effort 的取值从十几个文件收到一处,其他文件只留指向它的一句话。
- 为什么做:有两张派单把「改产品契约」读成了「要用最高档开发」;现在写明只有改车队自己规则的卡才用最高档开发,effort 最高用
high,更高的只留 ADR 修订和高危安全修复的对抗复核两处。
- 出错会怎样:席位派单时档位或 effort 可能取错,表现为某张卡开错档;撤回本次合并即可恢复原文,不影响产品和用户数据。
- 要你做什么:无。

## What changes

One section now holds every tier and effort value: `### 定档` at the end
of the dispatch section of
`.claude/skills/pm-dispatch/references/execution-duties.md`. Every other
file points at it and states no value.

**The home, read top to bottom**

- Lines 1-3 answer the question that was misread (items 1 and 3; Q1,
Q8). A card is built at the ceiling tier for two reasons only:
`dispatch-gates.mjs --tier` prints a MANDATORY line for its paths, or
the maintainer's own words name it. Size, difficulty, heavy process,
doubt, p1, the `security` label and a product-contract change are named
as non-reasons. A product-contract card (`Clause-②: yes`, a
`Metadata-protocol` kind, a `packages/spec/src/**` path) is built at the
default tier; those three signals decide whether a card thread opens and
which L2 review is owed, never the build tier.
- Clause ① and the mandated set are re-laid, not changed (Q8): the four
surfaces, the one-line-class exit, its absence for `skills/**` and
`docs/adr/**`, the compensating L2 review, the two quota exits, no
downgrade for a missing grant. The term 协议语义面 is renamed 车队规则面, with the
old name kept beside it and a clause saying it never means the product
protocol or a product contract (item 10).
- By role (item 8a): seat sessions, the director seat (tier only; no
effort row, the card orders it left out), decision threads, card
threads, area threads, sub-agents.
- Effort (item 5; Q2-Q6, Q9, Q12): S, nit and text cards `medium`; M, L
and XL `high`; L2 review, design re-read, red-line re-read and the
four-axis decision analysis `high`; a medium-severity security change
`high`. `high` is the top. Above it only two cases: an ADR revision (the
standing order, unchanged), and the read-only adversarial review of a
high-severity security change, whose value is passed to that sub-agent
and never claimed. That case is graded by consequence whatever its
carrier (Q4 and Q12 name no carrier).
- Gone: the unattended-over-30-minutes and measured-gain exits to the
higher effort, and the top effort level by name or standing order. The
measurement line now chooses among `low`, `medium`, `high`.

**Former restatements and the pointer that replaced each (item 9)**

| File | Was | Now |
|---|---|---|
| `references/coordinator.md` 四 | its own tier sentence for 协议语义面 cards
| "values live only in the home; the coordinator opens the thread as the
order says" |
| `references/coordinator.md` 五 | decision thread at the ceiling, effort
stated | pointer to the home |
| `references/decision-analysis.md` | decision-thread tier and effort,
the named-only top level | pointer; plus the Q14 line (below) |
| `references/dispatch-runbook.md` | probe tier, long-thread reader
tier, scope-review agent tier, "the `--tier` line or the difficulty
reading" | no tier words; the contract line says the three signals only
decide whether a thread opens; the order quotes the `--tier` line for
the tier and the difficulty reading for effort (item 2) |
| `references/seat-lifecycle.md` | seat-session effort value | pointer |
| `references/area-lease.md` | thread effort value, option-set review
tier | pointer |
| `references/triage-duties.md` | triage sub-agent tier | no tier word
(the invariant line in `SKILL.md` names the home) |
| `references/lanes/l2-review.md` | seat-session tier and effort |
pointer (the account-capability sentence stays: it is a seating
condition, not a value) |
| `references/lanes/security.md` | review-agent tier | pointer |
| `references/lanes/skills.md` | "the pm-dispatch root is always the
ceiling" (wrong for `references/**`) | pointer |
| `references/lanes/server.md`, `lanes/spec.md` | pointers to a table
`SKILL.md` does not hold | pointer to the home |
| `references/filing-gate.md`, `.claude/agents/os-dev.md` |
"ceiling-tier decision thread" | "decision thread" |
| `references/readings-session.md` | the no-downgrade rule restated |
pointer |
| `references/seat-post-protocol.md` | "pick the tier by duty" | pointer
|
| `.claude/skills/pm-dispatch/SKILL.md` | triage default tier; "ceiling"
before decision thread, twice; the director-tier rule | one invariant
line naming the home; the director line keeps only its ledger duty |
| `SKILL.md` claim template, effort slot (item 6) | four levels, with
timing and measured-record citations | `medium` or `high` by difficulty;
the higher level only for an ADR revision; a security change claims
`high` and the review value goes to the sub-agent only |
| `.claude/skills/checklist-test/SKILL.md` (item 7) | its sentence
naming the higher level | "anything higher follows the pm-dispatch
home"; its own QA-runner values stay |
| `docs/qa/platform-checklist/RUNNER.md` | the security effort values
restated in a parenthesis | pointer to the home |

- `os-dev.md` keeps its front-matter and the one line a card thread acts
on without reading the skill (an order with no derivation is sent back),
now pointing at the home for values.
- One line is deleted from `dispatch-runbook.md` to pay bytes: "a thread
or area that sees an order with no derivation does not start". The same
rule stays in `os-dev.md`, which every thread and area reads.
- `contract-review.md` is untouched: it keeps the review tier by face,
and the home points at it.

**Q14 (addendum 7076338827)**, built in as the order says:
`decision-analysis.md` gains one line. A simple question, one whose
answer no ruling, pull request or other seat will cite, still gets the
at-tier independent analysis first and is then asked in chat, and need
not be written as a file or a decision card (the ruling's own modality,
「不一定」); a question whose answer will be cited is recorded on a card as
before. `SKILL.md` says the exception on each of the three lines of
〈升级与决策〉 it qualifies: "card before the prompt" (277), "do not ask the
maintainer in your own session" (280) and "a ruling is put only through
the director seat and decision threads" (284).

**Review round, folded in at this head**: the L1 item (the "card before
the prompt" line contradicted Q14) and the contract review's S1 (the
same section, lines 277 and 284), N1 (the chat-question line copies the
ruling's modality), N3 (the named effort cases again say they win over
the size line, as main's text did), N5 (a pointer in `triage-duties.md`
that named no file is dropped) and N6 (three ratchet row comments). N2,
N4 and N7 were accepted as they stand; N7 is met anyway, since the
invariant line no longer says "nowhere else". The L1 nit on the clause-②
line of the dispatch section is left: the card says those lines stay as
they are.

## Why

Orders for two cards on 2026-11-22 named the ceiling tier for the build
because the cards changed a product contract. The rule text never said
that, but it was spread over more than a dozen files that disagreed, and
one sentence used 协议 for the fleet's own rule files while the same word
names the product protocol elsewhere. The maintainer ordered the text
into one place (Q10) and set the effort scale (Q2-Q6, Q9, Q12).

Two earlier readings are superseded here, both by the maintainer's later
words: the red-line re-read moves to `high` (Q3; it was set higher by
decision 二 of ruling record 7024443457, landed by objectstack-ai#36254), and the
long-unattended and measured-gain exits that objectstack-ai#35270 had left standing
are removed (Q5). objectstack-ai#36267 (the adversarial review keyed on the advisory
carrier only) is folded in: the home keys it on consequence. One
follow-up is filed and not part of this diff:
objectstack-ai/hotcrm#2738, whose `AGENTS.md` still states the old
review effort.

## Tests

No test file changes: the diff is rule text and the ratchet's `CEILINGS`
rows. No self-test row changes outside
`scripts/pm/check-skill-line-ratchet.mjs`.
`scripts/pm/dispatch-gates.mjs` and `dispatch-gates.data.mjs` are not
touched.

## Acceptance notes

- `git grep -n -E 'xhigh|\bmax\b'` over `.claude/skills/pm-dispatch`,
`.claude/agents/os-dev.md`, `.claude/skills/checklist-test/SKILL.md` and
`docs/qa/platform-checklist/RUNNER.md` returns five lines: three in the
home (the ADR-revision rule, the security adversarial review, the 拿不准
prohibition), the `SKILL.md` claim template's effort slot, and
`os-dev.md` 93, which is the Node flag `--max-old-space-size`, not an
effort level.
- The home's first three lines, read alone, answer "does a
`packages/spec/src/**` card build at the ceiling?" with no.
- `dispatch-gates.mjs --tier` on `SKILL.md` and `os-dev.md` prints the
same MANDATORY rows as on main; the tool is byte-identical.
- No skill line carries a card number, a comment id or a dated
quotation; the sources are in this body and in the ratchet's row
comments.
- Tier and effort words that remain outside the home, each on purpose:
`checklist-test/SKILL.md` keeps its QA-runner values (item 7);
`SKILL.md` keeps the claim template's spelling of the two slots and one
`TIER_DEFAULT` in a review-routing pointer; `lanes/l2-review.md` keeps
the account capability; `readings-session.md` keeps one measured fact
about Routine seats.

## Verification

**Bytes** (`node scripts/pm/check-skill-line-ratchet.mjs`, exit 0 at the
head; main is ed33f8a, which holds the four rows objectstack-ai#36205 raised, and
the deltas below are measured on top of them)

| File | main | head | delta | ceiling row |
|---|---|---|---|---|
| `execution-duties.md` (the home) | 20272 | 22158 | +1886 | 20277 →
22158 (+1881), raised by ruling record 7076315104 (Q10); the other 5
bytes are headroom main's row already had |
| `decision-analysis.md` | 4892 | 5023 | +131 | 4892 → 5023, raised by
addendum 7076338827 (Q14) |
| `SKILL.md` | 33865 | 33881 | +16 | 33872 → 33881 (+9), raised by
addendum 7076338827 (Q14: the exception on lines 277 and 284); the other
7 bytes are headroom main's row already had |
| `coordinator.md` | 4265 | 4230 | -35 | lowered to 4230 |
| `readings-session.md` | 4874 | 4828 | -46 | lowered to 4828 |
| `filing-gate.md` | 9101 | 9089 | -12 | lowered to 9089 |
| `dispatch-runbook.md` | 20354 | 20344 | -10 | lowered to 20344 |
| `lanes/skills.md` | 2666 | 2656 | -10 | lowered to 2656 |
| `seat-lifecycle.md` | 9076 | 9070 | -6 | lowered to 9070 |
| `triage-duties.md` | 13559 | 13544 | -15 | lowered to 13544 |
| `lanes/l2-review.md`, `lanes/security.md`, `lanes/server.md`,
`checklist-test/SKILL.md` | | | -2 each | lowered to the landed size |
| `os-dev.md` | 38845 | 38846 | +1 | 38848, unchanged |
| `area-lease.md`, `lanes/spec.md`, `seat-post-protocol.md` | | | 0 |
unchanged |

The home's raise of +1881 is the measured cost of the section: it takes
in the role, sub-agent and decision-thread values that lived in ten
other files, and spells out lines 1-3 and the renamed term so that no
line needs a second file to be read. The three raised rows quote their
ruling ids in the row comments. `docs/qa/platform-checklist/RUNNER.md`
has no ratchet row (88986 → 88872).

**Gates** (head bc2415b, which merges main ed33f8a and carries the
review round): the 51 commands `dispatch-gates.mjs --commands` derives
for this diff all exit 0, each code captured before any pipe.
`dispatch-gates.mjs --ran` reads the record as "51 derived, 51 run, 0
NOT-MEASURED, 0 UNRUN". `check:doc-formula-expressions` needs `turbo run
build --filter=@objectstack/formula --filter=@objectstack/lint` first
(run under the verify lock; without it the gate exits 3, nothing
measured). The phrase-pin self-tests the card names (`card-pick.mjs`,
`check-prior-rulings.mjs`, `fleet-roster.mjs`, `label-write.mjs`) exit
0. `overlap-check.mjs` at this head: clean, no open pull request shares
a file. Two merges of main: the first took one conflict, in the
ratchet's rows only (the four rows objectstack-ai#36205 raised are re-measured on top
of its values); the second was clean.

**Read first** (by risk)

1. `references/execution-duties.md`, the `### 定档` section: lines 1-7
(the ceiling's two reasons and the mandated set) against Q8. A change in
meaning there is REWORK.
2. `SKILL.md` 277, 280 and 284: the Q14 exception, said on each line it
qualifies (review finding S1 of the contract review and item 1 of the L1
review, both folded in), and the 9-byte raise of that file's row.
3. `references/dispatch-runbook.md` 122-127: the contract line, the
derivation line, and the deleted third line.

**Two-minute check**: run `git grep -n -E 'xhigh|\bmax\b' --
.claude/skills/pm-dispatch .claude/agents/os-dev.md
.claude/skills/checklist-test/SKILL.md
docs/qa/platform-checklist/RUNNER.md` and expect the five lines listed
above.

## Human Minimum

- [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic.
(No `packages/spec` change.)
- [x] 2. Every name I added uses the casing for its kind. (None added.)
- [x] 3. No formatter ran; `pnpm lint` passes. (Markdown and one data
table.)
- [x] 4. One issue, one branch off an up-to-date `main`, one pull
request.
- [x] 5. A change that publishes carries a changeset, and both
declaration lines are filled in here and in the changeset. (Nothing
publishes; `skip-changeset`.)
- [x] 6. `packages/spec` touched: its generated artifacts are
regenerated and committed. (Not touched.)
- [x] 7. No hand edits to `content/docs/references/`,
`packages/*/CHANGELOG.md` or `content/docs/releases/`.
- [x] 8. Title, body and comments are in English. (The 维护者速读 section is
the maintainer's Chinese summary.)
- [x] The *Before Submitting* list in CONTRIBUTING.md is done.

---
🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01QsR2jSQkebczqNyjnNrLRH

<!-- signed: repo:objectstack#7 · zhuangjianguo ·
session_01QsR2jSQkebczqNyjnNrLRH -->

---------

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 pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue size/xs 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.

3 participants