Repository navigation
Expand file tree
/
Copy pathmustload-budgets.tsv
More file actions
We can make this file beautiful and searchable if this error is corrected: Illegal quoting in line 2.
328 lines (328 loc) · 28.4 KB
/
Copy pathmustload-budgets.tsv
File metadata and controls
328 lines (328 loc) · 28.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
# scripts/mustload-budgets.tsv — frozen per-archetype MUST-LOAD token-est
# ceilings for .claude/skills/deep-code-review/SKILL.md's "Archetype -> load
# map" table (dogfoods the same freeze-ratchet policy as
# scripts/size-budgets.tsv, enforced by `scripts/ci-gates.sh mustload`).
#
# POLICY = FREEZE-RATCHET. Each ceiling below is the archetype's CURRENT
# must-load token-est total (chars/4 per file, summed across its MUST-LOAD
# refs — matching .claude/skills/deep-code-review/references/
# skill-authoring-and-size.md's "a token estimate of chars/4 is enough") at
# the moment this config was adopted — not an aspirational target. The gate
# is GREEN today by construction. From here, a ceiling moves in exactly one
# direction: DOWN, as P1b splits/trims the archetype's must-load refs into
# smaller routed sub-files. Raising a ceiling to let a bloated ref grow
# defeats the point.
#
# This is the FIRST time that cost was made visible: the `web` archetype
# alone carries a ~93K-token must-load tax (security-appsec.md +
# frontend-a11y.md + product-ux-quality.md) before a web-archetype review
# reads one line of project code — now measured and frozen, not free to grow
# further, and a P1b split has a concrete number to reduce.
#
# FORMAT: one row per archetype, `<archetype, exactly as SKILL.md's load-map
# table names it>\t<max tokens>`, plus `phase-conditional\t<ref>.md` rows
# (see PHASE-FLOOR FOLLOW-UP below). Blank lines and lines starting with '#' are
# ignored. Every archetype row in SKILL.md's load map must have exactly one
# row here (fail closed: an archetype on disk with no row, or a row whose
# archetype no longer exists in the load map, is a gate failure — see
# scripts/ci-gates.sh cmd_mustload). This does NOT replace the coverage floor
# (cmd_enumeration / cmd_routing's routed-reference check) — no ref is ever
# dropped to satisfy a ceiling, only measured. Two rows, `phase-floor-light`
# and `phase-floor-full`, are a separate namespace (not archetype names) for
# the Phase 0-2 mandatory floor below — both are required, fail closed if
# either is missing.
#
# P1b split (context-split change): security-appsec.md's API-specific
# overlay moved to security-api.md (must-load for `api / service` only; read
# on trigger by any archetype that serves its own API), and
# product-ux-quality.md's parity-claim sections moved to rendered-parity.md
# (read on a port / restyle / design-parity task). Every ceiling below was
# re-pinned to its new total: web 93463->86836, mobile 33070->28778,
# agent / LLM / MCP 38008->33716, data / ETL 29582->29581, lib / SDK
# 10926->10913, IaC / platform unchanged. ONE deliberate rise:
# `api / service` 33516->33573 (+57 tokens, +0.2%) — the new file's required
# title and "Read this when" line plus the parent's one-line pointer; that
# archetype still loads all of the same content, now across two files.
#
# PHASE 0-2 MANDATORY FLOOR (`phase-floor-light` / `phase-floor-full` rows,
# below): the refs every review loads regardless of archetype — the map's
# own bytes (read to reach the table at all) + every backtick-quoted ref
# named in the map's "| Phase | Does | Load |" table's phase 0/1/2 rows. The
# map is references/full-map.md (SKILL.md is the slim small-DIFF fast path and
# is bounded separately); "SKILL.md" in the history below means the map file.
# `phase-floor-light` = full-map.md + method.md + testing-and-evals.md +
# language-stack-redflags.md + domain-checklists.md (loaded on every scope).
# `phase-floor-full` adds branch-and-merge-hygiene.md, the one ref phase
# 0's Load column marks "on FULL". cmd_mustload parses that table live
# (never a second hardcoded copy of the list) and fails closed if the
# section is missing/unparseable or a named ref isn't on disk. Same
# freeze-ratchet direction as the per-archetype rows: DOWN only, as the
# mandatory set is trimmed/split.
#
# PHASE-FLOOR SPLIT (phase-floor cut): the five Phase 0-2 refs kept only
# what every review needs and moved conditional depth into routed sub-files,
# each loaded on an explicit trigger: language-stack-redflags.md -> one
# lang-*.md per language family present; domain-checklists.md -> an index
# over one domain-<letter>.md per applicable domain; testing-and-evals.md ->
# testing-ui.md / testing-ai-evals.md / testing-ml.md; method.md ->
# method-situational.md (a "when"-qualified conditional ref in the phase
# table, which cmd_mustload excludes from the floor but existence-checks);
# branch-and-merge-hygiene.md -> merge-operations.md. SKILL.md's duplicated
# role table was removed to pay for the new routes (role-coverage.md already
# holds the same table with more columns). Floors re-pinned: phase-floor-light 65903->35786, phase-floor-full
# 87137->47350. No archetype row rose; each re-pinned down to its current
# total (repointed cross-references, plus 3 tokens of slack already present on
# web, mobile, api / service, and agent / LLM / MCP): web 86836->86823,
# mobile 28778->28775, api / service 33573->33566, data / ETL 29581->29577,
# agent / LLM / MCP 33716->33705, IaC / platform 4342->4339, lib / SDK
# 10913->10909.
#
# PHASE-FLOOR FOLLOW-UP (review fixes on the split): the floor pins are now an
# EXACT-EQUALITY ratchet -- cmd_mustload fails when a floor total is above its
# pin (shrink the refs) AND when it is below it (re-pin the row down), so a cut
# is locked in by the commit that makes it. The Phase 0-2 refs allowed to
# carry the " when " qualifier are pinned explicitly as `phase-conditional
# <TAB><ref>.md` rows (the only non-numeric rows): a " when " ref with no pin,
# a pinned ref the phase table also names unconditionally, and a pin the
# table no longer names each fail closed, so re-qualifying a floor ref as
# conditional can never drop it from the floor silently. Deliberate floor
# rise: phase-floor-light 35786->35858 (+72), phase-floor-full 47350->47452
# (+102). It comes from one restored always-on method.md line (check a gate
# against its cited standard and run it twice), the widened shell and SQL
# load triggers in language-stack-redflags.md, and cross-file pointers that
# replaced bare "above" or section-5 references to content moved to
# lang-*.md, method-situational.md, and merge-operations.md. Archetype rows
# re-pinned down to their current totals: web 86823->86820, mobile
# 28775->28772, api / service 33566->33563, agent / LLM / MCP
# 33705->33702.
#
# WEB SPLIT (web must-load cut): frontend-a11y.md and product-ux-quality.md
# kept only what every web review needs and moved conditional depth into
# routed sub-files, each indexed in its parent with a concrete trigger.
# frontend-a11y.md keeps the design-respect rule, the base WCAG 2.2 AA
# checklist per family, the WCAG 2.2 additions, usability, cross-view
# consistency, URL-backed state, the server/client boundary, the Core Web
# Vitals thresholds, browser security, and the closing grep; its depth moved
# to a11y-aria.md, a11y-live.md, a11y-focus.md, a11y-color-motion.md,
# a11y-forms.md, web-fetch.md, and web-render.md. product-ux-quality.md keeps
# the read-first stance, every data state, encoding and colour-alone,
# self-evidence and density, the named-standard rule, the grep, and the
# pre-ship checklist; its depth moved to ux-writes.md, ux-dataviz.md,
# ux-lists.md, ux-components.md, ux-interaction.md, ux-sweep.md, and
# ux-gates.md. The WCAG section was first re-tagged from bold run-in labels
# to ### headings (byte-identical) so the split follows real sections. Paid
# for in SKILL.md by dropping the redundant `references/` prefix from bare
# names the tables already use unqualified, so SKILL.md shrank (23967 ->
# 23941 bytes). Re-pinned: web 86820->38039, data / ETL 29577->29571
# (repointed cross-references in data-quality.md and performance-db-cost.md);
# every other archetype row unchanged at its exact total. Floors:
# phase-floor-light 35858->35846, phase-floor-full 47452->47440.
#
# WEB NOTE (38K is a floor, not a typical load): 38,083 is the web
# archetype's MUST-LOAD total only -- a review that never renders a
# loading/skeleton/async-message region and never touches a client-side
# fetch. Both are common on a dashboard and each is a separate
# triggered ref, not part of the floor: `web-fetch.md` (22040 bytes / 4 =
# 5510 tokens) and `a11y-live.md` (6889 bytes / 4 = 1722 tokens, truncated
# per cmd_mustload's integer chars/4). A typical dashboard review's real
# load is 38083 + 5510 + 1722 = 45315 estimated tokens.
#
# fix11/web re-pin: frontend-a11y.md and a11y-focus.md both now name an
# off-canvas/collapsed/visually-hidden focusable region, and
# product-ux-quality.md's pre-ship checklist box points to its
# ux-components.md procedure; re-pinned web 38039->38083.
#
# APPSEC SPLIT (security-appsec.md must-load cut): security-appsec.md, the
# largest ref in the web, mobile, api / service, and agent / LLM / MCP rows,
# kept the per-category checks every application review needs (access
# control, SSRF, the anonymous GET sweep, the two-principal matrix, core
# misconfiguration, core crypto and TLS validation, injection basics, business
# logic limits, authentication, session cookies and timeouts, CSRF, A08-A10,
# secrets, deterministic corroboration) plus an index of routed sub-files,
# each with a concrete trigger: appsec-edge.md (gate proposals, proxy chains,
# caches, isolation headers), appsec-scan-tests.md, appsec-links.md,
# appsec-approvals.md, appsec-supply.md (all A03 depth), appsec-crypto.md,
# appsec-ssti.md, appsec-files.md, appsec-tokens.md, appsec-login.md, and
# appsec-design.md. SKILL.md routes them from the domain B row and paid for
# the names by folding its duplicate "Skills as targets" paragraph into the
# domain H row (23941 -> 23916 bytes). Repointed cross-references shrank the
# other rows slightly. Re-pinned: web 38083->23293 (the WEB NOTE above now
# reads 23293 + 5510 + 1722 = 30525 for a typical dashboard), mobile 28772->13981,
# api / service 33563->18772, agent / LLM / MCP 33702->18911, data / ETL
# 29571->29569, IaC / platform 4339->4338, lib / SDK 10909->10907. Floors:
# phase-floor-light 35846->35839, phase-floor-full 47440->47433.
#
# fix13/appsec: security-appsec.md grew a supply-chain trigger clause and an
# A05 traversal-sink grep line; method.md, domain-b.md, mobile-appsec.md grew
# routing pointers to appsec-tokens.md / appsec-edge.md / appsec-files.md.
# Re-pinned: web 23293->23350, mobile 13981->14046, api / service
# 18772->18829, agent / LLM / MCP 18911->18981, IaC / platform 4338->4342.
# Floors: phase-floor-light 35839->35854, phase-floor-full 47433->47448.
#
# DATA SPLIT (data-quality.md must-load cut): data-quality.md, the largest ref
# in the data / ETL row, kept what every data review needs (monotonic writes
# and the non-regression gate, no fabrication and provenance, stable-id
# resolution and normalized joins, the quality dimensions with N/A, nulls,
# freshness and field validation, dedupe and the consumer census, idempotency,
# ownership and soft-delete lifecycle, config and parser discipline, honest
# collection, cost, and the data contract) plus an index of routed sub-files,
# each with a concrete trigger: data-identity.md, data-scoring.md,
# data-metrics.md, data-freshness.md, data-ml.md, data-contracts.md,
# data-shapes.md, and data-graph.md. SKILL.md routes them from the domain D
# row and paid for the names by folding two duplicate standards-index / route
# mentions in its appendix and the delivery restatement under the phase table
# (23915 -> 23889 bytes). Re-pinned: data / ETL 29569->19548, web
# 23350->23349 (product-ux-quality.md repoints). Floors: phase-floor-light
# 35854->35848, phase-floor-full 47448->47442.
#
# skill_index.py wave: SKILL.md gained a one-line pointer to its new INDEX.md
# lookup table (23889 -> 23962 bytes; SKILL.md's own bytes count toward the
# Phase 0-2 floor). Floors: phase-floor-light 35848->35866, phase-floor-full
# 47442->47460.
#
# Second floor cut (conditional depth behind routed triggers; every moved line
# lands exactly once): method.md's trust-a-verdict Phase 1 bullets (rule-tier
# calibration, self-graded gate, CI re-run SHA, carried-forward finding,
# suppression-list ratchet, lane union) -> method-situational.md;
# testing-and-evals.md's target-specific smells -> new testing-situational.md
# (visual receipt -> testing-ui.md); branch-and-merge-hygiene.md's §6 rails for
# recommending or executing a triage row -> merge-operations.md ("§6 continued"). Each always-
# loaded parent names the triggers. SKILL.md 23961 -> 23992 bytes (J-row route, phase-1 trigger).
# Floors: phase-floor-light 35866->28025 (-21.9%), phase-floor-full
# 47460->36096 (-23.9%). Archetype rows unchanged (none load these files).
#
# method.md gained the FULL-mode rank/append/checkpoint bullet (w63/field-c):
# a solo FULL lane needs a blast-radius read order, a per-run budget, and an
# 80%-checkpoint partial report so a rate-limited lane leaves written findings
# instead of nothing (field friction #1). Floors: phase-floor-light
# 28025->28178 (+153), phase-floor-full 36096->36249 (+153).
#
# W67 SPLIT (web must-load cut, P1b continuation): frontend-a11y.md's
# "Security & compatibility" depth (output encoding, secrets/storage,
# postMessage origin checks, Subresource Integrity, a strict CSP, Trusted
# Types, DOM Clobbering, Referrer-Policy, clickjacking) moved to new
# frontend-security.md, routed on a concrete trigger (sanitizes/renders user
# HTML, sets a CSP, adds a postMessage listener, loads a third-party script,
# stores a token, or can be framed). product-ux-quality.md's "Every data
# state" depth beyond the base five-state rule (capped/sliced-list remainder
# indicators, partial-apply reconciliation, empty-state coverage/named-cause/
# stakes, filtered-vs-genuine emptiness, and a shared hook/context's
# readiness signal across sibling consumers) moved to new ux-states.md,
# routed the same way. Both parents keep the base rule plus a pointer; every
# checklist item stays reachable (unchanged). SKILL.md's domain-P row was
# trimmed (dropped two parenthetical glosses already stated in the linked
# files) to net -32 bytes despite naming the two new files, so the Phase 0-2
# floor took no byte increase from routing; it moved by rounding only.
# Re-pinned: web 23349->19291 (-17.4%), phase-floor-light 28178->28170,
# phase-floor-full 36249->36241.
#
# W67 REVIEW FIX: the split above over-moved. Two defects: (1)
# frontend-security.md's Referrer-Policy/URL-token-leak bullet had no matching
# trigger clause in frontend-a11y.md's routing row, SKILL.md's domain-P row,
# or the file's own header, so a reviewer would never load the file for that
# case -- added "sets Referrer-Policy, or a link/redirect/request carries a
# token or id in its URL" to all three. (2) three genuinely BASE bullets
# (output encoding, no secrets in the client bundle, no sensitive data in
# localStorage/sessionStorage) were moved out as if they were depth; they
# carry no further elaboration anywhere, so every web review needs them
# in frontend-a11y.md same as the appsec/data splits keep their base checks
# inline -- moved back (not duplicated). Also fixed two dangling same-file
# "(below)" pointers the original split left after their target section moved
# to a different file (product-ux-quality.md's remainder-indicator bullet,
# frontend-security.md's Trusted-Types-layered-on-output-encoding bullet).
# Re-pinned: web 19291->19419 (still -16.8% vs the pre-split 23349), phase-
# floor-light 28170->28178, phase-floor-full 36241->36249 (SKILL.md's new
# domain-P trigger gloss nets back to its original 23992-byte size).
#
# 1.464.0: testing-and-evals.md (a phase-floor mandatory ref) grew with the
# regression-test red-then-green discipline (#1201). Re-pinned: phase-floor-
# light 28168->28453, phase-floor-full 36239->36524. No archetype row moved.
#
# 1.468.0: testing-and-evals.md (phase-floor-light + full) grew a routing
# clause to testing-situational.md's load/swarm harness lessons (#1215,
# #1224); branch-and-merge-hygiene.md (phase-floor-full only) grew the
# shared-branch detection commands (#1223). Re-pinned: phase-floor-light
# 28453->28469, phase-floor-full 36524->36688. No archetype row moved
# (neither file is a per-archetype must-load ref).
#
# fix14/multi-replica+ssrf (#1225, #1231): security-appsec.md grew a
# hand-rolled-fetch-footgun bullet and a parallel-lane guard-drift bullet
# (30268->32790 bytes, +630 tokens). It is must-load for four archetypes;
# each ceiling re-pinned to its new total: web 19419->20049, mobile
# 14046->14675, api / service 18829->19458, agent / LLM / MCP
# 18981->19610. No archetype's must-load ref set changed, only the one
# file's size.
#
# 1.470.0: data-quality.md's enrichment-pilot bullet (#1233) grew the file
# 35147->36450 bytes, moving only data / ETL 19548->19874; no archetype's
# must-load ref set changed.
#
# 1.483.0: four lesson rules (#1307, #1308) grew data-identity.md and data-quality.md,
# moving only data / ETL 19874->19991; no archetype's must-load ref set changed.
#
# 1.484.0: method.md's sweep-scope rule (#1311) grew the Phase 0-2 floor; no archetype
# changed. Floors: phase-floor-light 28469->28594, phase-floor-full 36688->36813.
#
# 1.487.0: api-contracts.md truncation rule (#1322) grew api / service 19458->19589 and
# lib / SDK 10907->11038; no archetype's must-load ref set changed.
#
# FLOOR CUT (headroom, #1343): the floor fell 28589->23173 (light) and 36808->31392 (full). Phase 5/6
# procedure moved from method.md to method-report.md (read when writing the report or imprinting; not a
# phase 0-2 ref, so off the floor), and the switch/case, delimiter-scan, floor-then-clamp and partition
# sections moved from language-stack-redflags.md to redflags-situational.md (a " when "-qualified phase 1
# ref, pinned below). SKILL.md also dropped its standards appendix (standards-index.md holds it). Nothing was
# deleted; every moved section is routed from SKILL.md on an explicit trigger. DOWN-only, as before.
#
# DIFF depth routing: one clause on method.md's situational-ref line (DIFF size bands, shared-state
# blast-radius trace, transition checks; the depth lives in method-situational.md, off the floor) raised
# phase-floor-light 23173->23195 and phase-floor-full 31392->31414 (+22 tokens each); no archetype row changed.
#
# Team config: SKILL.md gained one Phase 0 line routing the optional REVIEW.md team config to review-config.md
# (23367 -> 23496 bytes; SKILL.md counts toward the Phase 0-2 floor). Floors: phase-floor-light 23195->23228,
# phase-floor-full 31414->31447 (+33 each, after the DIFF depth routing raise). review-config.md itself is conditional depth, off the floor.
#
# Out-of-diff tracing: a two-line pointer in method.md Phase 2 (depth lives in method-situational.md, off the floor).
# Floors: phase-floor-light 23228->23263, phase-floor-full 31447->31482 (+35 each); no archetype row changed.
# method.md split (core + method-diff.md + method-lenses.md): the floors hold the core only. method-diff.md is read on a DIFF or FILE scope and method-lenses.md on its trigger;
# the gate has no scope-conditional class, so both stay off the floors. A DIFF or FILE review therefore loads phase-floor-light + 1968 tokens (method-diff.md, 7872 B, modelled by scripts/review_load_bytes.py).
# Floors re-pinned down: phase-floor-light 21711->18368, phase-floor-full 29692->26349 (method.md 43524->29936 B, full-map.md +216 B for the routing line). No archetype row moves.
# Latency + streaming split: performance-db-cost.md and api-contracts.md shed verbatim depth into performance-latency-depth.md and api-contracts-streaming.md (lazy, off every must-load set). api / service 18381->16714, data / ETL 19991->17003, lib / SDK 11038->9368. Floors phase-floor-light 18551->18578, phase-floor-full 26530->26557 (+27 each, two routing cells in full-map.md).
web 18913
mobile 13539
api / service 16786
data / ETL 17003
agent / LLM / MCP 18474
desktop / native 8242
IaC / platform 4342
lib / SDK 9368
# 1.539.0: SKILL.md routes references/compact-mode.md for non-Claude models (one line). Floors: phase-floor-light 23257->23274, phase-floor-full 31476->31493 (+17 each); no archetype row changed.
# Re-pin (review yellow): phase-floor-light 23274->23272, phase-floor-full 31493->31491 after the SKILL.md agentic-default edit (-6 bytes SKILL.md).
# 1.560.0: two route clauses only (method.md situational line: FULL-only composition/effective-config/rule-map checks; testing-and-evals.md conditional-depth line: evidence-gate accept-predicate audit). Depth lives off the floor in method-situational.md and testing-situational.md; the DIFF /review path is unchanged. Floors: phase-floor-light 23272->23329, phase-floor-full 31491->31548 (+36 each); no archetype row changed.
# Re-pin (field audit 1380): +21 tokens each for the full-audit.md / nextjs-app-router.md route line.
# 1.564.0: DIFF quick-path made concrete in SKILL.md (+118 bytes; small diffs then load compact-mode.md only). Floors: phase-floor-light 23329->23359, phase-floor-full 31548->31578 (+30 each); no archetype row changed.
# 1.576.0: confidence floor (method.md anti-slop, 3 lines) and "batch all reads in one turn" on the SKILL.md DIFF quick-path. Floors: phase-floor-light 23358->23438, phase-floor-full 31577->31657 (+80 each); no archetype row changed.
# Re-pin (derived-numbers gate): SKILL.md route to derived_numbers.py, offset by trims; floors phase-floor-light 23468->23466, phase-floor-full 31687->31685 (-2 each).
# 1.576.0 review fix: the confidence floor is scoped to DIFF and exempts unverified security leads (method.md +2 lines). Floors: phase-floor-light 23438->23468, phase-floor-full 31657->31687 (+30 each).
# Lens routes: SKILL.md routes six new lens references (one domain-map cell each), trims the stage-evolution restatement but keeps its "observable trigger" and "trigger-not-calendar" rules and the "always composes" line (23759->23848 bytes). Floors: phase-floor-light 23466->23489, phase-floor-full 31685->31708 (+23 each); no archetype row changed (the six references are conditional depth, off every must-load set).
# Severity floor: one SKILL.md pointer to the hard-rule severity floor in report-format.md. Floors: phase-floor-light 23489->23500, phase-floor-full 31708->31719 (+11 tokens each, from +44 bytes); no archetype row changed.
# Claim-vs-code lens: one required-step pointer line in method.md Phase 1 (+227 bytes); depth lives off the floor in method-situational.md. Floors: phase-floor-light 23500->23557, phase-floor-full 31719->31776 (+57 each); no archetype row changed.
# UI lint route: one row-P clause in SKILL.md pointing at scripts/lint_ui_slop.py (+62 bytes; the script is off every must-load set). Floors: phase-floor-light 23557->23572, phase-floor-full 31776->31791 (+15 each); no archetype row changed.
# Quick-path load cut: SKILL.md drops the optional-overlays body (moved to references/overlays.md, conditional, off every must-load set) and collapses the role/colour and stage-evolution paragraphs to pointers. Floors: phase-floor-light 23572->23226, phase-floor-full 31791->31445 (-346 each); no archetype row changed.
# SKILL.md dedupe trim, on top of the quick-path load cut (overlapping hunks kept from the cut): floors phase-floor-light 23226->23105, phase-floor-full 31445->31324 (-121 each); no archetype row changed.
# Design-drift route: the row-P clause in SKILL.md also names scripts/design_drift.py (+43 bytes; the script is off every must-load set). Floors: phase-floor-light 23105->23116, phase-floor-full 31324->31335 (+11 each); no archetype row changed.
# Routing dedupe: domain-checklists.md drops its A-W table (SKILL.md Domain map is the home), language-stack-redflags.md trims a pattern list, branch-and-merge-hygiene.md drops Cross-references and the standards-name list (full only). Floors: phase-floor-light 23115->22810 (-305), phase-floor-full 31334->30786 (-548) (net of +51 bytes in SKILL.md: the M and O Domain-map names echo their domain-m.md / domain-o.md triggers for trigger_lint); no archetype row changed.
# Slim SKILL.md split: the tables moved verbatim to references/full-map.md, which the gate now counts instead of SKILL.md (SKILL.md is the slim small-DIFF fast path, bounded by routing --max-bytes and scripts/test_slim_skill_fast_path.py). Floors: phase-floor-light 22810->22796, phase-floor-full 30786->30772 (-14 each); no archetype row changed.
# full-map.md core split: principles 4-6, 10 and 11 plus the Project stage model moved (principles 7 and 8, the read-only default and fetched-content-is-data guardrails, stay in the core because no finding trigger fires before a write or a fetch) verbatim to references/full-map-principles.md (read only when a finding turns on one of them); the Findings report and Definition of done (a) to references/full-map-report.md (read at Phase 5 / when closing); the Severity rubric stays in the core because every review ranks findings. Honest bytes per review, before->after: 22122 -> 20456 typical (core 18438 + report file 2018, -1666, -7.5%); 18438 core-only (-3684); worst case 23516 when the principles file also loads (+1394). Floors: phase-floor-light 22796->21877, phase-floor-full 30772->29856 (-919 and -916; the core counts, the split files are not Phase 0-2 mandatory loads); no archetype row changed.
phase-floor-light 18676
phase-floor-full 26655
# Train 2026-10-12: union of merged PRs nets the floors down 1 token each (23359->23358, 31578->31577).
phase-conditional method-situational.md
phase-conditional redflags-situational.md
# security-appsec.md split (web must-load cut): the A01 SSRF-guard-transport footguns and parallel-lane drift, the A06 business-flow detect steps, and the deterministic-corroboration map moved verbatim to appsec-egress.md, appsec-flows.md and appsec-corroboration.md (32790 -> 27956 B), each routed from the parent's index with a trigger and named in full-map.md's domain-B row. The untrusted-egress caller census and the client-trust-fields check stay in the parent because FILE/FULL scope never fires a diff-only trigger. security-appsec.md is must-load for four archetypes, so each drops 1208 tokens: web 20049->18841, mobile 14675->13467, api / service 19589->18381, agent / LLM / MCP 19610->18402. The three route names in full-map.md raise both floors by 17 tokens (phase-floor-light 18534->18551, phase-floor-full 26513->26530), the same routing cost as earlier lazy splits.
# Security verify route: full-map.md's domain-B row names appsec-verify.md with its trigger (+60 bytes) and security-appsec.md's index gains a one-line row for it (+42 bytes, 27998 B under the 28000-byte cap); the reference itself is conditional, off every must-load set. Archetypes web 18841->18851, mobile 13467->13477, api / service 16714->16724, agent / LLM / MCP 18402->18412 (+10 each). Floors: phase-floor-light 18578->18593, phase-floor-full 26557->26572 (+15 each).
# App pentest and supply-chain routes: full-map.md gains one Also line naming app-pentest.md and supply-chain-check.md (+101 bytes); both new references are conditional, off every must-load set. Floors: phase-floor-light 18593->18618, phase-floor-full 26572->26597 (+25 each); web 18851->18870, mobile 13477->13496, api / service 16724->16743, agent / LLM / MCP 18412->18431 (+19 each).
# Tool hub: full-map.md names tool-hub.md (one line), offset by wording trims in unpinned lines. Floors: phase-floor-light 18618->18617, phase-floor-full 26597->26596 (-1 each); no archetype row changed.
# Dynamic probe route: full-map.md Also line names dynamic-probe.md (+35 bytes); the reference is conditional, off every must-load set. Floors: phase-floor-light 18617->18626, phase-floor-full 26596->26605 (+9 each); no archetype row changed.
# Route-auth map route: security-appsec.md's Anonymous GET sweep gains one sentence naming the route_auth_map.py command (+247 bytes, 27998->28245 B; the script itself is read only when run). Archetypes web 18870->18913, mobile 13496->13539, api / service 16743->16786, agent / LLM / MCP 18431->18474 (+43 each), desktop / native 8180->8242 (+62). Floors and the other archetype rows unchanged.
# Whole-project report route: full-map.md's report-template line names whole-project-report.md so the CI routing gate sees it, and drops two names routed elsewhere in full-map.md (net -16 bytes, under the core-split test's 19000-byte cap); the template is conditional, off every must-load set. Floors: phase-floor-light 18620->18616, phase-floor-full 26599->26595 (-4 each); no archetype row changed.
# Known-vuln dependency impact path: method.md's noisy-class demotion gains one clause (+241 bytes): a known-vuln dependency row's impact path is the advisory's impact plus a verified unauthenticated or self-signup route; one-request crash or hang = High, volume or leak only = Medium, known-exploited = Critical/High. Floors: phase-floor-light 18616->18676, phase-floor-full 26595->26655 (+60 each); no archetype row changed.