Skip to content
hw.dev
hw.dev/analysis/board-agents-must-prove-unchanged-2026
Analysis6 min read

A Board Agent Must Prove What It Did Not Change

The safest editing tools now check the requested change, preserve every unrelated object, and stop when they cannot reconstruct the project.

#pcb#eda#ai-hardware#verification#tools

KiCad Autorouter moved two reference labels on a printed circuit board (PCB), then checked the whole project to prove that it had moved nothing else. The recorded run compared the delivered board with the original as structured data. The two label offsets and one unrelated page comment were the only differences. All 30 copper segments, the filled copper zone, connectivity, project settings, and source files stayed intact.

The tool also made each proposed edit inside KiCad, exercised Undo and Redo, and refused a second board when it couldn't find a referenced component library. That refusal matters. An editing agent working on a mature board must be able to show that a narrow request produced a narrow change, and it must stop when it can't account for the rest of the design.

We think preservation will become a purchase criterion for hardware agents. Generating a new board gives a tool a blank page. Editing a board that has already passed review gives it thousands of facts outside the request. The useful product is an edit with a bounded effect that an engineer can inspect and reverse.

Two labels require a whole-board proof

A small board edit can disturb more than its visible target. A file parser may discard a field it doesn't understand. Rewriting the file can renumber objects, reorder sections, or normalize coordinates. A component move can change a copper pour. An importer can preserve the drawing while losing the identifiers that connect the board to its schematic.

Recent projects have started checking those failure modes directly. One KiCad agent remembers component positions between edits, but it rereads the saved board before reusing that state. It matches 1,125 footprints by their native universally unique identifiers, checks positions and layers, inventories the files, and hashes the board. A controlled move must decode as one changed footprint. Any unsupported difference forces a complete rebuild of the stored state.

boardc protects a different kind of unchanged fact. Its KiCad importer keeps part values, purchasing fields, assembly-exclusion flags, and the schematic path attached to each footprint. Those links let KiCad compare the generated board with the circuit drawing and find missing or extra connections. Geometry alone would look complete while removing the evidence needed to check it.

The bar is rising from "the edited file opens" to "the requested object changed, every unrelated object kept its meaning, and the normal editor can still grade the result." That shortens review because an engineer can start with a declared set of differences instead of auditing a rewritten board from scratch.

KiCad can now grade its own editors

This is happening now because KiCad has become an unusually capable host for outside automation. The project publishes documented text formats for boards, schematics, symbols, and footprints. Stable object identifiers let another program follow the same component through an edit. KiCad's interprocess communication API lets outside software control a running editor through structured messages, with requests handled in the same event stream as user actions. Its command-line interface can check board rules, compare a board with its schematic, and export manufacturing files without a person clicking through menus.

Three years ago, a board assistant often had to choose between fragile screen automation and direct file rewriting. It also had to invent its own interpretation of whether the edit was valid. A tool can now ask KiCad to perform the change, keep KiCad's normal Undo history, then ask KiCad and an independent parser to check the saved project.

SlashPCB showed that pattern earlier this month. Its agent moves parts and refills copper through a live KiCad session. Each operation becomes a normal Undo step, and saving remains an explicit user action. Where it must patch file metadata, it matches objects by stable identifiers, writes atomically, and confirms that KiCad can read the result.

Hassassin provides the longer-arc evidence. Its importer and exporter round-tripped 16 KiCad schematic projects, then compared the connection lists and electrical warnings before and after. The test checks meaning rather than visual similarity. A circuit drawing can look plausible after conversion while connecting the wrong pins, so an image comparison would miss the dangerous change.

Preservation changes who wins

KiCad gains because it becomes the editor, transaction engine, file format, and independent checker around a growing set of board tools. KiCad Autorouter, SlashPCB, boardc, Hassassin, and the KiCad agent can compete on automation while sharing a familiar place where engineers inspect and reverse their work. Their users don't have to trust a new editor before trying a new capability.

Electrical teams maintaining product families gain next. Most of their work is incremental: move a connector, replace an unavailable part, change a clearance, or update a label. A review that begins with "these three objects changed and the other 1,122 stayed fixed" is cheaper than one that begins with a fresh board export. The same method helps regulated teams because the tool can attach the allowed difference set to an engineering change record.

File-rewriting board agents are exposed. A tool that serializes the whole board after every edit creates review work even when its output is electrically correct. Importers that flatten a design into visible geometry are exposed too, because they lose purchasing fields, source links, rule settings, and object identity. Closed computer-aided design systems also face pressure when their automation interfaces can't preserve native Undo history or let an independent program inspect the complete project.

Preservation alone can still give false confidence. A tool may perfectly preserve every unrelated byte while moving the requested component into an electrically bad position. KiCad may also rewrite harmless formatting or derived data, making an exact file comparison noisy. The test therefore needs two parts: a narrow list of allowed structural changes and the normal electrical and manufacturing checks after the edit. If teams accept full regeneration for most real boards, or if stable identifiers prove unreliable across ordinary KiCad upgrades, our bet on bounded edits will be too strong.

Give one edit a preservation budget

Board teams can test this on one reviewed design. Ask an agent or script to move one label or component. Before the edit, inventory the project files and record stable object identifiers, connections, positions, rule settings, and purchasing fields. Afterward, compare the project structurally, run KiCad's board check and schematic comparison, exercise Undo and Redo, and require the tool to name every difference it introduced. Repeat the test with one library missing and confirm that the tool refuses to proceed.

Tool builders should publish this as a standard acceptance case. Report the number of intended object changes, unintended changes, files read, files written, and checks rerun. Over the next 12 months, we expect professional board-agent evaluations to add such a preservation test beside routing quality and task completion. A team evaluating a tool next week can start with its oldest active board, because that is where unsupported fields and accumulated project history will reveal how carefully the agent edits.