Skip to content

Commit b184e3a

Browse files
committed
test(dogfood): the authz census and the matrix docblock read the runtime route ledger as the 105 rows it holds (#24024)
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BVm1pAXVXQ3PjC42j1kPFf
1 parent 05ac40c commit b184e3a

2 files changed

Lines changed: 13 additions & 5 deletions

File tree

‎packages/qa/dogfood/test/authz-conformance.matrix.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
// dispatcher domain files.
2626
//
2727
// The population comes from `packages/rest/src/rest-route-ledger.ts` (81 rows
28-
// / 18 families) and `packages/runtime/src/route-ledger.ts` (92 rows / 23
28+
// / 18 families) and `packages/runtime/src/route-ledger.ts` (105 rows / 23
2929
// domains) because those two are enumerated from a RUNNING server and guarded
3030
// in both directions by their own conformance tests — so a new family or
3131
// domain cannot be silently absent from them, and therefore cannot be silently

‎packages/qa/dogfood/test/authz-probe-blind-spot.census.ts‎

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
// `RestServer.getRoutes()` on a booted server and guarded per route by
107107
// `rest-route-ledger.conformance.test.ts`. It reaches all 17 registrars;
108108
// this table reaches 1.
109-
// `packages/runtime/src/route-ledger.ts`: 92 rows over 23 domains. Its
109+
// `packages/runtime/src/route-ledger.ts`: 105 rows over 23 domains. Its
110110
// machine contract is DOMAIN-level, by live registry introspection
111111
// (`domainRegistry.list()`), the per-route rows being documentation. It
112112
// covers all 15 `async handle*(` methods in `http-dispatcher.ts` and all
@@ -477,11 +477,19 @@ export const PROBE_FILE_CENSUS: readonly ProbeFileReading[] = [
477477
// `keys` stays 23 (23 distinct domains before and after, re-derived).
478478
// Controls moved with the rows ("route: '" and "domain: '" 88 -> 92,
479479
// RouteLedgerEntry unchanged at 2).
480-
population: 92,
481-
reachable: 92,
480+
// [#24024] 92 -> 105: twelve refusal-only `/notifications` rows (the four
481+
// verbs each of the three faces does not serve) and the `* /share-links/**`
482+
// catch-all row arrived with their mounts (an anonymous caller is answered
483+
// 401 on the standalone server). They carry `domain: '/notifications'` and
484+
// `domain: '/share-links'`, EXISTING keys, so `reachable` moves with
485+
// `population`, `blindSpot` stays 0 and `keys` stays 23 (23 distinct
486+
// domains before and after, re-derived). Controls moved with the rows
487+
// ("route: '" and "domain: '" 92 -> 105, RouteLedgerEntry unchanged at 2).
488+
population: 105,
489+
reachable: 105,
482490
blindSpot: 0,
483491
populationRule: 'ledger rows inside ROUTE_LEDGER; reachable = rows carrying a `domain` (each distinct value mints a key)',
484-
controls: { "route: '": 92, "domain: '": 92, RouteLedgerEntry: 2 },
492+
controls: { "route: '": 105, "domain: '": 105, RouteLedgerEntry: 2 },
485493
// [#22432] Re-derived on the merged ref: the note's two counts had stood at
486494
// 11 files / 5 classified / 16 baselined since before the `/analytics`
487495
// domain was classified (#21061), which named one more file and moved one

0 commit comments

Comments
 (0)