Supplier Aggregates¶
Why This Exists¶
This document defines aggregate boundaries for the Supplier Domain using Domain-Driven Design.
Owner¶
The owner is the Chief Product Officer and Enterprise Architect.
Business Value¶
Aggregate boundaries protect supplier profile, relationship, quote, performance, rating, review, and trust consistency.
Aggregate Catalogue¶
| Aggregate | Purpose | Boundary |
|---|---|---|
| Supplier Profile | Root aggregate for supplier-specific profile. | Supplier identity, categories, regions, contacts, status. |
| Supplier Capability Profile | Supplier offerings and capability evidence. | Capability claims, categories, coverage, verification signals. |
| Supplier Relationship | Customer-specific supplier relationship. | Relationship status, preferred status, notes, trust state. |
| Supplier Quote Register | Supplier quotes and quote response behavior. | Quote records, validity, response time. |
| Supplier Performance Register | Performance, ratings, reviews, previous contract references. | Performance history and assessment. |
| Supplier Trust Assessment | Supplier trust state and risk indicators. | Trust score, risk signals, review status. |
Aggregate Diagram¶
flowchart TD
Profile[Supplier Profile]
Capabilities[Supplier Capability Profile]
Relationship[Supplier Relationship]
Quotes[Supplier Quote Register]
Performance[Supplier Performance Register]
Trust[Supplier Trust Assessment]
Profile --> Capabilities
Profile --> Relationship
Relationship --> Quotes
Relationship --> Performance
Performance --> Trust
Quotes --> Trust
Core Invariants¶
| Invariant | Description |
|---|---|
| Supplier identity is stable | SupplierProfileId must not change after creation. |
| Relationship is customer-specific | Preferred status belongs to a customer relationship context. |
| Performance is evidence-backed | Performance records require source context. |
| Ratings are explainable | Ratings should link to review, performance, or contract context. |
| AI suggestions are not facts | Intelligence recommendations require approved Supplier actions. |
Cross-Domain Reference Rule¶
Supplier references Organization, Marketplace, Contract, and Intelligence records by ID. It does not own their source facts.