ProductProduct (SKU) · Category · ProductSegment · PricePoint · drives flow model, shelf life, and replenishment policy
🛒
Product (SKU)
Core Entity · Perishable & Non-Perishable · All Flow Models
sku_idupc_codenamebrandshelf_life_daysstorage_temp_rangeis_perishablepack_sizesegment_idflow_modeldsd_flag
Relations
─belongs_to→Category
─classified_in→ProductSegment
─sourced_from→Supplier
─substituted_by→Product (alternate)
🏷️
Category
Taxonomy · Hierarchy · Governs Replenishment Rules
category_idnamedept_nameaisle_codetemp_zonevelocity_class
Relations
─parent_of→Category (sub)
─governs→ReplenishmentPolicy
📦
ProductSegment
Classification · Drives Flow Model, Lead Times & Safety Stock
segment_idnametemp_zonemax_shelf_life_daystypical_vendor_lead_daystypical_dc_store_lead_daysdefault_safety_stock_daysdefault_flow_modelmarkdown_threshold_pctshrink_rate_pct
Relations
─classifies→Product[]
─shapes→ReplenishmentPolicy
💲
PricePoint
Temporal · Regular & Promotional Pricing
price_idregular_pricepromo_priceeffective_dateexpiry_datepromo_type
Relations
─applies_to→Product
─influences→StoreDemandForecast
Merch PlanningCategoryPlan · AssortmentPlan · PromotionPlan · RangePlanogram · Quarter-level planning objects that govern assortment, range, and promotional calendar
📂
CategoryPlan
Planning · Quarter-Level · Category Financial Targets
plan_idcategory_idquarterrevenue_targetunits_targetplanned_sku_counttarget_gross_margin_pctplanned_promo_weeksshrink_budget_pctplan_status
Relations
─governs→Category (financial targets, SKU count)
─drives→AssortmentPlan
─contains→PromotionPlan (calendar)
📋
AssortmentPlan
Planning · SKU Range per Store Format · Governs Which Products Trade Where
plan_idcategory_idstore_formatquarterplanned_sku_countcore_sku_ids[]seasonal_sku_ids[]delist_sku_ids[]new_sku_ids[]plan_status
Relations
─applies_to→Store (by format)
─governs→Product[] (which SKUs trade in which formats)
─constrains→ReplenishmentPolicy (only active assortment SKUs auto-replenish)
🗓️
PromotionPlan
Planning · Quarterly Promo Calendar · Circular + Digital + In-Store
plan_idcategory_idquarterpromo_weeks[]featured_sku_ids[]total_promo_budgetexpected_uplift_pctchannelplan_status
Relations
─instantiates→PromotionEvent (week-level)
─informs→StoreDemandForecast (uplift layer)
─requires→Inventory pre-build at DC + Store
🖼️
RangePlanogram
Spatial · Store Format · Shelf Layout & Facing Allocation
planogram_idcategory_idstore_formateffective_datesku_facings{}shelf_sections[]capacity_unitsreset_frequency
Relations
─references→AssortmentPlan
─constrains→PlanogramSlot (per SKU)
─informs→ReplenishmentPolicy (min display qty)
Pricing & PromotionsPricingState · MarkdownEvent · CompetitorPriceSignal · In-season pricing actions and perishable clearance events
💰
PricingState
Current · Per SKU × Store · Active Price with Effective Window
state_idsku_idstore_idcurrent_priceprice_typeeffective_fromeffective_topromo_event_idmarkdown_depth_pct
Relations
─overrides→PricePoint (regular price)
─created_by→PricingAgent
─modifies→StoreDemandForecast (price elasticity)
📉
MarkdownEvent
Action · Perishable Clearance · Code-Date or Overstock Triggered
event_idsku_idstore_idmarkdown_depth_pcttrigger_reasondays_of_supply_at_triggershelf_life_remaining_dayscreated_atcreated_by_agent
Relations
─created_by→MarkdownAgent
─updates→PricingState
─logged_in→AgentDecision
🔎
CompetitorPriceSignal
External Data · KVI Benchmarking · Weekly Competitive Scan
signal_idsku_idcompetitor_idcompetitor_priceour_priceprice_gap_pctis_kviscanned_date
Relations
─informs→PricingAgent
─flags→PricePoint (KVI credibility check)
Store & NetworkStore · ReplenishmentPolicy · PlanogramSlot · Consumer-facing stocking point and shelf constraints
🏪
Store
Stocking Point · Consumer-Facing · All Flow Models
store_idbanner_nameaddressformat_typesq_footageserved_by_dc_iddelivery_days_of_weekorder_cycle_dayscutoff_time
Relations
─has_inventory→InventoryPosition
─served_by→DistributionCenter
─receives→TransferOrder
─receives→DSDDelivery
─located_in→MarketArea
📋
ReplenishmentPolicy
Rule · Per SKU × Stocking Point · Flow-Model Specific
policy_idreorder_pointorder_up_to_levelmin_order_qtysafety_stock_dayslead_time_daysflow_modelstocking_point_typereview_cycle_days
Relations
─applied_to→Product × StockingPoint
─derived_from→StoreDemandForecast | DCReplenishForecast
🗂️
PlanogramSlot
Spatial · Store · Shelf Capacity Constraint
slot_idaisleshelf_levelfacingscapacity_unitsdisplay_type
Relations
─assigned_to→Product
─constrains→InventoryPosition (store)
Inventory & Net RequirementsDistributionCenter · InventoryPosition · NetRequirement · Two-tier stock position and derived order quantities
🏭
DistributionCenter
Stocking Point · Intermediate · Warehouse & Cross-Dock Capable
dc_idregioncapacity_palletstemp_zonescross_dock_capablestore_ids_served[]vendor_lead_time_avgorder_cycle_daysdelivery_schedule
Relations
─has_inventory→InventoryPosition
─serves→Store[]
─receives_from→Supplier (via PO)
─ships_via→TransferOrder
📊
InventoryPosition
State · Both Stocking Points · OH + IT + OO + Allocated
inv_idon_hand_qtyin_transit_qtyon_order_qtyallocated_qtyavailable_qtystocking_point_typedays_of_supplycode_date_earliestflow_modelshrink_ratelast_updated
Relations
─for_sku→Product
─at→Store | DistributionCenter
─feeds→NetRequirement
⚖️
NetRequirement
Derived · Both Stocking Points · Gross Forecast minus All Commitments
nr_idstocking_point_idstocking_point_typesku_idgross_requirementless_on_handless_in_transitless_on_orderless_allocatednet_qtycalculated_at
Relations
─derived_from→Forecast + InventoryPosition
─triggers (store)→TransferOrder
─triggers (DC)→PurchaseOrder
Supply Chain & SourcingSupplier · PO · TO · DSDDelivery · Contracts · ColdChainEvent · VendorScorecard · All order and delivery transactions
🏭
Supplier
Partner · Warehouse or DSD · Reliability Scored
supplier_idnametierreliability_scorelead_time_distmin_order_valuesupplier_typedsd_flagships_to_dcships_direct_to_store
Relations
─supplies→Product
─ships_to→DistributionCenter | Store
─has_contract→PurchaseContract | DSDSupplierContract
📄
PurchaseOrder
Transaction · Vendor → DC · F-01 Warehouse Flow
po_idstatuscreated_atexpected_deliverytotal_valuedestination_dc_idflow_modelcreated_by_agentapproval_status
Relations
─ordered_from→Supplier
─destined_to→DistributionCenter (F-01 only)
─generated_from→NetRequirement (DC)
🔄
TransferOrder
Transaction · DC → Store · Daily Replenishment Pull
to_idsource_dc_iddest_store_idstatusrequested_qtyfilled_qtyshort_qtycreated_atexpected_arrivalgenerated_by_agent
Relations
─sourced_from→DistributionCenter
─destined_to→Store
─generated_from→NetRequirement (Store)
─reduces→DC allocated_qty
🚚
DSDDelivery
Transaction · Supplier → Store · Vendor-Managed · F-02 Flow
delivery_iddsd_supplier_idstore_iddelivery_dateasn_receivedpod_scannedinvoice_idunits_deliveredunits_refusedroute_id
Relations
─from→Supplier (DSD)
─to→Store
─governed_by→DSDSupplierContract
─benchmarked_by→DSDShadowForecast
📃
PurchaseContract
Agreement · Warehouse Suppliers · MOQ & SLA
contract_idstart_dateend_datecommitted_volumeprice_breaksservice_level_target
Relations
─constrains→PurchaseOrder
─covers→Product[]
🤝
DSDSupplierContract
Agreement · DSD Suppliers · OOS Penalty & VMI Terms
contract_iddsd_supplier_idstore_ids[]delivery_frequencyservice_level_targetoos_penalty_clausescan_based_tradingvendor_managed_inventory
Relations
─governs→DSDDelivery
─monitored_by→DSDMonitorAgent
─informed_by→VendorScorecard (renewal)
❄️
ColdChainEvent
Quality Event · Temp Excursion · Triggers Inventory Write-Down
event_idstocking_point_idsku_ids_affected[]temp_reading_fduration_minsseverityinventory_written_off
Relations
─affects→InventoryPosition
─triggers→NetRequirement recalc
🏆
VendorScorecard
Performance · DSD Supplier · OOS & Waste Risk Scored
scorecard_iddsd_supplier_idstore_idsku_idperiod_startperiod_endactual_units_deliveredrecommended_unitsvariance_pctoos_incidentsoverstock_incidentsfill_rate_pctwaste_risk_scoreshared_with_vendor
Relations
─scores→Supplier (DSD)
─derived_from→DSDShadowForecast + DSDDelivery
─informs→DSDSupplierContract (renewal)
Demand & ForecastStoreDemandForecast → DCReplenishForecast · SalesHistory · PromotionEvent · CalendarEvent · DSDShadowForecast
📈
StoreDemandForecast
Prediction · Tier 1 · SKU × Store × Day · Drives TransferOrders
forecast_idsku_idstore_idhorizon_dayspredicted_consumer_unitsconfidence_intervalmodel_versionmape_recent
Relations
─feeds→NetRequirement (store)
─rolls_up_to→DCReplenishmentForecast
─adjusted_for→PromotionEvent, WeatherSignal, CalendarEvent
🏭
DCReplenishmentForecast
Prediction · Tier 2 · SKU × DC × Day · Drives PurchaseOrders
forecast_idsku_iddc_idhorizon_daysprojected_to_demandorder_pattern_adjustmentmodel_version
Relations
─feeds→NetRequirement (DC)
─derived_from→StoreDemandForecast[] + order behavior
─drives→PurchaseOrder (via OrderingAgent)
📜
SalesHistory
Time Series · POS · OOS & Promo Flagged
txn_dateunits_soldrevenuewas_on_promowas_ooschannel
Relations
─feeds→StoreDemandForecast
─for→Product × Store
🎯
PromotionEvent
Event · Uplift Modifier · Requires Inventory Pre-Build
promo_idtypestart_dateend_dateexpected_uplift_pctchannel
Relations
─boosts→StoreDemandForecast
─requires→InventoryBuild at DC + Store
📅
CalendarEvent
Temporal Context · Holiday & Local Event · Demand Multiplier
event_idevent_typedatedemand_multiplieraffected_categories
Relations
─modifies→StoreDemandForecast
─scoped_to→MarketArea
💾
ForecastDataStore
Integration · ML Engine Output · Read by Forecast & DSD Agents
store_idsku_idforecast_datehorizon_dayspredicted_unitsconfidence_lowconfidence_highmodel_versionrefresh_cadencewritten_at
Relations
─read_by→Store-ForecastAgent
─read_by→DSD-ShadowForecastAgent
─written_by→External ML Engine (existing)
📊
DSDShadowForecast
Prediction · DSD Benchmark · Retailer-Generated Independent Forecast
forecast_idsku_idstore_idhorizon_dayspredicted_unitsrecommended_order_qtyreorder_pointsafety_stock_dayssource_forecast_idgenerated_at
Relations
─derived_from→ForecastDataStore
─benchmarks→DSDDelivery
─feeds→VendorScorecard
AgentsOrchestratorAgent coordinates 13 specialist agents across category planning, pricing, forecasting, ordering, DSD monitoring, perishable clearance, and exception management
🧠
OrchestratorAgent
Agent · Control Plane · Coordinates All Sub-Agents
agent_idpriority_queueescalation_ruleshuman_in_loop_triggers
Relations
─coordinates→All Sub-Agents
─escalates_to→HumanBuyer
📈
Store-ForecastAgent
Agent · Tier 1 · Store Demand Forecast from POS + Signals
agent_idscope: storemodel_typeaccuracy_mapelast_retrain_date
Relations
─produces→StoreDemandForecast
─consumes→SalesHistory, ForecastDataStore, Signals
🏭
DC-ForecastAgent
Agent · Tier 2 · DC Replenishment Forecast + Order Lump Adjustment
agent_idscope: dcmodel_typeaccuracy_mape
Relations
─produces→DCReplenishmentForecast
─derived_from→StoreDemandForecast[] + store order patterns
📦
OrderingAgent
Agent · PO Generation · Vendor → DC
agent_idapproval_thresholdauto_approve_limitscope: DC→Vendor
Relations
─creates→PurchaseOrder (Vendor→DC)
─reads→NetRequirement (DC)
🔄
TransferAgent
Agent · TO Generation · DC → Store · Availability Check
agent_idscope: DC→Storedc_availability_checkpartial_fill_logic
Relations
─creates→TransferOrder (DC→Store)
─reads→NetRequirement (Store)
─checks→InventoryPosition (DC) available_qty
🔍
DSDMonitorAgent
Agent · DSD Compliance · OOS & Invoice Monitoring
agent_idoos_sensitivityservice_level_thresholdinvoice_match_rules
Relations
─monitors→DSDDelivery, DSDSupplierContract
─flags→OOS incidents, invoice mismatches
⚠️
ExceptionAgent
Agent · Anomaly Detection · Both Stocking Points
agent_idalert_thresholdsoos_sensitivityoverstock_threshold
Relations
─monitors→InventoryPosition (both tiers)
─triggers→AgentDecision, escalation
🕵️
DSD-ShadowForecastAgent
Agent · DSD Benchmark · Reads ForecastDataStore for DSD SKUs
agent_idscope: DSD SKUs onlyrefresh_cadencescoring_window_daysoos_threshold_daysoverstock_threshold_pct
Relations
─reads→ForecastDataStore
─produces→DSDShadowForecast
─produces→VendorScorecard
💲
PricingAgent
Agent · KVI Price Monitoring & Markdown Execution
agent_idkvi_gap_threshold_pctmarkdown_floor_pctprice_elasticity_modelreview_cadence_days
Relations
─monitors→CompetitorPriceSignal vs PricePoint
─creates→PricingState (KVI adjustments)
─creates→MarkdownEvent (perishable clearance)
─escalates_to→HumanBuyer (deep markdown or KVI breach)
📋
AssortmentAgent
Agent · Range Optimisation & SKU Productivity Review
agent_idvelocity_thresholdreview_cadence_weeksnew_sku_trial_weeksformat_range_model
Relations
─reviews→AssortmentPlan vs SalesHistory (SKU productivity)
─flags→low-velocity SKUs for delist consideration
─recommends→RangePlanogram updates
─escalates_to→HumanBuyer (delist / new SKU decision)
🎯
PromoPlanAgent
Agent · Promotional Calendar Execution & Uplift Monitoring
agent_idpre_build_lead_daysuplift_modelpost_promo_bleed_window_daysroi_threshold
Relations
─activates→PromotionEvent from PromotionPlan
─triggers→Inventory pre-build NetRequirement at DC + Store
─monitors→Actual uplift vs expected_uplift_pct
─escalates_to→HumanBuyer (Day-1 promo OOS or under-performance)
💰
MarkdownAgent
Agent · Perishable Clearance · Code-Date & Overstock Triggered
agent_idshelf_life_threshold_pctmarkdown_cascade_stepsmargin_floor_pctreview_cadence_hours
Relations
─monitors→InventoryPosition.days_of_supply vs shelf_life
─creates→MarkdownEvent (progressive cascade)
─suspends→ReplenishmentPolicy during clearance
─escalates_to→HumanBuyer (margin floor breach)
📡
SignalAgent
Agent · External Data Ingestion · Continuous Feed
agent_idsignal_sources[]refresh_cadenceanomaly_threshold
Relations
─ingests→WeatherSignal, MarketSignal, CompetitorPriceSignal
─writes→KG signal entities on each refresh cycle
─alerts→ExceptionAgent on anomaly detection
📝
AgentDecision
Audit Log · Immutable · Every Agent Action with Full Rationale
decision_idagent_refdecision_typerationaleconfidence_scoretimestampoutcomehuman_reviewed
Relations
─made_by→Agent
─references→NetRequirement | Forecast
─results_in→PurchaseOrder | TransferOrder
External SignalsWeatherSignal · MarketSignal · MarketArea · Feed store demand forecasts and supplier risk scoring
🌦️
WeatherSignal
External Data · Severe Weather Demand Multiplier by Category
signal_iddateconditiontemp_fseverity_level
Relations
─modifies→StoreDemandForecast
─scoped_to→MarketArea
📰
MarketSignal
External Data · Commodity Prices · Supply Disruption Risk
signal_idsourcesignal_typecommoditysupply_disruption
Relations
─impacts→Supplier reliability_score
─triggers→DCReplenishmentForecast adjustment
🗺️
MarketArea
Geography · Demographics · Competitor Density · Demand Context
area_idregion_namedemographicscompetitor_density
Relations
─contains→Store[]
─shapes→StoreDemandForecast