design_next_action
Decide the single next step in an autonomous PCB design pipeline by reading the session journal and returning the stage, its goal, tools, exit gate, and retry or blocked status.
Instructions
Decide the single next action for an autonomous design run.
Reads the session journal and returns the next 13-stage pipeline step
server-side, so a client need not memorize the workflow: loop
"call design_next_action -> do what it says -> design_session_log the
result" until status is complete or blocked.
Returns a dict with status (proceed | retry | blocked | complete),
the stage, its goal, suggested_tools (exact tool names),
the exit_gate that marks it done, and, on blocked, the
open_question to put to the user. Bounded retries: a stage that
fails repeatedly escalates to blocked instead of looping forever.
The layout stages (placement, routing, pours_tuning, verification)
have measured gates: the reply also carries gate, the numbers
and the values that pass, and last_gate, the verdict on numbers
already logged for the stage. A stage logged ok whose logged numbers
fail its gate comes back as retry, with the failing numbers in
guidance. A stage logged with no numbers is taken as logged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||