3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-19 14:45:44 +01:00

Record the settled carry decisions: verbatim restore in the spec, the two-code case at the freeze read

This commit is contained in:
2026-09-03 07:35:18 +02:00
parent 34fd18e852
commit 75f5b22a34
2 changed files with 6 additions and 3 deletions
+3 -2
View File
@@ -135,8 +135,9 @@ literal-text fallback — a typo that reparses as prose is the silent loss §2 r
## The opaque carry (AGENTS.md §3)
A node no section spells where it stands — an unknown type, or a known one whose spelling belongs
to the other position — rides as its raw JSON and restores to a deep-equal node. Block and inline
positions canonicalize differently, each fitting where it sits:
to the other position — rides as its raw JSON and restores to a deep-equal node. A carry may hold
a node the emitter spells natively: it restores verbatim, and the next emit spells it canonically
(AGENTS.md §2). Block and inline positions canonicalize differently, each fitting where it sits:
- **Block position**: a fenced code block with info string `adf`, body = the node's JSON —
two-space indent, object keys sorted.