Repository navigation
Commit 72bf22a
committed
docs(spec): correct the surface-population citation from 136 to the measured 389
The figure 136 does not reproduce. It came from a one-off census script whose
forcing walk was weaker than the audit's in four ways: it imported only
`*.zod.ts` plus `index.ts` (225 of 1012 modules under `packages/spec/src`),
returned early on function-valued schemas, capped its walk at depth 12 instead
of 40, and never invoked a deferred error map, so surfaces that register on
first use never registered at all. Re-measured with `alias-integrity.test.ts`'s
own instrument copied verbatim: 389 unique surfaces, 421 raw registrations, 388
distinct surface strings. Those are three different facts, so each citation now
says which one it quotes.
The conclusion is unchanged and was re-derived over the larger population: the
same four fuzzy instances, the same single declared-alias row left alone. The
attestation table gains the pairs the undercount had hidden (min/max 11 rather
than 3, input/output and read/write 2 each).
Comment-only in the source: `check:api-surface-declarations` reports
"declaration text unchanged (17 entry points, 5364 declarations)" and
`check:generated` all 16 artifacts up to date.
Claude-Session: https://claude.ai/code/session_01AmH9bKvGoLjiY86Q4Z3og2
Co-authored-by: Claude <noreply@anthropic.com>1 parent 9c2725b commit 72bf22a
2 files changed
Lines changed: 31 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
| 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 | + | |
87 | 105 | | |
88 | 106 | | |
89 | 107 | | |
| |||
0 commit comments