Repository navigation
Commit 9e0ba21
Retire the paper metadata-customization protocol with its full coupling set (#13186)
* wip: retire paper metadata-customization protocol (spec module, keys, contracts, metadata limb)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LpRNHxWZgSUgVnFT9mQQo4
* wip: regenerate artifacts for the customization-protocol retirement
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LpRNHxWZgSUgVnFT9mQQo4
* wip: fix contracts/api test typecheck debt; regen export-origins + strictness ledger
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LpRNHxWZgSUgVnFT9mQQo4
* test(spec): re-baseline the two corpus counts the module deletion moves
`scripts/file-description.test.ts` pins how many rendered descriptions the
level-1 heading demotion touches (#12249). `kernel/metadata-customization.zod.ts`
was one of those level-1 openers, so removing the module moves the count
38 -> 37 in both assertions.
`src/type-alias-convention.pin.test.ts` pins the isomorphic-alias count in
prose AND recomputes it from the source (ADR-0122), so the four vacated
Iso408-411 rows move it 837 -> 833 in the section header and the test title
the runtime companion checks the prose against.
Both are re-baselines of a machine-checked count, not relaxations: the
recomputation still runs and still fails if either number goes stale.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LpRNHxWZgSUgVnFT9mQQo4
* fix(spec,docs): strip internal issue ids from the three prescriptions, re-declare the kernel page count
`check:doc-authoring` flagged the three `retiredKey()` prescriptions: a
customer reading a parse refusal has no tracker, so an issue id there is a
citation-shaped token resolving to nothing. Per that gate's rule the issue id
NEXT TO an ADR id is the strippable half -- each prescription keeps
`ADR-0049 enforce-or-remove` plus its ADR-0126/ADR-0005 FROM -> TO mapping, so
none is left bare. Reference pages regenerated (the tombstone text projects
into `content/docs/references/**`).
`check:quick-reference-counts` flagged the [total] side: deleting the
`kernel/metadata-customization` reference page moves what
`content/docs/references/kernel/` publishes from 31 to 30. The curated table's
own row count (17) is untouched -- no row ever pointed at that page.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LpRNHxWZgSUgVnFT9mQQo4
* fix(spec): re-derive the llms.txt claims the module deletion falsified
`check:llms-txt` reds on two counts, and the file is hand-kept with no
generator on purpose: deleting `kernel/metadata-customization.zod.ts` takes
`src/kernel/` from 32 to 31 and the domain-summed total from 208 to 207.
Both rows re-read rather than digit-patched, per the gate's own instruction:
- The heading's method prose ("counted as `*.zod.ts` under `src/<domain>/`")
stays exactly true, and is in fact what explains 207 against the 208 files
on disk -- `src/stack.zod.ts` sits outside any domain directory. Every other
domain row was re-counted independently and already matched; only kernel
was stale.
- The kernel row's Key Schemas column (Plugin, Manifest, Events, Feature,
Context, Package Registry) never named the removed module, so nothing
beside that number became untrue.
Third fix, which the gate does NOT catch: the section-6 contract table lists
`IMetadataService` METHODS, and `overlay` was one of them. That entry was true
at the base commit (4 members) and is false now (0) -- this retirement removed
them. Left alone it would ship inside the npm tarball telling AI consumers to
generate `metadataService.saveOverlay(...)`, which is exactly the failure the
file's header warns about. Dropped from the row.
⛔ Deliberately NOT touched: the same row claims `delete`, which resolves to 0
members at the base commit too -- the interface spells it `unregister`. That
is pre-existing and unrelated to this retirement, so it is reported rather
than folded in.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LpRNHxWZgSUgVnFT9mQQo4
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 518d5e5 commit 9e0ba21
61 files changed
Lines changed: 1164 additions & 1617 deletions
File tree
- .changeset
- content/docs
- getting-started
- kernel/contracts
- protocol/kernel
- references
- api
- kernel
- system
- docs/audits
- packages
- metadata
- src
- spec
- api-surface
- authorable-defaults
- authorable-surface
- export-origins
- json-schema.manifest
- scripts
- src
- api
- contracts
- kernel
- migrations
- entries
- retired-defs
- retired-keys
- semantic
- skills/objectstack-platform/references
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 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | 64 | | |
71 | 65 | | |
72 | 66 | | |
| |||
206 | 200 | | |
207 | 201 | | |
208 | 202 | | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
| 203 | + | |
224 | 204 | | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
238 | 213 | | |
239 | 214 | | |
240 | 215 | | |
| |||
293 | 268 | | |
294 | 269 | | |
295 | 270 | | |
296 | | - | |
297 | 271 | | |
298 | 272 | | |
299 | 273 | | |
| |||
321 | 295 | | |
322 | 296 | | |
323 | 297 | | |
324 | | - | |
| 298 | + | |
325 | 299 | | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
354 | 306 | | |
355 | 307 | | |
356 | 308 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
| 230 | + | |
231 | 231 | | |
232 | | - | |
| 232 | + | |
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
238 | 237 | | |
239 | 238 | | |
240 | 239 | | |
241 | | - | |
| 240 | + | |
242 | 241 | | |
243 | 242 | | |
244 | 243 | | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
245 | 249 | | |
246 | 250 | | |
247 | 251 | | |
| |||
0 commit comments