Decisions
Each row links to a single ADR. Append-only. To override a decision, write a new ADR and flip the predecessor's status to
Superseded by NNNN.
| ID | Status | Date | Title | Supersedes |
|---|---|---|---|---|
| 0001 | Accepted | 2026-01 | Polymorphic InventoryItem (itemType + itemId) | — |
| 0002 | Accepted | 2026-03 | Vendor link via VendorItem only — no vendorId on principals | — |
| 0003 | Accepted | 2026-02 | Atomic adjustStock with forceNonNegative guard | — |
| 0004 | Accepted | 2026-02 | Worker idempotency via InventoryTracking lookup | — |
| 0005 | Accepted | 2026-04 | UoM storage: uom jsonb on catalog + uomId soft ref on lines | — |
| 0006 | Accepted | 2026-05 | COMBO bundle inventory — expand at cart-add into child SaleOrderItems | — |
Authoring rules
- One decision per file, MADR template (
NNNN-<kebab-slug>.md). - Sequential 4-digit numbering, never reused.
- Status:
Proposed·Accepted·Deprecated·Superseded by NNNN. - Cross-service decisions go in
developer/decisions/, not here.