Built Word Documents (.docx):
Spensara Overview (.docx)
Capability Assessment (.docx)
Brink POS Ingestion Analysis (.docx)
The Borg Ingestion Architecture (.docx)
Categories
Architecture (19)
System design documents, C4 architecture diagrams and models, and platform integration structures.
- c4/docs/C4/actors.c4
- c4/docs/C4/AGENTS.md
- c4/docs/C4/customer_model.c4
- c4/docs/C4/etl/ingestion.c4
- c4/docs/C4/etl/integrations.c4
- c4/docs/C4/integrations_model.c4
- c4/docs/C4/kdsai_model.c4
- c4/docs/C4/specifications.c4
- c4/docs/C4/usecases/anomaly_detection.c4
- c4/docs/C4/views.c4
- docs/auth-and-data-ownership.md
- docs/ETL.md
- docs/flows/etl-ingestion.md
- docs/flows/kb-generation.md
- docs/flows/monitor-authoring.md
- docs/flows/runtime-execution.md
- docs/README.md
- docs/REDSHIFT.md
- docs/technologies.md
Flow: Scheduled Runtime Execution (Detection + Alerting)
This flow is non-interactive. A scheduler triggers execution of enabled monitors. The system runs the monitor runbook, performs evidence gathering, verifies conclusions, and emits alerts via the external notification tool.
Primary objectives:
- Execute
MonitorSpecon a schedule (2h/day/week). - Detect ad-hoc issues using LLM-driven reasoning over tool-returned evidence.
- Reduce noise via verification and dedupe.
- Emit a strict alert payload:
Name,Summary,Content(Markdown),Severity.
Sub-diagram
mermaid
flowchart TD
SCH["Scheduler"] --> ORCH["Run Orchestrator"]
ORCH -->|"Load spec"| SPEC["MonitorSpec Store (versioned)"]
ORCH --> DET["Runtime Detector (LLM)"]
DET <--> SEM["KB/Semantic Agent"]
SEM --> CM["Capabilities Manifest"]
SEM --> KPI["KPI Catalog"]
SEM --> DOC["Doc Index (RAG)"]
DET <--> DA["Data Access Agent (MCP/tools)"]
DA --> W["Warehouse DB(s)"]
DET --> CRIT["Critic/Verifier (LLM)"]
CRIT -->|"Needs more evidence"| DET
CRIT -->|"Alert approved"| EMIT["Alert Emitter"]
EMIT --> TOOL["Alert Tool Call<br/>Name • Summary • Content(MD) • Severity"]
TOOL --> NOTIF["External notification system"]
ORCH --> MEM["Run History + Dedupe Memory"]
EMIT --> MEM
classDef store fill:#f6f8fa,stroke:#9aa4b2,color:#111;
class SPEC,CM,KPI,DOC,W,MEM store;Runtime execution loop (high-level)
- Preflight: verify data freshness and prerequisites; if missing, record diagnostics (do not alert as “anomaly”).
- Broad scan: compute the monitor’s standard feature panels (trend deltas, distributions, cohorts).
- Drilldowns: detector requests targeted slices to explain suspicious changes (hour-of-week, station, channel, item/category mix, etc.).
- Verification: critic checks evidence quality (baseline validity, sample sizes, missingness/outages, mix shifts).
- Emit: if approved, alert emitter sends tool payload and records run history/dedupe info.