@feigi/fleet-ctl 3.23.36 → 3.23.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. package/package.json +1 -1
  2. package/scripts/cell-readout.mjs +38 -11
  3. package/scripts/main-checkout.mjs +1 -1
  4. package/scripts/member-write-guard.mjs +1 -1
  5. package/scripts/repo-root.mjs +1 -1
  6. package/skills/run-team/references/reaping.md +1 -1
  7. package/scripts/agent-test-dir-prose.test.mjs +0 -59
  8. package/scripts/agent-test.test.mjs +0 -1640
  9. package/scripts/ambient-git-vars-mjs-prose.test.mjs +0 -397
  10. package/scripts/ambient-git-vars-prose.test.mjs +0 -192
  11. package/scripts/ancestry-check-position-prose.test.mjs +0 -175
  12. package/scripts/apply-ruleset.test.mjs +0 -421
  13. package/scripts/arg-header-probes-prose.test.mjs +0 -394
  14. package/scripts/arg.test.mjs +0 -1354
  15. package/scripts/board-cli.test.mjs +0 -710
  16. package/scripts/board-identity.test.mjs +0 -429
  17. package/scripts/board-liveness-banner.test.mjs +0 -119
  18. package/scripts/board-prev-shape.test.mjs +0 -228
  19. package/scripts/board-tryparse-null.test.mjs +0 -119
  20. package/scripts/board.test.mjs +0 -3121
  21. package/scripts/brief-after-cut-prose.test.mjs +0 -53
  22. package/scripts/candidates-exit3-prose.test.mjs +0 -302
  23. package/scripts/candidates.test.mjs +0 -2312
  24. package/scripts/caveat-unification-prose.test.mjs +0 -98
  25. package/scripts/cell-readout.test.mjs +0 -615
  26. package/scripts/ci-comment-rot-prose.test.mjs +0 -2025
  27. package/scripts/ci-completes-premise-prose.test.mjs +0 -257
  28. package/scripts/ci-state-prose.test.mjs +0 -113
  29. package/scripts/ci-state.test.mjs +0 -1933
  30. package/scripts/ci-vacuous-green.test.mjs +0 -368
  31. package/scripts/citation-sweep-prose.test.mjs +0 -1712
  32. package/scripts/claim-lifecycle.test.mjs +0 -187
  33. package/scripts/claim-ticket.test.mjs +0 -1122
  34. package/scripts/closing-keyword-prose.test.mjs +0 -193
  35. package/scripts/cockpit-launch-idempotent-prose.test.mjs +0 -165
  36. package/scripts/cockpit-tick-nonblocking.test.mjs +0 -210
  37. package/scripts/compute-board.test.mjs +0 -1214
  38. package/scripts/compute-spend.test.mjs +0 -517
  39. package/scripts/consumer-technology-prose.test.mjs +0 -126
  40. package/scripts/cross-repo-citation-prose.test.mjs +0 -155
  41. package/scripts/cwd-isolation-pins.mjs +0 -83
  42. package/scripts/dedupe-guard-prose.test.mjs +0 -243
  43. package/scripts/delete-merged-branch.test.mjs +0 -576
  44. package/scripts/derive-testcmd.test.mjs +0 -595
  45. package/scripts/diff-stats.test.mjs +0 -404
  46. package/scripts/dispatch-block-golden-prose.test.mjs +0 -1130
  47. package/scripts/dispatch-block-pins-prose.test.mjs +0 -615
  48. package/scripts/dispositions-check.test.mjs +0 -936
  49. package/scripts/dispositions-gate-prose.test.mjs +0 -129
  50. package/scripts/drop-merged-label.test.mjs +0 -479
  51. package/scripts/exec-stub.mjs +0 -93
  52. package/scripts/exec-stub.test.mjs +0 -69
  53. package/scripts/expected-jobs-prose.test.mjs +0 -80
  54. package/scripts/fan-out-authorization-prose.test.mjs +0 -80
  55. package/scripts/filing-bar-seat-prose.test.mjs +0 -242
  56. package/scripts/filing-claim-bar-prose.test.mjs +0 -166
  57. package/scripts/finisher-died-prose.test.mjs +0 -31
  58. package/scripts/finisher-dispatch-premise-prose.test.mjs +0 -312
  59. package/scripts/finisher-halt-prose.test.mjs +0 -106
  60. package/scripts/finisher-name-prose.test.mjs +0 -134
  61. package/scripts/finisher-own-tree-prose.test.mjs +0 -299
  62. package/scripts/finisher-pin-race-prose.test.mjs +0 -339
  63. package/scripts/finisher-test-verdict-prose.test.mjs +0 -102
  64. package/scripts/fix-applier-correction-rules-prose.test.mjs +0 -202
  65. package/scripts/fix-applier-result-file-prose.test.mjs +0 -149
  66. package/scripts/fleet-bootstrap.test.mjs +0 -75
  67. package/scripts/fleet-heartbeat.test.mjs +0 -450
  68. package/scripts/fleet-provenance.test.mjs +0 -138
  69. package/scripts/fleet-run.test.mjs +0 -90
  70. package/scripts/fleet-state.test.mjs +0 -460
  71. package/scripts/fleet-tick-prose.test.mjs +0 -300
  72. package/scripts/fleet-tick.test.mjs +0 -2444
  73. package/scripts/force-with-lease-reason-prose.test.mjs +0 -184
  74. package/scripts/frontmatter-check.test.mjs +0 -436
  75. package/scripts/git-env.test.mjs +0 -149
  76. package/scripts/git-status-untracked-mode-sweep.test.mjs +0 -216
  77. package/scripts/gone-walk.test.mjs +0 -213
  78. package/scripts/gp-sep-invariant-prose.test.mjs +0 -188
  79. package/scripts/head-moved-after-label-prose.test.mjs +0 -233
  80. package/scripts/immutable-body-claim-prose.test.mjs +0 -204
  81. package/scripts/implementer-model-tier.test.mjs +0 -235
  82. package/scripts/inflight-citation-prose.test.mjs +0 -144
  83. package/scripts/inflight-exit2-prose.test.mjs +0 -81
  84. package/scripts/inflight-probe-guard-prose.test.mjs +0 -109
  85. package/scripts/inflight-scan-scope-prose.test.mjs +0 -57
  86. package/scripts/inflight.test.mjs +0 -2882
  87. package/scripts/injection-control-prose.test.mjs +0 -404
  88. package/scripts/install-root-audit.test.mjs +0 -464
  89. package/scripts/instrument-check-prose.test.mjs +0 -235
  90. package/scripts/instruments.test.mjs +0 -787
  91. package/scripts/is-cli.test.mjs +0 -99
  92. package/scripts/issue-tracker-prose.test.mjs +0 -71
  93. package/scripts/json.test.mjs +0 -364
  94. package/scripts/ledger-dispatch.test.mjs +0 -927
  95. package/scripts/ledger-grammar.test.mjs +0 -227
  96. package/scripts/ledger-read-require-file.test.mjs +0 -197
  97. package/scripts/ledger-rotate.test.mjs +0 -142
  98. package/scripts/ledger.test.mjs +0 -3436
  99. package/scripts/line-distance-prose.test.mjs +0 -245
  100. package/scripts/liveness-rationale-prose.test.mjs +0 -83
  101. package/scripts/locale-pin-prose.test.mjs +0 -189
  102. package/scripts/main-checkout.test.mjs +0 -332
  103. package/scripts/member-outcome-prose.test.mjs +0 -167
  104. package/scripts/member-outcomes-header.test.mjs +0 -129
  105. package/scripts/member-outcomes-prose.test.mjs +0 -63
  106. package/scripts/member-outcomes.test.mjs +0 -638
  107. package/scripts/member-prompt-prose.test.mjs +0 -165
  108. package/scripts/member-record.test.mjs +0 -541
  109. package/scripts/member-write-guard.test.mjs +0 -214
  110. package/scripts/merge-commit-probe-prose.test.mjs +0 -122
  111. package/scripts/merge-gate.test.mjs +0 -613
  112. package/scripts/muted-git-guard-sweep.test.mjs +0 -493
  113. package/scripts/net-ssh-precedence-prose.test.mjs +0 -91
  114. package/scripts/net-watchdog-prose.test.mjs +0 -79
  115. package/scripts/net.test.mjs +0 -211
  116. package/scripts/no-ci-gate-prose.test.mjs +0 -108
  117. package/scripts/no-undo-audit.test.mjs +0 -3961
  118. package/scripts/no-wave.test.mjs +0 -138
  119. package/scripts/node-floor-sweep.test.mjs +0 -611
  120. package/scripts/pointer-target-prose.test.mjs +0 -186
  121. package/scripts/pr-cost.test.mjs +0 -521
  122. package/scripts/pr-overlap.test.mjs +0 -692
  123. package/scripts/printf-die-sweep.test.mjs +0 -384
  124. package/scripts/prompt-renderer.mjs +0 -40
  125. package/scripts/prompt-renderer.test.mjs +0 -68
  126. package/scripts/prose-pin.mjs +0 -807
  127. package/scripts/prose-pin.test.mjs +0 -1034
  128. package/scripts/prove-merge.test.mjs +0 -995
  129. package/scripts/pull-table-relabel-prose.test.mjs +0 -60
  130. package/scripts/quiet-payload-prose.test.mjs +0 -222
  131. package/scripts/reap-cherry-check-prose.test.mjs +0 -80
  132. package/scripts/reap.test.mjs +0 -4432
  133. package/scripts/reaping-prose.test.mjs +0 -239
  134. package/scripts/reaping-reap-authorizers-prose.test.mjs +0 -112
  135. package/scripts/reaping-release-authorizers-prose.test.mjs +0 -85
  136. package/scripts/recipe-derivation-prose.test.mjs +0 -112
  137. package/scripts/recipe-prove.test.mjs +0 -1042
  138. package/scripts/refuter-scratch-prose.test.mjs +0 -135
  139. package/scripts/release-label-required-prose.test.mjs +0 -71
  140. package/scripts/release-label-split-prose.test.mjs +0 -184
  141. package/scripts/release-ticket-reap-pairing-prose.test.mjs +0 -63
  142. package/scripts/release-ticket.test.mjs +0 -5099
  143. package/scripts/renovate-release-contract.test.mjs +0 -379
  144. package/scripts/repo-root.test.mjs +0 -873
  145. package/scripts/reporter-output-rule-prose.test.mjs +0 -208
  146. package/scripts/review-agent-report-only.test.mjs +0 -49
  147. package/scripts/review-core-booking.test.mjs +0 -35
  148. package/scripts/review-core-cwd-isolation.test.mjs +0 -374
  149. package/scripts/review-core-reads.test.mjs +0 -478
  150. package/scripts/review-core-refuter-scratch.test.mjs +0 -148
  151. package/scripts/review-core-scratch-refusal.test.mjs +0 -64
  152. package/scripts/review-core-shared-test-run.test.mjs +0 -275
  153. package/scripts/review-core-snapshot-path.test.mjs +0 -830
  154. package/scripts/review-core-specialist-scratch.test.mjs +0 -191
  155. package/scripts/review-core-testcmd.test.mjs +0 -335
  156. package/scripts/review-core-unrun.test.mjs +0 -566
  157. package/scripts/review-core-unverified-discriminant.test.mjs +0 -208
  158. package/scripts/review-eval-resolver-path.test.mjs +0 -55
  159. package/scripts/review-host-fixture.mjs +0 -89
  160. package/scripts/review-in-run-retry.test.mjs +0 -211
  161. package/scripts/review-no-vendor-dispatch.test.mjs +0 -45
  162. package/scripts/review-path-default.test.mjs +0 -796
  163. package/scripts/review-runner-spawns.test.mjs +0 -95
  164. package/scripts/review-runner.test.mjs +0 -166
  165. package/scripts/review-tier-audit.test.mjs +0 -140
  166. package/scripts/run-artifact-pr-prose.test.mjs +0 -341
  167. package/scripts/run-merge-bot-prose.test.mjs +0 -1413
  168. package/scripts/run-team-local-hook.test.mjs +0 -442
  169. package/scripts/scratch-partition-invariant-prose.test.mjs +0 -74
  170. package/scripts/scripts-path-citation-sweep.test.mjs +0 -73
  171. package/scripts/section-between-guard-prose.test.mjs +0 -379
  172. package/scripts/select-dimensions.test.mjs +0 -674
  173. package/scripts/shared-refusal.test.mjs +0 -388
  174. package/scripts/shell-traps-prose.test.mjs +0 -504
  175. package/scripts/shortlist.test.mjs +0 -380
  176. package/scripts/slow-transport.mjs +0 -72
  177. package/scripts/snapshot-repo.test.mjs +0 -1006
  178. package/scripts/snapshot-runner-audience-prose.test.mjs +0 -130
  179. package/scripts/spend-view.test.mjs +0 -312
  180. package/scripts/staleness-qualifier-prose.test.mjs +0 -251
  181. package/scripts/staleness-verdict-prose.test.mjs +0 -142
  182. package/scripts/staleness.test.mjs +0 -893
  183. package/scripts/stalled-member-liveness-prose.test.mjs +0 -219
  184. package/scripts/stash-prohibition-prose.test.mjs +0 -313
  185. package/scripts/strip-comments.mjs +0 -44
  186. package/scripts/temp-dir.mjs +0 -47
  187. package/scripts/ticket-router.test.mjs +0 -981
  188. package/scripts/tier-check.test.mjs +0 -828
  189. package/scripts/tier-outcomes-header.test.mjs +0 -518
  190. package/scripts/tier-outcomes.test.mjs +0 -572
  191. package/scripts/tier-roles.test.mjs +0 -535
  192. package/scripts/tracker-block-copy-prose.test.mjs +0 -288
  193. package/scripts/triage-labels-gloss-prose.test.mjs +0 -97
  194. package/scripts/unattended-git-sweep.test.mjs +0 -142
  195. package/scripts/verify-sha-exit2-prose.test.mjs +0 -269
  196. package/scripts/verify-sha.test.mjs +0 -692
  197. package/scripts/watcher-degraded-block.test.mjs +0 -369
  198. package/scripts/watcher-key-prose.test.mjs +0 -106
  199. package/scripts/within-run-pair-prose.test.mjs +0 -212
  200. package/scripts/worktree-audit.test.mjs +0 -1408
  201. package/scripts/worktree-head-prose.test.mjs +0 -276
  202. package/scripts/worktree-listing-sweep.test.mjs +0 -217
  203. package/scripts/worktree-model-prose.test.mjs +0 -216
  204. package/scripts/worktree-porcelain.mjs +0 -35
  205. package/scripts/worktree-porcelain.test.mjs +0 -102
@@ -1,212 +0,0 @@
1
- import { test } from "node:test";
2
- import assert from "node:assert/strict";
3
- import { readFileSync } from "node:fs";
4
- import { join } from "node:path";
5
- import { between as section } from "./prose-pin.mjs";
6
-
7
- // #864's finding is that tier is entangled with calendar date and therefore
8
- // with prompt evolution — 8 of 9 sonnet rows in one week, 23 of 24 opus rows in
9
- // the next. Dispatching every 5th Pull at an exploration cell (ADR 0013 §6 and
10
- // its 2026-09-28 Amendment, which replaced the alternate tier with the cell
11
- // draw) makes the cell orthogonal to date BY CONSTRUCTION, which is the only
12
- // thing that lets the accumulated rows ever answer the question they are
13
- // collected for.
14
- //
15
- // This is the one part of the change that costs something on every run, so it
16
- // is also the part a compression pass is likeliest to quietly drop. These pins
17
- // are what notices.
18
- const REPO = join(import.meta.dirname, "..");
19
- const RUN_TEAM = readFileSync(join(REPO, "skills", "run-team", "SKILL.md"), "utf8");
20
-
21
- // Paragraph-tight, and deliberately NARROWER than the dispatch slice in
22
- // implementer-model-tier.test.mjs: widened to the phase, the tier-guard
23
- // paragraphs below would satisfy half of these pins on their own.
24
- const dispatch = () =>
25
- section(RUN_TEAM, "**Dispatch every implementer", "The raw split still favours the top tier", "run-team phase 2 dispatch rule");
26
-
27
- test("phase 2 dispatches an exploration cell's implementer on every 5th Pull", () => {
28
- const slice = dispatch();
29
- assert.match(slice, /fleet-implementer-<cell>/, "phase 2 no longer dispatches an exploration cell at all");
30
- // The RATE, not just the existence. "Dispatch some at an exploration cell"
31
- // reproduces the block design the pairing exists to replace.
32
- //
33
- // Bound to `exploration cell` inside one sentence: an unbound rate pin once
34
- // stayed GREEN through exactly that mutation, because the "**Why one … and
35
- // not a week…**" rationale below satisfied it on its own. The rate has to be
36
- // pinned where the rate is ORDERED, not wherever the words co-occur. Order is
37
- // not assumed — the mirrored phrasing binds the same rate.
38
- assert.match(
39
- slice,
40
- /every 5th Pull[^.]{0,60}exploration cell|exploration cell[^.]{0,60}every 5th Pull/i,
41
- "phase 2 no longer orders the rate — every 5th Pull is what makes the pair within-run",
42
- );
43
- });
44
-
45
- // The RATE pin above catches "every 5th Pull" going missing or reworded to a
46
- // different fraction, but not the MECHANISM that fraction is measured
47
- // against. Confirmed live: a contradicting cadence ("row 2, 4, 6 …") stays
48
- // green through every existing run-team prose test, because nothing reads
49
- // the concrete row-count claim — only the "every 5th Pull" phrase two
50
- // sentences above it.
51
- test("phase 2 counts the exploration cell by ledger row 5, 10, 15 …, not by any other cadence", () => {
52
- const slice = dispatch();
53
- assert.match(
54
- slice,
55
- /the Pull that creates row 5, 10, 15 …/,
56
- "phase 2 no longer names row 5, 10, 15 … as the concrete exploration-cell cadence",
57
- );
58
- });
59
-
60
- test("phase 2 does not tell the exploration member it is a control", () => {
61
- // A member that knows it is being measured is not measuring the same thing.
62
- assert.match(
63
- dispatch(),
64
- /do not tell the member it is a control/i,
65
- "phase 2 no longer withholds the control status from the member",
66
- );
67
- });
68
-
69
- test("phase 2 does NOT ask the controller to label the control", () => {
70
- // A hand-set control column would not survive the metrics file's
71
- // regeneration, and one derived against today's declared tiers would
72
- // mislabel every historical row. The pairing is a QUERY over
73
- // member-outcomes.tsv: a session+role carrying more than one distinct model.
74
- const slice = dispatch();
75
- assert.doesNotMatch(
76
- slice,
77
- /control=yes|mark .{0,20}control/i,
78
- "phase 2 asks for a hand-set control label — it cannot survive a regeneration",
79
- );
80
- assert.match(
81
- slice,
82
- /member-outcomes\.tsv/,
83
- "phase 2 no longer says where the pairing is recovered from, so the label comes back",
84
- );
85
- });
86
-
87
- test("phase 2 says why the pairing is within-run and not week-by-week", () => {
88
- // Without the reason, the every-5th-Pull rate reads as arbitrary overhead and the next
89
- // cost-trimming pass converts it back into a block design — which is the
90
- // state #864 documents.
91
- assert.match(
92
- dispatch(),
93
- /confounded with calendar date|confounded with the calendar/i,
94
- "phase 2 no longer says what within-run pairing buys — the rate reads as arbitrary cost",
95
- );
96
- });
97
-
98
- // The cells' definitions — named for their routes, bodies byte-identical — are
99
- // pinned in implementer-model-tier.test.mjs, over every
100
- // `fleet-implementer-<cell>` file on disk. The old two-definition pins here
101
- // (#1801's body identity, and the alternate differing from the default in
102
- // ROLE ONLY) went with the pair: the grid varies role, level, or both by
103
- // design (spec 2026-09-28 § 2).
104
-
105
- test("phase 2 counts the rate off the ledger's impl- rows, and a replacement does not count again", () => {
106
- // The pin above binds the WORDS, not a countable rule — the same gap the old
107
- // one-per-staged-set rate had, measured then: appending either explicit
108
- // resolution of its wording left every assertion GREEN while the two readings
109
- // differed by an order of magnitude in how much of the fleet ran off the
110
- // default.
111
- //
112
- // Under Pull the count is the ledger's (ADR 0013 §6), and what disambiguates
113
- // it is what a row IS: one `impl-` row per pulled ticket, so a replacement
114
- // member inherits its row's tier instead of drawing a Pull number of its
115
- // own. Without that clause a killed-and-replaced member shifts every later
116
- // exploration assignment by one, silently.
117
- const slice = dispatch();
118
- assert.match(
119
- slice,
120
- /Count\s+the\s+`impl-`\s+rows\s+in\s+`\.fleet\/ledger\.md`\s+at\s+Pull\s+time/,
121
- "phase 2 no longer says what the every-5th count is counted over — the rate is ambiguous again",
122
- );
123
- assert.match(
124
- slice,
125
- /records\s+`tier=<cell>`\s+in\s+the\s+row,\s+and\s+a\s+replacement\s+inherits\s+the\s+row's\s+tier/,
126
- "phase 2 no longer records the cell on the row, or no longer says a replacement inherits it rather than counting as a Pull",
127
- );
128
- // The cell is the router's draw, never one this prose names: a cell
129
- // written here is a second copy of the routing, free to disagree with the
130
- // table the router reads.
131
- assert.match(slice, /the\s+router\s+draws\s+its\s+cell/, "phase 2 no longer says the router draws the exploration cell");
132
- assert.doesNotMatch(slice, /Until\s+the\s+router\s+draws/, "phase 2 names a stand-in exploration cell again");
133
- assert.match(
134
- slice,
135
- /While\s+the\s+table's\s+`burn_in`\s+is\s+true\s+every\s+Pull\s+draws,\s+over\s+every\s+cell,\s+the\s+policy\s+cell\s+included/,
136
- "phase 2 no longer says burn-in draws on every Pull, over every cell",
137
- );
138
- // The roll: a Pull that lands on a chain head passes the exploration cell to
139
- // the next Pull rather than skipping it, which is the rule ADR 0013 §6 states
140
- // and the difficulty caveat below depends on.
141
- assert.match(
142
- slice,
143
- /assignment\s+rolls\s+to\s+the\s+next\s+Pull\s+when\s+another\s+open\s+ticket\s+sequences\s+after\s+it/,
144
- "phase 2 no longer rolls the exploration cell past chain heads",
145
- );
146
- });
147
-
148
- // The Pull's own write: the router's line decides the row, and `tier=` is
149
- // the draw's record — on a row exactly when the router drew. Written for a
150
- // row the router did not draw for, `ledger.mjs dispatch` would print a cell
151
- // nothing chose.
152
- const pullStep7 = () => section(RUN_TEAM, "7. **Route, row, then dispatch**", "**The Pull table**", "run-team Pull step 7");
153
-
154
- test("Pull step 7 routes through ticket-router.mjs and writes tier= exactly when it drew", () => {
155
- const slice = pullStep7();
156
- assert.match(slice, /ticket-router\.mjs\s+route\s+--session\s+<session>\s+--ticket\s+<N>\s+--arm\s+<A\|B>\s+--impl-row\s+<k>/, "step 7 no longer calls the router");
157
- assert.match(slice, /--issue\s+<scratch>\/impl-<N>\/issue\.json/, "step 7 no longer hands the router the Pull's own read");
158
- assert.match(slice, /`tier=<CELL>`\s+exactly\s+when\s+`DRAW`\s+is\s+not\s+`-`/, "step 7 no longer ties tier= to the draw");
159
- assert.match(slice, /Router\s+exit\s+2\s+→\s+no\s+row\s+and\s+no\s+dispatch/, "step 7 dispatches on a router usage error");
160
- assert.match(slice, /--impl-row\s+<k>\[\s+--chain-head\]/, "step 7 no longer passes --chain-head for a ticket another sequences after");
161
- assert.match(slice, /--guard\s+\.fleet\/cost-guard\.json/, "step 7 no longer hands the router the cost guard");
162
- assert.match(slice, /\[\s+·\s+route=<REASON>\]/, "step 7 no longer records the router's REASON on the row");
163
- assert.match(slice, /release\s+the\s+claim\s+\(`release-ticket\.sh`/, "step 7 no longer releases the claim on a router exit 2");
164
- // The Pull's one read is what the router reads: a second fetch would be a
165
- // second network call per Pull.
166
- const step3 = section(RUN_TEAM, "3. **Read the ticket in full, once**", "Record the ticket's real", "run-team Pull step 3");
167
- assert.match(step3, /--json\s+title,body,comments,labels,createdAt`\s+written\s+to\s+`<scratch>\/impl-<N>\/issue\.json`/, "step 3 no longer writes the file the router reads");
168
- });
169
-
170
- const routerArgs = () =>
171
- section(RUN_TEAM, "**The router's arguments, and nothing past its line.**", "**Count the rate against the ledger", "run-team router's arguments");
172
-
173
- test("the router's arguments paragraph pins the roll, the arm parity and the single source of CELL", () => {
174
- const slice = routerArgs();
175
- assert.match(slice, /row\s+5k\s+and\s+every\s+row\s+after\s+it\s+carry\s+no\s+`tier=`/, "the --impl-row rolling definition is gone");
176
- assert.match(slice, /`--chain-head`\s+marks\s+a\s+ticket\s+another\s+open\s+ticket\s+sequences\s+after/, "--chain-head is no longer defined");
177
- assert.match(slice, /`A`\s+for\s+an\s+even\s+ticket\s+number\s+and\s+`B`\s+for\s+an\s+odd/, "the --arm parity rule changed");
178
- assert.match(slice, /never\s+re-derive\s+`CELL`/, "the router's line is no longer the whole decision");
179
- assert.match(slice, /`REASON=guard-missing`/, "the guard-missing route is no longer named");
180
- assert.match(slice, /`REASON`\s+other\s+than\s+`ok`\s+goes\s+on\s+the\s+row\s+as\s+`route=<REASON>`/, "REASON no longer lands on the row as route=");
181
- });
182
-
183
- // The difficulty caveat lives in the counter-evidence section, past this file's
184
- // dispatch slice, so it needs its own anchor pair.
185
- const counterEvidence = () =>
186
- section(RUN_TEAM, "within-run pairing above**", "`minted_false_claim`", "run-team tier-guard counter-evidence");
187
-
188
- test("the orthogonality claim is scoped — date only, not difficulty", () => {
189
- // The claim itself is literally true and narrowly scoped, so this is not a
190
- // false-claim pin. It is the caveat that goes missing: the alternate member
191
- // rolls past every chain head, while the top tier absorbs all of those. That
192
- // makes tier SYSTEMATICALLY correlated with ticket
193
- // kind, in a known direction — a different hazard from the "difficulty adds
194
- // noise" the covariates are elsewhere sold as handling, and the one a reader
195
- // who trusts "by construction" will skip.
196
- const slice = counterEvidence();
197
- assert.match(
198
- slice,
199
- /rolling\s+past\s+every\s+ticket\s+another\s+open\s+one\s+sequences\s+after[\s\S]{0,120}the\s+top\s+tier\s+absorbs\s+all\s+of\s+those/,
200
- "the counter-evidence section no longer says which tickets the alternate tier skips and the top tier absorbs",
201
- );
202
- assert.match(
203
- slice,
204
- /difficulty/i,
205
- "the orthogonality claim no longer names difficulty as the confound it does NOT remove",
206
- );
207
- assert.match(
208
- slice,
209
- /`sizing`\/`profile`\/`loc`\/`files`|condition a pair comparison/i,
210
- "the caveat no longer routes the reader to the covariates before reading a pair",
211
- );
212
- });