MOSS: a small, mostly 3D-printed litter-picking rover. Cleaner streets, one maker at a time.
Python
Document assembly mask review and classified BOM
metrox-eth6d4017031bef
diff --git a/hardware/electronics/moss-core-v0.7/MANIFEST.json b/hardware/electronics/moss-core-v0.7/MANIFEST.jsonindex dea5ed2..f049ba8 100644--- a/hardware/electronics/moss-core-v0.7/MANIFEST.json+++ b/hardware/electronics/moss-core-v0.7/MANIFEST.json@@ -36,8 +36,8 @@"sha256": "9dcd67d0b52a8de283fbfede2e295020c022de740269124641e37de35407b231"},"README.md": {- "bytes": 12892,- "sha256": "fe2ffaf206ce2842751e3b240deb0da0dd9d72f86cb259ab424da14709dd7e4f"+ "bytes": 13259,+ "sha256": "4db680aca2ca9b0e627bbe9dfb2d0d00435dcaa8ed33bc85a1df28ff9bb0fc84"},"delivery/assembly/ASSEMBLY_NOTES.txt": {"bytes": 3816,@@ -168,8 +168,8 @@"sha256": "79766035398571fca3857600901ec3591c8fa5cb1f7a5f3743247f9527ccc2a7"},"electrical/BOM_PCBWAY_ASSEMBLY.json": {- "bytes": 42780,- "sha256": "2db3e8682de82b18961c9deae2b1f40a593e1697c60d6728299b51ed4c93cfd6"+ "bytes": 42731,+ "sha256": "71da646b3510c4bde3c74a2439709639ef2d049ae413256dcd4d535723bcaf92"},"electrical/MCU_PIN_MAP.json": {"bytes": 3254,@@ -647,6 +647,10 @@"bytes": 33365,"sha256": "6efd62cebf64aa5bae5b4f392a50cad5f5578a4bc032360a75f1943a56dccf6a"},+ "evidence/BOM_NOTE_REFRESH.json": {+ "bytes": 586,+ "sha256": "815c51ed3bbd29ca48325bdd2849594eb09dcac34813b881ee76891538ac568e"+ },"evidence/C21_SILK_GERBER_PROOF.json": {"bytes": 887,"sha256": "ab3a7b5dac7bfd9b229b3629478a5c5675d45779b47be45789696c5f812b454e"@@ -656,12 +660,12 @@"sha256": "4fe7e0f38fad3dd58cad61bf172bd4420f623f5231d0af9ffd24abf0f78185e5"},"evidence/CHECKS.json": {- "bytes": 11637,- "sha256": "05b758a2ba9b61bf9d9d720b77f2720c7cefdf157bcd0d436ef1c0623105197a"+ "bytes": 11691,+ "sha256": "75117a6aa12645e99299555ca1a57d405188dc8b31934f91fc617b2261414299"},"evidence/DESIGN_CONTRACT.json": {"bytes": 887,- "sha256": "8e46fdbeda9b7c61a5e855bf1e738105131641f00acebf2cd2f8d00f4035a90d"+ "sha256": "693bf3a8b8df088134ce2fb1ecb837eca9e87daadd2b011b6eaa511e70378dd6"},"evidence/DRC.json": {"bytes": 2383,@@ -704,8 +708,8 @@"sha256": "cae05e7554e8a3747a8ca6a60edc5ab18dfd675cf9526218dcb5a37267612d09"},"evidence/MECHANICAL_FINAL_EQUIVALENCE.json": {- "bytes": 845,- "sha256": "b7770719e8cb04b0fabc44b54eac6fb1f971d8ed6ac1ede677dac70c5f26d519"+ "bytes": 1417,+ "sha256": "54607733e358d1e04ecc69949ebcef02d48bd6e2e5d35c40e0d2729a6a599ec0"},"evidence/MECHANICAL_REVIEW.json": {"bytes": 4164,@@ -759,6 +763,22 @@"bytes": 6831,"sha256": "f23efc0d060e1d932b83136ebdda3f0d71632dca43317a88e3a90097e44f019d"},+ "evidence/assembly_review/BOM_CLASSIFICATION_PROOF.json": {+ "bytes": 960,+ "sha256": "65b074ea8638ac51f31ce0e71f0640c0185901cf4a02b351e4df607a99e339f9"+ },+ "evidence/assembly_review/BOM_CLASSIFIED_REVIEW.csv": {+ "bytes": 10952,+ "sha256": "76fc5834e54b64a8f7e8bac0ce8ddfd24a5ad72fb2116498313dbaa8c5ae0548"+ },+ "evidence/assembly_review/CURRENT_SENSE_MASK_PASTE.json": {+ "bytes": 5177,+ "sha256": "83460a021cd5d6ae54cd0f3d6b1f2b0c5d44ab76625678f444ffffd2d3c2afd0"+ },+ "evidence/assembly_review/README.md": {+ "bytes": 1855,+ "sha256": "5f892dbc071a01447ea5e2acbd6969e5c4df9f0d3ea40845b8b3d58df342b493"+ },"evidence/baseline_before_power_rearm/MECHANICAL_FINAL_EQUIVALENCE.json": {"bytes": 2174,"sha256": "cc84052cde0b85e36a4de69a8ee0f0276be28f558ecb570ebda393a09596d3d4"@@ -855,6 +875,10 @@"bytes": 1928,"sha256": "1504cea30a52bf922abd08045b45656f926ded96089ae2ededda0fef345fa6a2"},+ "tools/classify_bom.py": {+ "bytes": 3464,+ "sha256": "048cf66c928ff1e92374127bd09327d6c74ab7467bd043f2b660d24095d2eaa0"+ },"tools/export_package.py": {"bytes": 14113,"sha256": "ac695d01197a80582d0f4fbf49fa8efc018c845fec8df402d5c2ae12d0cdeb9d"diff --git a/hardware/electronics/moss-core-v0.7/PACKAGE.json b/hardware/electronics/moss-core-v0.7/PACKAGE.jsonindex b261b01..8217ff4 100644--- a/hardware/electronics/moss-core-v0.7/PACKAGE.json+++ b/hardware/electronics/moss-core-v0.7/PACKAGE.json@@ -22,8 +22,8 @@},{"path": "delivery/MOSS_CORE_V07_PROTOTYPE_REVIEW_20261101_POWER_REARM.zip",- "bytes": 6138675,- "sha256": "1d61cb6fd4851a0e241f28bc249409b11b4d19995ab82e24a1f8526c11ab8c08"+ "bytes": 6148574,+ "sha256": "13431a87444007162c68e7b3762e994660dd4b12462d6e142b832d1b956a6f07"}]}diff --git a/hardware/electronics/moss-core-v0.7/README.md b/hardware/electronics/moss-core-v0.7/README.mdindex c3a68ae..188fe4d 100644--- a/hardware/electronics/moss-core-v0.7/README.md+++ b/hardware/electronics/moss-core-v0.7/README.md@@ -44,6 +44,10 @@ The [mounting table](MOUNTING.md) gives the current chassis fixing pattern. TheThe [harness study](https://github.com/metrox-eth/moss/tree/main/hardware/electronics/moss-core-v0.7/harness) follows the current integrated-power board and vertical connectors. Each motor uses one six-wire cable to J3/J4. A nine-wire link at J2 groups the Cytron control and motor-output circuits; J11 retains its separate supply. The model includes the updated hull fixings, five cable-tie bridges and the divider notch. The package contains current CAD, an offline viewer, wiring schedules and a prototype RFQ. The harness model retains the earlier board body; connector geometry and pin assignments are unchanged by this update. The latest internal-component views are the two images above. The older film is historical and is not evidence for this layout. Physical fit and electrical operation remain first-prototype checks.+## Assembly review++A [focused mask/paste and BOM review](evidence/assembly_review/README.md) checked the current-sense shunts and amplifiers. Their apertures remain separate; the PCB and production CSV are unchanged. A classified BOM view makes semiconductors, passives and connectors easier to inspect. Stencil and reflow-process confirmation remains with PCBWay.+## Firmware and commissioningThe separate [Core V0.7 commissioning firmware](https://github.com/metrox-eth/moss/tree/main/firmware/core-v0.7) reuses the current MDD10A ramp and encoder code. It implements the new rearm interface, USB commands/telemetry, battery and motor-current readings, half-duplex Feetech communication including group writes, and an I²S speaker test. The existing V0.6 controller remains the tested rover target.diff --git a/hardware/electronics/moss-core-v0.7/delivery/MOSS_CORE_V07_PROTOTYPE_REVIEW_20261101_POWER_REARM.zip b/hardware/electronics/moss-core-v0.7/delivery/MOSS_CORE_V07_PROTOTYPE_REVIEW_20261101_POWER_REARM.zipindex 7acac09..4f3d376 100644Binary files a/hardware/electronics/moss-core-v0.7/delivery/MOSS_CORE_V07_PROTOTYPE_REVIEW_20261101_POWER_REARM.zip and b/hardware/electronics/moss-core-v0.7/delivery/MOSS_CORE_V07_PROTOTYPE_REVIEW_20261101_POWER_REARM.zip differdiff --git a/hardware/electronics/moss-core-v0.7/electrical/BOM_PCBWAY_ASSEMBLY.json b/hardware/electronics/moss-core-v0.7/electrical/BOM_PCBWAY_ASSEMBLY.jsonindex 956b55f..74ee62a 100644--- a/hardware/electronics/moss-core-v0.7/electrical/BOM_PCBWAY_ASSEMBLY.json+++ b/hardware/electronics/moss-core-v0.7/electrical/BOM_PCBWAY_ASSEMBLY.json@@ -6,13 +6,13 @@"article_count": 99,"accessories_excluded_from_PCB_placement": [],"notes": [- "1 November 2026 power/rearm update: U51/U52 permission latch, R228-R230, C154/C155; C170 6.8pF C0G feedforward capacitor populated. Exact MPNs; no unreviewed gate or package substitutions.",- "Private proposed anti-restart update: U51 SN74LVC1G74DCUR and U52 SN74HCS11PWR; dedicated GPIO1 ARM_COMMIT, GPIO2 ARM_LATCHED. Not yet placed/routed or submitted. Exact MPNs required; no unqualified slow-input AND substitution.",- "1 November mounting update: four Core fixing centres now have 74 x 71 mm pitch, 4 mm setback from all board edges. Orange Pi standoff holes remain fixed. Use current drill files; earlier hull mounting posts need adapting. Component inventory is unchanged.",- "Updated 1 November 2026: black 82 x 79 mm rectangular board; fan headers shifted left; all copper track segments use 45/90-degree directions. Battery, servo and speaker connectors now use verified vertical variants. Their numbered pin functions are retained; use the new footprint, purchasing and placement files together. Use only the matching 20261101_MOUNTING files.",- "Integrated MP9447 converter and grounded H1 retained. U14/U17/U43 local soldermask bridges removed. Copper/paste/drill geometry unchanged by the DFM correction.",- "U2 uses exact TPD2E2U06QDCKRQ1 DCK-3; J7 supported seating/through-hole solder; J8 manual placement approved for two prototypes.",- "Engineering checks do not constitute hardware qualification. Supplier to confirm availability and process in quotation."+ "1 November 2026 power/rearm update: U51/U52 permission latch, R228-R230, C154/C155 and populated C170 6.8pF C0G feedforward capacitor. 216 assembled components, 99 grouped purchase articles. Exact MPNs; no unreviewed gate or package substitutions.",+ "Hardware permission latch: U51 SN74LVC1G74DCUR, U52 SN74HCS11PWR; dedicated GPIO1 ARM_COMMIT and GPIO2 ARM_LATCHED. The current native design is routed and checked. Firmware is compiled/host-tested, not hardware-qualified.",+ "Black 82 x 79 mm board; Core fixing centres have 74 x 71 mm pitch with 4 mm edge setbacks. Orange Pi holes and all external connector interfaces are retained. The matching hull guide already follows this pattern.",+ "Use only the matching 20261101_POWER_REARM design, fabrication and placement files. Battery, servo and speaker headers are vertical. Earlier package files are superseded for this quotation.",+ "Integrated MP9447 converter and grounded H1 retained. U14/U17/U43/U51 and J1/J20 use local common soldermask openings where documented. The current-sense mask/paste review is supplied separately; no global mask expansion is requested.",+ "U2 uses exact TPD2E2U06QDCKRQ1 DCK-3; J7 supported seating/through-hole solder; J8 manual placement accepted for two prototypes.",+ "Engineering checks do not constitute hardware qualification. Supplier to confirm part availability, mask registration, stencil and assembly process in the quotation."],"parts": [{diff --git a/hardware/electronics/moss-core-v0.7/evidence/BOM_NOTE_REFRESH.json b/hardware/electronics/moss-core-v0.7/evidence/BOM_NOTE_REFRESH.jsonnew file mode 100644index 0000000..cf90245--- /dev/null+++ b/hardware/electronics/moss-core-v0.7/evidence/BOM_NOTE_REFRESH.json@@ -0,0 +1,12 @@+{+ "status": "NOTES_ONLY_METADATA_UPDATE",+ "old_BOM_JSON_sha256": "2db3e8682de82b18961c9deae2b1f40a593e1697c60d6728299b51ed4c93cfd6",+ "new_BOM_JSON_sha256": "71da646b3510c4bde3c74a2439709639ef2d049ae413256dcd4d535723bcaf92",+ "changed_top_level_keys": [+ "notes"+ ],+ "component_rows_MPN_designators_quantities_footprints_unchanged": true,+ "PCB_sha256": "456219f7eb97119b7e4328ed76f150012619131788f42d3a9d21fc4e40859cdb",+ "supplier_CSV_sha256": "2e7059a0ebacc8bf465b89b45eb893c72502f77aad264f50c6d3619857f119cf",+ "native_checks_not_rerun_for_prose_only_change": true+}diff --git a/hardware/electronics/moss-core-v0.7/evidence/CHECKS.json b/hardware/electronics/moss-core-v0.7/evidence/CHECKS.jsonindex e58df40..9bc7ed1 100644--- a/hardware/electronics/moss-core-v0.7/evidence/CHECKS.json+++ b/hardware/electronics/moss-core-v0.7/evidence/CHECKS.json@@ -81,7 +81,7 @@"electrical/MOSS.pretty/Package_TO_SOT_SMD_SOT-23-5.kicad_mod": "56665b9629bd9421fa1b5106294b94d7e931b7a444e3712dcaa7d3d298ced86f","electrical/MOSS.pretty/Package_TO_SOT_SMD_SOT-23.kicad_mod": "1fc64a59ce10911e130c0050db406230830188e05d7a5cce2f1fb3d7879a8f10","electrical/circuit.json": "80aceb62b867a158efafe1cccc0763384479b2f619c79f407a8b722f2816ec69",- "electrical/BOM_PCBWAY_ASSEMBLY.json": "2db3e8682de82b18961c9deae2b1f40a593e1697c60d6728299b51ed4c93cfd6"+ "electrical/BOM_PCBWAY_ASSEMBLY.json": "71da646b3510c4bde3c74a2439709639ef2d049ae413256dcd4d535723bcaf92"},"scope": "Native prototype checks; no hardware qualification.","reviewed_warning": {@@ -107,5 +107,6 @@"a6ddedfb-20ac-41c9-8492-ec9bc296efca"],"reason": "Tiny C21 underside outline meets J10.1 mask aperture. Gerbers are exported with --subtract-soldermask; ink over the aperture is removed without changing any copper, pad or drill."- }+ },+ "metadata_only_rebinding": "BOM_NOTE_REFRESH.json"}diff --git a/hardware/electronics/moss-core-v0.7/evidence/DESIGN_CONTRACT.json b/hardware/electronics/moss-core-v0.7/evidence/DESIGN_CONTRACT.jsonindex 2e53609..fc47107 100644--- a/hardware/electronics/moss-core-v0.7/evidence/DESIGN_CONTRACT.json+++ b/hardware/electronics/moss-core-v0.7/evidence/DESIGN_CONTRACT.json@@ -3,7 +3,7 @@"file_hashes": {"electrical/MOSS_Core_V07_Prototype.kicad_pcb": "456219f7eb97119b7e4328ed76f150012619131788f42d3a9d21fc4e40859cdb","electrical/circuit.json": "80aceb62b867a158efafe1cccc0763384479b2f619c79f407a8b722f2816ec69",- "electrical/BOM_PCBWAY_ASSEMBLY.json": "2db3e8682de82b18961c9deae2b1f40a593e1697c60d6728299b51ed4c93cfd6",+ "electrical/BOM_PCBWAY_ASSEMBLY.json": "71da646b3510c4bde3c74a2439709639ef2d049ae413256dcd4d535723bcaf92","evidence/NETLIST.xml": "27c084d1fbab63de8406f9647e1f8d1f9ee7b7c1bb00c568e4da15ae0adb4aa8"},"native_footprints": 230,diff --git a/hardware/electronics/moss-core-v0.7/evidence/MECHANICAL_FINAL_EQUIVALENCE.json b/hardware/electronics/moss-core-v0.7/evidence/MECHANICAL_FINAL_EQUIVALENCE.jsonindex 5db2f8e..ce7ccb8 100644--- a/hardware/electronics/moss-core-v0.7/evidence/MECHANICAL_FINAL_EQUIVALENCE.json+++ b/hardware/electronics/moss-core-v0.7/evidence/MECHANICAL_FINAL_EQUIVALENCE.json@@ -3,12 +3,22 @@"final_PCB": "MOSS_Core_V07_Prototype.kicad_pcb","final_sha256": "456219f7eb97119b7e4328ed76f150012619131788f42d3a9d21fc4e40859cdb","baseline_sha256": "7d88c146a2482b4d89a26b8dbafe18132ae649e58c58671ddaed233b6ab8bc14",- "additive_CAD_report_sha256": "6ea7b94b66600c2d4987e67d88a7c01d30d6267183893e86126ce42813514d58",+ "additive_CAD_report_sha256": "6efd62cebf64aa5bae5b4f392a50cad5f5578a4bc032360a75f1943a56dccf6a","original222physical_footprints_unchanged": true,"all8additive_poses_models_and_pads_unchanged": true,"outline_and_thickness_unchanged": true,"changed_existing_references": [],"changed_additive_references": [],"no_new_geometric_solver_run": true,- "inheritance": "The CAD reservation proof applies to exactly the same physical geometry in the final PCB. Copper and electrical metadata are outside this mechanical equivalence comparison."+ "inheritance": "The CAD reservation proof applies to exactly the same physical geometry in the final PCB. Copper and electrical metadata are outside this mechanical equivalence comparison.",+ "report_path_normalization": {+ "original_report_sha256": "6ea7b94b66600c2d4987e67d88a7c01d30d6267183893e86126ce42813514d58",+ "published_report_sha256": "6efd62cebf64aa5bae5b4f392a50cad5f5578a4bc032360a75f1943a56dccf6a",+ "changed_fields": [+ "native_sources.baseline.source",+ "native_sources.cff.source",+ "native_sources.latch.source"+ ],+ "scope": "Only absolute workstation paths were replaced with portable review_inputs paths. Input hashes, geometry, poses, measurements and results are identical. No new geometry solver run."+ }}diff --git a/hardware/electronics/moss-core-v0.7/evidence/assembly_review/BOM_CLASSIFICATION_PROOF.json b/hardware/electronics/moss-core-v0.7/evidence/assembly_review/BOM_CLASSIFICATION_PROOF.jsonnew file mode 100644index 0000000..0a2a277--- /dev/null+++ b/hardware/electronics/moss-core-v0.7/evidence/assembly_review/BOM_CLASSIFICATION_PROOF.json@@ -0,0 +1,26 @@+{+ "status": "PASS_EXACT_MPN_DESIGNATORS_QUANTITIES_FOOTPRINTS_PRESERVED",+ "source_bom_sha256": "71da646b3510c4bde3c74a2439709639ef2d049ae413256dcd4d535723bcaf92",+ "source_circuit_sha256": "80aceb62b867a158efafe1cccc0763384479b2f619c79f407a8b722f2816ec69",+ "classified_csv_sha256": "76fc5834e54b64a8f7e8bac0ce8ddfd24a5ad72fb2116498313dbaa8c5ae0548",+ "totals": {+ "articles": 99,+ "components": 216+ },+ "category_counts": {+ "Passive": {+ "articles": 56,+ "components": 161+ },+ "Active / semiconductors": {+ "articles": 33,+ "components": 41+ },+ "Electromechanical / other": {+ "articles": 10,+ "components": 14+ }+ },+ "category_convention": "Semiconductors groups ICs, transistors, diodes and LEDs for review; this is not a claim that every diode is an active element under every circuit-theory definition.",+ "scope": "Additional reading view only; original supplier files unchanged."+}diff --git a/hardware/electronics/moss-core-v0.7/evidence/assembly_review/BOM_CLASSIFIED_REVIEW.csv b/hardware/electronics/moss-core-v0.7/evidence/assembly_review/BOM_CLASSIFIED_REVIEW.csvnew file mode 100644index 0000000..4faf9b9--- /dev/null+++ b/hardware/electronics/moss-core-v0.7/evidence/assembly_review/BOM_CLASSIFIED_REVIEW.csv@@ -0,0 +1,100 @@+Category,Subcategory,Designators,Quantity,Manufacturer Part Number,Readable values,Footprint,Manufacturer+Active / semiconductors,Diodes / LEDs,D1,1,"PMEG2010ER,115",PMEG2010ER,Diode_SMD:Nexperia_CFP3_SOD-123W,+Active / semiconductors,Diodes / LEDs,D2,1,LTST-C190KGKT,GREEN,LED_SMD:LED_0603_1608Metric,+Active / semiconductors,Diodes / LEDs,"D5,D6,D7,D8,D9",5,"PESD5V0S1BA,115",PESD5V0S1BA,Diode_SMD:D_SOD-323,+Active / semiconductors,Diodes / LEDs,"D20,D21,D22",3,TPD1E10B06DYAR,TPD1E10B06DYAR,Diode_SMD:D_SOD-523,+Active / semiconductors,Diodes / LEDs,D32,1,SMBJ13A-E3/52,SMBJ13A-E3/52,Diode_SMD:D_SMB,+Active / semiconductors,Diodes / LEDs,D50,1,BZT52C12-E3-08,BZT52C12,Diode_SMD:D_SOD-123,+Active / semiconductors,Integrated circuits,U11,1,74LV08APWJ,74LV08APWJ,Package_SO:TSSOP-14_4.4x5mm_P0.65mm,+Active / semiconductors,Integrated circuits,U1,1,ESP32-S3-WROOM-1U-N8,ESP32-S3-WROOM-1U-N8,RF_Module:ESP32-S3-WROOM-1U,+Active / semiconductors,Integrated circuits,U2,1,TPD2E2U06QDCKRQ1,TPD2E2U06QDCKRQ1,Package_TO_SOT_SMD:SOT-323_SC-70,Texas Instruments+Active / semiconductors,Integrated circuits,U3,1,TPS2553DBVR,TPS2553DBVR,Package_TO_SOT_SMD:SOT-23-6,+Active / semiconductors,Integrated circuits,U4,1,TLV62569DBVR,TLV62569DBVR,Package_TO_SOT_SMD:SOT-23-5,+Active / semiconductors,Integrated circuits,U5,1,TPS3431SDRBR,TPS3431SDRBR,Package_SON:VSON-8-1EP_3x3mm_P0.65mm_EP1.65x2.4mm,+Active / semiconductors,Integrated circuits,U6,1,SN74HCS21PWR,SN74HCS21PWR,Package_SO:TSSOP-14_4.4x5mm_P0.65mm,+Active / semiconductors,Integrated circuits,U12,1,SN74LVC14APWR,SN74LVC14APWR,Package_SO:TSSOP-14_4.4x5mm_P0.65mm,+Active / semiconductors,Integrated circuits,U14,1,SN74LVC2G126DCUR,SN74LVC2G126DCUR,Package_SO:VSSOP-8_2.3x2mm_P0.5mm,+Active / semiconductors,Integrated circuits,U15,1,SN74LVC1G126DCKR,SN74LVC1G126DCKR,Package_TO_SOT_SMD:SOT-353_SC-70-5,+Active / semiconductors,Integrated circuits,U16,1,SN74LVC125APWR,SN74LVC125APWR,Package_SO:TSSOP-14_4.4x5mm_P0.65mm,+Active / semiconductors,Integrated circuits,U17,1,INA226AIDGSR,INA226 / BAT VOLTAGE,Package_SO:MSOP-10_3x3mm_P0.5mm,+Active / semiconductors,Integrated circuits,U20,1,TPS3808G33DBVR,TPS3808G33DBVR,Package_TO_SOT_SMD:SOT-23-6,+Active / semiconductors,Integrated circuits,U22,1,TPS22918DBVR,TPS22918DBVR,Package_TO_SOT_SMD:SOT-23-6,+Active / semiconductors,Integrated circuits,U23,1,MAX98357AETE+T,MAX98357AETE+T,Package_DFN_QFN:MAX98357A_T1633_4_90_0031,+Active / semiconductors,Integrated circuits,U24,1,TPS54302DDCR,TPS54302DDCR,Package_TO_SOT_SMD:SOT-23-6,+Active / semiconductors,Integrated circuits,U27,1,TPS3808G01DBVR,TPS3808G01DBVR,Package_TO_SOT_SMD:SOT-23-6,+Active / semiconductors,Integrated circuits,"U40,U41",2,INA240A2PWR,INA240A2PWR,Package_SO:TSSOP-8_4.4x3mm_P0.65mm,+Active / semiconductors,Integrated circuits,U42,1,TPS25810RVCR,TPS25810RVCR / USB-C source3A,Package_DFN_QFN:Texas_RVC0020A_WQFN-20-1EP_3x4mm_P0.5mm_EP1.6x2.6mm_ThermalVias,+Active / semiconductors,Integrated circuits,U43,1,ADS1115IDGSR,ADS1115IDGSR,Package_SO:MSOP-10_3x3mm_P0.5mm,+Active / semiconductors,Integrated circuits,U50,1,SN74LVC1G14DBVR,SN74LVC1G14,Package_TO_SOT_SMD:SOT-23-5,+Active / semiconductors,Integrated circuits,U51,1,SN74LVC1G74DCUR,SN74LVC1G74DCUR,Package_SO:VSSOP-8_2.3x2mm_P0.5mm,Texas Instruments+Active / semiconductors,Integrated circuits,U52,1,SN74HCS11PWR,SN74HCS11PWR,Package_SO:TSSOP-14_4.4x5mm_P0.65mm,Texas Instruments+Active / semiconductors,Integrated circuits,U60,1,MP9447GL-Z,MP9447GL-Z / integrated host buck,MOSS_Power:MP9447_QFN25_3x4,MPS+Active / semiconductors,Transistors,Q2,1,"MMBT3904,215",MMBT3904,Package_TO_SOT_SMD:SOT-23,+Active / semiconductors,Transistors,Q50,1,SiRA99DP-T1-GE3,SiRA99DP,Package_SO:PowerPAK_SO-8_Single,+Active / semiconductors,Transistors,"Q51,Q52",2,"BSS138BK,215",BSS138BK,Package_TO_SOT_SMD:SOT-23,+Passive,Capacitors,C170,1,GRM1555C1H6R8DA01D,6.8pF C0G 50V,Capacitor_SMD:C_0402_1005Metric,Murata+Passive,Capacitors,C87,1,GRM1885C1H750JA01D,75pF / C0G,Capacitor_SMD:C_0603_1608Metric,+Passive,Capacitors,"C19,C20,C21,C22",4,GRM1885C1H101JA01D,100pF,Capacitor_SMD:C_0603_1608Metric,+Passive,Capacitors,C169,1,GRM1885C1H391JA01D,390pF / C0G,Capacitor_SMD:C_0603_1608Metric,Murata+Passive,Capacitors,C101,1,GRM1885C1H102JA01D,1n,Capacitor_SMD:C_0603_1608Metric,+Passive,Capacitors,C153,1,GRM188R71H102KA01D,1n,Capacitor_SMD:C_0603_1608Metric,+Passive,Capacitors,"C45,C150,C152",3,GRM188R71H103KA01D,10nF | 10n,Capacitor_SMD:C_0603_1608Metric,+Passive,Capacitors,C168,1,GRM188R71H333KA61D,33nF / 50V X7R,Capacitor_SMD:C_0603_1608Metric,Murata+Passive,Capacitors,"C7,C9,C11,C18,C23,C25,C26,C27,C29,C40,C41,C42,C80,C84,C100,C154,C155",17,GRM188R71C104KA01D,100nF | 100n,Capacitor_SMD:C_0603_1608Metric,+Passive,Capacitors,"C31,C141,C151,C162,C163,C167",6,GRM188R71H104KA93D,100nF | 100nF 50V X7R | 100n | 100nF / 50V X7R,Capacitor_SMD:C_0603_1608Metric,Murata+Passive,Capacitors,C83,1,C0805C104K5RACTU,100nF / 50V X7R,Capacitor_SMD:C_0805_2012Metric,+Passive,Capacitors,"C120,C123,C126",3,C0603C104K4RACTU,100n 16V X7R,Capacitor_SMD:C_0603_1608Metric,+Passive,Capacitors,"C1,C2,C43,C44,C166",5,GRM188R61A105KA61D,1uF | 1uF / 10V,Capacitor_SMD:C_0603_1608Metric,Murata+Passive,Capacitors,"C122,C125",2,C0603C105K4RACTU,1u 16V X7R,Capacitor_SMD:C_0603_1608Metric,+Passive,Capacitors,"C121,C124",2,C0805C225K4RACTU,2.2u 16V X7R,Capacitor_SMD:C_0805_2012Metric,+Passive,Capacitors,C4,1,GRM21BR71A475KA73L,4.7uF,Capacitor_SMD:C_0805_2012Metric,+Passive,Capacitors,"C5,C6",2,GRM21BR71A106KA73L,10uF,Capacitor_SMD:C_0805_2012Metric,+Passive,Capacitors,C81,1,GRM21BR71A106KE51L,10uF / 10V X7R,Capacitor_SMD:C_0805_2012Metric,+Passive,Capacitors,C82,1,GRM32ER71H106KA12L,10uF / 50V X7R,Capacitor_SMD:C_1210_3225Metric,+Passive,Capacitors,C142,1,GRM31CR71E106KA12L,10uF 25V X7R,Capacitor_SMD:C_1206_3216Metric,+Passive,Capacitors,"C85,C86,C164,C165",4,GRM31CR71A226KE15L,22uF / 10V X7R,Capacitor_SMD:C_1206_3216Metric,Murata+Passive,Capacitors,C160,1,GRM32ER71E226KE15L,22uF / 25V X7R,Capacitor_SMD:C_1210_3225Metric,Murata+Passive,Capacitors,C140,1,10SVPE220M,220uF 10V polymer,Capacitor_SMD:CP_Elec_6.3x5.9,+Passive,Fuses,"F2,F3",2,0451001.MRL,1A / 125V fast,Fuse:Littelfuse_0451_Nano2,+Passive,Fuses,F1,1,08853.15DR,3.15A / compact host input fuse,Fuse:Fuse_Littelfuse-NANO2-885,Littelfuse+Passive,Inductors,L1,1,XAL4020-222MEC,2.2uH,Inductor_SMD:L_Coilcraft_XAL4020-XXX,+Passive,Inductors,"L2,L3",2,SRP6060FA-100M,10uH / 7.6A Isat typ | 10uH,Inductor_SMD:L_Bourns_SRP6060FA,Bourns+Passive,Resistors / shunts,"R180,R181",2,CSS2H-2512K-2L00F,2mR 1% 5W,MOSS_V07:CSS2H_2512K_Bourns,+Passive,Resistors / shunts,R212,1,RC0603FR-074R7L,4.7,Resistor_SMD:R_0603_1608Metric,Yageo+Passive,Resistors / shunts,R63,1,RC0603FR-0710RL,10,Resistor_SMD:R_0603_1608Metric,+Passive,Resistors / shunts,"R3,R4",2,RC0402FR-0722RL,22,Resistor_SMD:R_0402_1005Metric,+Passive,Resistors / shunts,"R48,R50,R51,R52,R224",5,RC0603FR-0747RL,47,Resistor_SMD:R_0603_1608Metric,+Passive,Resistors / shunts,"R23,R25,R27,R29,R230",5,RC0603FR-07100RL,100,Resistor_SMD:R_0603_1608Metric,+Passive,Resistors / shunts,R221,1,RC1206FR-07330RL,330,Resistor_SMD:R_1206_3216Metric,+Passive,Resistors / shunts,"R182,R183",2,CRCW0603470RFKEA,470R 1%,Resistor_SMD:R_0603_1608Metric,+Passive,Resistors / shunts,R225,1,RC0603FR-07470RL,470,Resistor_SMD:R_0603_1608Metric,+Passive,Resistors / shunts,"R7,R35,R37,R39,R41,R49,R222",7,RC0603FR-071KL,1k,Resistor_SMD:R_0603_1608Metric,+Passive,Resistors / shunts,"R220,R226",2,RC1206FR-071KL,1k,Resistor_SMD:R_1206_3216Metric,+Passive,Resistors / shunts,R53,1,RC0603FR-072K2L,2.2k,Resistor_SMD:R_0603_1608Metric,+Passive,Resistors / shunts,"R8,R9",2,RC0603FR-074K7L,4.7k,Resistor_SMD:R_0603_1608Metric,+Passive,Resistors / shunts,"R1,R2",2,RC0603FR-075K1L,5.1k,Resistor_SMD:R_0603_1608Metric,+Passive,Resistors / shunts,"R5,R6,R10,R11,R12,R13,R19,R24,R26,R28,R30,R36,R38,R40,R42,R43,R54,R56,R58,R64,R110,R111,R143,R214,R223,R227,R228",27,RC0603FR-0710KL,10k,Resistor_SMD:R_0603_1608Metric,Yageo+Passive,Resistors / shunts,R141,1,RT0603BRD0710KL,10k,Resistor_SMD:R_0603_1608Metric,+Passive,Resistors / shunts,R103,1,RT0603BRD0713K3L,13.3k / 0.1%,Resistor_SMD:R_0603_1608Metric,+Passive,Resistors / shunts,R57,1,RC0603FR-0722KL,22k,Resistor_SMD:R_0603_1608Metric,+Passive,Resistors / shunts,"R31,R32,R33,R34,R73,R75,R90,R91,R92,R93",10,RC0603FR-0747KL,47k,Resistor_SMD:R_0603_1608Metric,+Passive,Resistors / shunts,R213,1,RC0603FR-0753K6L,53.6k,Resistor_SMD:R_0603_1608Metric,Yageo+Passive,Resistors / shunts,R72,1,RC0603FR-0760K4L,60.4k,Resistor_SMD:R_0603_1608Metric,+Passive,Resistors / shunts,"R55,R74,R76,R77,R78,R79,R144,R200,R211,R229",10,RC0603FR-07100KL,100k | 100k 1% 100ppm,Resistor_SMD:R_0603_1608Metric,Yageo+Passive,Resistors / shunts,"R71,R102",2,RT0603BRD07100KL,100k | 100k / 0.1%,Resistor_SMD:R_0603_1608Metric,+Passive,Resistors / shunts,R105,1,RC0603FR-07105KL,105k,Resistor_SMD:R_0603_1608Metric,+Passive,Resistors / shunts,R140,1,RT0603BRD07174KL,174k,Resistor_SMD:R_0603_1608Metric,+Passive,Resistors / shunts,R70,1,RT0603BRD07464KL,464k,Resistor_SMD:R_0603_1608Metric,+Passive,Resistors / shunts,R210,1,RC0603FR-07499KL,499k,Resistor_SMD:R_0603_1608Metric,Yageo+Passive,Resistors / shunts,R104,1,RC0603FR-07511KL,511k,Resistor_SMD:R_0603_1608Metric,+Passive,Resistors / shunts,R215,1,RC0603FR-07845KL,845k,Resistor_SMD:R_0603_1608Metric,Yageo+Electromechanical / other,Connectors,"J1,J20",2,USB4105-GF-A,USB2 device / 500mA max | 5V3A OUT TO ORANGE PI,Connector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_Horizontal,+Electromechanical / other,Connectors,J2,1,43045-1012,CYTRON LINK,Connector_Molex:Molex_Micro-Fit_3.0_43045-1012_2x05_P3.00mm_Vertical,Molex+Electromechanical / other,Connectors,"J3,J4",2,43045-0612,LEFT MOTOR + ENCODER | RIGHT MOTOR + ENCODER,Connector_Molex:Molex_Micro-Fit_3.0_43045-0612_2x03_P3.00mm_Vertical,Molex+Electromechanical / other,Connectors,J5,1,22-03-5035,ARM / DATA V+ GND,Connector_Molex:Molex_SPOX_5267-03A_1x03_P2.50mm_Vertical,+Electromechanical / other,Connectors,J7,1,B2B-PH-K-S(LF)(SN),SPEAKER / 4 ohm 3 W,Connector_JST:JST_PH_B2B-PH-K_1x02_P2.00mm_Vertical,+Electromechanical / other,Connectors,J8,1,BM06B-SRSS-TB(LF)(SN),E-STOP / SIGNAL ONLY,Connector_JST:JST_SH_BM06B-SRSS-TB_1x06-1MP_P1.00mm_Vertical,+Electromechanical / other,Connectors,J10,1,XT30UPB-M.G.Y,XT30UPB-M.G.Y / FUSED 3S INPUT,Connector_AMASS:AMASS_XT30UPB-M_1x02_P5.0mm_Vertical,AMASS+Electromechanical / other,Connectors,J11,1,1715721,CYTRON POWER,"TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_Horizontal",+Electromechanical / other,Connectors,"J14,J15",2,B2B-XH-A(LF)(SN),FAN 1 / 3S | FAN 2 / 3S,Connector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical,JST+Electromechanical / other,Switches,"SW1,SW2",2,KMR221NGLFS,RESET_N | BOOT_N,Button_Switch_SMD:SW_Push_1P1T_NO_CK_KMR2,C&Kdiff --git a/hardware/electronics/moss-core-v0.7/evidence/assembly_review/CURRENT_SENSE_MASK_PASTE.json b/hardware/electronics/moss-core-v0.7/evidence/assembly_review/CURRENT_SENSE_MASK_PASTE.jsonnew file mode 100644index 0000000..8ee3f33--- /dev/null+++ b/hardware/electronics/moss-core-v0.7/evidence/assembly_review/CURRENT_SENSE_MASK_PASTE.json@@ -0,0 +1,153 @@+{+ "timestamp_utc": "2026-11-01T15:46:45.709789+00:00",+ "scope": "Read-only aperture/net/primary-drawing check for R180/R181 and U40/U41, not reflow process simulation.",+ "board_sha256": "456219f7eb97119b7e4328ed76f150012619131788f42d3a9d21fc4e40859cdb",+ "status": "NO_CONCRETE_FABRICATION_BLOCKER_FOUND",+ "gerbers": {+ "F_Mask.gts": {+ "sha256": "287b8aab613bd63b50f5bcfe2ba0e68ffae0ef01079bc2e97bec4c5028c1c62f",+ "parts": {+ "R180": {+ "aperture": "R,3.400000X1.800000",+ "flashes": [+ "X15300000Y-41700000D03*",+ "X15300000Y-46900000D03*"+ ]+ },+ "U41": {+ "aperture": "RoundRect,0.100000X0.100000X-0.637500X0.100000X0.637500X-0.100000X0.637500X-0.100000X-0.637500X0",+ "flashes": [+ "X20325000Y-60662500D03*",+ "X20975000Y-60662500D03*",+ "X21625000Y-60662500D03*",+ "X22275000Y-60662500D03*",+ "X22275000Y-54937500D03*",+ "X21625000Y-54937500D03*",+ "X20975000Y-54937500D03*",+ "X20325000Y-54937500D03*"+ ]+ },+ "R181": {+ "aperture": "R,3.400000X1.800000",+ "flashes": [+ "X15300000Y-55900000D03*",+ "X15300000Y-61100000D03*"+ ]+ },+ "U40": {+ "aperture": "RoundRect,0.100000X0.100000X-0.637500X0.100000X0.637500X-0.100000X0.637500X-0.100000X-0.637500X0",+ "flashes": [+ "X20325000Y-47162500D03*",+ "X20975000Y-47162500D03*",+ "X21625000Y-47162500D03*",+ "X22275000Y-47162500D03*",+ "X22275000Y-41437500D03*",+ "X21625000Y-41437500D03*",+ "X20975000Y-41437500D03*",+ "X20325000Y-41437500D03*"+ ]+ }+ }+ },+ "F_Paste.gtp": {+ "sha256": "eb6e188bd64a15cf51794b16150b257265163fc742d6685c8d9afd21be9aa94e",+ "parts": {+ "R180": {+ "aperture": "R,3.400000X1.800000",+ "flashes": [+ "X15300000Y-41700000D03*",+ "X15300000Y-46900000D03*"+ ]+ },+ "U41": {+ "aperture": "RoundRect,0.100000X0.100000X-0.637500X0.100000X0.637500X-0.100000X0.637500X-0.100000X-0.637500X0",+ "flashes": [+ "X20325000Y-60662500D03*",+ "X20975000Y-60662500D03*",+ "X21625000Y-60662500D03*",+ "X22275000Y-60662500D03*",+ "X22275000Y-54937500D03*",+ "X21625000Y-54937500D03*",+ "X20975000Y-54937500D03*",+ "X20325000Y-54937500D03*"+ ]+ },+ "R181": {+ "aperture": "R,3.400000X1.800000",+ "flashes": [+ "X15300000Y-55900000D03*",+ "X15300000Y-61100000D03*"+ ]+ },+ "U40": {+ "aperture": "RoundRect,0.100000X0.100000X-0.637500X0.100000X0.637500X-0.100000X0.637500X-0.100000X-0.637500X0",+ "flashes": [+ "X20325000Y-47162500D03*",+ "X20975000Y-47162500D03*",+ "X21625000Y-47162500D03*",+ "X22275000Y-47162500D03*",+ "X22275000Y-41437500D03*",+ "X21625000Y-41437500D03*",+ "X20975000Y-41437500D03*",+ "X20325000Y-41437500D03*"+ ]+ }+ }+ }+ },+ "measurements_mm": {+ "shunt_pads_global": [+ 3.4,+ 1.8+ ],+ "shunt_center_pitch": 5.2,+ "shunt_aperture_edge_gap": 3.4,+ "INA_pitch": 0.65,+ "INA_aperture_width_across_pitch": 0.4,+ "INA_mask_and_paste_gap": 0.25,+ "effective_native_mask_expansion": 0.0,+ "sense_track_width": 0.18,+ "Kelvin_pickup_overlap_inside_shunt_inner_edge": 0.05+ },+ "Kelvin_pickups": {+ "R180.1": [+ 15.3,+ 42.55+ ],+ "R180.2": [+ 15.3,+ 46.05+ ],+ "R181.1": [+ 15.3,+ 56.75+ ],+ "R181.2": [+ 15.3,+ 60.25+ ]+ },+ "existing_native_checks": {+ "DRC_errors": 0,+ "unconnected_items": 0,+ "schematic_parity_issues": 0,+ "ERC_violations": 0+ },+ "sources": [+ {+ "url": "https://www.bourns.com/docs/Product-Datasheets/css2h-2512.pdf",+ "local_file_sha256": "7e32b223f4b0f086d9e08cd5a4fb42e9935cf119db3dd9cf3ea7969bdd643909",+ "relevant": "Page2 recommended pad layout: 1.80mm pad depth,3.40mm width,3.40mm gap; separate sense pickup guidance."+ },+ {+ "url": "https://www.ti.com/lit/ds/symlink/ina240.pdf",+ "local_file_sha256": "c9d26e72ebdb52a169cbaca8f47d3811833c0afb765335a14f53f05c1a8b1854",+ "relevant": "PW TSSOP8,0.65mm pitch; example land/paste drawings allow assembly-site stencil recommendations."+ }+ ],+ "limits": [+ "No guarantee of reflow yield, stencil thickness or mask registration from a file-only check.",+ "The shunt is intentionally a two-terminal2mOhm component between different nets; do not merge them or mistake its body for a PCB copper short."+ ],+ "BOM_view": "An additional grouped semantic view can help review. Preserve the existing supplier BOM as one uniqueMPN row with all designators and quantity; do not split identical parts across active/passive copies."+}diff --git a/hardware/electronics/moss-core-v0.7/evidence/assembly_review/README.md b/hardware/electronics/moss-core-v0.7/evidence/assembly_review/README.mdnew file mode 100644index 0000000..8ce7531--- /dev/null+++ b/hardware/electronics/moss-core-v0.7/evidence/assembly_review/README.md@@ -0,0 +1,18 @@+# Assembly review following community feedback++The current board and production Gerbers were checked for solder bridges around the current-sense parts. No geometry change was needed.++| Parts | Mask and paste openings | Clear separation |+| --- | --- | --- |+| R180/R181, Bourns CSS2H-2512K-2L00F | Two 3.4 × 1.8 mm openings per shunt | 3.4 mm |+| U40/U41, TI INA240A2PWR | 0.4 × 1.475 mm, at 0.65 mm pitch | 0.25 mm |++The shunt pads match the [Bourns recommended land pattern](https://www.bourns.com/docs/Product-Datasheets/css2h-2512.pdf). The INA240 uses the correct [TI PW/TSSOP package](https://www.ti.com/lit/ds/symlink/ina240.pdf). Separate 0.18 mm Kelvin traces leave the inner edges of the appropriate shunt pads. IN+ and IN− do not share a mask or paste opening. [Exact Gerber hashes, apertures and pickup coordinates](CURRENT_SENSE_MASK_PASTE.json).++These are file-geometry checks. They do not guarantee reflow yield. PCBWay still needs to confirm stencil thickness, paste deposition and mask registration for its process.++## BOM reading view++The [classified BOM](BOM_CLASSIFIED_REVIEW.csv) separates semiconductors, passives and electromechanical parts, with readable values. It preserves all **99 MPN groups and 216 components**, including exact purchasing references, designator groups, quantities and footprints. [Comparison proof](BOM_CLASSIFICATION_PROOF.json).++PCBWay continues to receive the single grouped production CSV. Their [assembly guide](https://www.pcbway.com/smt_ordering_guide.html) asks for designators, quantities, packages and part numbers; it does not require separate active/passive files. The additional category view helps inspection without creating divergent purchasing lists. Obsolete explanatory notes in the inventory JSON were refreshed separately; the component rows and production CSV are unchanged.diff --git a/hardware/electronics/moss-core-v0.7/tools/classify_bom.py b/hardware/electronics/moss-core-v0.7/tools/classify_bom.pynew file mode 100644index 0000000..e68498d--- /dev/null+++ b/hardware/electronics/moss-core-v0.7/tools/classify_bom.py@@ -0,0 +1,48 @@+# SPDX-License-Identifier: Apache-2.0+"""Create a reading view without changing supplier MPN/designator groups."""+from pathlib import Path+import argparse,csv,hashlib,json,re++ap=argparse.ArgumentParser(description=__doc__)+ap.add_argument('--bom',type=Path,required=True)+ap.add_argument('--circuit',type=Path,required=True)+ap.add_argument('--output',type=Path,required=True)+a=ap.parse_args();a.output.mkdir(parents=True,exist_ok=True)+bom=json.loads(a.bom.read_text());parts={p['ref']:p for p in json.loads(a.circuit.read_text())['parts']}+rows=[];counts={}+def category(p):+ kind=p['kind'];ref=p['ref']+ if ref.startswith('Q'):return ('Active / semiconductors','Transistors')+ if kind=='ic':return ('Active / semiconductors','Integrated circuits')+ if kind in ('D','LED'):return ('Active / semiconductors','Diodes / LEDs')+ if kind in ('R','C','L','F'):+ return ('Passive',{'R':'Resistors / shunts','C':'Capacitors','L':'Inductors','F':'Fuses'}[kind])+ return ('Electromechanical / other',{'connector':'Connectors','switch':'Switches','mount':'Mounts','testpoint':'Test points'}.get(kind,kind))+def natural(s):return [int(t) if t.isdigit() else t for t in re.split(r'(\d+)',s)]+def numeric(s):+ m=re.match(r'\s*([\d.]+)\s*([pnumkM]?)',s)+ return float(m[1])*{'p':1e-12,'n':1e-9,'u':1e-6,'m':1e-3,'k':1e3,'M':1e6,'':1}[m[2]] if m else float('inf')+for r in bom['parts']:+ refs=r['references'];classes={category(parts[ref]) for ref in refs}+ assert len(classes)==1,('Mixed category in existing MPN group',r['mpn'],refs)+ assert r['quantity']==len(refs),(r['mpn'],'quantity mismatch')+ cat,sub=classes.pop();labels=list(dict.fromkeys(parts[ref]['value'] for ref in refs))+ row={'Category':cat,'Subcategory':sub,'Designators':','.join(refs),'Quantity':r['quantity'],+ 'Manufacturer Part Number':r['mpn'],'Readable values':' | '.join(labels),+ 'Footprint':r['footprint'],'Manufacturer':r.get('manufacturer','')}+ rows.append(row);c=counts.setdefault(cat,{'articles':0,'components':0});c['articles']+=1;c['components']+=r['quantity']+order={'Active / semiconductors':0,'Passive':1,'Electromechanical / other':2}+rows.sort(key=lambda r:(order[r['Category']],r['Subcategory'],numeric(r['Readable values']),natural(r['Designators'])))+dest=a.output/'BOM_CLASSIFIED_REVIEW.csv'+with dest.open('w',newline='')as f:+ out=csv.DictWriter(f,fieldnames=list(rows[0]));out.writeheader();out.writerows(rows)+original=sorted((r['mpn'],tuple(r['references']),r['quantity'],r['footprint'])for r in bom['parts'])+derived=sorted((r['Manufacturer Part Number'],tuple(r['Designators'].split(',')),r['Quantity'],r['Footprint'])for r in rows)+assert original==derived+sha=lambda p:hashlib.sha256(p.read_bytes()).hexdigest()+proof={'status':'PASS_EXACT_MPN_DESIGNATORS_QUANTITIES_FOOTPRINTS_PRESERVED','source_bom_sha256':sha(a.bom),+ 'source_circuit_sha256':sha(a.circuit),'classified_csv_sha256':sha(dest),'totals':{'articles':len(rows),'components':sum(r['Quantity']for r in rows)},+ 'category_counts':counts,'category_convention':'Semiconductors groups ICs, transistors, diodes and LEDs for review; this is not a claim that every diode is an active element under every circuit-theory definition.',+ 'scope':'Additional reading view only; original supplier files unchanged.'}+(a.output/'BOM_CLASSIFICATION_PROOF.json').write_text(json.dumps(proof,indent=2)+'\n')+print(json.dumps(proof,indent=2))