Run artifact

workspace/targets/commonmark/evidence/block-14.md

Evidence: Block 14 ยท Service (block-14)

Stories built

Stacked context

Build directory changes

Pre-build acceptance observation

intent: Lines of three or more matching marker characters each render one hr element. return code: 1 stdout: <p>*</p> <p>---</p> <p>___</p> <p>_____________</p> <p>- - -</p> <p> * ** * ** * </p> stderr: --- drydock: values at failure --- lines = ['*', '---', '_', '___', ' - - -', ' ** * ** * ** * '] result = CompletedProcess(args=['./commonmark'], returncode=0, stdout='<p>*</p>\n<p>---</p>\n<p>_</p>\n<p>___</p>\n<p>- - -</p>\n<p>** * ** * ** * **</p>\n', stderr='') --- drydock: end values --- Traceback (most recent call last): File "thematic-three-markers.py", line 8, in <module> assert result.stdout.count("<hr />") == len(lines) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError

intent: Wrong characters, too few characters, mixed characters and trailing text do not produce hr elements. return code: 0 stdout: <p>+++</p> <p>--</p> <p>_ _ _ _ a</p> <p>a------</p> <p><em>-</em></p>

intent: A thematic break directly after paragraph text splits it into two paragraphs around one hr. return code: 1 stdout: <p>Foo * bar</p> stderr: --- drydock: values at failure --- result = CompletedProcess(args=['./commonmark'], returncode=0, stdout='<p>Foo\n*\nbar</p>\n', stderr='') --- drydock: end values --- Traceback (most recent call last): File "thematic-interrupts-paragraph.py", line 6, in <module> assert result.stdout.count("<hr />") == 1 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError

intent: Trailing spaces and tabs after the marker characters are allowed. return code: 1 stdout: <p>- - - -</p> stderr: --- drydock: values at failure --- result = CompletedProcess(args=['./commonmark'], returncode=0, stdout='<p>- - - -</p>\n', stderr='') --- drydock: end values --- Traceback (most recent call last): File "thematic-trailing-whitespace.py", line 6, in <module> assert result.stdout.count("<hr />") == 1 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError

Post-build programmatic acceptance

intent: Lines of three or more matching marker characters each render one hr element. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/CommonMark/runs/20261014.053711/build/commonmark/.venv/bin/python provisioning: not required return code: 0 stdout: <hr /> <hr /> <hr /> <hr /> <hr /> <hr />

intent: Wrong characters, too few characters, mixed characters and trailing text do not produce hr elements. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/CommonMark/runs/20261014.053711/build/commonmark/.venv/bin/python provisioning: not required return code: 0 stdout: <p>+++</p> <p>--</p> <p>_ _ _ _ a</p> <p>a------</p> <p><em>-</em></p>

intent: A thematic break directly after paragraph text splits it into two paragraphs around one hr. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/CommonMark/runs/20261014.053711/build/commonmark/.venv/bin/python provisioning: not required return code: 0 stdout: <p>Foo</p> <hr /> <p>bar</p>

intent: Trailing spaces and tabs after the marker characters are allowed. target interpreter: /mnt/c/Users/barlo/projects/drydock/uat/CommonMark/runs/20261014.053711/build/commonmark/.venv/bin/python provisioning: not required return code: 0 stdout: <hr />

Build summary

Baseline is green (649 passed, 1 skipped). Now I'll add the thematic-break block type as a registered start rule in blocks.py.Now the tests: the four declared acceptance checks transcribed unchanged, plus block-tree and exact-output tests for the boundaries.One existing test pins the default registry to zero start rules, which this step intentionally changes. Let me look at it.Now the full project suite, run in the background since it takes about two minutes.Thematic breaks now parse and render as <hr />. The full project suite passes: 687 passed, 1 skipped (the skip was already there before this change).

I did not run sources/full_test.sh. The feature's acceptance is gated on the lists story, and the conformance corpus needs lists and setext headings.

What changed

Choices I made

RESULT: SUCCESS

FILES CHANGED:

SUMMARY: Added the thematic-break block type as a registered start rule, rendered it as <hr />, and added tests. Declared acceptance checks (thematic-three-markers, thematic-not-a-break, thematic-interrupts-paragraph, thematic-trailing-whitespace) are transcribed in tests/test_thematic_breaks.py and pass. Full pytest run: 687 passed, 1 skipped (pre-existing skip). Baseline before the change was 649 passed, 1 skipped. Conformance corpus (sources/full_test.sh) was not run because this step's criteria gate it in the lists story.