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-1498-7b73-8fc0-6861ae86b223 name: Slow Kitchen Monitor kind: Anomaly cron: 0 0 * * * * analysis_window: 1h comparison_periods: [1d, 7d]
Detect when the entire kitchen is running slow -- all preparation times are significantly elevated across every station.
Known Tables & Columns
curated.kitchen_orders
guid(varchar, PK) - order identifierstore_guid(varchar) - which store/restaurantpreparation_time(int, seconds, nullable) - total order preparation timeitems_count(int) - number of items in the orderorder_type(varchar) - DINE_IN, TO_GO, DELIVERYdestination(varchar) - Kitchen, Bar, Window, Expodone(tinyint) - whether the order is completeis_deleted(tinyint) - soft delete flagcreate_time(int, unix timestamp) - when the order was createdupdate_time(int, unix timestamp) - last update
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)preparation_time(int, seconds, nullable) - how long the item took to prepareis_deleted(tinyint) - soft delete flagcreate_time(int, unix timestamp) - when the item was created
curated.kitchen_item_status_events
guid(varchar, PK) - bump identifieritem_guid(varchar, FK) - parent itemstatus(tinyint) - 0=pending, 1=prepared, 2=doneprepared_local_time(int, unix timestamp, nullable) - when item was prepareddone_local_time(int, unix timestamp, nullable) - when item was completedis_deleted(tinyint) - soft delete flag
Analysis Approach
- Query the last {AnalysisWindow} of completed orders (
done=1,is_deleted=0,preparation_time IS NOT NULL). - Join with
curated.kitchen_order_itemsand aggregate average item-levelpreparation_timeby hour and by station. - Verify that each station has at least 15 items in the analysis window. Ignore stations with fewer data points.
- Compare the per-hour averages against the historical baseline (same hour-of-day {ComparisonPeriods}).
- A global slowdown affects ALL stations simultaneously -- check whether the elevated prep times span Grill, Fryer, Salad, Drinks, and Desserts uniformly rather than being isolated to one station.
- Flag hours where the average prep time across all stations is >3 standard deviations above baseline AND the absolute elevation is at least 90 seconds above the baseline average.
- To confirm this is a kitchen-wide issue (not a single-station bottleneck), verify that at least 4 out of 5 stations show elevated prep times in the same time window. If only 1-2 stations are elevated, call
emit_no_anomaly(it may be a station bottleneck, not a slow kitchen).
Severity Guidance
- Low: 3-4 sigma deviation, at least 4/5 stations elevated by 90s+
- Medium: 4-5 sigma deviation, or prep times 3x above baseline across 4+ stations
- High: >5 sigma deviation, or prep times 5x+ above baseline across all stations