Skip to content

docs(pm-dispatch): cloud lane CI-minute rules in orders and Go text - #34416

Merged
os-zhuang merged 2 commits into
mainfrom
claude/project-thread-ih5nwj
Nov 16, 2026
Merged

os-zhuang merged 2 commits into
mainfrom
claude/project-thread-ih5nwj

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Requested by Warren · project thread

Part of objectstack-ai/cloud#4749 (carries cloud#3779's rule too). Governed (Tier H): draft, merged by the maintainer by hand.

维护者速读

  1. 问题:cloud 的 CI 分钟里,「已绿又推送」15 天花了约 1,974 分钟,ci:full PR 全档平均比受影响档多约 9 分钟。
  2. 改法:pm-dispatch 的 cloud 车道说明加一条三项(三行):一个引领句要求派发令与 Go 词带上三项推送纪律。
  3. 三项:ready 前容器跑类型检查与受影响测试,命令与结果入报告;ready 后修改一次推送,合 main 照 cloud AGENTS.md 第 7 条;ci:full 只给 pin 轮次与改 workflow 的 PR。
  4. 行数:把「范围」小节并入「形态」列表,文件仍是 28 行,棘轮天花板不动。
  5. 配套:cloud 仓 AGENTS.md 第 7 条同步收紧(另一个草稿 PR)。
  6. 需要你做的:审阅后手动合入。

What changes

.claude/skills/pm-dispatch/references/lanes/cloud.md only:

  • The one-line ## 范围 section folds into the ## 形态 list (same text, prefixed 范围:), freeing three lines.
  • ## 常设承诺 gains one item over three lines (maintainer's order, 2026-11-16 14:50Z 「同意,全部 p1」): one lead clause tells seats to put all three into every card-thread order and Go text —
    • ① typecheck and affected tests in the container before pr_ready, command and result in the report;
    • ② after ready, fixes in one push; merging main follows cloud AGENTS.md rule 7, which takes precedence over the generic merge-main discipline (no reason list restated here);
    • ③ ci:full only on pin rounds (.objectstack-sha changes) and PRs that change .github/workflows/**; everything else runs the affected tier.

Net line count 28 → 28, so the line ratchet's ceiling (28, headroom 0) is unchanged; no standing rule was cut.

Why

The 2026-11-16 cloud CI cost analysis (items 6 and 7) measured the post-green re-push and ci:full minutes; the maintainer approved filing them as p1.

Verification

Run in the container at head 98b349f:

  • pnpm check:pm-skill-ratchet → 0 (28 lines, ceiling 28; every line ≤ 120 bytes, the three new lines 118/119/115)
  • pnpm check:pm-skill-id-lint → 0 (no issue IDs in the skill text)
  • pnpm check:pm-governed-prose → 0
  • pnpm check:skill-links → 0

Clause-②: no
Metadata-protocol: none

Human Minimum

  • 1. Schemas start as Zod; packages/spec holds no runtime logic. (n/a)
  • 2. Every name I added uses the casing for its kind. (n/a)
  • 3. No formatter ran; pnpm lint passes.
  • 4. One issue, one branch off an up-to-date main, one pull request.
  • 5. A change that publishes carries a changeset — this publishes nothing (skip-changeset).
  • 6. packages/spec touched: n/a.
  • 7. No hand edits to generated docs.
  • 8. Title, body and comments are in English (the 维护者速读 block is the lane's maintainer summary).
  • The Before Submitting list in CONTRIBUTING.md is done.

🤖 Generated with Claude Code

https://claude.ai/code/session_01JQwxbXY2nauW96XKVHkXmW

Seats hand card threads four rules: typecheck + affected tests in the
container before pr_ready with the result in the report; post-ready review
fixes in one push; no merge of main except a queue conflict or a named
reason; ci:full only on pin rounds and .github/workflows/** PRs. The scope
section folds into the shape list so the file stays at its 28-line ceiling.

Part of objectstack-ai/cloud#4749

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

Copy link
Copy Markdown
Contributor Author

repo:cloud#3 · os-warren · session_01JQwxbZqfEd7pcckjz3pGqn

Contract-review-claim: session_01JQwxbZqfEd7pcckjz3pGqn · head 6c8e71e · 2026-11-16T15:29Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:cloud#3 · os-warren · session_01JQwxbZqfEd7pcckjz3pGqn

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 6c8e71e058bdff5d36b18d6554b2bca8567961b2
Local-runs: none
Scope: .claude/skills/pm-dispatch/references/lanes/cloud.md + none
Security-touching: no

Review of objectstack-ai/objectstack PR #34416 (Part of objectstack-ai/cloud#4749, carrying objectstack-ai/cloud#3779). Inputs: both cards with every comment, the PR body, file list and net diff against main, and the 48 check-runs on the head. Read to judge, not reviewed: scripts/pm/check-skill-line-ratchet.mjs, check-skill-id-lint.mjs, check-governed-prose.mjs, and references/execution-duties.md, dispatch-runbook.md and the sibling lane charters on main.

① Derived judgments

  • File list: .claude/skills/pm-dispatch/references/lanes/cloud.md only, 4 lines added and 4 removed. Right.
  • Line ratchet: the file is 28 lines at the head against the CEILINGS row of 28 on main; the diff does not touch check-skill-line-ratchet.mjs, so no ceiling moved and no cross-file move is declared. This is the zero-net-growth route the Go comment on the card put first. Right.
  • Line cap: the longest line at the head is 118 bytes (lines 3, 21, 22 and the new line 26), under the 120-byte cap. Right.
  • The ## 范围 heading, its blank lines and its one bullet (3 lines net) became one bullet under ## 形态 with the same text behind a 范围: prefix. No standing rule was cut. No script under scripts/pm/ reads a lane's ## 范围 heading; the one prose pointer to a 范围 section (triage-duties.md line 11) names lanes/devx.md. Right.
  • No issue id in the new lines, as the Go comment ordered. Right.
  • Check-runs: the gate families that read this file are green on the head (Lint · PM dispatch-gates, Lint · repo & tooling gates, Lint · docs & code guards, Lint & Repo Gates, Governed Surface Queue Guard, PR-body guards, Check Changeset). The skipped runs are opt-in jobs, queue-only verdicts, the schedule gate, and build and test shards the path filter leaves out for a docs-only diff: expected, none red.

② Semver level

skip-changeset is right: .claude/** ships in no package. The PR body carries Clause-②: no, and the diff agrees.

③ Boundary flags

  • The dev report's one flag, line_ratchet_route, says zero net growth with the ceiling unchanged and no standing rule cut. Verified in ①.
  • No open_questions.
  • SQL push-down: not applicable, no code.

④ Design judgment

lanes/cloud.md against card #4749 item 2 (the seat-side form of the rule, in the order and Go text the seats hand card threads, plus the #3779 rule) and against the skill on main. The content of the three lines matches the four card rules and the cloud AGENTS.md wording of PR objectstack-ai/cloud#4754. Two findings on how they sit in the skill:

  • S1 (should-fix) — the lead-in 「CI 分钟(维护者令,入派发令与 Go 词):」 is on line 26 only, and lines 27 and 28 are sibling bullets. Rendered as a list, the instruction to put the rule into the order and Go text binds the first bullet alone, yet the card's item 2 exists for exactly that instruction, and line 27 (one push after ready, no merge of main) describes what a card thread does and reaches the thread only through the order. Line 26 also ends without 「。」, unlike every other bullet in the file, which leaves a reader to guess whether the next bullets continue it. Fix: say on line 26 that all three lines go into the order and Go text, and close it. One spelling that fits: 「- CI 分钟三条入派发令与 Go 词(维护者令):pr_ready 前容器跑类型检查与受影响测试,入报告。」 (120 bytes).
  • S2 (should-fix) — the second half of line 27 restates a rule the skill already states, with a different list. execution-duties.md lines 36-38 (并行纪律) say: merge main once before opening the PR and once after a sibling lands, otherwise 「⛔ 不追 main … 只冲突/main 致红/踢出队列才合」, and 「派发令与复读请求 ⛔ 不令主动合」; dispatch-runbook.md line 226 repeats the three reasons. The new line says 「只冲突拒入队列或席位点名理由才合」. A cloud seat reads both. They differ on a sibling landing (ordered there, forbidden here unless the seat names it), on main-caused red and a dequeue (allowed there, not listed here), and on whether an order may tell a thread to merge at all (refused there, the named exception here). The cloud list is the right one for the cloud repo, where the PR run already tests the merge commit; the line does not say that it replaces the general discipline for this lane. Fix: say which governs, or point at cloud AGENTS.md rule 7 in place of restating the list, for example 「合 main 照 cloud AGENTS.md 第 7 条,先于 execution-duties.md 并行纪律」.
  • N1 (nit) — line 26 says 「结果入报告」; the card and cloud AGENTS.md say the command and the result. A thread reads AGENTS.md, so nothing is lost in practice.
  • N2 (nit) — 「Go 词」 is new to the skill, which says 派发令 and 派发词 everywhere else and defines no Go text. The card uses the term and cloud seats post a Go comment, so it is understood on this lane.
  • N3 (nit) — the 范围 bullet now sits under ## 形态, and six sibling lane charters keep a ## 范围 heading. It is the price of the zero-net-growth route the seat ordered; nothing reads the heading.

No must-fix. S1 and S2 are open on this head and earn a delta review of their fix.

Implemented-by: claude/project-thread-ih5nwj
Reviewed-by: session_01JQwxbZqfEd7pcckjz3pGqn-fable-subagent

VERDICT: PASS

…merge-main points to cloud AGENTS.md rule 7

Review round 1 (S1, S2, N1): the order-and-Go lead now covers all three
items, the report carries command and result, and the merge-main item
points to cloud AGENTS.md rule 7 instead of restating a reason list that
differed from the generic merge discipline.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JQwxbXY2nauW96XKVHkXmW
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:cloud#3 · os-warren · session_01JQwxbZqfEd7pcckjz3pGqn

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 98b349f3690bf5fd7bc1457d9d7d711a7291a441
Local-runs: none
Scope: .claude/skills/pm-dispatch/references/lanes/cloud.md + none
Security-touching: no

Delta review of objectstack-ai/objectstack PR #34416 (Part of objectstack-ai/cloud#4749), after the record on head 6c8e71e0. Inputs: the delta between the two heads (3 lines of lanes/cloud.md), the net diff against main, the PR body, the check-runs on this head, and the files the new text cites, read on main: cloud AGENTS.md rule 7, execution-duties.md, dispatch-runbook.md. Everything the earlier record judged outside these three lines is unchanged and stands.

① Derived judgments

  • File list: still lanes/cloud.md only; net 4 lines added and 4 removed against main. The delta rewrites lines 26-28 and nothing else. Right.
  • Line ratchet: 28 lines at this head against the ceiling of 28; the ratchet script is not in the diff. Right.
  • Line cap: lines 26, 27 and 28 are 118, 119 and 115 bytes, under the 120-byte cap. Right.
  • Form: the three rules are now one bullet with two continuation lines indented two spaces under the marker's content column. That is the form the ratchet's own wrapper produces (its self-test rows a list continuation is indented under the marker and no continuation line opens a new markdown block), and the corpus already carries it (contract-review.md lines 35-38 on main). Neither continuation line opens with a list, quote, heading or table marker (「与」 and 「③」). The break after line 26 falls between two Han characters, so it renders with no space; the break after line 27 follows an ASCII ; after an ASCII ), which is not the leaked junction the ratchet refuses and renders as an ordinary space at a clause boundary. Right.
  • No issue id in the new text. Right.
  • Check-runs on this head, read twice: Governed Surface Queue Guard, PR-body guards, Check PR Size and filter are green; the lint and type-check families, Lint · PM dispatch-gates among them, were still in progress at the time of writing, none red. The skipped runs are opt-in, queue-only or path-filtered jobs. The line count and byte widths above are read from the tree; the gate verdict on this head is the check-runs' to give, and the seat reads them complete before it adopts this record.

② Semver level

Unchanged: skip-changeset is right, nothing ships. Clause-②: no on the PR body agrees with the diff.

③ Boundary flags

  • No new dev flag and no open_questions on the card thread for this push.
  • SQL push-down: not applicable, no code.

④ Design judgment

S1: closed
S2: closed

  • On the first: the lead-in now reads 「CI 分钟三条入派发令与 Go 词(维护者令):」 and the three rules follow as ①②③ inside the same bullet, so the instruction binds all three; the bullet ends with 「。」.
  • On the second: the restated exception list is gone. The line now says 「合 main 照 cloud AGENTS.md 第 7 条(先于通用纪律)」: one source for the cloud rule, and a statement that it governs over the general discipline. Cloud AGENTS.md rule 7 on main already carries the rule this points at (a PR behind main needs no action; merge only on a conflict that keeps it out of the queue), and objectstack-ai/cloud#4754 tightens the same sentence, so the pointer is right before and after that PR lands and does not depend on landing order.
  • The earlier nit on line 26 is fixed as well: it now says 「命令与结果入报告」.

No must-fix, no should-fix.

  • N1 (nit) — 「通用纪律」 names no file. A reader has to know it means the 并行纪律 lines of execution-duties.md (36-38) and dispatch-runbook.md line 226. There is no byte room on line 27 (119 of 120) to name them.
  • N2 (nit) — the PR body still describes the earlier wording: its What-changes list says the result goes in the report and spells the merge rule as its own exception list, where the tree now says command and result and defers to cloud AGENTS.md rule 7; 速读 item 3 likewise. The body is not the contract and editing it moves no head; the thread should bring it in line before the maintainer reads it.
  • The two nits left open by the earlier record (「Go 词」 new to the skill; the 范围 bullet under ## 形态) are unchanged and stay nits.

Implemented-by: claude/project-thread-ih5nwj
Reviewed-by: session_01JQwxbZqfEd7pcckjz3pGqn-fable-subagent

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:cloud#3 · os-warren · session_01JQwxbZqfEd7pcckjz3pGqn

ACCEPT · objectstack#34416 @ 98b349f3 (Part of objectstack-ai/cloud#4749, with cloud#3779) · 2026-11-16T15:49Z

  • Contract review: round 1 comment 6921032911 (S1, S2 should-fix); delta comment 6921236828 on this head, PASS, S1: closed, S2: closed, no must-fix, no should-fix.
  • Seat L1: one bullet with one lead-in carries the three CI-minute rules into orders and Go text; ② defers the merge-main rule to cloud AGENTS.md rule 7 instead of restating a list. Ratchet 28/28, lines ≤ 120 B; ratchet, id-lint, governed-prose, skill-links all 0 (gates-4749.txt).
  • Accepted deviations (nits): 「通用纪律」 names no file (no byte room); 「Go 词」 new to the skill; 范围 folded under 形态 for zero net growth.
  • The round-1 commit 6c8e71e0 carries a card-id trailer and a model-named co-author; it is published history and is not rewritten. The squash takes the PR body, so neither reaches main.
  • Governed path (.claude/**, Tier H): stays draft; needs GitHub Approve from hotlong or os-zhuang and the maintainer's hand merge. Companion cloud#4754 is accepted (6921167924).

@os-zhuang
os-zhuang marked this pull request as ready for review November 16, 2026 15:52
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 16, 2026
Merged via the queue into main with commit eb0d480 Nov 16, 2026
48 checks passed
@os-zhuang
os-zhuang deleted the claude/project-thread-ih5nwj branch November 16, 2026 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/xs skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants