Commit c5c2182
committed
docs(spec): state the residual bound the changeset states, and point the ADR-0087 marker at the right bullet
F1 — `packages/spec/src/data/numeric-column-representation.ts`'s "residual
bound" section said only that magnitudes below 1e-30 round to zero, while the
shipped changeset states the column keeps 30 fractional digits, that precision
loss BEGINS around |x| < 1e-13 and is TOTAL below 1e-30, and that magnitudes at
or above 1e35 are refused. That docblock is the canonical home both
`sql-driver.ts` and `os generate migration` point readers at ("the spec module
carries the measurements, the ruling and the residual bound"), and it says of
itself that the bound is "stated here so no reader has to rediscover it" — so
it now states both ends of the bound in the changeset's own terms.
F2 — `.changeset/numeric-column-representation.md` said "Three consequences"
above four bullets, and its ADR-0087 marker claimed "bullet 3 IS a
prescription" where bullet 3 is the read-seam bullet and the prescription is
bullet 4 (the `NOT NULL` / `storage.notNull` one). The marker is the auditable
artifact the gate prints verbatim, so a wrong internal pointer defeats its
purpose. Exactly one `adr-0087:` marker, same category and same argument.
Docblock and changeset prose only: no behaviour change, no schema move, no
test edit.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Js5kTpTtxieBjPyScgxJ31 parent 0348567 commit c5c2182
2 files changed
Lines changed: 15 additions & 8 deletions
File tree
- .changeset
- packages/spec/src/data
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
107 | 114 | | |
108 | 115 | | |
109 | 116 | | |
| |||
0 commit comments