Repository navigation
chore(pm): one round source, stateless ROUND_RULE, inflight --paths and is-ancestor pointers (#35237 slice 11) - #38243
Conversation
…nd is-ancestor pointers check-owed-reviews.mjs reads TRIAGE_ROUND_MINUTES from round-open.mjs's ROUND_MINUTES (the seat-lifecycle.md round line) instead of a second literal. round-open.mjs exports ROUND_RULE without the g flag; the scan takes a local global copy. landing-operations.md drops its round figure, contract-review.md trigger (b) points at seat-lifecycle.md, SKILL.md spells --inflight with its required --paths=, and the AGENTS.md history sentence carries is-ancestor with a why-section that covers the containment half. Each ratcheted file is paid for in the same file. Claude-Session: https://claude.ai/code/session_016WV4cxRDKprCtjpEdtiPFW Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 Contract-review-claim: session_016WV4czzx9dtSEm3jWWL9c3 · 329c808 · 2026-11-28T10:15Z |
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 Contract reviewServed-tier: PR #38243, card #35237 slice 11 (carrier items 20, 21, 22). Net diff of the head against merge base Main has moved from the merge base to ① Derived judgments
② Semver levelClause-②: no — agreed. Nothing in the diff ships, so no changeset is owed; the PR carries ③ Boundary flags
④ Design judgment
No must-fix, no should-fix.
Independence: implemented in session Implemented-by: VERDICT: PASS |
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 L1 verdict (L1-a): ACCEPT at head Review summary
Owed before hand-off (body only, no head move): the PR body has no line-start Next: governed ( |
|
repo:objectstack#1 · os-elon-musk · session_016WV4cwoXEE1amuRAGHdPBs Seat record · 2026-11-28T10:24Z · PR #38243 (Part of #35237) · head 维护者速读
Seat opinion: land. 席位核对 — ACCEPT · repo:objectstack#1 · head
|
|
repo:objectstack#1 · os-elon-musk · session_016WV4cwoXEE1amuRAGHdPBs Approval request · governed @os-zhuang: slice 11 of #35237. The round length now has one source:
Every check is green or expected-skip. An APPROVED review on this head lets seat repo:objectstack#1 ready and land it; nothing else is asked. |
⛔ merge queue 构建失败 — 先分诊,再决定要不要重排队列构建 46139726157 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集), 分类: 失败的 job(日志抽取,best effort):
跨 PR 相同签名(24h,按失败测试文件聚合):
历史信号:
分诊清单:
Generated by Claude Code · merge-queue-triage workflow (#4859) |
…rd, across every PR the card produces (objectstack-ai#38280) <!-- claude-projects-attribution: {"github_login":"os-elon-musk"} --> _Requested by **Elon** · [project thread](https://claude.ai/code/project/chan_01WedDzV26nniwxv7jC88B9D?thread=cmsg_01WedDzV26nniwxv7jC88B9DDypKu7B9nwbu5WuV7AEio8)_ Part of objectstack-ai#36914 This pull request carries the rule text, card items 1 to 3. The guard half, card item 4 and acceptance bullet 3, is objectstack-ai#38296. That card also carries the question of what counts as "the card's pull requests". The card stays open until this pull request and objectstack-ai#38296 have both landed. Clause-②: no Metadata-protocol: none Rule-change: yes Context for the declaration: the maintainer spoke on 2026-11-24 at 08:28Z about objectstack-ai#36860. Seat repo:objectstack#3 relayed it in mailbox comment 7126265251 as "splitting an over-the-line change so each half stays under it gets around human review, and that is not acceptable". That sentence is a seat's English relay, not a quotation. The per-card sum, the counting of merged pull requests and "every pull request is Tier H" are the seats' proposed remedy, so this text is the maintainer's to approve here. ## 维护者速读 - 用户无感;车队内部规则变了:一张卡的改动行数改为把它产出的所有 PR 加在一起算,合计超过三千行,这张卡的每一个 PR 都要你亲自审,拆成几个小 PR 也一样;为给新规则腾出篇幅,同一份文件里删掉了八处与别处重复的话,没有删任何仍在生效的规则。 - 属于「车队自己的规则和权限」这条线:此前行数按单个 PR 算,一个大改动拆成两半就能只靠 AI 审核合并,绕开人工审核,你在 11 月 24 日裁定这不可接受。 - 现有的自动守卫仍然只看单个 PR,合计要靠席位自己加,漏算时机器不会拦;这只是规则文字,可以直接撤回,不影响产品。 - 要你做的:这份规则文字由你在这个 PR 上批准;按整张卡加总、已合并的也算、每个 PR 都归你审,是席位提出的落实办法,不是你的原话。 ## What changes **The rule.** The 3,000-line human-review line is read per card. The count is additions plus deletions, summed over every pull request the card produces. Follow-up pull requests split off the same change count, merged ones count, and generated files count as before. A card over the line is Tier H in each of its pull requests, including the ones that are under the line by themselves. A split still goes to the maintainer, and a seat's order no longer says "stop and propose a split". The rule's one home is `references/landing-operations.md`, beside the pre-landing check a seat already runs: ```text - 行数线按卡计:该卡全部 PR(含拆出的后续与已合并)additions+deletions(含生成物)之和 >3000 即过线卡, 每张 PR 皆 Tier H。例:一卡拆两张各 2,000 行 PR,两张皆 Tier H。 - 拆分仍交维护者,派发令 ⛔ 不写「停下提拆分」;`--pr N`、队列守卫与中继只读单 PR,卡合计席位自加。 ``` The other places keep one short statement or a pointer, with no number of their own: | File | Before | After | |:--|:--|:--| | `SKILL.md` 〈路径分叉〉 | `>3000 行(含生成物,additions+deletions)或申报收窄同换…` | `按卡合计 >3000 行(见 landing-operations.md)或申报收窄同换…` | | `references/area-lease.md` | `受管面与超 3,000 行 PR 区 ⛔ 不落` | `受管面与过线卡的 PR 区 ⛔ 不落` | | `references/landing-operations.md` (front-of-queue list) | `逾 3,000 行须授权批准在现 head` | `过线卡的 PR 须授权批准在现 head` | | `references/lanes/queue.md` (two lines) | `三因至逾 3,000 行` · `逾 3,000 行 PR 的批准` | `三因至过线卡` · `过线卡各 PR 的批准` | **Why the home is `landing-operations.md` and not `SKILL.md`.** The card's dispatch preferred `SKILL.md` plus pointers. `SKILL.md` cannot take the text. It had 9 bytes of headroom, and the full rule is about 270 bytes. Its ceiling cannot rise either: `SKILL.md` is the source of the declared cross-file move into `decision-analysis.md`, and raising a source re-opens the move. Measured on this branch with the row at 33614: `check-skill-line-ratchet` answered red, "raises its ceiling 5023→5589 (+566) against a net source decrease of 305". So `SKILL.md` keeps the one-line statement and the pointer, and the rule lives in the reference that the landing window reads. **Bytes.** No volatile count is added. | File | Before | After | Ceiling | |:--|--:|--:|:--| | `SKILL.md` | 33342 | 33350 | 33351, not moved | | `references/area-lease.md` | 6565 | 6564 | 6586, not moved | | `references/landing-operations.md` | 10673 | 10696 | 10717, not moved | | `references/lanes/queue.md` | 2003 | 1998 | 2003, not moved | **No ceiling moves: the new text is paid for by deletion.** Seat ruling 7238709377 on this pull request: a seat's relay is not a ruling of record, so the raise this pull request first carried (10717 → 11021, +304) was not authorized. This head takes route (a) of that ruling. The rule text adds 348 bytes to `references/landing-operations.md`, eight deletions in the same file remove 325 bytes, and the file lands at 10696 bytes, 23 above where it started and 21 under its ceiling. The `CEILINGS` row is back at 10717, so `scripts/pm/check-skill-line-ratchet.mjs` is no longer in the diff. Each deletion is a duplicate of another line, a restatement of a rule whose home is elsewhere, or a sentence the new rule made untrue. No rule is removed. | # | Deleted from `landing-operations.md` | Bytes | Why it is safe | |:--|:--|--:|:--| | 1 | `;diff 是事实,卡片语义是预测` (the clause ② gate line) | 37 | A reason, not a rule. The instruction on that line stays (take the real diff before ready or the queue). The same point is a rule in `SKILL.md` 〈路径分叉〉 (`⛔ 不看报告自述`) and in `contract-review.md` (`⛔ 不读席位自述`). | | 2 | `PASS ⇒ Tier S ready、auto-merge;Tier H 经 SKILL.md ③ 交棒;` and `;⛔ 免 L2 不放行`, leaving `L2 FAIL ⇒ 撤挂,补丁轮` | 84 | The PASS routing restates `SKILL.md` 〈路径分叉〉 (`达档 PASS 后 ready→入队`, and `③ 请审 = 交棒`) and `contract-review.md` (`过则 S 入队、H 等人批`). The last clause repeats the line four above it in the same file (`无达档 L2(条款②)PASS 在案 ⛔ 禁止入队`). The FAIL clause is kept because the patch round after an L2 FAIL is stated nowhere else. | | 3 | `人闸不是验证层的替代:` | 31 | The same line says it again as its rule: `⛔ 不以人闸代替探测`. | | 4 | `;他人 flake 照四分支重投` (the 谁入队谁看护 line) | 32 | The four branches are stated fourteen lines above in the same file, for every flake kick with an unchanged head, and `lanes/queue.md` repeats the pointer for the queue seat. | | 5 | `;⛔ 禁 rebase 与 force-push` (section A, the four-step line) | 30 | The line names `scripts/pm/os-regen-merge.sh` as the authority for the steps, and the script's header states step 1 as `git merge origin/main (⛔ never rebase / force-push)`. `AGENTS.md`, Multi-agent working discipline, items 3 and 6, carries the rule for every branch. | | 6 | `,漏判会被队列守卫在 merge group 里拒收` (the line before the new rule) | 50 | A consequence, not a rule, and this pull request makes it untrue for a split: the queue guard reads one pull request, so it does not refuse a pull request that is under the line by itself. The new text says so (`队列守卫与中继只读单 PR`). The measured fact for the cases the guard does catch stays in `readings-queue.md` (`缺批准 ⇒ 治理守卫 merge_group 腿 CI_FAILURE`). | | 7 | `;首触事后补,可改域、⛔ 不改动作` (main-red 约定①) | 45 | Stated in the home of the first-touch rules, `triage-duties.md`: `main-red 锚卡由席位先立先派,首触事后补作记录级:可改域,⛔ 不改动作,在飞照补`. | | 8 | `;每棒都重走` (section D) | 16 | The line above it already says `每一棒都是一整圈`. | **Guard scripts are not changed (card item 4).** The size limb is one predicate, `sizeVerdict` in `scripts/pm/check-governed-merges.mjs`, and every reader hands it the numbers of one pull request: - `check-governed-merges.mjs --pr N` reads `additions` and `deletions` off that pull request. `--branch` reads one git range. The post-merge sweep reads each landed commit by itself. - `check-governed-queue-guard.mjs` reads each queued pull request by itself (`sizeReading`). - `dispatch-gates.mjs` reads the worktree diff (`changedLineLines`). - The relay's `pr_enqueue_front` rule in `fleet-write/ops.mjs` reads the pull request it is asked to move. - `label-write.mjs --handoff` takes its tier from `--pr N`. - `landing-k.mjs` does not read the line. Following the per-card total is not a cheap change, for three reasons: 1. No reader can list a card's other pull requests today. That needs new network reads (the card's timeline, then one read per sibling pull request). One of the readers is the required merge-queue check, where a read that fails must refuse the queue entry. 2. The mechanical definition is not ruled. A script must decide what "the card's pull requests" are when a pull request names several cards, when many pull requests name one tracker card with `Part of`, and when a pull request was closed without merging. It must also decide whether a sibling that already merged under the line is listed by the audit once the total crosses it. 3. Three of the files are guard instruments that are Tier H by themselves, each with a pinned self-test roster. The follow-up card is objectstack-ai#38296. Its scope is the readers listed above, with the split case as a test in each (two 2,000-line pull requests on one card are both Tier H; one 2,000-line pull request alone is not). It asks the maintainer the mechanical definition before any script is written. The rule text added here says plainly that the scripts read one pull request and the seat adds the card total. ## Tests No tested behaviour changes. The diff is rule text only (four files under `.claude/skills/pm-dispatch/`, +16 −13), so there is no ablation. Local gates ran on head `b21a235f64`, after its commit. Check-runs for that head had not concluded when this body was written. Contract review 7238652086 (FAIL on M1, the ceiling raise) and L1 REWORK 7238659343 were given at the earlier head `c142bb23e0`; this head answers M1 by route (a) of seat ruling 7238709377, and a new contract review is owed at this head. <details><summary>Derived gate list: 25 families, all run, all exit 0</summary> - `node scripts/pm/dispatch-gates.mjs --commands` derived 25 families from the branch's own change set at `b21a235f64`. The list is shorter than the 45 of the earlier head because the ratchet script left the diff. Each ran once, with its exit code recorded before any pipe. - `node scripts/pm/dispatch-gates.mjs --ran` on that record, exit 0: `Run reconciliation — 25 derived, 25 run, 0 NOT-MEASURED, 0 UNRUN.` - `pnpm check:pm-skill-ratchet` exit 0: `landing-operations.md is 10696 bytes (ceiling 10717; headroom 21)`, `SKILL.md is 33350 bytes (ceiling 33351; headroom 1)`, `declared cross-file moves: 1, total ceilings down 2 bytes`. Its self-test: `116 cases pass`. - The self-tests that pin phrases of `landing-operations.md` all exit 0: `pnpm check:pm-expected-skips` (it runs the `landing-k.mjs`, `pr-state.mjs` and `sweep-closed-cards.mjs` self-tests), `pnpm check:pm-label-write`, `pnpm check:pm-governed-prose`, `pnpm check:pm-record-recognisers`. - `pnpm check:pm-skill-id-lint`, `pnpm check:pm-governed-merges`, `pnpm check:pm-settings-deny-roster`, `pnpm check:nul-bytes`: exit 0. - Outside the derived list, run once more because the earlier head carried it: `pnpm check:pm-dispatch-gates` exit 0, `dispatch-gates self-test (fast tier): 2369 cases pass; 9 slow section(s) deferred`. - `pnpm --filter @objectstack/lint run check:doc-formula-expressions` exit 0, after `pnpm exec turbo run build --filter=@objectstack/lint --concurrency=2` under the verify lock (`VERDICT command-exit 0`). </details> <details><summary>Overlap check before the push</summary> `node scripts/pm/overlap-check.mjs --branch=claude/issue-36914-review-line-per-card` at `b21a235f64`, exit 0: `VERDICT clean`. It merged cleanly with `origin/main` (`73ec085afa`) and with the two open pull requests that share a file, objectstack-ai#38271 (`area-lease.md`) and objectstack-ai#38243 (`SKILL.md`, `landing-operations.md`). objectstack-ai#38243 makes `landing-operations.md` 12 bytes smaller, so the two together stay under the ceiling. </details> ## Acceptance notes - **`AGENTS.md` still states the line per pull request.** Multi-agent discipline §7 (c) reads "a PR whose changed lines exceed 3,000". The card lists only the pm-dispatch files, and `AGENTS.md` is outside the claim's file surface, so it is not touched here. Adding it would also add two gate families to this pull request (`check:docs-audit-scope`, `check:required-contexts`), and the file has 3 bytes of headroom. It stays a follow-up and is not folded into this pull request. - **`label-write.mjs --handoff` refuses the hand-off this rule orders in the split case.** For a pull request that is under the line by itself and touches no governed path, it answers "nobody is owed a hand-off", because it reads `--pr N`. Until objectstack-ai#38296 lands, a seat that hands over such a pull request does it by hand. objectstack-ai#38296 carries it. - **The declaration reads `yes`, not `ruled`.** The maintainer's own words were said in a project thread and are not on GitHub. Comment 7126265251 and the card body carry a seat's English relay, and the relay rules only that splitting to get around review is not acceptable. - **Tracker cards.** By the letter of the rule, every pull request that names one long-running card with `Part of` counts toward that card's total. The text does not carve them out, because the ruling does not. It is the question objectstack-ai#38296 puts to the maintainer before a script enforces the total. - **No ceiling row is lowered either.** `area-lease.md` is 1 byte smaller and `lanes/queue.md` 5 bytes smaller, and `landing-operations.md` keeps 21 of its 44 bytes of headroom. objectstack-ai#38271 is moving rows in the ratchet script, so this pull request leaves the script untouched. - **The comment in `label-write.mjs` that cites "〈路径分叉〉 Tier H and the line after it" stays true.** The size line is still the line after the Tier H line. ## Verification Read first, by risk: 1. `.claude/skills/pm-dispatch/references/landing-operations.md`, the three added lines after the `check-governed-merges.mjs --pr N` line. This is the rule itself. 2. The same file, the eight shortened lines, against the table above. The riskiest is row 2, the L2 outcome line: check that nothing it said is now stated nowhere. 3. `.claude/skills/pm-dispatch/SKILL.md`, the one changed line in 〈路径分叉〉. Two-minute check: run `git grep -n "3,000\|3000" .claude/skills/pm-dispatch/`. It prints three lines: the `SKILL.md` line (按卡合计), the `landing-operations.md` line (行数线按卡计), and `dispatch-runbook.md` (≤3000 字符, a different rule). No line counts per pull request. A second check: `git diff --stat origin/main...HEAD` lists four files, all under `.claude/skills/pm-dispatch/`, and no script. <!-- signed: repo:objectstack#1 · os-elon-musk · session_016WV4cxRDKprCtjpEdtiPFW --> --------- Co-authored-by: Claude <noreply@anthropic.com>
…e probe rule (objectstack-ai#35237 slice 13) (objectstack-ai#38393) <!-- claude-projects-attribution: {"github_login":"os-project-manager"} --> _Requested by **Leehom** · [project thread](https://claude.ai/code/project/chan_01TenzsRopZj4jMbvjX8uz1X?thread=cmsg_01TenzsRopZj4jMbvjX8uz1XHogQ9ogKPxHhiFfT2UQgJi)_ Fixes objectstack-ai#35237 Claim on the card naming this branch: 7247494260 (slice 13; base claim 7245952141). Clause-②: no Metadata-protocol: none Rule-change: none ## 维护者速读 - 用户无感:车队开发代理用的内部脚本和开发代理规则里的一行命令写法做了收尾修整,推送前后的行为对用户不可见。 - 属于「车队技能整理」里「把每次手敲的流程改成脚本」这一步,本次清掉这一步最后几项遗留小问题,做完后这一步可以关闭。 - 最坏情况是开发代理推送遇到超时、限流类错误时多重试几次(有固定上限)或照旧提前停下;一个提交即可整体撤回。 - 无 Slice 13 of the card: carrier item 24, the rule half of item 14 N7, and items 26–29 (notes 7246458172 and 7246788470), plus the card's done-when check below. 6 files, +54 / −16. | Item | Where | What changed | |:---|:---|:---| | 24 | `scripts/pm/check-owed-reviews.mjs:140` | "The name is kept: importers read it" was false (nothing imports `TRIAGE_ROUND_MINUTES`). It now says the name is kept because this file reads it, in the trigger (b) docblock and `owedReviewRow`, and that nothing imports it. Comment only. | | 14 N7 (rule half) | `.claude/agents/os-dev.md:31` | The probe command now spells `--branch=BRANCH`, so it runs as written instead of ending in a usage exit. Bytes are offset on the same line (see Acceptance notes). | | 14 N7 (ratchet) | `scripts/pm/check-skill-line-ratchet.mjs` | The `os-dev.md` row is lowered 33500 → 33492, the landed size. No row raised. | | 26 | `scripts/pm/dev-worktree.sh` `classify_push_failure` | A new arm, ahead of the 4xx arm and keyed exactly as it is, reads 408, 421, 429 and every 5xx as `network`. "Received HTTP code 502 from proxy after CONNECT" is now placed. The comment now says why. 5 classifier cases; floor 14 → 19. | | 27 | `scripts/pm/dev-worktree.sh` `rerun_with_probe` | A flag made only of characters no shell reads specially is printed as typed (`--backoff=2,4`). Any other flag is still quoted with `printf %q`. The pinned line now carries `--backoff=2,4`. One round-trip case; floor 20 → 21. | | 28 | `scripts/pm/git-history.mjs` self-test | The case titled "a problem the CLI refuses as usage" now asserts through the CLI: `ancestor --cwd=` pointed at a missing directory exits 1, prints nothing on stdout and says "could not be checked" on stderr. | | 29 | `scripts/pm/check-handover.mjs` `--inflight` clear line | The line now names the unjudged case: "a claimed path fragment deeper inside a dispatched directory, spelled DIR, DIR/** or DIR/**/GLOB alike". It is pinned in the N12 case. | ### Why 408, 421 and 429 are network errors under rule 1 (`os-dev.md:33`, only a network error is retried) The rule separates two kinds of failure. A refusal on the merits stops the run (403, and every other judged 4xx). A failure of the path is retried on a bounded schedule. Each of these three statuses says the path failed and says nothing about the push itself: - **408 Request Timeout.** The server closed the connection because the request did not arrive whole in time. It is the same event as the `Operation timed out` the classifier already retries; this time the server noticed the timeout first. - **421 Misdirected Request.** The request reached a connection that cannot answer for this host, usually a reused HTTP/2 connection or a proxy route. It describes the connection, not the request, and the retry's new connection is the fix. - **429 Too Many Requests.** The path is throttled for now. HTTP's own remedy is to wait and retry, and the backoff schedule is that wait: four retries, 30 s in all, never a loop. All three read `network` before objectstack-ai#38387 (through the words "RPC failed"). This PR restores that reading and keeps 401, 404, 407 and 409 as `other`. Every 5xx already read `network` in the `error:` and `HTTP` spellings. The new arm adds the key words the 4xx arm uses (`status`, `code`, `response`, `HTTP/N`), so a proxy's "Received HTTP code 502" reads the same way. ### Done-when check, item by item The card's done-when: each listed procedure is a script with a self-test, its prose is a one-line pointer, and the card-pick reader works against the live board. The closing check also asks that no carrier item stays open apart from item 7 option B, which landing ruled out of scope (7222751511 ③). | Part | State | Evidence | |:---|:---|:---| | Slice 1: card-pick, lock depth, prior-rulings `--paths` | landed | PR objectstack-ai#35482 | | Slice 2: `landing-k`, `pr-state`, `sweep-closed-cards --pr` | landed | PR objectstack-ai#35576 | | Slices 3, 5, 6: `fleet-roster --health`, the dispatch-runbook pointer, `l1-face` | landed | PR objectstack-ai#35671 | | Slice 4: `check-handover --inflight`, `round-open` | landed | PR objectstack-ai#37878 | | Slice 7: `git-history ancestor`, `dev-worktree.sh` | landed | PR objectstack-ai#38018 | | Card-pick against the live board | works | `node scripts/pm/card-pick.mjs --order area:fleet --seat repo:objectstack#5 --limit 3` at 23:04Z: read 231 open `pm:queue` issues over 3 pages, the platform counts 231, `card-pick COMPLETE — 3 pick(s)`, exit 0 | | Carrier items 1, 2 | done | slice 4 (landing note 7226135228) | | 3, 5, 6, 11 (10's N6 too) | done | slice 8, PR objectstack-ai#38146 | | 16–19 | done | slice 9, PR objectstack-ai#38212 | | 4, 12, 13, 15 | done | slice 10, PR objectstack-ai#38222 | | 20–22 | done | slice 11, PR objectstack-ai#38243 | | 7 N11, 9, 14 N3/N5/N6 and N7's script half, 23, 25 | done | slice 12, PR objectstack-ai#38387 | | 24, N7's rule half, 26–29 | done | this PR | | 8, 10 | owe nothing | listed for completeness and accepted as deviations (7222785044) | | 7 option B | out of scope | landing kept option A (7222751511 ③) | Each part holds as far as it can be measured, so the first line is `Fixes objectstack-ai#35237`. One limit: the review reports' section 4, the candidate list the card names, cannot be read from this project, and slice 3's claim (7022183772) recorded the same gap. "Each listed procedure" is therefore checked against the slice plan in claim 7006559529, amendment 7013022048 and release 7017468070. If the seat holds a section-4 candidate outside that plan, the first line should become `Part of`. ## What changes The four scripts and one comment above, one rule line and one ratchet row. Nothing here ships in a package. ## Tests All runs are at head `084b6dba7a`. <details><summary>Self-tests of every script edited</summary> - `bash scripts/pm/dev-worktree.sh --self-test`: `✓ dev-worktree self-test: 95 cases pass across 7 batteries` (89 before: 5 classifier cases and 1 probe case added). - `node scripts/pm/git-history.mjs --self-test`: `git-history --self-test: all cases passed.` - `node scripts/pm/check-handover.mjs --self-test`: `✓ check-handover self-test: 114 cases pass`. - `node scripts/pm/check-owed-reviews.mjs --self-test`: `✓ check-owed-reviews self-test: 96 cases pass in 10 batteries`. - `node scripts/pm/check-skill-line-ratchet.mjs --self-test`: `116 cases pass`. The gate itself exits 0. </details> <details><summary>Ablations (scripts/ablation-replace.mjs; each mutation was proven on disk and the restore proven blob == HEAD with an empty git diff HEAD)</summary> - A1 `(408|421|429|5[0-9][0-9])` → `(5[0-9][0-9])` in the new arm: 3 of 95 red, the 408, 429 and 421 cases. - A2 `(408|421|429|5[0-9][0-9])` → `(408|421|429)`: 1 of 95 red, the proxy CONNECT 502 case. - A3 the as-typed branch of `rerun_with_probe` back to `printf %q`: 2 of 95 red, the pinned second-run line and the round-trip case. - A4 the `--inflight` clear line back to its old text: 1 of 114 red, the N12 case. - A5 the CLI's usage refusal skipped for a "could not be checked" problem: 1 red, the item 28 case, through its CLI half alone (the direct calls stay green). </details> <details><summary>Classifier false-match probe (the shapes record 7246776227 tried against the 4xx arm, run against the new arm, at this head and at the merge base)</summary> A port (`port 429`, `github.com:502`), an errno (`errno 408`, `errno=502`), an OpenSSL code (`error:0A000126`, `error:42900000`), a byte count (`408 bytes`, `Total 429`, `(502/502)`) and an HTTP/2 stream number (`HTTP/2 stream 421`, `stream 503`) read the same at head as at base. Only two answers moved: `RPC failed; HTTP 429` and `Received HTTP code 503 from proxy after CONNECT`, both from `other` to `network`. </details> ## Acceptance notes - **os-dev.md byte offset.** Adding `--branch=BRANCH ` costs 16 bytes against 9 bytes of headroom. The same line drops 「建好分支后」 (15 bytes), so the file lands at 33492 (+1 against main's 33491), within the 33500 ceiling. The row is then lowered to 33492. The rule is unchanged: the timing it sets is still 「任何编辑前」, and the one command now builds the branch and sends the probe in a single run. `BRANCH` is the placeholder the file already uses three lines up (`Resume-from: BRANCH@SHA`). The edit stays one line, adding one argument, with the offset on the same line. - **The old 5xx alternative is kept.** The case-insensitive `(error:|HTTP)[ :]+5xx` alternative stays in the transport-words arm, so no spelling that read `network` before reads anything else now. - **`check-owed-reviews.mjs` keeps `export`.** Nothing imports the name, and the sentence now says so. Removing the export would be a surface change this item did not ask for. ## Verification Read first, by risk: `scripts/pm/dev-worktree.sh` (the new arm in `classify_push_failure`, then `rerun_with_probe`), `.claude/agents/os-dev.md:31`, `scripts/pm/git-history.mjs` (the item 28 case). Two-minute check: `bash scripts/pm/dev-worktree.sh --self-test` should print `95 cases pass across 7 batteries`. --- _Generated by [Claude Code](https://claude.ai/code/session_01FEkQ5oPfjnm2yWHEwkiYrn)_ <!-- signed: repo:objectstack#5 · os-project-manager · session_01FEkQ5oPfjnm2yWHEwkiYrn --> Co-authored-by: Claude <noreply@anthropic.com>
Requested by Elon · project thread
Part of #35237 (slice 11: carrier items 20, 21, 22; the card keeps its other items)
Clause-②: no
Metadata-protocol: none
Rule-change: none
维护者速读
What changes
scripts/pm/check-owed-reviews.mjs):TRIAGE_ROUND_MINUTESis nowROUND_MINUTESimported fromround-open.mjs(no import cycle: the round-open closure is 5 modules and none of them imports check-owed-reviews). The exported name is kept. Both comments now point at theseat-lifecycle.mdround line instead of the retired contract-review.md phrase.references/landing-operations.md约定③ drops its 「(~60 分钟)」 figure, as slice 9 did for contract-review.md.references/contract-review.mdtrigger (b) 「已等满一轮」 now carries the pointer(seat-lifecycle.md). Paid for in the same file by five prose tightenings that keep every rule (不起第二个 agentto不另起 agent,所定,的,而,、且).scripts/pm/round-open.mjs: the exportedROUND_RULEhas nogflag now (/一轮 (\d+) 分钟/u).roundMinutesOfRulescans with a local global copy. A new self-test case pins the export as neither global nor sticky, checks that three.test()calls answer the same, and checks that the scan still reads every figure. The battery floor goes from 3 to 4.SKILL.md〈车道与域〉 spells the in-flight check as the usage line does:check-handover.mjs --inflight --paths=PATH[,PATH…]. Paid for in the same file by six tightenings (绝,的,就还to即,自己读的to自读,自己的to自有,的), and no rule is removed.AGENTS.mdgit-history sentence now reads "anis-ancestorcontainment one", so a search for the command lands on it.Shallow-clone history(the new anchor is shorter, and that pays for (b)), and one sentence now covers the containment half: a cut only withholds an ancestor path, so exit 0 stands in any clone and a "not an ancestor" result may be the cut;git-history.mjs ancestorproves the negative with a control leg, or it refuses. The anchor had no other referrer (git grep).Bytes per ratcheted file (
wc -c, origin/main bd5407e to this head)AGENTS.md.claude/skills/pm-dispatch/SKILL.md.claude/skills/pm-dispatch/references/contract-review.md.claude/skills/pm-dispatch/references/landing-operations.mdNo CEILINGS row moved.
docs/agents/multi-agent-discipline.mdcarries no ceiling.Tests
All runs are on head
329c808fc8.Self-tests and ablations (on-disk mutation, then restore)
node scripts/pm/round-open.mjs --self-test: exit 0,✓ round-open self-test: 39 cases pass across 6 batteries.node scripts/pm/check-owed-reviews.mjs --self-test: exit 0,96 cases pass in 10 batteries.ROUND_MINUTES = 60changed to45in round-open.mjs only. check-owed-reviews goes red through the import (exit 1,✗ … under a full round, nothing else holding ⇒ WAIT, 1 of 96). round-open goes red against the seat-lifecycle.md line (exit 1, 2 of 39).gflag put back on the export. round-open goes red (exit 1, the new case readsgot [true,[true,false,true],[60,45]]). That is thelastIndexstate the card names.got [45], want [60]). The 60 to 45 pin still holds.Acceptance notes
docs/agents/multi-agent-discipline.mdis outside the fence's file list, but item 22 (c) says to fix the link, and fixing the link target there is the cheap way to do it. It is not ratcheted.scripts/pm/**,.claude/**,AGENTS.mdanddocs/agents/**are fast-lane paths). Henceskip-changeset.Verification
scripts/pm/round-open.mjs(theROUND_RULEhunk),scripts/pm/check-owed-reviews.mjs(the import and constant hunk), andAGENTS.md(the history sentence).node scripts/pm/round-open.mjs --self-test && node scripts/pm/check-owed-reviews.mjs --self-test. You should see two ✓ lines, with 39 and 96 cases.Local gates: 50 of 50 derived families, every one exit 0
node scripts/pm/dispatch-gates.mjs --ran FILE:✓ 50 derived famil(ies) accounted for — 50 run, 0 NOT-MEASURED (a DERIVED zero — all 50 recorded an exit code and none of them is 3).pnpm check:pm-skill-ratchetexit 0.pnpm check:pm-governed-proseexit 0.pnpm check:pm-dispatch-gatesexit 0.pnpm check:nul-bytesexit 0.pnpm --filter @objectstack/lint run check:doc-formula-expressionsfirst exited 3 (dist not built, so it measured nothing). After the formula and lint build under the verify lock (VERDICT command-exit 0) it exits 0.node scripts/pm/overlap-check.mjs --branch=claude/issue-35237-slice11-round-and-pointers:VERDICT clean exit 0.Generated by Claude Code