Repository navigation
docs(os-dev): never split a card to stay under the 3,000-line review line - #38878
Conversation
…line Claude-Session: https://claude.ai/code/session_01WGufziVTGyPT8jQDhRuAu5 Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufziVTGyPT8jQDhRuAu5 Contract reviewServed-tier: Inputs read: card #38296 (body and all six comments, through scope note 7305995610), the PR body, the file list (one file), the net diff against Rule-change verification. The PR body declares
Every rule-changing hunk copies the quoted ruling, so the line is verified as ① Derived judgments
② Semver levelNothing publishes. ③ Boundary flags
④ Design judgment
Findings:
No must-fix, no should-fix. Implemented-by: VERDICT: PASS |
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhGA3zoCFquQgku4pm L1 review · PR #38878 (#38296, repurposed) · head de60b2f · 2026-12-01T09:09ZACCEPT. I read L2 7306137297 at this head: PASS at the contract-review tier, What I checked:
|
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS 落地Seat check of card #38296's repurposed PR, on its review of record.
State change, made by the owning seat: ready for review and auto-merge. On merge it closes #38296. The open point L2 raised (whether 「按单个 PR 算」 also withdraws the seat-side per-card sum in |
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS 落地Re-arm after a dequeue that is not this PR's. Queue group Head unchanged at |
…the seat side (objectstack-ai#38897) <!-- claude-projects-attribution: {"github_login":"os-support-ai"} --> _Requested by **Yibo Wang** · [project thread](https://claude.ai/code/project/chan_01BVUyyPie8gHwoPM18iABwB?thread=cmsg_01BVUyyPie8gHwoPM18iABwBAaFqBXVHz1V3gDNV3Gped3)_ Refs objectstack-ai#38296 Clause-②: no Metadata-protocol: none Rule-change: ruled Ruling-ref: 「也撤,全部只按单个 PR 算」 (the maintainer's choice on the seat's decision card, 2026-12-01 10:19:48Z, recorded on objectstack-ai#38296 in comment 7308037857, to the question 「「按单个 PR 算」是否也撤掉席位那边的「按卡合计」?」) ## 维护者速读 - 用户无感:席位技能里 3,000 行人审线从「按卡合计」改成「按单个 PR 算」,和守卫脚本、开发指令一致。 - 是你 10:19 选的「也撤,全部只按单个 PR 算」;只改四份席位文字(两处按卡合计,加四行「过线卡」改回原来的按 PR 写法),不碰脚本和守卫。 - 「不为压线拆卡」只在开发指令里(objectstack-ai#38878 那一行),席位文字不另加;「拆分仍交维护者」原文保留;撤回本 PR 即恢复按卡合计的文字。 - 无。 ## What changes The seat skill counted the 3,000-line human-review line per card in two places, and four more lines named an over-line card (「过线卡」, a term those two places defined). All of them now count per single PR: - `.claude/skills/pm-dispatch/references/landing-operations.md`, in the landing bullets: - The 「行数线按卡计」 bullet and its example (two 2,000-line PRs of one card are both Tier H) become: the line is counted per single PR; a PR over 3,000 changed lines (additions + deletions, generated files included) is Tier H, and every other PR of the same card is tiered on its own size. - The next bullet loses 「卡合计席位自加」 (the seat adding up the card total) and now says `--pr N`, the queue guard and the relay all read the single PR. It keeps 「拆分仍交维护者」 and 「派发令 ⛔ 不写「停下提拆分」」 as written. - In the front-of-queue bullets, 「过线卡的 PR 须授权批准…」 goes back to its wording before objectstack-ai#38280: 「逾 3,000 行须授权批准…」. - `.claude/skills/pm-dispatch/references/area-lease.md`: 「受管面与过线卡的 PR 区 ⛔ 不落」 becomes 「受管面与超 3000 行 PR 区 ⛔ 不落」. That is its wording before objectstack-ai#38280, with the thousands comma dropped to fit the file's byte ceiling. - `.claude/skills/pm-dispatch/references/lanes/queue.md`: 「三因至过线卡」 and 「过线卡各 PR 的批准」 go back to 「三因至逾 3,000 行」 and 「逾 3,000 行 PR 的批准」, as before objectstack-ai#38280. - `.claude/skills/pm-dispatch/SKILL.md`, in 路径分叉: 「按卡合计 >3000 行」 becomes 「单个 PR >3000 行」. The rest of the line (the four-part hand-off, no Tier S exception) is unchanged. No script, guard, workflow or other rule file is touched. The guards already count per single PR. ## Why The maintainer ruled at 08:14Z that the guards count per single PR (objectstack-ai#38296 comment 7305111979), and objectstack-ai#38878 forbade a dev from splitting a card to dodge the line. The seat skill still told seats to add up a card's PRs. Asked whether that sum goes too, he chose 「也撤,全部只按单个 PR 算」 (comment 7308037857). This PR makes the seat text agree. ## Tests Text only. No code changed and no test applies. ## Acceptance notes - **Round-1 contract review (comment 7308587752), each finding:** - S1 (should-fix), the seat-side no-split clause went beyond the ruling: dropped. The no-split rule lives only in the dev instructions, as his card choice 「只在开发指令加一行」 said. - S2 (should-fix), 「过线卡」 still appeared in `landing-operations.md`, `area-lease.md` and `lanes/queue.md` after its definition was removed: all four lines go back to their per-PR wording from before objectstack-ai#38280. - N1 (nit), the byte figures in this body were stale: corrected below. - The ratchet ceilings are not raised; every file holds under its row: - `SKILL.md`: 33,324 of 33,327 bytes. - `landing-operations.md`: 10,592 of 10,705 bytes. - `area-lease.md`: 7,220 of 7,220 bytes. - `lanes/queue.md`: 1,992 of 1,992 bytes. - The widest-row pins are unchanged. - No other `.claude/**`, `AGENTS.md` or `skills/**` text sums PRs per card or names an over-line card. A search for 按卡计, 按卡合计, 卡合计, 过线卡, per-card and card total finds nothing else. - objectstack-ai#38296 may already be closed by objectstack-ai#38878, so this pull says `Refs`. - Changeset: none. `.claude/**` is not published (fast path), so `skip-changeset` rides on this create. **Read first:** `.claude/skills/pm-dispatch/references/landing-operations.md`, the two rewritten bullets after 「⛔ 两层不由席位批准」. ## Verification **Two-minute check:** run `pnpm check:pm-skill-ratchet`. You should see `SKILL.md is 33324 bytes (ceiling 33327; headroom 3)`, `landing-operations.md is 10592 bytes (ceiling 10705; headroom 113)`, `area-lease.md is 7220 bytes (ceiling 7220; headroom 0)` and `lanes/queue.md is 1992 bytes (ceiling 1992; headroom 0)`. <details><summary>dispatch-gates command list</summary> `node scripts/pm/dispatch-gates.mjs --commands` for these four paths derived 25 commands, all run locally on a fresh install at head `050a5efd`: - 24 passed (exit 0), among them `check:pm-skill-ratchet`, `check:pm-governed-merges`, `check:pm-expected-skips` and `check:doc-authoring`. - 1 PREREQUISITE NOT MET (exit 3): `pnpm --filter @objectstack/lint run check:doc-formula-expressions` needs the lint and formula packages built. Nothing was measured, and this diff touches no doc formula. </details> ## Human Minimum - [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic. (Not touched.) - [x] 2. Every name I added uses the casing for its kind. (None added.) - [x] 3. No formatter ran; `pnpm lint` passes. - [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.) - [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. (Except the quoted rule text and the 维护者速读, as the fleet rules allow.) - [x] The *Before Submitting* list in CONTRIBUTING.md is done. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01WGufziVTGyPT8jQDhRuAu5 <!-- signed: repo:objectstack@os-support-ai · os-support-ai · session_01WGufziVTGyPT8jQDhRuAu5 --> --------- Co-authored-by: Claude <noreply@anthropic.com>
Requested by Yibo Wang · project thread
Fixes #38296
Clause-②: no
Metadata-protocol: none
Rule-change: ruled
Ruling-ref: 「开发的技能是否可以不要可以拆开绕过审核」 (the maintainer, project thread, 2026-12-01 08:15Z, recorded on #38296 in comment 7305111979), and his card choice "只在开发指令加一行" (2026-12-01 08:55Z, scope note 7305995610)
维护者速读
What changes
.claude/agents/os-dev.md, under "Definition of done", right after the draft-PR line, gets one new line:This is the dev side of the rule. The seat side, where a card's PRs are summed and a split card still goes to the maintainer, already stands in
references/landing-operations.mdand is unchanged. The guard instruments keep counting per single PR, per the maintainer's reversal in comment 7305111979. The per-card guard work in #38866 is withdrawn and closed unmerged.Tests
Text only. No code changed and no test applies.
Acceptance notes
check:pm-skill-ratchet(33,477 of 33,491 bytes, headroom 14). The longer wording first proposed to the maintainer was 85 bytes over that ceiling. The clause it dropped, "a split still goes to the maintainer", is already the seat's rule inlanding-operations.md..claude/**is not published (fast path), soskip-changesetrides on this create.Read first:
.claude/agents/os-dev.md, the added line under "Definition of done".Verification
Two-minute check: run
pnpm check:pm-skill-ratchet. You should see.claude/agents/os-dev.md is 33477 bytes (ceiling 33491; headroom 14).dispatch-gates command list
node scripts/pm/dispatch-gates.mjs --commandsfor this path derived 25 commands, all run locally:check:pm-skill-ratchetafter the compression andcheck:commit-card-trailers.pnpm --filter @objectstack/lint run check:doc-formula-expressionsneeds the lint and formula packages built. Nothing was measured, and this diff touches no doc formula.Human Minimum
packages/specholds no runtime logic. (Not touched.)pnpm lintpasses.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_01WGufziVTGyPT8jQDhRuAu5