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-149b-7d64-9312-bc042987c6ca name: Order Surge Monitor kind: Anomaly cron: 0 0 * * * * analysis_window: 1h comparison_periods: [1d, 7d]
Detect sudden surges in order volume -- when the order arrival rate spikes well above the expected rate for the time of day.
Known Tables & Columns
curated.kitchen_orders
guid(varchar, PK) - order identifierstore_guid(varchar) - which store/restaurantitems_count(int) - number of items in the orderorder_type(varchar) - DINE_IN, TO_GO, DELIVERYdestination(varchar) - Kitchen, Bar, Window, Expopos_terminal(varchar) - POS terminal that created the order (POS-1, POS-2, POS-3, Bar, Drive-Thru)done(tinyint) - whether the order is completeis_deleted(tinyint) - soft delete flagcreate_time(int, unix timestamp) - when the order was createdis_priority(tinyint) - whether the order is priority
Analysis Approach
- Count the number of orders created in the last {AnalysisWindow} from
curated.kitchen_orders, grouped into 15-minute buckets usingcreate_time(is_deleted=0). - Compute the historical baseline: for the same 15-minute windows {ComparisonPeriods}, calculate the average and standard deviation of order counts.
- Verify that each baseline window has at least 15 orders. If the baseline is too sparse, call
emit_no_anomaly— low-volume periods naturally have high variance. - Flag any 15-minute window where the order count exceeds the baseline by more than 3 standard deviations AND is at least 3x the baseline average.
- A true order surge should show a sudden, sharp increase sustained over 3+ consecutive windows, not just a single high-count bucket. A single elevated window is NOT an anomaly.
- Optionally break down by
order_typeorpos_terminalto identify the source of the surge (e.g., a rush of delivery orders, or all orders coming from Drive-Thru). - Check whether the elevated volume correlates with increased kitchen load (longer prep times, order backlog).
Severity Guidance
- Low: 3x the expected arrival rate sustained for 3+ consecutive windows
- Medium: 3x+ the expected arrival rate sustained over 4+ consecutive windows with early signs of kitchen strain
- High: 3x+ arrival rate sustained for 15+ minutes with visible impact on kitchen throughput (e.g., growing order backlog, increased prep times)