Close the stability round's contract holes: block claiming, unspellable states, carve-out qualifiers, deep-equal domain
CI / gate (push) Successful in 7s

This commit is contained in:
2026-08-24 00:36:48 +02:00
parent b7b4b40923
commit f0a3db3004
4 changed files with 35 additions and 15 deletions
+3 -2
View File
@@ -38,8 +38,9 @@ isAdfDocument(v: unknown): v is AdfDocument
(AGENTS.md §3).
- `htmlToAdf(adfToHtml(doc))` equals `doc` — fidelity HTML cannot express rides `data-*`
attributes.
- Plain CommonMark is valid input to `markdownToAdf`; converting back yields the library's
canonical spelling, which round-trips byte-identically.
- Plain CommonMark is valid input to `markdownToAdf`, with one carve-out: literal text matching
directive syntax is claimed (escapable — `spec/flavour.md`). Converting back yields the
library's canonical spelling, which round-trips byte-identically.
- Foreign HTML maps a documented element set; an unmappable element is an error, never a silent
drop. Well-formed HTML only — no tag-soup recovery.
- The emitted formats are semver surface (AGENTS.md §8).