This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
Commit 320c841
docs(plugin-markdown): compile the README's snippets against the shipped surface (#8260)
Burns down `packages/plugin-markdown/README.md`'s `UNGATED_DOCS` entry
(objectui#5174, batch 34): the page moves from the gate's ledgered tier into
its compiled tier, so its snippets are judged on every commit instead of being
recorded as debt.
- The "Schema API" block was a TYPE shape written as an object literal — the
page's only parse failure and both ledgered diagnostics. It becomes a
Markdown members table, so the page points at `MarkdownSchema` instead of
carrying a second private copy of it.
- The Usage example's bare `const schema = { … }` is annotated
`MarkdownSchema` with the type import; measured beforehand, the unannotated
binding accepted a genuine type error with a byte-identical ledger row.
- The manual-registration loop now passes the `{ namespace: 'plugin-markdown' }`
third argument the plugin's own registration makes; the two-argument form
still compiles but `ComponentRegistry.register` warns that it is deprecated.
No `src/**` or type edit: `content`'s contract-versus-runtime reading
(`schema.content || ''`) and the two ADR-0049 tombstones are stated, not
changed.
Claude-Session: https://claude.ai/code/session_01FhBNJcLRZLe8M87VcUgpKr
Co-authored-by: Claude <noreply@anthropic.com>1 parent 0fa7a9c commit 320c841
2 files changed
Lines changed: 26 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | | - | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
43 | | - | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
69 | 86 | | |
70 | 87 | | |
71 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
779 | 779 | | |
780 | 780 | | |
781 | 781 | | |
782 | | - | |
783 | | - | |
784 | 782 | | |
785 | 783 | | |
786 | 784 | | |
| |||
0 commit comments