Research · electrical engineering

Why did a clean PCB check still fail engineering review?

We generated seven circuit board designs for a 12 V controller. The first complete layout passed automated design checks but failed electrical review. The seventh design has corrected component placement and awaits routing.

01 / Retained PCB corpus
958,091 tracked text lines
02 / Archive
20 events / 216 artifacts
03 / Status
Design and review

The next step is to complete the routing and review the design for fabrication.

01

The qualification question

What evidence is required before an agent-generated electrical design can be trusted with fabrication data, money, and a physical build?

Bench Revision A tested a narrow version of that question. It is a low-voltage controller board with a microcontroller, power conversion, watchdog, supervisor, current sensing, switching, protection, connectors, and a reset switch. The board is useful because its failures cross electrical, physical, mechanical, assembly, and tool boundaries.

The test showed that automated checks can pass even when a component or a physical current path is wrong.

02

What was built

The output is not one final board. It is an inspectable progression from requirements and exact parts to native EDA, failed routes, independent checks, and an explicit fabrication stop.

  1. 01

    Requirements and authority

    The workflow records the intended supply, load, interfaces, fault behaviour, operating conditions, and owner decisions before treating the design as a release candidate.

    Open inputs stop release

  2. 02

    Exact component identity

    Each important part must bind one orderable MPN to reviewed pin meaning, symbol, footprint, package geometry, source conditions, and mechanical orientation.

    MPN to physical package

  3. 03

    Native electrical design

    The case generated a native schematic and PCB for a 12 V, one-channel controller bench, then retained each material routing and placement state for comparison.

    Editable KiCad source

  4. 04

    Independent checks

    ERC, DRC, and schematic parity are combined with part, pad, placement, current-loop, artifact, and deliberate-fault checks that do not rely on the same generated assumption.

    Native plus semantic

  5. 05

    Release and physical test

    An accepted route, reconciled manufacturing package, owner approval, incoming inspection, staged bring-up, and measured behaviour remain required before a board can support a physical claim.

    Not reached

Release rule

A successful process log is telemetry. An accepted result requires a clean exit, a durable output, a recorded hash, a successful import, and independent post-import checks.

03

What failed

The strongest failure was a route that looked finished and passed its native checks.

Candidate 1 completed all 133 open connections with zero DRC violations, zero unconnected items, and zero schematic-parity differences. Electrical review then measured an approximately 85.2 mm path from the regulator input to its input capacitor, alongside long switch and feedback paths, timing vias, and inadequate local ground transfer. The route was rejected.

StateObserved resultDecision
Pre-audit exportFull-looking package with invalid component assumptionsQuarantined
Candidate 1Complete route and clean native checks; poor physical pathsRejected
Candidates 2–6Critical copper, crossings, shorts, stalls, or open connectionsPreserved as failures
Candidate 7Corrected clean seed; route-session save repeatedly failedFrozen unrouted

Visual progression / exact archived KiCad output / no AI-generated imagery

  1. Candidate 1 KiCad top-copper plot showing a fully routed controller board with long red traces between the 12-volt input, regulator, controller, and valve sections.
    01 / Candidate 1 / rejected routeAll 133 declared connections completed, and native DRC and parity passed. Electrical review rejected the approximately 85.2 mm regulator input-capacitor path and other critical geometry. Red is the KiCad copper plot, not a failure overlay.
  2. Top KiCad render of the copper-free Candidate 7 controller seed with the power, control, connector, and Raspberry Pi Pico components placed.
    02 / Candidate 7 / qualification seedCorrected component identity, orientation, and placement with no routed copper. The frozen check records 109 expected open connections because no global route was accepted.
  3. Isometric KiCad render of the same copper-free Candidate 7 controller seed, showing connector access, component height, and Raspberry Pi Pico placement.
    03 / Candidate 7 / mechanical viewThe later view exposes package seating, connector direction, Pico USB access, and component height. It is a render of the same unrouted seed.

These images come from the retained KiCad design and review records.

04

The missing component contract

A part number, symbol, footprint, and 3D body cannot remain independent clues. The system needs one versioned object for each exact orderable part.

Several early defects survived because two generated artifacts agreed with the same wrong assumption. A two-pad reset-switch abstraction agreed with its PCB but did not match the four physical terminals. A regulator net map was correct while its first land pattern used the wrong pitch. A connector was electrically legal while its 3D service direction was wrong.

Contract areaRequired evidence
Identity and sourceExact MPN, variant, revision, hash, page or figure locator
Electrical meaningPhysical pins, symbol pins, limits, conditions, and exceptions
CAD and geometryNative symbol, footprint, pad set, package, STEP model, and previews
Manufacturing and supplyOrientation, process notes, lifecycle, supplier codes, and alternates
AuthorityRights, validator results, review state, mutations, and physical uses

Next module

Open the schemas, rights-aware records, validators, preview generators, failure corpus, and neutral manufacturing format. Keep customer data, licensed feeds, vendor credentials, laboratory evidence, and the orchestrator inside the operated service.

05

Evidence at the 13 July 2026 sprint freeze

The archive preserves successes, rejected routes, timeouts, missing outputs, images, source states, and deliberate fault tests. The counts below describe the local case record; they do not certify the board.

What the 958,091-line PCB corpus contains

The measured scale is real, but calling it 958,091 lines of code would be misleading. Most retained lines are generated design geometry and exact archived states kept so failures remain inspectable.

Maintained source, tests, inputs, and notes
2,970 lines / 0.31%
Active generated EDA and verification
227,383 lines / 23.73%
Append-only iteration archive
647,126 lines / 67.54%
Active vendor and tool assets
80,612 lines / 8.41%

Counted from every Git-tracked text file in the Bench Revision A workspace at the sprint freeze; binary images and models are excluded. The maintained material includes 2,681 physical Python lines across four board scripts and one semantic-test module. This is a retained engineering corpus, not an authorship measure.

LayerEvidenceState
Candidate 7 native seed0 placement/copper violations; 0 parity differences; 109 expected opensChecked
Semantic contract13 critical parts; 57 BOM rows; 49 populated SMD placements; 18 pad setsPass
Deliberate fault mutations4 incorrect states rejectedPass
Iteration archive20 events; 216 artifacts; 41,310,214 bytesHash verified
Frozen-source reproductionGenerator changed after the seed and was not rerunOpen
Accepted Candidate 7 routeNo route-session file existsOpen
Physical testingFabrication, assembly and power-on testingNext phase

The active manufacturer directory contains only a fabrication-stop marker. The superseded output is retained in the evidence archive, where it cannot be mistaken for a current release.

06

The next campaign

The next useful milestone is not more ad hoc routing. It is a harness that can explain and reject the same failures before a release exists.

  1. 01

    Qualify the component contract

    Build one versioned evidence package per exact MPN, including source locators, pin meaning, native CAD, package geometry, STEP model, rights, review state, and known-good use.

    13 critical parts

  2. 02

    Generate inspectable previews

    Render symbol, footprint, pinout, and 3D views, then test pad sets, pin-one orientation, model origin, seating plane, body envelope, and service direction.

    Symbol to STEP

  3. 03

    Encode physical layout intent

    Measure switch loops, bootstrap attachment, Kelvin sense, bypass returns, thermal copper, creepage, connector access, and rework space independently of the router.

    Current loops and returns

  4. 04

    Make tool runs reproducible

    Run KiCad and routing adapters in recorded environments with immutable inputs, timeouts, exit checks, save-and-reload transactions, hashes, and automatic release invalidation.

    Clean inputs and outputs

  5. 05

    Route and review again

    Treat routing as a replaceable search step. Accept its output only after the file persists, imports cleanly, passes native and semantic checks, and satisfies the physical measurements.

    Accepted copper

  6. 06

    Build the physical feedback loop

    Export a manufacturer-neutral package, rehearse manual ingestion, then fabricate one low-risk revision and capture inspection, bring-up, thermal, transient, and fault evidence.

    Owner approval required

Fabrication

Prepare the manufacturing package

A manufacturing workflow would need quoting, file upload, ordering, payment and tracking.

07

Selected sources

08

Read Working Paper 01.

The working paper examines how to qualify a PCB design before fabrication.

Cover of Lyon Industries Working Paper 01, Evidence-Bound Agentic Electrical Engineering.

Public review draft

Format
PDF / 9 pages / 2.3 MB
Published
13 July 2026
Scope of claims
PCB qualification case covering design and review before fabrication.
SHA-256
6febe81e2c0f35d1740d304d258e73e7149ed0aa84cb16e0e0bbff975b184cdf