Event Sourcing

Complete auditability through immutable event history.

What is Event Sourcing?

Every action in Codemus creates an immutable event. Events are never modified or deleted, providing:

  • Complete auditability: Know exactly what happened, when, and why
  • Time travel: Go back to any point in history
  • Branching: Create "what-if" alternate timelines
  • State reconstruction: Rebuild any state from events

Event Types

Codemus tracks 30+ event types including:

  • Project lifecycle events (created, state changed)
  • Sprint events (started, completed, reviewed)
  • Task events (dispatched, completed, revised)
  • Agent events (crew approved, role created)
  • Document events (imported, indexed)
  • Capability events (granted, revoked, escalated)

Flight Recorder

The Flight Recorder view shows the complete event stream:

  • Filter by event type, actor, entity
  • Search events by content
  • View event details and payload
  • Navigate to related entities