Skip to content

Event families

An event family is one module’s set of typed payloads and event-type constants for a single concern. The Spec Kitty CLI and runtime emit them as a Mission moves through its lifecycle; a consumer validates and reduces them through the Python package. This section groups the families by concern. For the envelope they all ride in, see the envelope; for how a stream folds to state, see ordering and reduction.

The six groups

  • Mission lifecycle — the mission from creation to close: lifecycle transitions and phases, the project/artifact phases (specify, plan, tasks) and work-package creation, and run-scoped execution (mission next).
  • Work and status — the work-package lane model, the WPStatusChanged transition contract, and the append-only status-diary reducer that reads the CLI’s status.events.jsonl.
  • Review, audit and decisions — decision points, mission audit, retrospectives, mission-dossier artifact parity, and CI gates.
  • Runtime observation — volatile harness presence, durable work observation and replay, build lifecycle, profile and ops invocations, and external-connector health.
  • Collaboration — multi-participant presence, drive intent, focus, comments and decisions, and bounded cross-mission coordination messages.
  • Semantics and analytics — glossary semantic-integrity enforcement and step checkpoints, and token-usage and diff accounting.
  • Shared types — the sub-models the payloads compose: identity records, references and value sets, each with a generated schema page.

Families at a glance

GroupModule(s)Reducer
Mission lifecyclelifecycle, project_lifecycle, mission_nextreduce_lifecycle_events, reduce_mission_next_events
Work and statusstatus, diaryreduce_status_events, diary.reduce
Review, audit & decisionsdecisionpoint, mission_audit, retrospective, dossier, gatesreduce_decision_point_events, reduce_decision_point_records, reduce_mission_audit_events, reduce_mission_dossier
Runtime observationharness_observation, work_observation, work_replay, build_lifecycle, profile_invocation, ops_invocation, connectorreduce_connector_events, classify_work_stream
Collaborationcollaboration, coordination_messagereduce_collaboration_events
Semantics & analyticsglossary, analyticsreduce_glossary_events

What changed in 11.0.0

11.0.0 (#120) changes three families and the envelope they ride in. See the 11.0.0 changelog page and COMPATIBILITY.md for the migration.

Family or surfaceChange
Review, audit & decisionsA deferred decision reopens on a later resolve, in either order. New fold over ledger records: reduce_decision_point_records.
Semantics & analyticsGlossary payloads take core’s emitted shapes. StepCheckpointed added. The reducer is re-keyed and gains checkpoints.
Envelopelamport_clock is optional. Unclocked envelopes sort first, as in ADR 0001’s total order. They are local-ledger only.

Durable or volatile?

A family’s durability class matters as much as its payload: journal families carry the durable record (gated by the strict profile), volatile families are relayed as in-the-moment signals, and the WorkObservation family is durable live-work on its own path. Each family page states which it is.