From 81949d4ecdb3f374b99266517ca2bea90fd36170 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 28 Nov 2026 23:29:06 +0000 Subject: [PATCH 1/3] docs(agents): count the 3,000-line review line per card in Multi-agent discipline 7(c) 7(c) now reads per card (every PR of a card whose PRs together, merged ones included, change over 3,000 lines) and names pm-dispatch references/landing-operations.md as the rule's home instead of restating the count. Paid by deleting 7(a)'s restatement of Prime Directive #14's list; the AGENTS.md ceiling is lowered 78712 -> 78710 to the landed size. Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01FEkQ5oPfjnm2yWHEwkiYrn --- AGENTS.md | 12 ++++++------ scripts/pm/check-skill-line-ratchet.mjs | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index a8ac48585ec..446b0477e08 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -498,12 +498,12 @@ Even inside your own worktree, operate defensively: ([why](docs/agents/multi-agent-discipline.md#what-the-merge-queue-does-with-your-pr)). ⛔ **These classes of PR never enter this path on green alone:** (a) a diff touching any **governed surface** - (**Prime Directive #14**, which names them and holds the current list — **this file and `CLAUDE.md` are on it**, - so re-read it rather than recalling it); (b) the **Version Packages** PR, or any PR whose merge performs a - release (**Prime Directive #15**); (c) a PR whose **changed lines exceed 3,000** (`additions + deletions`, - generated files included) — it lands the way a Tier H surface does: an authorized APPROVED review and then - the owning seat, or the maintainer's merge or enqueue. Read the PR's file list (`get_files`), **its author and - its size** before you arm anything. + (**Prime Directive #14** holds the current list — re-read it rather than recalling it); (b) the + **Version Packages** PR, or any PR whose merge performs a release (**Prime Directive #15**); (c) every PR of + a card whose PRs together, merged ones included, change **over 3,000 lines** (the rule's home: pm-dispatch + `references/landing-operations.md`) — it lands the way a Tier H surface does: an authorized APPROVED review and + then the owning seat, or the maintainer's merge or enqueue. Read the PR's file list (`get_files`), **its author + and its card's size** before you arm anything. **Green means the gate-carrying jobs' `conclusion` is `success`** — not "no failure yet"; `in_progress` is not a pass, and arming a red PR hides it ([why](docs/agents/multi-agent-discipline.md#arming-a-red-pr-hides-it)). Always diff --git a/scripts/pm/check-skill-line-ratchet.mjs b/scripts/pm/check-skill-line-ratchet.mjs index 8edc49bab6f..dc42680c058 100644 --- a/scripts/pm/check-skill-line-ratchet.mjs +++ b/scripts/pm/check-skill-line-ratchet.mjs @@ -143,7 +143,7 @@ export const CEILINGS = new Map([ ['.claude/skills/checklist-author/SKILL.md', 3574], ['.claude/skills/dogfood-verification/SKILL.md', 9526], ['.claude/skills/spec-property-retirement/SKILL.md', 26922], - ['AGENTS.md', 78712], // raised 78401 → 78712 (+311 B, the volatile-counts rule less the counts it deleted) by ruling records 7233980615 「没用的统计数字直接删,不同步」 and 7234354812 (option A 「上调上限并删无用计数」) under ruling record 6184799323, letter B; raised 78106 → 78401 (+295 B, the merge-queue speed-budget sentence; 1050 → 1053 lines) by ruling record 7044162186 「抬到 1053,整句写进去」 under ruling record 6184799323, letter B + ['AGENTS.md', 78710], // lowered 78712 → 78710 (7(c) reworded to the per-card count, paid by deleting 7(a)'s restatement of Prime Directive #14's list); raised 78401 → 78712 (+311 B, the volatile-counts rule less the counts it deleted) by ruling records 7233980615 「没用的统计数字直接删,不同步」 and 7234354812 (option A 「上调上限并删无用计数」) under ruling record 6184799323, letter B; raised 78106 → 78401 (+295 B, the merge-queue speed-budget sentence; 1050 → 1053 lines) by ruling record 7044162186 「抬到 1053,整句写进去」 under ruling record 6184799323, letter B ['CLAUDE.md', 273], ]); From 5b4052145f8ed06f427d4ce1cfb88066ea0637d3 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 28 Nov 2026 23:32:37 +0000 Subject: [PATCH 2/3] docs(agents): 7(c) reads "total over 3,000 changed lines", paid to net zero bytes Rewords the per-card clause so AGENTS.md lands at its base size (78708 bytes) with no use of the standing headroom; the ceiling follows to 78708. Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01FEkQ5oPfjnm2yWHEwkiYrn --- AGENTS.md | 2 +- scripts/pm/check-skill-line-ratchet.mjs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 446b0477e08..d4d9583dadf 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -500,7 +500,7 @@ Even inside your own worktree, operate defensively: ⛔ **These classes of PR never enter this path on green alone:** (a) a diff touching any **governed surface** (**Prime Directive #14** holds the current list — re-read it rather than recalling it); (b) the **Version Packages** PR, or any PR whose merge performs a release (**Prime Directive #15**); (c) every PR of - a card whose PRs together, merged ones included, change **over 3,000 lines** (the rule's home: pm-dispatch + a card whose PRs, merged ones included, total **over 3,000 changed lines** (the rule's home: pm-dispatch `references/landing-operations.md`) — it lands the way a Tier H surface does: an authorized APPROVED review and then the owning seat, or the maintainer's merge or enqueue. Read the PR's file list (`get_files`), **its author and its card's size** before you arm anything. diff --git a/scripts/pm/check-skill-line-ratchet.mjs b/scripts/pm/check-skill-line-ratchet.mjs index dc42680c058..fc8187e3f61 100644 --- a/scripts/pm/check-skill-line-ratchet.mjs +++ b/scripts/pm/check-skill-line-ratchet.mjs @@ -143,7 +143,7 @@ export const CEILINGS = new Map([ ['.claude/skills/checklist-author/SKILL.md', 3574], ['.claude/skills/dogfood-verification/SKILL.md', 9526], ['.claude/skills/spec-property-retirement/SKILL.md', 26922], - ['AGENTS.md', 78710], // lowered 78712 → 78710 (7(c) reworded to the per-card count, paid by deleting 7(a)'s restatement of Prime Directive #14's list); raised 78401 → 78712 (+311 B, the volatile-counts rule less the counts it deleted) by ruling records 7233980615 「没用的统计数字直接删,不同步」 and 7234354812 (option A 「上调上限并删无用计数」) under ruling record 6184799323, letter B; raised 78106 → 78401 (+295 B, the merge-queue speed-budget sentence; 1050 → 1053 lines) by ruling record 7044162186 「抬到 1053,整句写进去」 under ruling record 6184799323, letter B + ['AGENTS.md', 78708], // lowered 78712 → 78708 (7(c) reworded to the per-card count, paid by deleting 7(a)'s restatement of Prime Directive #14's list); raised 78401 → 78712 (+311 B, the volatile-counts rule less the counts it deleted) by ruling records 7233980615 「没用的统计数字直接删,不同步」 and 7234354812 (option A 「上调上限并删无用计数」) under ruling record 6184799323, letter B; raised 78106 → 78401 (+295 B, the merge-queue speed-budget sentence; 1050 → 1053 lines) by ruling record 7044162186 「抬到 1053,整句写进去」 under ruling record 6184799323, letter B ['CLAUDE.md', 273], ]); From fac77ca6284d449a944f0b7e37691d7e0937a747 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 29 Nov 2026 00:49:59 +0000 Subject: [PATCH 3/3] docs(agents): 7(c) counts a PR that names no card as a card of one Round 2 of the per-card rewording. A PR naming no card is a card of one, so class (c) and the arming check ("its card's total") still hold it by its own size while a carded PR is counted only with its card. "generated files included" is back. Paid by deleting 7(c)'s restatement of how a Tier H surface lands (Prime Directive 14 states it). AGENTS.md 78704 -> 78675 bytes; the ceiling follows to 78675. Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01FEkQ5oPfjnm2yWHEwkiYrn --- AGENTS.md | 8 ++++---- scripts/pm/check-skill-line-ratchet.mjs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 44fa37313c0..4da782cff96 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -500,10 +500,10 @@ Even inside your own worktree, operate defensively: ⛔ **These classes of PR never enter this path on green alone:** (a) a diff touching any **governed surface** (**Prime Directive #14** holds the current list — re-read it rather than recalling it); (b) the **Version Packages** PR, or any PR whose merge performs a release (**Prime Directive #15**); (c) every PR of - a card whose PRs, merged ones included, total **over 3,000 changed lines** (the rule's home: pm-dispatch - `references/landing-operations.md`) — it lands the way a Tier H surface does: an authorized APPROVED review and - then the owning seat, or the maintainer's merge or enqueue. Read the PR's file list (`get_files`), **its author - and its card's size** before you arm anything. + a card whose PRs, merged ones included, total **over 3,000 changed lines** (generated files included; + a PR naming no card is a card of one; the rule's home: pm-dispatch `references/landing-operations.md`) — it + lands the way a Tier H surface does. Read the PR's file list (`get_files`), **its author and its card's total** + before you arm anything. **Green means the gate-carrying jobs' `conclusion` is `success`** — not "no failure yet"; `in_progress` is not a pass, and arming a red PR hides it ([why](docs/agents/multi-agent-discipline.md#arming-a-red-pr-hides-it)). Always diff --git a/scripts/pm/check-skill-line-ratchet.mjs b/scripts/pm/check-skill-line-ratchet.mjs index 42c1fab493f..0a07fa9a39c 100644 --- a/scripts/pm/check-skill-line-ratchet.mjs +++ b/scripts/pm/check-skill-line-ratchet.mjs @@ -143,7 +143,7 @@ export const CEILINGS = new Map([ ['.claude/skills/checklist-author/SKILL.md', 3574], ['.claude/skills/dogfood-verification/SKILL.md', 9526], ['.claude/skills/spec-property-retirement/SKILL.md', 26922], - ['AGENTS.md', 78708], // lowered 78712 → 78708 (7(c) reworded to the per-card count, paid by deleting 7(a)'s restatement of Prime Directive #14's list); raised 78401 → 78712 (+311 B, the volatile-counts rule less the counts it deleted) by ruling records 7233980615 「没用的统计数字直接删,不同步」 and 7234354812 (option A 「上调上限并删无用计数」) under ruling record 6184799323, letter B; raised 78106 → 78401 (+295 B, the merge-queue speed-budget sentence; 1050 → 1053 lines) by ruling record 7044162186 「抬到 1053,整句写进去」 under ruling record 6184799323, letter B + ['AGENTS.md', 78675], // lowered 78712 → 78675, the landed size: 7(c) counts per card, paid by deletion inside Multi-agent discipline item 7 (78704 → 78675 B), and the 8 B of standing headroom are given back; raised 78401 → 78712 (+311 B, the volatile-counts rule less the counts it deleted) by ruling records 7233980615 「没用的统计数字直接删,不同步」 and 7234354812 (option A 「上调上限并删无用计数」) under ruling record 6184799323, letter B; raised 78106 → 78401 (+295 B, the merge-queue speed-budget sentence; 1050 → 1053 lines) by ruling record 7044162186 「抬到 1053,整句写进去」 under ruling record 6184799323, letter B ['CLAUDE.md', 273], ]);