Propose a change
Name Last commit message Last updated
install.sh Add adompkg installer files 1mo ago
package.json Add adompkg installer files 1mo ago
page.json Remove internal identifiers from page.json 11d ago
README.md Initial commit: app/aci-provenance 1mo ago
SKILL.md Add adompkg installer files 1mo ago
uninstall.sh Add adompkg installer files 1mo ago

aci-provenance — real-world variant provenance for any MPN

Wraps adom-parts-search + the local provenance JSON + a deep manufacturer-3D-model search + a citation-aware PDF deep-linker into a single Hydrogen webview. The output is the <mpn>-variants.json manifest that chipfit's /3d-variants, aci library, and aci source --bom all read.

Run

node server.mjs --mpn RP2040 --port 8980

Then open in a Hydrogen webview tab:

https://<container-proxy>/proxy/8980/

What it solves

Chipfit's old variant picker listed STEP files from the kicad-packages3d cache. Most of those don't correspond to any orderable distributor SKU. User feedback 2026-04-28: "these variants you're showing me don't exist in the real world and I'm sad you fooled me."

aci-provenance is the data plumbing fix:

  • Bare-chip candidates only — filter out modules / dev boards
  • Search MPN-family-prefix mode (e.g. MCP4 returns the whole digital-pot family across SPI + I2C variants)
  • Symbol-signature sub-grouping when same fp+3D carries different pinout (SPI vs I2C, single vs dual)
  • Boot-time URL probe so we never ship a templated link that's bot-blocked or 404'd

Companion app

adom-pdf-viewer serves the in-page PDF viewer aci-provenance deep-links into for every page citation. Cited pages are highlighted in the thumbnail strip with snippet labels ("footprint pad geometry", "GLB / package model", etc.).

Manifest schema

Written to project-content/schematics/footprints/<mpn>/<mpn>-variants.json:

{
  "prefix": "RP2040",
  "datasheet_recommended": { "full_mpn": "...", "marking": "...", "citation": "..." },
  "variants": [
    {
      "full_mpn": "SC0914(13)",
      "manufacturer": "Raspberry Pi",
      "marking": "RP2040 (RP2B2)",      // extracted from description
      "fp_glb_equivalence_class": "RP2040",
      "symbol_signature": "MPN:RP2040",  // family rules vary per MFR
      "protocol": ["SPI", "I2C", "UART", "USB1.1"],
      "lifecycle": "unknown",
      "distributors": [{ "name": "Mouser", "sku": "358-SC091413", "stock": 104213, "price_usd": {...} }],
      "datasheet_url": "...",
      "product_url": "..."
    }
  ],
  "footprint_variants": []
}

Full spec: adom-chipfit/PLAN.md Part 5.

Sample prompts

  • "Run aci-provenance for RP2040 and show me the real-world variants Mouser carries"
  • "Show me the MCP4 family — I want to see the I2C vs SPI symbol-variant axis with the same fp + same 3D"
  • "Open this datasheet at page 608 with all the cited pages highlighted in the thumbnail strip"
  • "Reveal /home/adom/project/.../RP2040-3d.glb in the VS Code Explorer"