PaaS Incident Event Schema
Date: 2026-02-17 Scope: WS12-01 incident schema, severity taxonomy, and dedupe strategy Owner: Codex1. Goal
Define a stable incident envelope so deploy hooks, health polls, and runtime collectors produce consistent records for agent execution and operator review.2. Canonical Event Shape
Required fields:id: unique incident event IDcontext: active PaaS context (internal-dogfood,oss-demo,customer-*)source: collector origin (for exampledeploy-hook,health-poll,runtime-watch)category: one ofdeploy|health|runtime|webhook|agent|unknownseverity: one ofinfo|warning|criticalstatus: one ofopen|suppressed|resolvedmessage: operator-facing summarydedupe_key: stable key for equivalent incidents inside a dedupe windowcorrelation_id: stable ID to tie incident events to the same remediation runtriggered_at: event timestamp in UTC RFC3339Nanowindow_start,window_end: dedupe window bounds
targetsignalmetadata(redacted via shared sensitive-field middleware)
3. Severity Taxonomy
info:
- Non-actionable state transitions
- Observability notices
warning:
- Degraded state needing operator awareness
- Retry or transient failure conditions
critical:
- Hard failures requiring remediation or rollback
- Security policy or isolation violations
warnmaps towarningerrorandfatalmap tocritical- Unknown values default to
info
4. Dedupe Strategy
Default dedupe window:- 5 minutes (
paasIncidentDefaultDedupeWindow)
contextsourcecategoryseveritytargetsignal- optional dedupe hint
5. Correlation Strategy
correlation_id is derived from:
dedupe_key- dedupe
window_start - optional external run reference (when available)
6. Implementation Reference
Code primitives are implemented in:tools/si/paas_incident_schema.gotools/si/paas_incident_schema_test.go
normalizePaasIncidentSeveritynormalizePaasIncidentCategoryresolvePaasIncidentDedupeWindowbuildPaasIncidentDedupeKeybuildPaasIncidentCorrelationIDnewPaasIncidentEvent

