Skip to content

Commit 2e3f8aa

Browse files
committed
docs(skills): the step-18 D3-chain item follows the keyed registry shape on main
For protocol 18 the retirement kit no longer tells an author to append to MIGRATIONS_BY_MAJOR[18].conversionIds and extend a rationale string. On main the conversion goes only into MAJOR_18_CONVERSIONS in conversions/registry.ts, inserted at its identifier's sorted position per that list's header (CONVERSIONS_BY_MAJOR[18] and the step's conversionIds both derive from it), and the rationale gains one STEP18_RATIONALE fragment at its D3 semantic id's sorted position. The merge pins each header names refuse an append at the tail. Earlier steps keep the old wording, and the misspelled-id warning is scoped to them: it cannot happen on step 18, whose ids are derived. Claude-Session: https://claude.ai/code/session_01KTZmMfzVzjNvyaLyQ8mHvg Co-authored-by: Claude <noreply@anthropic.com>
1 parent 249b783 commit 2e3f8aa

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

  • .claude/skills/spec-property-retirement

‎.claude/skills/spec-property-retirement/SKILL.md‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,10 +210,12 @@ conversion 是消费者跟的;D3 条目是升级方的 agent 读的。三个都
210210
「没有 alias 窗口,故意的」;对**默认值翻转**,只有确知输入早于翻转的 seam 才可重
211211
放,其余按 id 退订 `excludeConversionIds` —— `app-hidden-to-unpublished` 在 artifact
212212
门即如此。
213-
- [ ] **一步 D3 链**,在 `packages/spec/src/migrations/registry.ts` —— 把 id 加进
214-
`MIGRATIONS_BY_MAJOR[N].conversionIds`,扩写该步的 `rationale`。
215-
`conversion.toMajor` **必须等于**该步的 major。⚠ 没有东西直接断言「每个
216-
conversion 都接进了某一步」,拼错的 id 在 replay 时被**静默跳过**;
213+
- [ ] **一步 D3 链**,在 `packages/spec/src/migrations/registry.ts`;`conversion.toMajor` **必须等于**该步的
214+
major。**18 步**:conversion 只进 `conversions/registry.ts` 的 `MAJOR_18_CONVERSIONS`,照其头注按
215+
标识符排序插入,本步 `conversionIds` 由它派生;`rationale` 只加一个 `STEP18_RATIONALE` 片段,
216+
按其头注插在你 D3 semantic id 的排序位;尾部追加被两处头注点名的 merge 测试拒收。
217+
**更早的步**:id 加进 `MIGRATIONS_BY_MAJOR[N].conversionIds`,扩写该步 `rationale`。⚠ 没有东西
218+
直接断言「每个 conversion 都接进了某一步」,拼错的 id 在 replay 时被**静默跳过**;
217219
chain-replay 测试抓得到它,只因为没接线的 fixture 永远到不了自己的 `after`。
218220
所以把那个测试的失败读作「没接线」,不是「transform 坏了」。
219221
- [ ] **fixture 必须不相交 —— 两重。** 每个 fixture 都被整张表 replay,必须恰好等于

0 commit comments

Comments
 (0)