Skip to content

Post idea: "Connected and DRC-clean is not done" — MagicON's routing gate (2026-11-27)

Draft material for a LinkedIn post. Not posted. Owner posts; check posted-log.md first. Source of the comparison: the PCBRouteAgent blog post (2026-11-04), reviewed in docs/planning/pcbrouteagent-review-2026-11-27.md (internal, not published, so not linked). Every MagicON claim below was read from the code on 2026-11-27 (file named next to it).

The points (lead with what it delivers)

  1. MagicON routes the board with scripts that make the plan and a real router that draws the tracks, with a set number of retries — and no AI model in the routing at all. (backend/utils/kicad/autoroute/krt_chain.py: ground plane, each supply at its own width, then every other net; one "parts first" retry, kept only if it leaves fewer nets open.) A recent research system (PCBRouteAgent) uses the same split — plan, then let KiCad's own router draw — and adds an AI model when the plan gets stuck. ⚠ Do not claim we match its completion. Its own test with the AI switched off (paper Table 5) got 0 of 10 medium and 0 of 10 large boards fully clean; the AI step is what finished them. Our chain is closer to that AI-off version. Lead with point 2 (the check), not with point 1.
  2. Our final check is stricter than "every net connected and no design-rule errors". (backend/utils/kicad/autoroute/router.py, the gate.) A board ships routed only if, on top of KiCad's own check against OUR rules (not the router's lowered ones):
  3. every RF line the layout drew is still there, unchanged;
  4. every supply track is at least the IPC-2221B width for its current;
  5. every RF line has ground vias and top ground copper on both sides (GCPW); otherwise the unrouted board ships with the report — never a half-routed board shown as done.
  6. Why it matters: in the research post's own USB example, the board passed "connected + no design-rule errors" but D+ and D− were routed apart (34.03 mm vs 36.49 mm, the post's figures). A check that only counts connections cannot see that. Ours was built for exactly this kind of fault on RF boards.

Core message: the engineer should not be the one who notices the wrong figure — the check should.

Falsifier (what would prove this wrong)

A board MagicON ships as routed that breaks one of the three checks above (an RF line moved, a supply track thinner than its current needs, an RF line missing its ground) would disprove point 2.

⚠ Before posting

  • Routed export is behind FF_KICAD_AUTOROUTE, off by default (router.py header). Do not write "every MagicON user gets a routed board" unless the flag is on in production — not verified.
  • Our gate does not check differential pairs (USB D+/D− skew). The claim is "our check catches RF-line, supply-width and grounding faults", not "it would have caught the USB fault". Keep that wording.
  • Don't quote the research post beyond a short phrase; paraphrase and link it.
  • Run /claim-check on the final text.