Commit 1bf6a9e
committed
docs(spec): drop the stale inline-locale-map population count
Two docblocks in packages/spec/src/ui/i18n.zod.ts each asserted that this repo
authors 31 inline locale maps -- the INLINE_LOCALE_KEY rationale and the
I18nLabelSchema form-2 note. The measured population is 45: 33 in
sys-user.page.ts, 6 in sys-organization.page.ts, 6 in sys-position.page.ts.
The number is dropped at both sites rather than corrected. Neither argument
needs a magnitude: the first turns on the universal (every authored map uses
en / zh-CN / ja-JP / es-ES, so the accept set is what makes the constraint
free), and the second turns on the maps being authored on published platform
pages and resolved by pickLocalized, which one authored-and-resolved map
already establishes. Writing the new figure buys one release of accuracy in
prose cited as evidence for a schema constraint, and it has already drifted
once with nothing noticing; deriving it would mean a permanent gate whose only
job is keeping a number in a comment true.
The measured half survives at both sites: three platform pages author these
maps, and that is still exactly three. No schema arm, bound, default,
.describe() string or export changes.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016N6xmWt5hYm94ffVEwGH8x1 parent 2fd714f commit 1bf6a9e
2 files changed
Lines changed: 32 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
98 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
242 | | - | |
243 | | - | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| |||
0 commit comments