3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-12 19:58:28 +01:00
Commit Graph

488 Commits

Author SHA1 Message Date
lilleman b388b33d31 Answer stability round 1: 1 🔴, 4 🟡 (1 misread); a line gives up its first misread emphasis run, else its first misread highlight, as shipped, the run list narrows to one run, Scan holds SharedScan, the Piece arms are named, and textOpeners and guardLinkDefinition are pinned 2026-10-28 19:15:04 +01:00
lilleman 6636f01497 Answer principles round 1: 0 🔴, 0 🟡 (0 misread); readAsWritten names the emphasis check, the bracket test names the bare case, noDefinitions sorts after linkInLink 2026-10-28 19:15:04 +01:00
lilleman 5ede92bf91 Answer architecture round 1: 0 🔴, 7 🟡 (0 misread); the read-back loop parts from the verdict, the reader takes the opening-link consult, the reading is absent on the parse path, a refused link escapes no backtick; root imports, highlight pairing and closeBracket filed as items 153 to 155 2026-10-28 19:15:04 +01:00
lilleman b0bf362ef9 Find code-span and link openers and unspellable mark runs by reading the escaped line back 2026-10-28 19:15:04 +01:00
lilleman becd7d8d4e Answer prose round 1: 0 🔴, 3 🟡 (0 misread); the destinationEnds comment names a stop and the stack, the changelog entry says neither escaped nor closed, the test name says where the paren is open 2026-10-28 13:27:06 +01:00
lilleman fda02e9acb Answer principles round 1: 0 🔴, 2 🟡 (0 misread); the end of the text is destinationEnds' last stop, and a nested unclosed paren after a space is pinned 2026-10-28 13:27:06 +01:00
lilleman 6fe527c945 Read a link destination holding an unbalanced unescaped parenthesis as no destination 2026-10-28 13:27:06 +01:00
lilleman 744476658c Answer prose round 2: 0 🔴, 2 🟡 (0 misread); the memo comments say what they hold, the PR body names destinationEnds 2026-10-28 13:01:28 +01:00
lilleman 935012d475 Answer stability round 1: 1 🔴, 1 🟡 (0 misread); nested directive contents share their paragraph's memo, and a title after <destination> needs whitespace, pinned 2026-10-28 13:01:28 +01:00
lilleman 273c08ac08 Answer prose round 1: 0 🔴, 2 🟡 (0 misread); the memo's comments say what they guard, two test names say what they check, item 151 names the one walk 2026-10-28 13:01:28 +01:00
lilleman 167d59836c Answer principles round 1: 1 🔴, 0 🟡 (0 misread); readDestination reads through targetMemo, so one loop holds the destination grammar 2026-10-28 13:01:28 +01:00
lilleman fc7f7fb357 Read an inline link's target in time linear in the inline markdown 2026-10-28 13:01:28 +01:00
lilleman c85d23a9ba Answer principles round 4: 0 🔴, 1 🟡 (0 misread); an item's line names the missing </li> before the next item too 2026-10-28 11:36:54 +01:00
lilleman 12230b5e9c Answer prose round 1: 0 🔴, 8 🟡 (0 misread); refusals name the tag and what they found, the start-after-data-* message no longer false, README, spec and changelog reworded 2026-10-28 11:36:54 +01:00
lilleman 4fa16b62e5 Answer stability round 2: 0 🔴, 2 🟡 (0 misread); an item's line names an inline element only on a bare line short of a block, and two refusals pinned to the character they name 2026-10-28 11:36:54 +01:00
lilleman 37f9cfc433 Answer product-owner round 2: 0 🔴, 2 🟡 (0 misread); a code element, an item's line and a mark element's content refused through misread, naming what they found 2026-10-28 11:36:54 +01:00
lilleman 3366841adf Answer principles round 2: 0 🔴, 3 🟡 (0 misread); the document carry's two clauses pinned, one test per case, the escaped set spelled once in the entities map, UUID v7 ids, the document carry's tail from carryContent 2026-10-28 11:36:54 +01:00
lilleman 74add5c813 Answer architecture round 3: 0 🔴, 1 🟡 (0 misread); what a carry element shows recorded as part of the HTML contract, in the decision, at carryContent and in item 143 2026-10-28 11:36:54 +01:00
lilleman 0cb80fd4fc Answer principles round 1: 1 🔴, 5 🟡 (0 misread); the document carry's line feeds checked, element spellings shared with the writer, carried JSON bounded by type, an edit to a carry refused, one test per case, a start tag read one attribute at a time 2026-10-28 11:36:54 +01:00
lilleman e39ca86d74 Answer architecture round 1: 2 🔴, 6 🟡 (0 misread); carried JSON read through adf/, one spelling home per element in html/, block readers in one table, the first paragraph's form shared, a lint boundary for html/parse, a strictness oracle 2026-10-28 11:36:54 +01:00
lilleman 51e37f68df Ship htmlToAdf: read back exactly the HTML adfToHtml writes, a carry element from its data-adf alone, any other HTML refused 2026-10-28 11:36:54 +01:00
lilleman e20a1c3a30 Answer architecture round 5: 0 🔴, 0 🟡 (0 misread); shownImage returns no textless state, item 143 and the card rule name their whole reach 2026-10-26 13:20:27 +01:00
lilleman 9ff53c1658 Answer architecture round 4: 0 🔴, 1 🟡 (0 misread); one image rule in shown-text for both writers, a link mark's href kept past a bad title, the card rule recorded 2026-10-26 13:20:27 +01:00
lilleman 938c318dd6 Answer stability round 3: 0 🔴, 0 🟡 (0 misread); a block inside an inline node inside a carried code block pinned 2026-10-26 13:20:27 +01:00
lilleman fb75c33975 Answer prose round 1: 0 🔴, 11 🟡 (0 misread); claims true to the code, one pick per line in the dialect's panels, plainer comments and test names 2026-10-26 13:20:27 +01:00
lilleman 94efd30c59 Answer stability round 2: 1 🔴, 0 🟡 (0 misread); a block inside a carried code block shows as a paragraph again 2026-10-26 13:20:27 +01:00
lilleman fd5b2fb86c Answer principles round 3: 0 🔴, 1 🟡 (0 misread); the carry walk's entries hold their code block, the linked image its own function, item 143 filed 2026-10-26 13:20:27 +01:00
lilleman 73363a6756 Answer principles round 2: 1 🔴, 2 🟡 (0 misread); mutants killed, dead branches gone, data-* in its own module, linked images keep both targets, every URL sink named 2026-10-26 13:20:27 +01:00
lilleman 7bcbf49963 Answer architecture round 3: 0 🔴, 1 🟡 (0 misread); the data-* and carry contract names its elements, an item's first paragraph holding an attribute on the item's line (panel 6 of 7) 2026-10-26 13:20:27 +01:00
lilleman 7a38db2563 Answer principles round 1: 3 🔴, 8 🟡 (0 misread); attributes as data-*, carried content as paragraphs, links and notes, no character HTML cannot hold, mutants killed 2026-10-26 13:20:27 +01:00
lilleman 1f46111fe4 Answer architecture round 2: 0 🔴, 0 🟡 (0 misread); heldTextLength private to writableContent 2026-10-26 13:20:27 +01:00
lilleman e234905c27 Answer architecture round 1: 2 🔴, 6 🟡 (0 misread); one escaping path refusing null characters, block writers returning their pieces, the HTML writer split, shared entry checks, lint between formats 2026-10-26 13:20:27 +01:00
lilleman cc029b0bc9 Write a URL as the ADF holds it, whatever its scheme; file item 142 to weigh carrying script URLs 2026-10-26 13:20:27 +01:00
lilleman 6fe36d5947 Ship adfToHtml: semantic HTML for the CommonMark blocks and marks, an adf-carry element for the rest 2026-10-26 13:20:27 +01:00
lilleman ab3c07a23a Answer prose round 1: 0 🔴, 4 🟡; plainer bracket-stack comments, a truer item 56, the label line spellings first 2026-10-23 12:08:09 +02:00
lilleman 94f4df4dcf Answer stability round 1: 0 🔴, 6 🟡; share the label limit with readLabel, pin it at 1000 characters, move item 129 to the changelog 2026-10-23 12:08:09 +02:00
lilleman ddcfa6ee1a Answer principles round 2: 1 🔴, 1 🟡; bound the collapsed label at 999 too, pinned by a test 2026-10-23 12:08:09 +02:00
lilleman f1aca51916 Answer principles round 1: 2 🔴, 5 🟡; bound a shortcut label at 999, file item 130, keep literal brackets as text, split pairingsByOpener 2026-10-23 12:08:09 +02:00
lilleman 759c522767 Read emphasis and link brackets in time linear in the inline markdown 2026-10-23 12:08:09 +02:00
lilleman abb2b417ff Name parseInlineContent as the caller asking the emitter about an opening link 2026-10-23 10:45:33 +02:00
lilleman 45515e9c85 Carry each (image) one way: the link directive moves its own to the end 2026-10-23 10:45:33 +02:00
lilleman ef14f98c3e Answer prose round 1: 0 🔴, 8 🟡; split the image-in-link ruling out, place the (image) plainly, credit only the same-URL rule to the portable writer 2026-10-23 10:45:33 +02:00
lilleman 17722a0f57 Answer stability round 1: 0 🔴, 3 🟡; pin the image titles besideLink compares, drop two dead clauses, file item 129 2026-10-23 10:45:33 +02:00
lilleman 28878122ee Answer product-owner round 1: 0 🔴, 1 🟡; write no (image) after a link to the image itself 2026-10-23 10:45:33 +02:00
lilleman 49ec55bef2 Answer architecture round 2: 1 🔴, 0 🟡; keep each (image) a piece of its own through every mark slot, so no image description reads it as alt text 2026-10-23 10:45:33 +02:00
lilleman 78104b6746 Answer architecture round 1: 1 🔴, 2 🟡; keep the (image) trailer out of alt text, refuse a node slot holding an image inside a link 2026-10-23 10:45:33 +02:00
lilleman e82998c322 Keep an image's URL and title inside a link as (image) after the link 2026-10-23 10:45:33 +02:00
lilleman 5de03a7b41 Answer stability round 1: 0 🔴, 4 🟡; pin a lossless cell's trailing and escaped pipe and the image title's escapes 2026-10-22 22:06:59 +02:00
lilleman 0841616352 Answer principles round 1: 0 🔴, 4 🟡; escape a title's backslash only where CommonMark reads an escape, check pipes in lossless syntax alone, split the title tests, state the portable escapes 2026-10-22 22:06:59 +02:00
lilleman 2d7d8f8af6 Spell a portable link title holding a backslash, an entity reference or, in a table cell, a pipe 2026-10-22 22:06:59 +02:00