audit_find_mpn_inconsistencies
Detect ICs sharing the same library reference and comment but using different manufacturer part numbers, flagging likely BOM typos or missing alternates before purchase.
Instructions
Find groups of ICs with the same (lib_ref, comment) but DIFFERENT Manufacturer Part Numbers.
Two presumably-identical parts pointing at different MPNs is almost always a bug: either a typo / accidental override during a sub-circuit clone, or means the design genuinely wants two sources but lost the alternates table somewhere. The agent reviewing the BOM should see this before purchase.
Pattern: ports the dashboard's analyzeMpnConsistency JS heuristic to an authoritative Pascal-side audit.
Returns:
Dict with {checked, violations, items[]}. Each item
carries {lib_ref, comment, mpns, designators} where
mpns is a comma-joined list of the conflicting part
numbers and designators lists the components involved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||