How we work
The agent workflow this project follows, its templates and task examples, and where component evidence lives.
This project is developed together with AI agents. Short requests such as "download this datasheet", "get the 3D model" or "check this spec" should leave durable, honest project knowledge behind: an exact identity, retained evidence, regenerated pages and a clear statement of what is still unknown.
The canonical workflow
Every agent follows one file: circuit/. The tool-specific entry files CLAUDE.md and AGENTS.md only point to it. It defines:
Shared entry: read the project brief and next actions, run
pnpm circuit:checkbefore editing, and route every request by exact manufacturer, complete part number, order code and project role.Seven workflows: A, start a circuit; B, add or replace an exact component; C, find or download a datasheet or source; D, obtain a symbol, footprint and 3D model; E, verify a specification; F, record a bench result; G, handle a source or design change. Each ends with a stated "Done" criterion.
Integration rules and publication policy: cross-component rules are added only when a real interaction exists, and publishing a record is an explicit, reviewable selection change.
A four-part completion report: what was obtained or checked, the exact identity involved, what changed, and what remains with its reason.
Where things live
| Kind of knowledge | Location | Edited by |
|---|---|---|
| Intent, rationale, decisions, plans, handoff | This site's Project, Architecture, Research, Decisions and Verification sections (doc/) | People and agents |
| Exact component evidence: sources, facts, verdicts, coverage, pin maps | One owner bundle per component under . | Agents, following the evidence contract |
| Orderable identities and placements | . | Agents |
| Cross-component rules | . | Agents |
| What is published | circuit/ and circuit/ | Agents, as a reviewed diff |
| Component catalog and record pages | The Components section, generated from the evidence | The generator only |
| Downloaded working copies of sources | .circuit-cache/sources/ (not committed) | Agents |
The evidence records are authoritative. When a page in this site and an evidence record disagree, the record is correct and the page needs updating. Generated component pages are never edited by hand.
Verdicts are explicit
Component facts carry one of six verdicts: PASS - primary-source confirmed, CONFIRMED - distributor identity only, BLOCKER - deterministic spec violation, NEEDS BENCH, UNSOURCED and NOT APPLICABLE. There is no single pass/fail badge. A clean validation or a covered domain is not hardware sign-off; physical checks are recorded as verification reports.
Templates
Authoring templates live in circuit/templates/ and are not published. Copy one into this site when its activity happens:
| Template | Use it for |
|---|---|
project- | Delegating one bounded task to an agent |
project- | A change with downstream effects |
project- | Interface contracts, once blocks or connectors are proposed |
project- | One component research question |
project- | One consequential choice |
project- | Population and procurement choices |
project- | One verification plan or run |
cad-asset-receipt.json | Recording where a CAD asset came from and how faithful it is |
The brief, next actions and architecture overview templates are already instantiated as live pages in this site. circuit/ explains each template in detail.
Task examples
circuit/ gives nine short requests in English and Japanese: download a datasheet, find and check a 3D model, verify a claimed specification, check an interaction, compare a replacement, implement a selected change, prepare a bring-up plan, turn bench observations into evidence, and continue the project from the handoff. Each names the workflow and commands it leads to.
Commands
| Command | What it does |
|---|---|
pnpm dev | Dev server, regenerating component pages as evidence changes |
pnpm build | Publish selected models, generate component pages, build the site |
pnpm check | Validate evidence and check that generated output is current |
pnpm check:site | Post-build reference, publication and link checks |
pnpm circuit:check | Validate the component evidence (offline) |
pnpm circuit:generate | Regenerate the component pages |
pnpm circuit:doctor | Report required and optional tools |