diff --git a/README.md b/README.md index 9bdee02..8519615 100644 --- a/README.md +++ b/README.md @@ -48,8 +48,8 @@ if (result.ok) { } ``` -Serves [Goals](#goals) 1, 2 and 8. Pure functions, each taking a whole document and returning a whole -result; no I/O, no configuration. `markdownToHtml` and `htmlToMarkdown` convert through ADF: +Serves [Goals](#goals) 1, 2 and 8. Pure functions, each taking a whole document and returning a +whole result; no I/O, no configuration. `markdownToHtml` and `htmlToMarkdown` convert through ADF: they keep only what ADF holds, and refuse what `markdownToAdf` or `htmlToAdf` refuses. ```ts diff --git a/todo.md b/todo.md index 8beba96..ac755f3 100644 --- a/todo.md +++ b/todo.md @@ -116,8 +116,8 @@ still claim unbounded width, which the 500-level limit does not cover, so the co million JSON values, each object, array, string, number, boolean and null counting one (the maintainer, 2026-10-05): roughly 50 to 100 MB of JSON, far past any real page, where 10 000 would refuse a 500-row table. Before reading an array, the reader checks its `length` against the values -left, so a Proxy claiming 2³² elements is refused at once. The code that refusal takes follows -`docs/decisions.md` §Which code a cause takes; where it reads two ways, the chunk asks. Found by the +left, so a Proxy claiming 2³² elements is refused at once. The chunk asks whether that refusal +shares the 500-level guard's `unsupported-nesting-depth` or takes another code. Found by the technical-principles audit, 2026-10-04. ### 71. Add a README table comparing the package with the other ADF converters, each cell checked against that package's own docs or behaviour.