Repository navigation
Commit 01a80a0
docs(os-dev): never split a card to stay under the 3,000-line review line (#38878)
<!-- claude-projects-attribution: {"github_login":"os-support-ai"} -->
_Requested by **Yibo Wang** · [project
thread](https://claude.ai/code/project/chan_01BVUyyPie8gHwoPM18iABwB?thread=cmsg_01BVUyyPie8gHwoPM18iABwBAaFqBXVHz1V3gDNV3Gped3)_
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)
## 维护者速读
- 用户无感:开发子代理的指令里加一句,不准为了压到 3,000 行人审线以下把一张卡拆成多个 PR,超线就开一个 PR 走人审。
- 是你撤掉"守卫按卡合计"之后要的替代做法:守卫照旧按单个 PR 计,改为在开发侧直接禁止拆卡绕审核。
- 只改一行指令文字,不碰任何脚本;写错了直接撤回这一行即可。
- 无。
## What changes
`.claude/agents/os-dev.md`, under "Definition of done", right after the
draft-PR line, gets one new line:
> - ⛔ 不为压 3,000 行人审线拆卡:超线一个 PR 走人审。
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.md` and 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
- The line was compressed to 70 bytes to fit the file's byte ceiling in
`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 in `landing-operations.md`.
- Changeset: none. `.claude/**` is not published (fast path), so
`skip-changeset` rides 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)`.
<details><summary>dispatch-gates command list</summary>
`node scripts/pm/dispatch-gates.mjs --commands` for this path derived 25
commands, all run locally:
- 24 passed (exit 0), among them `check:pm-skill-ratchet` after the
compression and `check:commit-card-trailers`.
- 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 line 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
Co-authored-by: Claude <noreply@anthropic.com>1 parent 76f8ec9 commit 01a80a0
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
| 216 | + | |
216 | 217 | | |
217 | 218 | | |
218 | 219 | | |
| |||
0 commit comments