Built Word Documents (.docx):
Spensara Overview (.docx)
Capability Assessment (.docx)
Brink POS Ingestion Analysis (.docx)
The Borg Ingestion Architecture (.docx)
Categories
Monitor Specs (29)
Operational monitoring, alerting, anomaly detection, and health specifications.
- backend/Kds.Ai.Data/MonitorSpecs/customer-churn-risk.md
- backend/Kds.Ai.Data/MonitorSpecs/customer-profiles.md
- backend/Kds.Ai.Data/MonitorSpecs/daily-forecast.md
- backend/Kds.Ai.Data/MonitorSpecs/demand-drivers.md
- backend/Kds.Ai.Data/MonitorSpecs/forecast-demand.md
- backend/Kds.Ai.Data/MonitorSpecs/forgotten-items.md
- backend/Kds.Ai.Data/MonitorSpecs/identify-high-value-customers.md
- backend/Kds.Ai.Data/MonitorSpecs/identify-plowhorse-items.md
- backend/Kds.Ai.Data/MonitorSpecs/identify-star-items.md
- backend/Kds.Ai.Data/MonitorSpecs/incorporate-seasonality.md
- backend/Kds.Ai.Data/MonitorSpecs/inventory-levels.md
- backend/Kds.Ai.Data/MonitorSpecs/item-recall-storm.md
- backend/Kds.Ai.Data/MonitorSpecs/kitchen-performance.md
- backend/Kds.Ai.Data/MonitorSpecs/large-order-wave.md
- backend/Kds.Ai.Data/MonitorSpecs/menu-item-profitability.md
- backend/Kds.Ai.Data/MonitorSpecs/monthly-forecast.md
- backend/Kds.Ai.Data/MonitorSpecs/optimal-pricing-adjustments.md
- backend/Kds.Ai.Data/MonitorSpecs/optimize-order-quantities.md
- backend/Kds.Ai.Data/MonitorSpecs/order-surge.md
- backend/Kds.Ai.Data/MonitorSpecs/prep-time.md
- backend/Kds.Ai.Data/MonitorSpecs/pricing-recommendations.md
- backend/Kds.Ai.Data/MonitorSpecs/priority-flood.md
- backend/Kds.Ai.Data/MonitorSpecs/seasonality-trends.md
- backend/Kds.Ai.Data/MonitorSpecs/segment-customers.md
- backend/Kds.Ai.Data/MonitorSpecs/segment-descriptions.md
- backend/Kds.Ai.Data/MonitorSpecs/slow-kitchen.md
- backend/Kds.Ai.Data/MonitorSpecs/station-bottleneck.md
- backend/Kds.Ai.Data/MonitorSpecs/waste-reduction.md
- backend/Kds.Ai.Data/MonitorSpecs/weekly-forecast.md
id: 019cb9fd-14a0-7ee4-a201-76118a743fd7 name: Item Recall Storm Monitor kind: Anomaly cron: 0 0 * * * * analysis_window: 1h comparison_periods: [1d, 7d]
Detect an unusual spike in item recalls -- completed items being sent back to the kitchen for rework, indicating quality issues or operational breakdown.
Known Tables & Columns
curated.kitchen_orders
guid(varchar, PK) - order identifierstore_guid(varchar) - which store/restaurantdone(tinyint) - whether the order is completeis_deleted(tinyint) - soft delete flagcreate_time(int, unix timestamp) - when the order was created
curated.kitchen_order_items
guid(varchar, PK) - item identifierorder_guid(varchar, FK) - parent ordername(varchar) - menu item namecategory(varchar) - Grill, Fryer, Salads, Drinks, Dessertsdevice_id(int) - KDS station ID (1=Grill, 2=Fryer, 3=Salad, 4=Drinks, 5=Desserts)recall_time(int, unix timestamp, nullable) - when the item was recalled (NULL or 0 if never recalled)is_deleted(tinyint) - soft delete flagcreate_time(int, unix timestamp) - when the item was createdupdate_time(int, unix timestamp) - last update
curated.kitchen_item_status_events
guid(varchar, PK) - bump identifieritem_guid(varchar, FK) - parent itemstatus(tinyint) - 0=pending, 1=prepared, 2=donelast_status(tinyint, nullable) - previous status before current changeprepared_local_time(int, unix timestamp, nullable) - when item was prepareddone_local_time(int, unix timestamp, nullable) - when item was completed (reset to 0 on recall)is_deleted(tinyint) - soft delete flag
Analysis Approach
- Query items from the last {AnalysisWindow} in
curated.kitchen_order_items(is_deleted=0) whererecall_time IS NOT NULL AND recall_time > 0. - Also query total items created in the same window. Verify at least 15 items exist in the window. If not, call
emit_no_anomaly— the sample is too small. - Count recalled items per 15-minute window and compute the recall rate: recalled items / total items created in that window.
- Compare against the historical baseline. Under normal operations, recalls should be rare -- typically <2% of items.
- Flag windows where the recall rate exceeds 10%, sustained over 2+ consecutive windows.
- Join with
curated.kitchen_item_status_eventsto identify items that were previously at status 2 (done) and are now back at status 1 (prepared) -- this confirms the recall pattern. - Optionally break down by
device_id(station) orcategoryto find if recalls cluster on specific stations or menu items, which could indicate a quality issue with specific food types.
Baseline Reference
- Normal recall rate: <2% of completed items
- Suspicious: 5-10% recall rate
- Anomalous: >10% recall rate, especially >20% (1 in 5 items being sent back)
Severity Guidance
- Low: 10-20% recall rate sustained for 2+ consecutive windows, possible quality issue
- Medium: 20-30% recall rate sustained over multiple windows, systematic quality problem
- High: >30% recall rate -- kitchen is in a recall storm, completed items are being continuously sent back for rework