Commit 21e36a2
* docs(pm-dispatch): read the verify-lock queue depth before each dispatch and hold at depth >= 2
The dispatch cap counts cards in flight; the container-wide heavy-verify lock
is one unit wide, and the measured exit-99 (NOT MEASURED) rate is a function
of arrival queue depth alone: 1% / 23% / 36% / 56% at depth 1 / 2 / 3 / 4.
The PM loop now reads `scripts/pm/os-verify-lock.sh --status` before the
N-th dispatch and waits while the arrival depth (`queue N:` lines + the
dev's own run; holder and parked slots not counted) would reach
LOCK_DEPTH_HOLD = 2. The nominal `batch` cap is unchanged; `priority:p0`
may still exceed `batch` but does not cross the depth hold.
Both places carry the rule (SKILL.md and references/core-rules.md). The four
added lines are paid inside the same file by four same-topic merges, so the
line ratchet stays at its ceilings.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Vbw3RPgdtqesx4azk9SbW8
* docs(pm-dispatch): re-fold the depth-hold rules onto main after #16339
The merge of origin/main brought SKILL.md to 813 lines against a ceiling of
811: both sides were line-neutral against the merge base, but the folds this
branch used to pay for its four depth-hold lines landed in regions main had
re-folded independently, so the resolution kept both. Pay the +2 with two more
same-topic folds inside the same file — no rule removed, no ceiling raised, no
cross-file move:
- the two seat invariants "循环必须能从全新会话恢复" and "PM 不写文件、不写代码"
join on one line (112 bytes); the separator before 唯一例外 drops from ; to ,
so the exception still reads as the no-writing rule's, not the recovery one's.
- the two conditional-clause items 拒收用例 and 过滤/谓词语义 join on one line
(119 bytes) inside the enumeration they already belong to.
Ratchet reads SKILL.md 811/811 headroom 0, widest table row 342 (pin 342),
core-rules.md 150/150. Every prose line stays within the 120-byte budget.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TezFG8ZMrNH6n5VTNpPpdH
---------
Co-authored-by: Claude <noreply@anthropic.com>
1 parent abb140c commit 21e36a2
2 files changed
Lines changed: 11 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
286 | | - | |
| 285 | + | |
287 | 286 | | |
288 | 287 | | |
289 | 288 | | |
| |||
436 | 435 | | |
437 | 436 | | |
438 | 437 | | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
439 | 442 | | |
440 | 443 | | |
441 | 444 | | |
| |||
521 | 524 | | |
522 | 525 | | |
523 | 526 | | |
524 | | - | |
525 | | - | |
| 527 | + | |
526 | 528 | | |
527 | 529 | | |
528 | 530 | | |
| |||
550 | 552 | | |
551 | 553 | | |
552 | 554 | | |
553 | | - | |
554 | | - | |
| 555 | + | |
555 | 556 | | |
556 | 557 | | |
557 | 558 | | |
| |||
701 | 702 | | |
702 | 703 | | |
703 | 704 | | |
704 | | - | |
705 | | - | |
| 705 | + | |
706 | 706 | | |
707 | 707 | | |
708 | 708 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
0 commit comments