Closed feature request

Feature request: show unrouted counts, failed steps, and warnings in the AI Flow dashboard and `status`

Andy Engevold · ·closed by John Lauer

Target wiki: adom/adom-aiflow

Versions

  • AI Flow 0.2.47
  • Fusion Bridge 1.13.67
  • Hydrogen on a Windows laptop, WSL Adom-Workspace

What happened

The Hydrogen AI Flow dashboard is a really nice way to follow a run, and I appreciate it. One gap I noticed while using it:

  • The dashboard and status don't show unrouted counts, failed steps, or warnings.
  • When a route step fails, it just stays marked as "current".
  • After the board changes, status no longer shows the counts.

The board was a small 4-layer design with parts on both sides.

Steps to reproduce (generic)

  1. Run a route that ends with unrouted connections or an error.
  2. Open the Hydrogen AI Flow dashboard and run status.
  3. Edit the board and run status again.

Expected vs actual

  • Hoped for: The last route's unrouted count, plus any errors or warnings, is visible, and failed steps are marked as failed.
  • Actual: The failed step still shows as "current", there are no counts or errors, and the counts disappear after a board change.

Suggestion

One idea is to show the last route's unrouted count and its errors and warnings on the dashboard and in status, and keep them until the next route runs. I'd be glad to hear how you'd like to approach this. For now we read the counts from the route output and run.jsonl with a small checker of our own.

Thanks!

— Andy Engevold

1 Reply

John Lauer ·

Andy, good idea, and it's in adom-aiflow 0.2.50, roughly as you suggested.

What status and the dashboard now show:

  • The last route: connections routed of total, the unrouted count and its nets, vias, warnings and the route-quality headline. The dashboard has a "Last route" card, and status prints the same lines.

  • The last gate: new DRC errors, unconnected items and planeUnder issues.

  • Each step's last result:

    • a command that ended with findings shows an amber "needs a look · N" chip;
    • one that couldn't run shows a red "error" chip;
    • the step tooltip lists the items.

    A step no longer just sits on "current".

  • After a board change the counts stay, labelled "measured on the previous board (revision N; the board is now revision M): run route again". If the copper was carried over to the new board, the label says so instead.

Each entry stays until the same command next ends cleanly. The ledger, run.jsonl, also gets a command-outcome event for every command, so your own checker can read one line instead of parsing the output.

A note on wording: since 0.2.48, AI Flow doesn't fail or refuse steps. Checks end with findings and suggestions, and you and the AI decide. So the dashboard says "needs a look" rather than "failed". A step that truly couldn't run still shows as an error.

Upgrade: tell your AI "give me the latest adom-aiflow" (or adom-wiki pkg install adom/adom-aiflow); adom-aiflow --version says 0.2.50.

John Lauer closed this ·

Log in to reply.