Close the grammar's contract holes from the architecture review
CI / gate (push) Successful in 7s

This commit is contained in:
2026-08-24 00:23:43 +02:00
parent ae519e233e
commit a4e5718a87
3 changed files with 49 additions and 25 deletions
+2 -2
View File
@@ -22,8 +22,8 @@ Round-trip equality is a property tested over a corpus, not a claim made in pros
## 3. Unknown input policy
- Unknown ADF node: carried opaquely — raw JSON rides a dedicated syntax in both formats, restored
byte-for-byte. The round-trip holds for documents newer than the library.
- Unknown ADF node: carried opaquely — raw JSON rides a dedicated syntax in both formats and
restores to a deep-equal node. The round-trip holds for documents newer than the library.
- Unmappable foreign HTML element: error result naming the element — never a silent drop.
- Bare `@name` / `:smile:` in typed text: stays a text node. Only directives produce
mention/emoji/media nodes; resolving names to ids needs I/O, which is the consumer's job.