Skip to content

Build Week: Correlate cross-agent incident lifecycle - #53

Merged
CodeBuildder merged 2 commits into
feat/build-week-unified-command-centerfrom
agent/correlated-incident-lifecycle
Jul 18, 2026
Merged

Build Week: Correlate cross-agent incident lifecycle#53
CodeBuildder merged 2 commits into
feat/build-week-unified-command-centerfrom
agent/correlated-incident-lifecycle

Conversation

@CodeBuildder

@CodeBuildder CodeBuildder commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Summary

Turns explicitly related Argus and Phoenix findings into one inspectable Sentinel incident lifecycle while keeping standalone evidence out of incident counts.

Why

Sentinel previously displayed SOG findings and SOG incidents side by side without enforcing a correlation contract. This allowed a Phoenix evidence count to look like a Phoenix incident even when no scenario-backed incident existed.

Correlation rules

Sentinel creates a derived correlated case only when:

  1. evidence carries a non-empty explicit correlation_id; and
  2. that same ID is present on both Argus and Phoenix evidence.

Time proximity, matching severity, and similar resource names never fabricate a relationship.

Changes

  • normalizes observed, replayed, simulator, and live Chaos Mesh provenance
  • groups explicit cross-agent evidence into ordered cases
  • excludes standalone findings from incident counts
  • preserves existing SOG incidents without duplicating correlation IDs
  • exposes case status, severity, sources, evidence count, provenance, and timeline
  • makes incident rows inspectable
  • adds an evidence-to-recovery drawer with lifecycle stage, source, action, outcome, and provenance
  • adds a regression test proving single-source evidence does not become an incident

Verification

  • Sentinel backend: 5 passed
  • TypeScript compilation and Vite production build: passed
  • git diff --check passed

Live producer proof

The actual Argus and Phoenix World Model clients published two explicitly non-live records with correlation ID build-week-case-20260718. Sentinel produced exactly one case:

  • status: resolved
  • severity: critical
  • sources: argus, phoenix
  • evidence: 2
  • provenance: replayed, simulator

This proves cross-agent correlation without presenting deterministic demo evidence as observed production telemetry.

Dependencies

After #51 merges, this PR should be retargeted to main.

Closes #52

@CodeBuildder
CodeBuildder marked this pull request as ready for review July 18, 2026 22:43
@CodeBuildder
CodeBuildder merged commit 36b8d66 into feat/build-week-unified-command-center Jul 18, 2026
@CodeBuildder
CodeBuildder deleted the agent/correlated-incident-lifecycle branch July 18, 2026 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant