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
WPStatusChangedtransition contract, and the append-only status-diary reducer that reads the CLI’sstatus.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
| Group | Module(s) | Reducer |
|---|---|---|
| Mission lifecycle | lifecycle, project_lifecycle, mission_next | reduce_lifecycle_events, reduce_mission_next_events |
| Work and status | status, diary | reduce_status_events, diary.reduce |
| Review, audit & decisions | decisionpoint, mission_audit, retrospective, dossier, gates | reduce_decision_point_events, reduce_decision_point_records, reduce_mission_audit_events, reduce_mission_dossier |
| Runtime observation | harness_observation, work_observation, work_replay, build_lifecycle, profile_invocation, ops_invocation, connector | reduce_connector_events, classify_work_stream |
| Collaboration | collaboration, coordination_message | reduce_collaboration_events |
| Semantics & analytics | glossary, analytics | reduce_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 surface | Change |
|---|---|
| Review, audit & decisions | A deferred decision reopens on a later resolve, in either order. New fold over ledger records: reduce_decision_point_records. |
| Semantics & analytics | Glossary payloads take core’s emitted shapes. StepCheckpointed added. The reducer is re-keyed and gains checkpoints. |
| Envelope | lamport_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.