Skip to content

v1.67.0 ·

The roadmap picture that every move rewrote

The roadmap's only picture was two Mermaid files, graph-backlog.mmd and graph-full.mmd. They needed GitHub or an editor extension to render, and a Mermaid node cannot carry a link or a summary. Worse, both files were committed and rebuilt on every move. Every promotion edited two shared generated files in whichever checkout ran it.

For scale, on 2026-10-06 this repository's roadmap had 132 items: 2 in the inbox, 10 in the backlog, 103 done and 17 on hold. Twenty-six had a dependency, 39 edges in all, no cycles, no missing ids. And 40 titles carry a backtick, quote, < or &, which matters below.

What changed

aidlc roadmap view writes one self-contained HTML page and opens it in the default browser. It has a board of every item by status, and below it a zoomable map of the depends_on chains. --no-open only writes it, and --out <path> writes it elsewhere. aidlc roadmap graph is now an alias.

The board shows the backlog in roadmap next order with ranks and ready items marked, and the latest 20 done items with the rest behind a "show all". Hold cards show whether an item was parked or declined, and why. Items link to their file, instance folder, retrospective and pull requests, and there is a side panel with the summary and dependencies, and search across every column. On the map, each item sits under its first dependency with dashed links to the rest. Unknown ids are red dashed nodes, blocked items are marked, and you can zoom, pan, collapse a branch and click a node to highlight its chain.

Moves now write only the item. A promotion no longer leaves two shared generated files modified. On upgrade, aidlc update or aidlc doctor deletes the two old files while their first line is still the generated header. A file someone replaced is left and reported. The deletion shows in git status, so commit it. A script that called graph after a hand move should drop the call or add --no-open.

Why this way

The point was to keep the picture from becoming one more thing the roadmap maintains. Any committed page would need rebuilding on every move, which is the problem itself. So the page is made only when asked for and written into git's own folder, shared by every working copy and never committed. Outside a git repo it goes in the project's .aidlc folder. The price is freshness: it is only as current as the last time someone made it, so it says when. A teammate sees it only if you send the file.

Titles are text nobody controls, so every piece of item text passes through one escaping function. Elements are named by position, never by item id, and each side panel is an HTML template, not data in the script. The page accepts only its own script and styles, each matched by a fingerprint of its exact text, so anything that slips past the escaping still would not run. The cost is that the markup can carry no inline styles.

The layout is worked out when the page is made, with no graph library. The script only zooms, pans, collapses and highlights. That keeps it small and checkable: the same items give the same bytes, apart from the line saying when. Ages are stored as dates, so a copy made tomorrow differs by that line alone.

What it gives up

It does not redraw. Collapsing a branch leaves its gap. My first layout stacked every tree in one column, and on this project's own roadmap it fitted on screen at a fifth of its size, so the trees are now packed side by side.