Skip to content

Commit 9ebfabc

Browse files
committed
docs(agents): the merge-queue speed budget is a rule sentence in AGENTS.md Build & Test
The bare pointer to scripts/ci/queue-budget.json becomes the card's item-4 sentence in full, linked to its companion section: the budget file, read weekly, an over week files one speed-up card, and a PR that changes CI or adds a gate reports the affected job's before/after median as advisory, never a gate. The companion section keeps the explanation only. AGENTS.md grows 78011 -> 78306 bytes against main (+295), 1050 -> 1053 lines. Its byte ceiling moves 78106 -> 78401 by that delta, as ruling record 7044162186 orders under standing ruling record 6184799323, letter B. Claude-Session: https://claude.ai/code/session_01L6bhgWSASohaoSSt6uSFPv Co-authored-by: Claude <noreply@anthropic.com>
1 parent 810787e commit 9ebfabc

3 files changed

Lines changed: 10 additions & 6 deletions

File tree

‎AGENTS.md‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,10 @@ measured budget with its class (ruling record 6181973363), is its lane's card, f
144144
never deleted; a test is deleted only when its PR names a duplicate pinning that assertion at a
145145
layer at least as close to the code (ruling record 6120820653).
146146
A new pin for a component that already has a shared harness file goes into that file as a
147-
top-level `describe`, not a new file (ruling record 6583487846). Queue speed budget: `scripts/ci/queue-budget.json`.
147+
top-level `describe`, not a new file (ruling record 6583487846). The merge queue's speed budget is
148+
`scripts/ci/queue-budget.json`, read weekly; an over week files one speed-up card; a PR that changes CI or adds a gate
149+
reports the affected job's before/after median as advisory, never a gate
150+
([why](docs/agents/build-and-test.md#the-merge-queue-speed-budget)).
148151

149152
### Running the dev server
150153

‎docs/agents/build-and-test.md‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ your `ui/` src — only `:5180` reflects local UI edits.
7777

7878
← [`AGENTS.md` › Build & Test](../../AGENTS.md#build--test)
7979

80-
The merge queue has a speed budget in `scripts/ci/queue-budget.json`: a 22-minute median and a 32-minute p90
81-
alarm, the maintainer's numbers to change. `queue-duration-budget.yml` reads the last 7 days of queue runs every
82-
week and files or refreshes one speed-up card when the queue is over. A PR that changes CI or adds a gate reports
83-
its job's before/after median in its body as advisory, never as a gate.
80+
The numbers in `scripts/ci/queue-budget.json` are the maintainer's: a 22-minute median and a 32-minute p90 alarm,
81+
set against the `merge_group` baseline the file records. Every Monday `queue-duration-budget.yml` reads the last
82+
7 days of queue runs with `scripts/ci/queue-duration.mjs`, whose header defines what one reading measures; an over
83+
week files or refreshes the one speed-up card, and a week within budget writes nothing. A PR's own before/after
84+
median stays advisory because a gate grading a duration reports and never reds a required job.

‎scripts/pm/check-skill-line-ratchet.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export const CEILINGS = new Map([
138138
['.claude/skills/checklist-author/SKILL.md', 3574],
139139
['.claude/skills/dogfood-verification/SKILL.md', 9526],
140140
['.claude/skills/spec-property-retirement/SKILL.md', 26922],
141-
['AGENTS.md', 78106],
141+
['AGENTS.md', 78401], // 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
142142
['CLAUDE.md', 273],
143143
]);
144144

0 commit comments

Comments
 (0)