Skip to content

Sealed Pipeline

Sealed Pipeline

The sealed pipeline is the parent civilization’s nervous system. Every build event, every telemetry batch, every finding flows through it.

The 7 Stages

ORCHESTRATE → EMIT → ACCUMULATE → ROLLUP → INSCRIBE → RECALL → BUILD
StageWhat HappensFrequency
ORCHESTRATEDecide what needs monitoringContinuous
EMITCapture raw events (build, telemetry, findings)Per-event
ACCUMULATE30-second cycle summaries in DO SQLiteEvery 30s
ROLLUPHourly/nightly synthesis by JoeHourly
INSCRIBEWrite findings to COGPer-rollup
RECALLLoad priorities into next sessionPer-session
BUILDMonitoring priorities inform next build cyclePer-build

Monitoring the Pipeline

expressiveCode.terminalWindowFallbackTitle
# Check pipeline health
curl -s "$API/api/monitoring/rollup/priorities" -H "Authorization: Bearer $AUTH_SECRET"
# Returns: { priorities: [...], health: 1.0, generated_at: "..." }
  • health: 1.0 — pipeline is flowing normally
  • health < 0.8 — investigate ACCUMULATE or ROLLUP stages
  • priorities: [] — no issues flagged (clean)
  • priorities: […] — items need attention

Pipeline for Customer Orgs

When a customer’s probe sends telemetry, it enters the same pipeline:

  1. EMIT — probe telemetry event captured
  2. ACCUMULATE — 30-second summary in the monitoring agent’s DO SQLite
  3. ROLLUP — hourly synthesis produces governance score update
  4. INSCRIBE — findings written to govern_findings
  5. RECALL — customer dashboard loads fresh data

The parent and child share the pipeline infrastructure, but the data is isolated by org_id at every stage.