/CLAUDE.md
CLAUDE.md at /CLAUDE.md
Path: CLAUDE.md
Agent instructions
Read circuit/ first. It is the canonical workflow for this circuit project; this file only points to it.
Exact-component evidence lives in the owner bundles under
., indexed byclaude/ skills/ component- */ .. Cross-component rules live inclaude/ skills/ component- spec- audit/ references/ inventory. json ..claude/ skills/ circuit- spec- integration/ references/ rules. json Run
pnpm circuit:checkbefore editing and again after.Never hand-edit the generated pages under
doc/; change the evidence and runsrc/ content/ docs/ components/ pnpm circuit:generate.
This project (Zudo LED Block / Light Block A5)
The framework workflow above is canonical for component evidence. These project rules sit beside it:
engineering/a5/is an immutable byte-for-byte import of the A5 engineering checkpoint. Never edit, regenerate, reformat or "fix" files there;python3 scripts/must stay PASS. New wrappers, checks and generators live inverify_ seed. py - - manifest provenance/ seed- manifest. json - - repo . scripts/; provenance lives inprovenance/.Never run
engineering/in place (it rewritesa5/ firmware/ tools/ make_ release. py dist/and records); copy the firmware tree first. Runcheck_schematic_interfaces.pyonly with--outputpointing outside the repository.A5 is not released for manufacture: the controller PCB is unrouted, harness routing/fit is unresolved, and no physical qualification exists. Keep that status visible; a green CI is not an electronics or manufacturing approval. Imported ERC/DRC/test results are historical and must stay labelled as such.
The 30-type / 81-piece BOM is published from
engineering/a5/byscripts/(a5_ site. py pnpm a5:generate); do not hand-editdoc/,src/ content/ docs/ architecture/ bom. mdx project/,status. mdx project/,downloads. mdx verification/orhistorical- records. mdx circuit/. The public file set is chosen inpublication/ assets. json scripts/.a5_ public_ selection. json The component-evidence catalog holds exactly the 30 A5 fitted identities, reconciled by
scripts/intoa5_ catalog. py reconcile provenance/(30 identities / 71 placements / 81 pieces; C5665 spelling mapped ina5- catalog/ reconciliation. json provenance/).a5- catalog/ identity- crosswalk. json python3 scripts/must pass. Lines of a later revision are allowed beside the 30 only with aa5_ catalog. py check line-a<N>-line ID and acomponent-a<N>-owner bundle (e.g.line-a7-…); they never count toward or relax the A5 reconciliation. Pin maps and placements are historical A5 netlist projections; keep the placement factsNEEDS BENCH. Do not invent source locks, facts, reviewers, pin maps or VERIFIED flags; after evidence changes runpython3 scripts/anda5_ catalog. py sync- states python3 scripts/, then review the diff.a5_ catalog. py selection Datasheet-like resources (vendor datasheets, drawings, catalogs, packing sheets, product specifications, SPICE/IBIS models, owner downloads, distributor-hosted copies, captured JLC/LCSC pages) go in the private repository Takazudo/circuit-dev-resources, laid out
<manufacturer>/<part>/<part>-<kind>-<revision>.<ext>per its README. Never commit those bytes here: this public repository keeps only the record'ssha256plus an entry inprovenance/(path, hash, citing files), checked byprivate- resources. json python3 -. Private resources can be stored there freely.m unittest scripts/ tests/ test_ private_ resources. py Documentation is Japanese-first (
defaultLocale: "ja").Production hosting is off until the repository variable
CLOUDFLARE_DEPLOY_ENABLEDis exactlytrue. Do not set it, deploy, or touch Cloudflare resources unless the owner asks.
開発オーケストレーション
複数セッションまたは重い検証では、circuit/、作業・環境・モデルの対応表、bounded task template も読んでください。A5 の不変条件、A6 の保留、A7 の現在の継続記録、部品根拠・実機検証・hosting の承認境界は変更しません。既知 DNS 障害の後回しは限定的な優先順位であり、検証免除ではありません。