3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-13 04:08:29 +01:00
Commit Graph

102 Commits

Author SHA1 Message Date
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 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 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 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 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
lilleman e1f37cde43 Answer principles round 1: 0 🔴, 7 🟡; mint task ids within the engine limits, fold == into inline-tokens.ts, keep one frame per quote level, pass the list's path once 2026-10-22 21:38:41 +02:00
lilleman 0c0a9e7835 Move the portable flavour's reading and writing into markdown/portable/ 2026-10-22 21:38:41 +02:00
lilleman d36c99cd55 Answer principles round 1: 0 🔴, 2 🟡; drop the source-scanning test and file the lint question 2026-10-22 00:17:14 +02:00
lilleman 3f7b3a386e Answer architecture round 1: 0 🔴, 2 🟡; join empty-keys to the directive grammar and name the readers by direction 2026-10-22 00:17:14 +02:00
lilleman b080410852 Give the directive grammar, flavours and reader failures one place each 2026-10-22 00:17:14 +02:00
lilleman 5f8c7cf2eb Answer principles round 1: 0 🔴, 2 🟡; read an inline directive from the InlineSource holding its text and closer, and name the quote edges apart from the quotes passed 2026-10-18 11:48:41 +02:00
lilleman d82b7abb3f Read deep list items' blank lines and a directive's unclosed backtick runs in time linear in the markdown 2026-10-18 11:48:41 +02:00
lilleman e12249e593 Read and write unclosed backtick runs and HTML openers in time linear in the text 2026-10-18 11:09:16 +02:00
lilleman c9f9276df9 Answer architecture round 1: 1 🔴, 2 🟡; read a node's taken mark types once, let the highlight ask takesMark, correct the README's code-span bullet 2026-10-14 21:10:41 +02:00
lilleman 278ebbbad5 Give code text no mark but code, link and annotation, in every reader 2026-10-14 21:10:41 +02:00
lilleman 6c389b9c83 Answer prose round 1: 0 🔴, 8 🟡; say which marks a node refuses, and name the fix in the directive mark refusal 2026-10-14 15:08:46 +02:00
lilleman 6842f386ae Answer architecture round 1: 2 🔴, 4 🟡; refuse a link around only nodes that take none, mark the change breaking, file code-text marks 2026-10-14 15:08:46 +02:00
lilleman 1ae7ba6992 Give an inline node no mark Atlassian's schema withholds from it, in every reader 2026-10-14 15:08:46 +02:00
lilleman 580bc862f2 Write an external image a link marks as [![alt](url)](href) in both writers 2026-10-11 13:31:18 +02:00
lilleman 3741b9e5b3 Answer prose round 1: the comments say why, items 95, 96, 91 and 34 read in one pass, the floor's decision drops the rule CLAUDE.md holds, and item 97 files the changelog's order 2026-10-09 19:17:20 +02:00
lilleman 3e9c56d399 Answer architecture round 3: the comprehension floor's decision names item 95, the directive read takes its index from the claimed prefix, and only the claimed prefix leaves directive-syntax.ts 2026-10-09 19:17:20 +02:00
lilleman af9b0d082c Answer architecture round 2: the escape walk owns its escapes and names every token kind, a directive read takes the claimed prefix, the reader computes one end, imports sort, and item 96 covers unclosed backtick runs 2026-10-09 19:17:20 +02:00
lilleman 652ae60179 Answer architecture round 1: a token's width is true for every kind that carries one, the escape walk threads one record, the == step and the directive precondition say why, and item 96 files the inline HTML scan 2026-10-09 19:17:20 +02:00
lilleman 59ead3e8e9 Escape a line against the inline reader's own tokens, in time linear in a run 2026-10-09 19:17:20 +02:00
lilleman 77a6806160 Answer architecture round 3: one joinsBreaks flag in place of the parted set and its retry loops, a directive link spells its break, and takesMarks names the table's field 2026-10-09 12:21:18 +02:00
lilleman e4364b19d0 Answer prose round 1: plainer decision title and spec, the refusal the spec owes, and comments that say why 2026-10-09 12:21:18 +02:00
lilleman 06c225f8f4 Keep the hard breaks a link text holds alone, after its destination, and move item 89 to 0.2.1 2026-10-09 12:21:18 +02:00
lilleman 852d010ff7 Answer product-owner round 1: an emphasis or link run spans an unmarked hard break, the recipe drops a hard break's marks, and the refusal names hard breaks 2026-10-09 12:21:18 +02:00
lilleman 2ca5ac41e6 Answer architecture round 1: the node table says a hard break takes no marks, and a link text of hard breaks alone reads as its destination 2026-10-09 12:21:18 +02:00
lilleman 3ff5c95f4c Build a hardBreak carrying no marks where a mark spelling spans a line break, in every reader 2026-10-09 12:21:18 +02:00
lilleman ee3086ad1e Answer prose round 1: one sentence per idea for the image readings, a decision title that states the rule, item 86 names its shapes 2026-10-09 10:49:08 +02:00
lilleman 050364dbdc Answer stability round 2: a link slot keeps a linked image linked, so the link-in-link refusal holds 2026-10-09 10:49:08 +02:00
lilleman d97c5c2935 Answer stability round 1: an !adf:link slot reads an image as plain alt text 2026-10-09 10:49:08 +02:00