Ignore fenced Markdown examples when counting roadmap progress #37

Open
github-bot wants to merge 2 commits from github-bot/gh-37 into main AGit
Owner

@⁠RavenCurseBurg on GitHub · 2026-11-26 09:43 UTC · original
RavenCurseBurg:fix/roadmap-code-fences → main · +68 −2 · 2 files · 2 commits · open

A fenced Markdown example in TODO.md could add a phantom phase or change which phase received subsequent tasks. In a temporary copy of today's roadmap, adding an example headed ## Phase 42: Example with one checked box changed the published totals from 10 phases and 78 completed tasks to 11 and 79.

The roadmap reader now skips backtick and tilde fences before counting headings, checkboxes and wrapped blocker markers. The fence closes on a matching delimiter of sufficient length, or at the end of its containing list item or document. GitHub Flavored Markdown fence rules

Verification

  • Replayed the generator and its --check and --site entry points on the original roadmap and the version containing the example. The corrected output matched the original README, all four SVGs and the Pages JSON byte for byte in both cases.
  • The Python tooling suite passed 48/48 on Windows with Python 3.8, 3.9 and 3.14. An additional 384 combinations exercised marker characters, lengths, indentation and trailing whitespace.
  • The Windows Release build with warnings as errors passed all three CTests.

AI-assisted with Codex + GPT-6.2 Astra (xhigh).

**@⁠RavenCurseBurg** on GitHub · 2026-11-26 09:43 UTC · [original](https://github.com/JamesCicada/GTAVI-Recomp/pull/37) `RavenCurseBurg:fix/roadmap-code-fences` → `main` · +68 −2 · 2 files · 2 commits · open A fenced Markdown example in `TODO.md` could add a phantom phase or change which phase received subsequent tasks. In a temporary copy of today's roadmap, adding an example headed `## Phase 42: Example` with one checked box changed the published totals from 10 phases and 78 completed tasks to 11 and 79. The roadmap reader now skips backtick and tilde fences before counting headings, checkboxes and wrapped blocker markers. The fence closes on a matching delimiter of sufficient length, or at the end of its containing list item or document. [GitHub Flavored Markdown fence rules](https://github.github.com/gfm/#fenced-code-blocks) ### Verification - Replayed the generator and its `--check` and `--site` entry points on the original roadmap and the version containing the example. The corrected output matched the original README, all four SVGs and the Pages JSON byte for byte in both cases. - The Python tooling suite passed 48/48 on Windows with Python 3.8, 3.9 and 3.14. An additional 384 combinations exercised marker characters, lengths, indentation and trailing whitespace. - The Windows Release build with warnings as errors passed all three CTests. AI-assisted with Codex + GPT-6.2 Astra (xhigh).
A literal phase heading and checkbox inside a fenced example were counted in generated README charts and Pages data. Skip fenced blocks while respecting flat list item boundaries and wrapped roadmap entries.

AI-assisted with Codex + GPT-6.2 Astra (xhigh).
Keep the import compatible with supported tooling and mergeable with the pinned snapshot measurement work.

AI-assisted with Codex + GPT-6.2 Astra (xhigh).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:44:56 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/37/head:github-bot/gh-37'
git switch 'github-bot/gh-37'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-37'
git switch 'github-bot/gh-37'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-37'
git switch 'github-bot/gh-37'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-37'
git switch 'main'
git merge --squash 'github-bot/gh-37'
git switch 'main'
git merge --ff-only 'github-bot/gh-37'
git switch 'main'
git merge 'github-bot/gh-37'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.