Ship Sprint 0 CAD foundations so findings, KiCad hierarchy, BOM match, eval, and optional PCB ingest have a stable contract.

Extend Finding with rule_id/net/pins, flatten multi-sheet .kicad_sch, flag MPN mismatches, score simple_project, and parse .kicad_pcb without running layout DRC.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-10 21:54:37 +02:00
co-authored by Cursor
parent d31c04ba86
commit e4fd6c3849
29 changed files with 1995 additions and 46 deletions
+9
View File
@@ -84,6 +84,9 @@ def check_supply_decoupling(
f"near {ref}."
),
reference="netlist topology",
net=net_name,
pins=[f"{ref}.{pin_num}"],
rule_id="PS-DEC-001",
))
return findings
@@ -133,6 +136,9 @@ def check_i2c_pullups(
f"to the I2C I/O rail."
),
reference="netlist topology",
net=net_name,
pins=[f"{ref}.{pin_num}"],
rule_id="PS-I2C-001",
))
return findings
@@ -184,6 +190,9 @@ def check_reset_pullups(
f"from a reset supervisor / GPIO."
),
reference="netlist topology",
net=net_name,
pins=[f"{ref}.{pin_num}"],
rule_id="PS-RST-001",
))
return findings