Repository navigation
Commit f293d45
* refactor(spec): split the migration registry's three append tables into per-entry files (#7297)
The registry half of #6957's 2026-08-10 ruling, option (a): per-card entry
files concatenated by a generator, the `.changeset/*.md` shape.
`registry.ts` carried three hand-authored APPEND tables — each step's
`semantic` list, `RETIRED_KEYS_BY_MAJOR` and `RETIRED_DEFS_BY_MAJOR`. Every
retirement card appended to the same tail line of the same two of them, so two
cards in one window were a textual conflict by construction: `step17`'s
semantic list and `RETIRED_KEYS_BY_MAJOR[17]` conflicted in 6 of 11 contended
re-merge laps, 613 hand-resolved lines in four days. Both tables are consumed
as SETS, so a resolution that drops a sibling's entry produces no error
anywhere — that silent drop, not wall-clock, is what this removes.
Entries now live one file per entry under `src/migrations/entries/`
(59 semantic + 16 retired keys + 45 retired defs), concatenated into
`registry.ts`'s `<os-generated …>` regions by `gen:migration-registry` and
verified by `check:migration-registry`. The filename is a pure function of the
entry id; order is derived by sorting on it; there is deliberately no index.
This commit is MECHANICAL: every exported value is identical entry-for-entry,
and the two projections reorder without changing a byte of content (their line
multisets are unchanged). `scripts/adr-anchors/` (#7301) is the pilot mirrored.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Py3V8MDCEEYhZrR3NvNVu5
* docs(spec): re-point the migration registry's positional cross-references at entry ids (#7297)
Twelve notes in the split-out entries located a sibling by POSITION — "the
entry above", "the notification pair above", "the trio at the top of this
list", "`etl-pipeline-layer-retired` below". Position was a fact about append
order, and append order is exactly what the split replaced with a derived sort,
so each of these is now either wrong or about to be.
Each is rewritten to name what it means: the sibling's id, the table it lives
in, or — for the three copies of the "no backticks in `surface`" note, which
pointed at whichever entry happened to carry the long form — the reason itself,
inline. Content-only; the id set, every table's membership and the public API
are untouched.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Py3V8MDCEEYhZrR3NvNVu5
---------
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 45cd354 commit f293d45
130 files changed
Lines changed: 5942 additions & 2368 deletions
File tree
- .changeset
- docs
- packages/spec
- scripts
- src/migrations
- entries
- retired-defs
- retired-keys
- semantic
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| 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 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
39 | 48 | | |
40 | 49 | | |
41 | 50 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| 207 | + | |
| 208 | + | |
207 | 209 | | |
208 | 210 | | |
209 | 211 | | |
| |||
0 commit comments