[
{
"id": "Q-001",
"type": "choice",
"severity": "low",
"origin": "plan",
"blueprint": "ARCHITECTURE.md",
"story": "foundation",
"status": "recommended",
"archived": false,
"title": "Implementation language and package name",
"description": "The sources do not name a language. The harness only needs an executable ./commonmark and already requires python3. I considered Python 3 with a shebang script versus a compiled language. I picked Python 3, consistent with TECHNOLOGY_STACK.md, with the package named mdparser to avoid any resemblance to a public Markdown library.",
"options": [
{
"value": "python-mdparser",
"label": "Python 3 script plus mdparser package"
},
{
"value": "other",
"label": "Another language"
}
],
"system_choice": "python-mdparser"
},
{
"id": "Q-002",
"type": "choice",
"severity": "low",
"origin": "plan",
"blueprint": "FEATURE-Line-Breaks-Text.md",
"story": "line-breaks-text",
"status": "recommended",
"archived": false,
"title": "Soft break rendering",
"description": "The spec allows a soft break to render as a line ending or a space, and the normalizer collapses both. I picked a line ending, which matches the spec's examples.",
"options": [
{
"value": "newline",
"label": "Line ending"
},
{
"value": "space",
"label": "Space"
}
],
"system_choice": "newline"
},
{
"id": "Q-003",
"type": "text",
"severity": "material",
"origin": "plan",
"blueprint": "FEATURE-Block-Engine.md",
"story": "block-engine",
"status": "recommended",
"archived": false,
"title": "Corpus section ownership differs from ANALYSIS.md",
"description": "Nearly every spec section has examples that use constructs from other sections, and some pairs are circular (links and definitions, lists and quotes). A section cannot be gated until all constructs its examples use exist. I kept the analyzed story boundaries but reassigned where each section's corpus slice runs. Sections whose examples are self-contained are gated at their own story: Autolinks, Code spans, Inlines, Soft line breaks, Textual content. Cross-coupled sections are gated at the first story after all their constructs exist: Emphasis, Links and Images at images; the block sections at lists; Tabs, Link reference definitions, Backslash escapes, Entities, Raw HTML, HTML blocks, Paragraphs, Blank lines and Hard line breaks at cont-tabs-slice. Stories before their section's gate carry bounded state-oracle checks. Every section belongs to exactly one slice, and the terminal story runs the whole suite.",
"options": [],
"system_choice": "Per-story slices as described, with the full suite only in verify-conformance."
},
{
"id": "Q-004",
"type": "text",
"severity": "low",
"origin": "plan",
"blueprint": "FEATURE-Executable.md",
"story": "executable-interface",
"status": "recommended",
"archived": false,
"title": "Exit status and error channel",
"description": "The sources do not state a response contract for odd input. I picked exit status 0 for all input, with invalid UTF-8 decoded using U+FFFD replacement, and stdout carrying only HTML, with diagnostics on stderr. This follows the surfaced criteria AC-001 to AC-003.",
"options": [],
"system_choice": "Exit 0 always; U+FFFD replacement; diagnostics to stderr only."
},
{
"id": "build-feature-atx-headings.md-closing-sequence-detection",
"type": "text",
"severity": "low",
"origin": "build",
"blueprint": "FEATURE-ATX-Headings.md",
"story": null,
"status": "recommended",
"archived": false,
"title": "Closing-sequence detection",
"description": "The closing run is removed only when it is the whole heading content or follows a space or tab. Backslash-escaped and attached hashes (foo#, foo \\#) are kept, as the spec's guardrail requires. Options were a regex or a character scan; I chose the character scan to match the existing cursor-based start rules.",
"options": [],
"system_choice": "The closing run is removed only when it is the whole heading content or follows a space or tab. Backslash-escaped and attached hashes (foo#, foo \\#) are kept, as the spec's guardrail requires. Options were a regex or a character scan; I chose the character scan to match the existing cursor-based start rules."
},
{
"id": "build-feature-autolinks.md-minimal-backslash-escape-handling-in-the-inline-scanner",
"type": "text",
"severity": "low",
"origin": "build",
"blueprint": "FEATURE-Autolinks.md",
"story": null,
"status": "recommended",
"archived": false,
"title": "Minimal backslash-escape handling in the inline scanner",
"description": "The Autolinks section's example `<foo\\+@bar.example.com>` expects the backslash in front of `+` to be removed outside the autolink, and the gate requires that example to pass. I therefore added a minimal rule to the inline scanner: a backslash before ASCII punctuation yields that character. A full backslash-escape story would replace this, and autolink behaviour does not depend on it. Is that acceptable, or should it move to the entities module on replan?",
"options": [],
"system_choice": "The Autolinks section's example `<foo\\+@bar.example.com>` expects the backslash in front of `+` to be removed outside the autolink, and the gate requires that example to pass. I therefore added a minimal rule to the inline scanner: a backslash before ASCII punctuation yields that character. A full backslash-escape story would replace this, and autolink behaviour does not depend on it. Is that acceptable, or should it move to the entities module on replan?"
},
{
"id": "build-feature-backslash-escapes.md-location-of-the-shared-unescape-helper-and-punctuation-set",
"type": "text",
"severity": "low",
"origin": "build",
"blueprint": "FEATURE-Backslash-Escapes.md",
"story": null,
"status": "recommended",
"archived": false,
"title": "Location of the shared unescape helper and punctuation set",
"description": "Placed ASCII_PUNCTUATION and unescape() in mdparser/entities.py, which the ARCHITECTURE assigns backslash unescape to, and made inlines.py import the set rather than keep its own copy. unescape() has no caller until the link and info-string stories are built. Is that acceptable, or should it live elsewhere on replan?",
"options": [],
"system_choice": "Placed ASCII_PUNCTUATION and unescape() in mdparser/entities.py, which the ARCHITECTURE assigns backslash unescape to, and made inlines.py import the set rather than keep its own copy. unescape() has no caller until the link and info-string stories are built. Is that acceptable, or should it live elsewhere on replan?"
},
{
"id": "build-feature-block-engine.md-leading-whitespace-on-paragraph-continuation-lines",
"type": "text",
"severity": "low",
"origin": "build",
"blueprint": "FEATURE-Block-Engine.md",
"story": null,
"status": "recommended",
"archived": false,
"title": "Leading whitespace on paragraph continuation lines",
"description": "Stripped at block level when a line joins a paragraph (the Appendix procedure advances past indentation before adding text). Trailing spaces and tabs are stripped from the whole paragraph at close, and interior trailing spaces are kept for later hard-break handling. The spec says only initial and final whitespace is removed, so this is the reading I took. Is that acceptable, or should continuation indentation pass through to the inline hook?",
"options": [],
"system_choice": "Stripped at block level when a line joins a paragraph (the Appendix procedure advances past indentation before adding text). Trailing spaces and tabs are stripped from the whole paragraph at close, and interior trailing spaces are kept for later hard-break handling. The spec says only initial and final whitespace is removed, so this is the reading I took. Is that acceptable, or should continuation indentation pass through to the inline hook?"
},
{
"id": "build-feature-block-engine.md-partially-consumed-tabs",
"type": "text",
"severity": "low",
"origin": "build",
"blueprint": "FEATURE-Block-Engine.md",
"story": null,
"status": "recommended",
"archived": false,
"title": "Partially consumed tabs",
"description": "Cursor.advance_columns consumes a tab that straddles the target column whole, so the column can overshoot. Partial-tab handling is needed only by block stories that split tabs, such as list item and indented code. Should that story replace this behavior?",
"options": [],
"system_choice": "Cursor.advance_columns consumes a tab that straddles the target column whole, so the column can overshoot. Partial-tab handling is needed only by block stories that split tabs, such as list item and indented code. Should that story replace this behavior?"
},
{
"id": "build-feature-block-engine.md-where-the-inline-hook-lives",
"type": "text",
"severity": "low",
"origin": "build",
"blueprint": "FEATURE-Block-Engine.md",
"story": null,
"status": "recommended",
"archived": false,
"title": "Where the inline hook lives",
"description": "The hook is parse_inline in mdparser/inlines.py, which returns escape_html(raw). render_document takes it as an argument, so render does not import inlines and the import graph has no cycle. cli wires the two together.",
"options": [],
"system_choice": "The hook is parse_inline in mdparser/inlines.py, which returns escape_html(raw). render_document takes it as an argument, so render does not import inlines and the import graph has no cycle. cli wires the two together."
},
{
"id": "build-feature-block-quotes.md-partly-consumed-tab-after-the-quote-marker",
"type": "text",
"severity": "low",
"origin": "build",
"blueprint": "FEATURE-Block-Quotes.md",
"story": null,
"status": "recommended",
"archived": false,
"title": "Partly consumed tab after the quote marker",
"description": "The spec requires a tab that is only partly consumed to leave its remaining columns as content indentation. I added a separate Cursor.consume_columns method for this and left advance_columns unchanged, because an existing unit test pins its whole-tab overshoot. Indented code's start and continue rules now use consume_columns so that the spec's >\\t\\tfoo example renders as two spaces inside pre. Fenced-code indentation removal still uses advance_columns, so a tab straddling a fence's indentation is still consumed whole. Is that acceptable, or should fenced code move to consume_columns on replan?",
"options": [],
"system_choice": "The spec requires a tab that is only partly consumed to leave its remaining columns as content indentation. I added a separate Cursor.consume_columns method for this and left advance_columns unchanged, because an existing unit test pins its whole-tab overshoot. Indented code's start and continue rules now use consume_columns so that the spec's >\\t\\tfoo example renders as two spaces inside pre. Fenced-code indentation removal still uses advance_columns, so a tab straddling a fence's indentation is still consumed whole. Is that acceptable, or should fenced code move to consume_columns on replan?"
},
{
"id": "build-feature-emphasis.md-openers_bottom-key-uses-original-delimiter-length-mod-3",
"type": "text",
"severity": "low",
"origin": "build",
"blueprint": "FEATURE-Emphasis.md",
"story": null,
"status": "recommended",
"archived": false,
"title": "openers_bottom key uses original delimiter length mod 3",
"description": "The spec says closer length mod 3. I keyed openers_bottom on the closer's original length, because the multiple-of-3 rule is defined on original lengths and a current-length key could skip a valid opener. Is that acceptable, or should it read the spec literally?",
"options": [],
"system_choice": "The spec says closer length mod 3. I keyed openers_bottom on the closer's original length, because the multiple-of-3 rule is defined on original lengths and a current-length key could skip a valid opener. Is that acceptable, or should it read the spec literally?"
},
{
"id": "build-feature-entities.md-shared-destination/title/info-string-helper-design",
"type": "text",
"severity": "low",
"origin": "build",
"blueprint": "FEATURE-Entities.md",
"story": null,
"status": "recommended",
"archived": false,
"title": "Shared destination/title/info-string helper design",
"description": "The spec asks for a shared helper but does not define its shape. I added `unescape_and_decode` in `mdparser/entities.py`, a single left-to-right pass that applies backslash escapes and character references together, so an escaped ampersand is not re-read as a reference. The existing backslash-only `unescape` is kept unchanged. Is that acceptable, or should the helper be split into two passes?",
"options": [],
"system_choice": "The spec asks for a shared helper but does not define its shape. I added `unescape_and_decode` in `mdparser/entities.py`, a single left-to-right pass that applies backslash escapes and character references together, so an escaped ampersand is not re-read as a reference. The existing backslash-only `unescape` is kept unchanged. Is that acceptable, or should the helper be split into two passes?"
},
{
"id": "build-feature-executable.md-catch-all-for-internal-rendering-errors",
"type": "text",
"severity": "low",
"origin": "build",
"blueprint": "FEATURE-Executable.md",
"story": null,
"status": "recommended",
"archived": false,
"title": "Catch-all for internal rendering errors",
"description": "main() catches any exception raised while decoding or rendering, prints one diagnostic line to stderr, writes empty stdout, and returns 0. This keeps the exit-0-for-all-input guardrail. Once the block engine lands, this may hide renderer bugs as empty output, so it could be narrowed or made to exit non-zero then. Is that acceptable, or should it change on replan?",
"options": [],
"system_choice": "main() catches any exception raised while decoding or rendering, prints one diagnostic line to stderr, writes empty stdout, and returns 0. This keeps the exit-0-for-all-input guardrail. Once the block engine lands, this may hide renderer bugs as empty output, so it could be narrowed or made to exit non-zero then. Is that acceptable, or should it change on replan?"
},
{
"id": "build-feature-fenced-code.md-dropping-the-final-empty-line-in-render_lines",
"type": "text",
"severity": "material",
"origin": "build",
"blueprint": "FEATURE-Fenced-Code.md",
"story": null,
"status": "recommended",
"archived": false,
"title": "Dropping the final empty line in render_lines",
"description": "split_lines is pinned by an existing test to return a trailing empty entry for input ending in a newline. Changing it would break that test. I dropped the one trailing empty entry in cli.render_lines instead, so an unclosed fence does not gain a blank line. Is that acceptable, or should the line model move into blocks.parse_lines on replan?",
"options": [],
"system_choice": "split_lines is pinned by an existing test to return a trailing empty entry for input ending in a newline. Changing it would break that test. I dropped the one trailing empty entry in cli.render_lines instead, so an unclosed fence does not gain a blank line. Is that acceptable, or should the line model move into blocks.parse_lines on replan?"
},
{
"id": "build-feature-html-blocks.md-end-condition-check-on-the-start-line-for-types-1-to-5",
"type": "text",
"severity": "low",
"origin": "build",
"blueprint": "FEATURE-HTML-Blocks.md",
"story": null,
"status": "recommended",
"archived": false,
"title": "End-condition check on the start line for types 1 to 5",
"description": "The end test runs on the whole start line, so `<!-->` closes immediately because it literally contains `-->`. The spec wording 'line contains' supports this. Acceptable, or should the search begin after the opening marker?",
"options": [],
"system_choice": "The end test runs on the whole start line, so `<!-->` closes immediately because it literally contains `-->`. The spec wording 'line contains' supports this. Acceptable, or should the search begin after the opening marker?"
},
{
"id": "build-feature-images.md-raw-html-inside-an-image-description",
"type": "text",
"severity": "low",
"origin": "build",
"blueprint": "FEATURE-Images.md",
"story": null,
"status": "recommended",
"archived": false,
"title": "Raw HTML inside an image description",
"description": "Raw inline HTML contributes its literal source text to alt, escaped, as cmark does in plain-text mode. The spec gives no example for this case. Is that acceptable?",
"options": [],
"system_choice": "Raw inline HTML contributes its literal source text to alt, escaped, as cmark does in plain-text mode. The spec gives no example for this case. Is that acceptable?"
},
{
"id": "build-feature-indented-code.md-start-gate-for-indented-code",
"type": "text",
"severity": "low",
"origin": "build",
"blueprint": "FEATURE-Indented-Code.md",
"story": null,
"status": "recommended",
"archived": false,
"title": "Start gate for indented code",
"description": "The start rule refuses whenever the container is a leaf that takes lines, rather than checking for the paragraph type by name. This keeps the no-interrupt rule general. Acceptable as is?",
"options": [],
"system_choice": "The start rule refuses whenever the container is a leaf that takes lines, rather than checking for the paragraph type by name. This keeps the no-interrupt rule general. Acceptable as is?"
},
{
"id": "build-feature-line-breaks-text.md-break-text-inside-image-alt",
"type": "text",
"severity": "low",
"origin": "build",
"blueprint": "FEATURE-Line-Breaks-Text.md",
"story": null,
"status": "recommended",
"archived": false,
"title": "Break text inside image alt",
"description": "A hard or soft break inside an image description contributes a plain line ending to the alt attribute, so `` gives alt=\"foo\\nbar\". The spec does not say what alt should contain for a break. Is that acceptable?",
"options": [],
"system_choice": "A hard or soft break inside an image description contributes a plain line ending to the alt attribute, so `` gives alt=\"foo\\nbar\". The spec does not say what alt should contain for a break. Is that acceptable?"
},
{
"id": "build-feature-link-reference-definitions.md-reference-map-location-and-definition-only-paragraph-removal",
"type": "text",
"severity": "low",
"origin": "build",
"blueprint": "FEATURE-Link-Reference-Definitions.md",
"story": null,
"status": "recommended",
"archived": false,
"title": "Reference map location and definition-only paragraph removal",
"description": "The reference map is held on the document root Block and filled by the paragraph finalize rule, so containers and the inline stories share one map without changing the finalize signature. A paragraph left empty after extraction is removed from the tree. Acceptable, or should the map move to the parser on replan?",
"options": [],
"system_choice": "The reference map is held on the document root Block and filled by the paragraph finalize rule, so containers and the inline stories share one map without changing the finalize signature. A paragraph left empty after extraction is removed from the tree. Acceptable, or should the map move to the parser on replan?"
},
{
"id": "build-feature-links.md-destination-parenthesis-depth",
"type": "text",
"severity": "low",
"origin": "build",
"blueprint": "FEATURE-Links.md",
"story": null,
"status": "recommended",
"archived": false,
"title": "Destination parenthesis depth",
"description": "The spec text says balanced parentheses to at least three levels. I reused the balanced-depth matcher from refs.py, which has no depth limit. Is an unlimited depth acceptable?",
"options": [],
"system_choice": "The spec text says balanced parentheses to at least three levels. I reused the balanced-depth matcher from refs.py, which has no depth limit. Is an unlimited depth acceptable?"
},
{
"id": "build-feature-links.md-image-(![)-constructs",
"type": "text",
"severity": "material",
"origin": "build",
"blueprint": "FEATURE-Links.md",
"story": null,
"status": "recommended",
"archived": false,
"title": "Image (![) constructs",
"description": "The ![ opener and its inline or reference tail are matched and consumed with the same machinery, but the image is emitted as its literal source text, escaped. Rendering <img> was left to the images story as the build instructions require. Is that acceptable, or should the images story replace this on replan?",
"options": [],
"system_choice": "The ![ opener and its inline or reference tail are matched and consumed with the same machinery, but the image is emitted as its literal source text, escaped. Rendering <img> was left to the images story as the build instructions require. Is that acceptable, or should the images story replace this on replan?"
},
{
"id": "build-feature-list-items.md-interruption-decided-by-the-matched-container,-not-the-lazy-paragraph-flag",
"type": "text",
"severity": "low",
"origin": "build",
"blueprint": "FEATURE-List-Items.md",
"story": null,
"status": "recommended",
"archived": false,
"title": "Interruption decided by the matched container, not the lazy-paragraph flag",
"description": "A list item's interruption rules (no empty start, ordered start must be 1) apply when the matched container is a paragraph, not when the line is merely a lazy continuation. This matches the reference algorithm, so '> foo' followed by '- bar' at top level yields a list. Acceptable?",
"options": [],
"system_choice": "A list item's interruption rules (no empty start, ordered start must be 1) apply when the matched container is a paragraph, not when the line is merely a lazy continuation. This matches the reference algorithm, so '> foo' followed by '- bar' at top level yields a list. Acceptable?"
},
{
"id": "build-feature-list-items.md-list-grouping-and-tight/loose-rendering-implemented-in-this-step",
"type": "text",
"severity": "material",
"origin": "build",
"blueprint": "FEATURE-List-Items.md",
"story": null,
"status": "recommended",
"archived": false,
"title": "List grouping and tight/loose rendering implemented in this step",
"description": "The spec's Purpose assigns grouping items into lists and tight/loose rendering to the lists story. The declared acceptance checks require one <ul> for consecutive same-marker items, an <ol start> attribute, and <p> counts that depend on tightness, so I implemented a minimal version at render time: runs of items sharing a marker kind and delimiter form one list, and a list is loose when a blank line separates items or blocks inside an item (commonmark.js algorithm). Is that acceptable, or should this move to the lists story on replan?",
"options": [],
"system_choice": "The spec's Purpose assigns grouping items into lists and tight/loose rendering to the lists story. The declared acceptance checks require one <ul> for consecutive same-marker items, an <ol start> attribute, and <p> counts that depend on tightness, so I implemented a minimal version at render time: runs of items sharing a marker kind and delimiter form one list, and a list is loose when a blank line separates items or blocks inside an item (commonmark.js algorithm). Is that acceptable, or should this move to the lists story on replan?"
},
{
"id": "build-feature-lists.md-looseness-when-a-link-reference-definition-follows-a-blank-line-inside-an-item",
"type": "text",
"severity": "low",
"origin": "build",
"blueprint": "FEATURE-Lists.md",
"story": null,
"status": "recommended",
"archived": false,
"title": "Looseness when a link reference definition follows a blank line inside an item",
"description": "In '- a\\n\\n [a]: /u\\n- c' the list renders loose, because the blank line between item a's paragraph and the next item is kept as an item separator even though the definition itself is not a block. Making it tight would also be defensible under the 'definitions do not count as blocks' rule. No spec example covers this, so I kept the behavior that matches the reference implementation and did not pin it in a test. Is that acceptable?",
"options": [],
"system_choice": "In '- a\\n\\n [a]: /u\\n- c' the list renders loose, because the blank line between item a's paragraph and the next item is kept as an item separator even though the definition itself is not a block. Making it tight would also be defensible under the 'definitions do not count as blocks' rule. No spec example covers this, so I kept the behavior that matches the reference implementation and did not pin it in a test. Is that acceptable?"
},
{
"id": "build-feature-raw-html.md-two-earlier-block-test-expectations-updated-for-raw-html",
"type": "text",
"severity": "material",
"origin": "build",
"blueprint": "FEATURE-Raw-HTML.md",
"story": null,
"status": "recommended",
"archived": false,
"title": "Two earlier-block test expectations updated for raw HTML",
"description": "tests/test_render.py expected 'a<b>...' for input 'a<b>&\"c\"', and tests/test_autolinks.py expected '<http://e.com/<a>' for input '<http://e.com/<a>'. Both inputs are valid raw HTML open tags (<b>, <a>), which the spec now passes through. I kept the inputs and changed only the expected values, so each test still checks its original escaping of &, \", and the leading <. Is that acceptable, or should these tests change their inputs instead?",
"options": [],
"system_choice": "tests/test_render.py expected 'a<b>...' for input 'a<b>&\"c\"', and tests/test_autolinks.py expected '<http://e.com/<a>' for input '<http://e.com/<a>'. Both inputs are valid raw HTML open tags (<b>, <a>), which the spec now passes through. I kept the inputs and changed only the expected values, so each test still checks its original escaping of &, \", and the leading <. Is that acceptable, or should these tests change their inputs instead?"
}
]
Run artifact