Repository navigation
docs(adr): promote the routing parity design, rejecting ungrouped trunks - #2370
Merged
Merged
Conversation
2 of 4 tasks
kompiro
force-pushed
the
feat/routing-multi-system-root
branch
from
August 5, 2026 23:10
e4ce2f9 to
618a0f0
Compare
kompiro
force-pushed
the
feat/routing-ungrouped-trunks
branch
from
August 5, 2026 23:10
de4ca4b to
5351616
Compare
kompiro
force-pushed
the
feat/routing-multi-system-root
branch
from
August 7, 2026 13:23
618a0f0 to
b745c62
Compare
kompiro
force-pushed
the
feat/routing-ungrouped-trunks
branch
from
August 7, 2026 13:31
5351616 to
e365b84
Compare
kompiro
force-pushed
the
feat/routing-ungrouped-trunks
branch
from
August 7, 2026 13:48
e365b84 to
c9095de
Compare
kompiro
force-pushed
the
feat/routing-multi-system-root
branch
from
August 7, 2026 13:48
1a212ee to
d7156e8
Compare
kompiro
force-pushed
the
feat/routing-multi-system-root
branch
from
August 7, 2026 13:50
d7156e8 to
4b3845a
Compare
kompiro
force-pushed
the
feat/routing-ungrouped-trunks
branch
from
August 7, 2026 13:50
c9095de to
2752057
Compare
kompiro
force-pushed
the
feat/routing-ungrouped-trunks
branch
from
August 7, 2026 13:56
2752057 to
5986830
Compare
kompiro
force-pushed
the
feat/routing-multi-system-root
branch
from
August 7, 2026 13:56
4b3845a to
812a7ea
Compare
Slice C measured whether aggregation trunks should run on an ungrouped canvas and the answer is no. Across nine real models only client-mcp changes: one crossing fewer, in exchange for 27% more total edge length and a 52px wider diagram. Trunk lanes live in the right gutter, so on an ungrouped canvas they pull fan-in edges back out to the canvas edge and undo the interior corridors those edges would otherwise take. Grouped canvases pay nothing because band structure sends those edges to the gutter anyway. ADR-1728 had already rejected trunk/bus routing for the same fan-out problem on the ungrouped layout. Promote docs/design/ungrouped-routing-parity.md to ADR-2330 and delete it. The ADR records the composed candidate chain, the decision to keep interior corridors out of grouped canvases, the per-system scoping in the root view, and this rejection -- so the question is not silently reopened. ADR-2330 refines ADR-1859: its AC-5 (Group by: none stays byte-identical) is replaced by the measured fences in routing-parity.test.ts. Every other P2c decision stands, so ADR-1859 keeps its accepted status with a note pointing at the replacement. Closes #2364 Closes #2330 Co-Authored-By: Claude Fable 5 <[email protected]>
kompiro
force-pushed
the
feat/routing-ungrouped-trunks
branch
from
August 7, 2026 14:06
5986830 to
3a6899d
Compare
2 of 3 tasks
kompiro
added a commit
that referenced
this pull request
Aug 7, 2026
Two ADR PRs landed close together (#2393 and #2370). Each regenerated the derived files against its own base, so the entries merged cleanly but the summary counts at the top of effective.md and graph.md were computed from a main that was one ADR short. The drift guard on main caught it. Regenerating only moves the counts: 311 -> 312 ADRs, 302 -> 303 effective. Co-authored-by: Claude Fable 5 <[email protected]>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Closes #2364 (slice C) and Closes #2330 (the program). Stack 4/4, builds on #2369.
Summary
Slice C is an evaluation slice, and the answer is no: aggregation trunks should not run on an ungrouped canvas. This PR records that, promotes the design doc to ADR-2330, and closes the program.
Changes
client-mcpchanges: one crossing fewer (5 → 4), in exchange for 27% more total edge length (3,030 → 3,835) and a 52px wider diagram. Trunk lanes live in the right gutter, so on an ungrouped canvas they pull fan-in edges back out to the canvas edge and undo the interior corridors (Shorten gutter detours with an intermediate routing candidate (slice D) #2365) those edges would otherwise take. Grouped canvases pay nothing because band structure sends those edges to the gutter anyway. ADR-1728 had already rejected trunk/bus routing for the same fan-out problem on the ungrouped layout, measuring 33–53 crossings — consistent with this result.aggregateGroupTrunksnow carries that reason in a comment, so the next reader does not re-derive it.docs/design/ungrouped-routing-parity.mdtodocs/adr/2330-ungrouped-routing-parity.mdand delete the design doc.refinesADR-1859: its AC-5 (Group by: none stays byte-identical) is replaced by the measured fences inrouting-parity.test.ts. Every other P2c decision stands, so ADR-1859 keepsacceptedstatus with a note pointing at the replacement.The ADR records
The composed candidate chain and why both router modules stay; why interior corridors are kept out of grouped canvases; the per-system scoping in the root view; this rejection; and three open items it deliberately leaves — #2360 (labels on lines),
hr-tool's detours staying long, and the cross-system side-map limitation.Preview URL
N/A — this PR is docs + one comment
Scope filter (new-feature PRs only)
Dependency & license impact
Manual Verification Checklist
pnpm adr:validate,adr:check-assumptions,adr:regeneratedrift guard)TPL impact
Related Docs
🤖 Generated with Claude Code