# bom-revision-diff

Show what changed between two BOM revisions (added, removed, quantity changed)

- **Space:** manufacturing-public (https://github.com/Tech-Realm/space-manufacturing-public/tree/main/bom-revision-diff)
- **Level:** L2 (as the registry reports it)
- **Keys it needs (names only):** none
- **Tools:** python3
- **Routes:** local-python; checks: 1
- **Uses:** new (no recorded use yet)
- **Install:** `logicpacks pack use manufacturing-public/bom-revision-diff` or MCP `get_pack manufacturing-public/bom-revision-diff`
- **Files:** CHANGELOG.md, code/bomdiff.py, outcome/EVIDENCE.md, outcome/checks.yaml, outcome/fixtures/revA.csv, outcome/fixtures/revB.csv, outcome/results.json, pack.yaml, spec/SPEC.md, spec/source.md

## Purpose (spec/SPEC.md)

## Goal

A change list between BOM rev A and rev B: added parts, removed parts, quantity deltas, for an ECO/change note.

Verified by: Fixture revisions produce the exact expected add/remove/change lines.

## Steps

1. Export both revisions as flat BOMs (see bom-rollup).
2. Run `python3 code/bomdiff.py revA.csv revB.csv`.
3. Paste the output into the ECO.

## Edge cases

- Same part listed twice in one revision: quantities are summed with a warning.

## Don'ts

- Don't compare a multi-level BOM with a flat one.



---

Canonical URL: https://logicpacks.io/packs/manufacturing-public/bom-revision-diff

Developed by TechRealm (techrealm.online), the software team. Operated by Al Jash Trading (Establishment), Abu Dhabi, since 1994, the legal entity that hosts and is responsible for the service. Economic licence CN-1030597, Abu Dhabi Registration Authority. Address: Office 5, Bani Yas West 4, Bani Yas, Abu Dhabi, UAE. Website: https://aljashtrading.com. Contact: hello@logicpacks.io, security@logicpacks.io, WhatsApp +1 713 632 2262 (https://wa.me/17136322262).

Machine-readable index: [/llms.txt](/llms.txt). Plain facts: [/about.md](/about.md). Safety: [/safety.md](/safety.md).
