Repository navigation
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
Conversation
…ol picks per card, and a card thread confirms CI started (#36203) - filing-gate: the order between same-epic cards is the later card's Blocked-by line, not a preference listed on the epic. - execution-duties: deciding "waits for #N" writes Blocked-by + pm:blocked in the same stroke; the status probe covers card threads. - seat-lifecycle: card-pick --why runs every patrol round over the seat's lanes and epics, not only when reporting empty. - dispatch-runbook: after each push the thread confirms Actions started and the PR is not dirty; a CI wait sets a send_later fallback; the seat reads pr-state for every in-flight card PR each round. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgXU3aQQzivgaDDU82c
|
repo:objectstack#1 · os-sales · session_01L6bhgXU3aQQzivgaDDU82c Expected red, no push yet. Generated by Claude Code |
…ling record 7075909669 (#36203) dispatch-runbook +284, execution-duties +123, seat-lifecycle +6, filing-gate +5. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgXU3aQQzivgaDDU82c
…-ok94d8 # Conflicts: # scripts/pm/check-skill-line-ratchet.mjs
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Posted 2026-11-22T07:44Z. The brief handed to the isolated rules-face reviewer for PR #36205 ( Contract review brief — PR #36205 @
|
|
repo:objectstack#1 · os-sales · session_01L6bhgVdP6nEyftgTJapu6J 维护者速读你同意的五条技能文字,这个 PR 都写进去了。四个文件的字节上限,每个都正好按你裁决里的数字抬高,没有多留余量。合并 main 时为了守住裁决的 20354,在一处「≤30 分钟」里删掉了一个空格,意思不变。 席位核对 — ACCEPT (L1-d) · repo:objectstack#1 · head
|
| file | main bytes / old ceiling | head bytes / new ceiling | ceiling delta | ruling |
|---|---|---|---|---|
| dispatch-runbook | 20068 / 20070 | 20354 / 20354 | +284 | 20070 → 20354 (+284) ✔ |
| execution-duties | 20154 / 20154 | 20277 / 20277 | +123 | 20148 → 20271 (+123), rebased on main's +6 (ruling 7073679594) ✔ |
| filing-gate | 9096 / 9096 | 9101 / 9101 | +5 | 9096 → 9101 ✔ |
| seat-lifecycle | 9070 / 9070 | 9076 / 9076 | +6 | 9070 → 9076 ✔ |
All four end at headroom 0. Each row's comment cites 7075909669 and quotes 「同意五条都改」; the existing provenance of the execution-duties and filing-gate rows is kept.
The main-merge resolution (your third check)
git show --remerge-diff 7971a712: the only hand edit in a skill file is dispatch-runbook.md 137, 「≤30 分钟」 → 「≤30分钟」 (one space). Why: the PR's text is +287 bytes over its old base fa304140 (20067 → 20354, the ruling's +284 plus the 3 bytes of headroom the file had then); main meanwhile grew the file +1 (#36213, e4f5e56c), so a clean merge would read 20355, one over the ruled ceiling. Trimming that byte keeps the ruled number. The conflict git reported was in check-skill-line-ratchet.mjs (main's own execution-duties +6 row); its resolution keeps both raises in one row. ✔
Findings (no hold)
- S1 (for the seat and the Fable L2). Item 3 as ruled reads "A child with no hold reason is dispatched that round, or its reason is written on the card." The line keeps only 「无卡点即当轮派」. Read against the rest of the skill, the dropped arm is mostly subsumed: item 2 now makes every wait a
Blocked-by:+pm:blockedon the card, andpm:blocked/pm:on-hold/ openBlocked-by:are already 卡点 (the next line's vocabulary is "the candidate definition's inverse"). What it would still cover is a hold that is none of those. Either restore it (≈ +15 bytes, paid by deletion in the same file, since the ruled ceiling is +6), or say in the body that items 2 + the 卡点 vocabulary carry it. I do not hold the PR for it; the Fable L2 is the review of record on rule text. - N1. The body says the rows move "by exactly the measured
wc -cdeltas". For dispatch-runbook the file grew +286 over currentmainand the ceiling +284 (2 bytes were existing headroom); "exactly the ruled deltas, ending at headroom 0" is the accurate sentence. - N2. 「≤30分钟」 now sits beside 「10 分钟」 / 「30 分钟」 with a space in the same two lines. Cosmetic.
L1 never replaces L2. Tier H: os-zhuang.
Generated by Claude Code
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Contract reviewServed-tier: Read for this record: card #36203 (body and its three comments, ruling record 7075909669 included), PR #36205 (body, the five-file list, the net diff against ① Derived judgments
② Semver levelClause-②: no Nothing publishes: no package source, no changeset needed, and the PR carries the ③ Boundary flags
④ Design judgmentRule-change reading, hunk by hunk against the five items the ruling 「同意五条都改」 adopts (card #36203, To do 1-5). All five hunks change what gets done and in what order (dispatch and hold marking, patrol reads, wake duty), so
Attempts to break it:
No must-fix, no should-fix. Nits, none of which changes correctness or the contract:
Implemented-by: VERDICT: PASS |
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Seat landing · 2026-11-22T07:49Z · #36203 (why cards were missed in dispatch), the skill fix the maintainer ruled 「同意五条都改」 (record 7075909669). Five rule changes go into four pm-dispatch references:
Reviews:
Gates on this head (
The seat readies this PR and arms auto-merge in the same step. The PR carries |
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Correction · 2026-11-22T07:51Z · to the seat landing 7076150210: its summary list of the five rule changes was wrong. The reviews, gates and the landing are unchanged. The five changes are card #36203's to-do items 1–5:
|
… isolated L2 beside its L1; a dispatch order missing its derivation is sent back (objectstack-ai#35813) (objectstack-ai#36213) <!-- claude-projects-attribution: {"github_login":"zhuangjianguo"} --> _Requested by **Steedos** · [project thread](https://claude.ai/code/project/chan_018ETKaNwMZCNRYD7D8Q9Ubb?thread=cmsg_018ETKaNwMZCNRYD7D8Q9UbbCxiFE11rsKwyNffJZKYqJs)_ Fixes objectstack-ai#35813 Part of objectstack-ai#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)** 6. `references/dispatch-runbook.md`, card-thread section, new line under the line that says the order carries the tier, the effort and their derivation: - `` - 线程或区见令缺推导 ⇒ 不开工,退回席位;⛔ 不凭记忆补档位。 `` 7. `.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 objectstack-ai#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 fa30414 cbd582f -- .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. <details><summary>Local gates at head 1b94ad0 (re-run after the fix round and the merge of main)</summary> 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, objectstack-ai#36215 on `os-dev.md` and objectstack-ai#36205 on `dispatch-runbook.md`). </details> 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- signed: repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC --> --------- Co-authored-by: Claude <noreply@anthropic.com>
…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>
…ses a lone Claim: comment (objectstack-ai#36434) <!-- claude-projects-attribution: {"github_login":"zhuangjianguo"} --> _Requested by **Steedos** · [project thread](https://claude.ai/code/project/chan_018ETKaNwMZCNRYD7D8Q9Ubb?thread=cmsg_018ETKaNwMZCNRYD7D8Q9UbbCxiFE11rsKwyNffJZKYqJs)_ Fixes objectstack-ai#36203 Clause-②: no Metadata-protocol: none ## 维护者速读 - 用户无感:这是车队内部工具。巡查脚本现在会标出"已认领卡的草稿 PR 有冲突,或推上去后 CI 根本没跑";发评论的工具不再接受单独发出的认领评论,会提示改用连标签一起改的一笔写法。 - 属于"派发为什么会出现疏漏"那张卡的最后两条脚本项(技能文字五条已合入),替席位和卡线程解决"互相等 CI、其实 CI 根本没开跑"的问题。 - 出错最坏是巡查报告多一行或少一行提醒,或某条认领评论被拒、换一种写法重发;不改任何数据,可以直接撤回。 - 无 ## What changes Items 6 and 7 of the card's To do (items 1-5, the skill text, merged in objectstack-ai#36205). Script-only: `scripts/pm/check-half-states.mjs` and `scripts/pm/post-stamped.mjs`, each with its self-test battery. No skill text, no ceiling, no workflow. **Item 6 — new row H82 in the half-state patrol: a claimed card's PR that CI cannot see.** The release note offered "widen H12/H16 to claimed drafts, or a new row"; this takes the new row. H16's pinned non-draft scope stays true for every other PR, H12 (orphan landing of a *ready* PR) has no meaning on a draft, and the second signal the card asks for (no Actions ever ran) is a read neither row makes. - Population: an open PR whose body binds (closing keyword or `Part of`, H16's extractor) a card the sweep holds under `pm:dispatched` — the state model's claimed bit, free from the label pages the sweep already lists. Silent past 30 min by `updated_at` (H16's age proxy), the card-thread wake rule's own number (`dispatch-runbook.md`, 卡线程: 推后 30 分钟零 Actions、`dirty`). - Leg 1: a DRAFT with `mergeable_state: dirty`. A non-draft dirty PR stays H16's row alone, never reported twice. - Leg 2: any claimed PR, draft or ready, not dirty, whose head answers `total_count: 0` on `/commits/SHA/check-suites?app_id=15368` (the GitHub Actions app). The filter is load-bearing: measured on the incident head `473c7ff4` (PR objectstack-ai#35923), the unfiltered read answers 5 suites (deploy previews, the fleet app) and the Actions-filtered one 0; a head CI ran on answers 10 Actions suites of 15. - Reads: the PR row (reused from H16's pass when both want it) and one check-suites page, for candidates only. A failed PR-row read drops that PR, all-failed rethrows (H16's posture). A failed check-suites read is UNJUDGED, counted on the summary line, never a zero and never rethrown. - Registered as a `stall` band row, four count keys on the sweep contract, one summary clause (`Claimed card PRs (H82): …`) with its anchor. **Item 7 — `post-stamped.mjs` refuses a comment whose first keyed line is `Claim:`** (exit 2, zero writes). The first line after the signature is read through the patrol's own marker (`CLAIM_COMMENT_MARKER`, `markerMatches`, so `> Claim:` counts as it does for H2). The refusal prints the stroke that folds the same comment: `label-write.mjs --issue N --comment-file PATH --add pm:dispatched --remove pm:queue --assign LOGIN`. - Judged in `main` after the route is resolved, deliberately NOT in `judgeBody`: `judgeBody` is the path `label-write --comment-file` folds the comment through, and that fold is the remedy. - One arm is route-aware. `label-write`'s header says `--comment-file` is RELAY-ONLY and that on a route resolved `direct` the claim goes "through post-stamped and the labels here, as before". Refusing there would leave no claim route at all, so on `direct` the claim is still written, with a stderr note that the labels follow as a second write. Every other route refuses, an undecidable one included (it cannot prove the fold absent). ## Tests <details><summary>Self-tests, at the head that also ran the gates (6efbcf5)</summary> - `pnpm check:pm-half-states`: exit 0, `check-half-states self-test: 5420 cases pass`, battery `H82 claimed card PR CI cannot see 24/24` (pin at the count). Each leg's firing case sits beside the control that silences it: the dirty draft vs. the same draft clean; H16 silent on the dirty draft H82 fires on; zero suites vs. an unread (null) reading; a non-draft dirty PR left to H16 while H16 does fire on it; unclaimed vs. claimed; the 30-minute boundary; the gate never narrower than the predicate; band, summary pair, count keys, wiring. - `pnpm check:pm-post-stamped`: exit 0, `post-stamped self-test: 802 cases pass across 30 batteries` (787 / 29 before). New battery, 15 cases: refused on the relay route and on an undecidable one; the `direct` control; a `Claim:` quoted further down a round report, a card body and a non-claim comment pass; the refusal text; **control: the same claim through `judgeBody` (label-write's fold path) passes**; CLI dry runs (refused exit 2 off `direct`, rendered exit 0 on `direct`, a non-claim body exit 0 on the same route); structural placement. - `pnpm check:pm-label-write`: exit 0, `398 cases pass across 19 batteries` (its fold battery folds a signed `Claim:` through `judgeBody`). </details> <details><summary>Live reads (read-only, this container)</summary> - Live patrol sweep (`node scripts/pm/check-half-states.mjs`, no flags, report-only, writes nothing): `Claimed card PRs (H82): PR row read on 15 of 15 open PR(s) bound to a pm:dispatched card and silent past 30 min, and the Actions check suites read on 15 of 15 head(s) not in conflict.` No H82 row today: no claimed card PR on the board is currently blind. - `post-stamped.mjs --dry-run --comment=36203` with a signed claim: route `dispatch`, exit 2, the refusal naming the fold stroke. - `label-write.mjs --issue 36203 --add pm:dispatched --comment-file SAME --dry-run`: exit 0, packed as ONE relay dispatch with the comment, nothing sent. </details> ## Acceptance notes - **Third wake trigger not read.** The runbook's third trigger (2 h with no push and no report) is still read by nobody mechanically; seat 1's release note names item 6 as the place to close it. This PR reads only the two signals the dispatch names (dirty, zero Actions suites). - **The patrol workflow grants no `checks:` scope.** `half-state-patrol.yml` lists `contents`, `issues`, `pull-requests`. If its `GITHUB_TOKEN` cannot read check suites, the runner's leg 2 reads UNJUDGED (said on the summary line) and leg 1 still runs. Not measured on a runner, because the workflow is on demand only. The seat-container sweep, the live consumer, reads them (15 of 15 above). - **Population is the label, not the claim comment.** "Claimed" is a bound card under `pm:dispatched`. A label without its claim is H1/H2's row, and re-reading every bound card's thread would cost requests. - **Age proxy.** `updated_at`, as H16. A quiet PR whose base just moved flags at once. A comment on the PR defers the row by one threshold. ## Verification - Targeted gates (`dispatch-gates --commands`, 70 families, at `6efbcf556bd`): 68 exit 0. `--ran` reconciliation: 70 derived, 69 run, 1 NOT-MEASURED. NOT MEASURED, `pnpm check:i18n-coverage`, exit 3: prerequisite not met (no package `dist/` built, and the diff touches no package). Red locally but NOT MEASURED, `node scripts/check-self-test-workflow-commands.mjs`: an unrelated child self-test (`check-adr-0087-registration.mjs --self-test`) runs past its 120 s spawn budget on the shared box (measured 3 min 1 s standalone, exit 0). CI owns both. - `overlap-check.mjs`: clean against `origin/main`, 0 PR heads. **Read first:** `check-half-states.mjs`, the H82 sweep pass after H16's rethrow (the two read postures). `h82ClaimedPrBlind` (the leg split with H16). `post-stamped.mjs`, `main`'s `claimStrokeRefusal` call and its `direct` arm. **Two-minute check:** `node scripts/pm/post-stamped.mjs --self-test 2>&1 | grep "claim stroke\|refuses the claim"` lists the claim-stroke cases, every one ✓. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01QsR2jTeURPvEm465RcoYEC <!-- signed: repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC --> --------- Co-authored-by: Claude <noreply@anthropic.com>
Requested by Sales · project thread
repo:objectstack#1 · os-sales · session_01L6bhgXU3aQQzivgaDDU82c
Part of #36203 (items 1-5, the skill text; items 6-7, the scripts, stay on the card)
Clause-②: no
Metadata-protocol: none
Rule-change: ruled
Ruling-ref: 「同意五条都改」 — the maintainer's choice on the decision card 「同意按卡 #36203 的五条修改技能文字吗?」, 2026-11-22T07:25Z, ruling record 7075909669 on #36203
维护者速读
Blocked-by: #N并挂pm:blocked,不能只记在记忆里。#N 一合入,现有的解锁扫描就会把卡放回可派。card-pick --why),不再只在"报队列空"时才做。没有挡路理由的子卡当轮派出。What changes
references/filing-gate.md: the order between same-epic fleet cards is the later card'sBlocked-by:line, not a preference listed on the epic card. This removes the contradiction withseat-lifecycle.md56.references/execution-duties.md: deciding "this waits for #N" writesBlocked-by: #N+pm:blockedon the card in the same stroke, never only in memory or a comment. The ③ status probe covers card threads as well as devs.references/seat-lifecycle.md:card-pick.mjs --order <序> --whyruns every patrol round over the lanes and epics the seat holds, not only when the seat reports an empty queue. A card with no hold reason is dispatched that round.seat-lifecycle.md90: it isexecution-duties.md49 (a hold is aBlocked-by:line +pm:blockedon the card, which then shows as a hold point incard-pick --why), and restating it would need bytes the ruled ceiling does not have.references/dispatch-runbook.md(card-thread section), two lines: (1) within 10 min after a push, the thread confirms that Actions started and the PR is notdirty(a conflicting PR starts nopull_requestworkflow), else it mergesorigin/mainand pushes again; a CI wait sets asend_laterfallback of at most 30 min. (2) Each round, the seat readspr-state.mjsfor every in-flight card PR and wakes the thread that round on zero Actions 30 min after the push,dirty, or 2 h with no push and no report.Why
The two misses on 2026-11-21, read in #36203: #35890 / #35892 sat undispatched for 3 h and 8 h after their blockers closed, because the hold lived only in memory. PR #35923 waited 15.5 h on a head with zero Actions runs (it was already
dirty), and its thread and the seat each waited for the other.Verification
node scripts/pm/check-skill-line-ratchet.mjs: green, 0 ✗. Ruling record 7075909669 orders the text;CEILINGSrows move by exactly the ruled deltas (dispatch-runbook 20070 → 20354, +284, the text itself +286 over main's 20068 because main sat 2 bytes under its old ceiling; execution-duties 20154 → 20277, +123 (main's own +6 raise, ruling 7073679594, landed first); seat-lifecycle 9070 → 9076, +6; filing-gate 9096 → 9101, +5), each row quoting the id.--self-test: 116 cases pass. Merging main (7971a71) took one byte of dispatch-runbook headroom that main had used (20067 → 20068), so one space in the new CI line is dropped to stay at the ruled 20354.CEILINGStable. No workflow or published file changes. No changeset (nothing publishes;skip-changeset).Human Minimum
packages/specholds no runtime logic. (Nopackages/specchange.)pnpm lintpasses. (Markdown only.)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_01L6bhgXU3aQQzivgaDDU82c