Skip to content

Commit 3b15ca1

Browse files
committed
docs(spec): name the real chain entrypoint in the ADR-0087 entry
The semantic entry for the metric-family refusal told readers that `applyMigrationChain` maps `step.semantic` onto the result. No such symbol exists in the tree; the function is `applyMetaMigrations` (packages/spec/src/migrations/chain.ts:68), which is what the CLI calls and what the root api-surface exports. The behaviour the sentence describes is correct — chain.ts:102 maps `step.semantic` straight through with no per-document interpolation — so only the identifier moves. It matters because this text ships in the migration ledger and is printed by `os migrate meta` at protocol 18, where a reader who greps the name finds nothing. registry.ts is regenerated by `gen:migration-registry`, never edited by hand. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JbZnqu8bt6YqfJsr9vaFb3
1 parent ea17ab8 commit 3b15ca1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/spec/src/migrations/entries/semantic/18.dashboard-widget-metric-family-multi-measure-refused.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export const entry: SemanticMigration = {
5858
+ 'measures on a `metric` and the author meets the refusal later, at publish. ⇒ Do not '
5959
+ 'read a green editor as a clean dashboard; re-parse through the spec. '
6060
+ '⚠️ AND THE TODO CANNOT NAME YOUR MEASURES: a `SemanticMigration` is static prose '
61-
+ 'emitted once per hop — `applyMigrationChain` maps `step.semantic` straight onto the '
61+
+ 'emitted once per hop — `applyMetaMigrations` maps `step.semantic` straight onto the '
6262
+ 'result with no per-document interpolation and no filtering by whether the stack '
6363
+ 'even carries the shape — so `os migrate meta` prints THIS paragraph, not a list of '
6464
+ 'your dropped measures. The refusal is what names them, per widget, on the re-parse. '

‎packages/spec/src/migrations/registry.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6762,7 +6762,7 @@ const step18: MigrationStep = {
67626762
+ 'measures on a `metric` and the author meets the refusal later, at publish. ⇒ Do not '
67636763
+ 'read a green editor as a clean dashboard; re-parse through the spec. '
67646764
+ '⚠️ AND THE TODO CANNOT NAME YOUR MEASURES: a `SemanticMigration` is static prose '
6765-
+ 'emitted once per hop — `applyMigrationChain` maps `step.semantic` straight onto the '
6765+
+ 'emitted once per hop — `applyMetaMigrations` maps `step.semantic` straight onto the '
67666766
+ 'result with no per-document interpolation and no filtering by whether the stack '
67676767
+ 'even carries the shape — so `os migrate meta` prints THIS paragraph, not a list of '
67686768
+ 'your dropped measures. The refusal is what names them, per widget, on the re-parse. '

0 commit comments

Comments
 (0)