Repository navigation
chore(pm-dispatch): L2 contract review runs at high, on the review sweep readings - #36254
Conversation
…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
|
repo:objectstack#4 · os-project-manager · session_01FEkQ5krBqrrgxCYgjXmfbv Contract reviewServed-tier: ① Derived judgments
② Semver levelNone. ③ Boundary flags
④ Design judgment
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: 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. Implemented-by: VERDICT: PASS |
|
repo:objectstack#4 · os-project-manager · session_01FEkQ5kgMVeVvkxHzGr8Lsg Derived gate results at 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). |
|
repo:objectstack#4 · os-project-manager · session_01FEkQ5nbzs5iP1HcMCFhZo5 L1 verdict (L1-a): ACCEPT at head 席位核对Shape and gates.
The line matches the record.
No other text still says L2 runs at
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 |
|
repo:objectstack#4 · os-project-manager · session_01FEkQ5krBqrrgxCYgjXmfbv 席位核对Awaiting the maintainer's merge (Tier H) · 2026-11-22T04:04Z · head
|
…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>
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
highnot below recall atxhighmeans the line goes tohigh; otherwise it staysxhigh. 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.维护者速读
What changes
.claude/skills/pm-dispatch/references/execution-duties.mdline 128, in place:此外只有 L2 审核/四轴分析/ADR/红线复读与高危公告修复 diff 复核 \xhigh`;两条压过尺寸行。`此外只有四轴分析/ADR/红线复读与高危公告修复 diff 复核 \xhigh`,L2 审核 `high`;两条压过尺寸行。`L2 review leaves the
xhighlist and is named athighon the same line. This includes the per-head reviewer subagent, which is where the level is spent. Nothing else in thexhighlist moves:lanes/l2-review.mdline 7 already holds the L2 seat session athighand names no separate level for the reviewer, so it is not edited. A grep of.claude/**,skills/**anddocs/qa/**finds no other line that puts L2 review atxhigh.scripts/pm/check-skill-line-ratchet.mjs: theexecution-duties.mdrow 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
xhighuntil #35270's review sweep measured it (execution-duties.mdline 138: effort values come from this repository's own measurements). Measurement record 7073679594:high, 10/18 atxhigh.highwas not belowxhighat any head: 2 ties, 3 heads wherehighfound more.high, 3/14 atxhigh.high, 37 atxhigh. False findings: 0 athigh, 1 atxhigh.xhightook a mean 25.8 minutes against 16.6, and +52% output tokens.xhighdid better: it graded one known security-relevant finding at should-fix, wherehighnamed the same finding as a nit.Verification
pnpm check:pm-skill-ratchet: exit 0.execution-duties.md is 20154 bytes (ceiling 20154; headroom 0).node scripts/pm/check-skill-line-ratchet.mjs --self-test: 116 cases pass.pnpm check:pm-skill-id-lint: exit 0, 131 files clean.pnpm check:pm-governed-prose: exit 0.dispatch-gates.mjs --commands, 41 commands) at head68838fd8: 39 exit 0.pnpm --filter @objectstack/lint run check:doc-formula-expressions: exit 3, NOT MEASURED (prerequisite: lint and formula are not built in this checkout). CI runs it.pnpm check:pm-governed-merges: exit 1, pre-existing. The--self-testbattery "[finding]skills/*/references/_index.mdis generator-owned (gen:skill-refs) yet sits inside theskills/**governed-merge fence — every spec PR touching an indexed headline is forced to carry a governed-surface file #11705 end to end, against the REAL generator" registers 5 cases against a floor of 7; the same failure reproduces onorigin/mainwithout this change.No changeset:
.claude/**andscripts/pm/**are not published (skip-changeset).Human Minimum
packages/specholds no runtime logic. (not touched)pnpm lintwas not run locally (rule text only); CI runs it.main, one pull request.packages/spectouched: its generated artifacts are regenerated and committed. (not touched)content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.🤖 Generated with Claude Code
https://claude.ai/code/session_01FEkQ5kgMVeVvkxHzGr8Lsg