Cross-reference design audit -- validates consistency across spec, schematics, BOM, pin maps, and PCB layout. Catches disagreements before fabrication. Run after any significant design change.
Run all passes after any significant design change.
Verify every requirement in the design spec has a corresponding net or component.
For each programmatically mapped IC, verify the schematic matches the pin map.
python3 skills/kicad/scripts/analyze_schematic.py design.kicad_sch > analysis.json
python3 scripts/validate_pinmaps.py analysis.json scripts/pin_maps.py
Critical checks:
python3 skills/bom/scripts/bom_manager.py analyze design.kicad_sch --json
Every component must have: MPN specified, footprint matching the MPN package, DNP components flagged consistently.
python3 skills/kicad/scripts/analyze_pcb.py design.kicad_pcb > pcb.json
For each IC with an MPN:
python3 scripts/validate_design.py \
hardware/<project>/kicad/<project>.kicad_sch \
hardware/<project>/kicad/<project>.kicad_pcb \
--pin-maps scripts/pin_maps.py \
--spec docs/SPEC.md
Document findings in hardware/<project>/review/validate_<date>.md:
## Validation -- YYYY-MM-DD
### Pass 1: PASS / FAIL (N issues)
### Pass 2: PASS / FAIL (N issues)
### Pass 3: PASS / FAIL (N issues)
### Pass 4: PASS / FAIL (N issues)
### Pass 5: PASS / FAIL (N issues)
### Issues Found
- [CRITICAL] description
- [WARNING] description