Document status:active Typed payload for the six HarnessObservation kinds.
Typed payload for the six HarnessObservation kinds.
Envelope conventions (validated by ``spec_kitty_events.strict``,
documented here per draft §3.3): ``event_type="HarnessObservation"``,
``aggregate_id="session/<session_id>"``, ``schema_version="3.0.0"``,
``timestamp`` = producer occurrence time (R-T-01); ``lamport_clock`` =
the journal clock value at offer time for ``lane_signal`` and the
client's local clock otherwise; ``correlation_id`` = the journal
event's ``event_id`` for ``lane_signal``. No time field in the payload
(R-T-02); no TTL/expiry field (server receipt clock/TTL is Z3/F3
policy); no user/team identity (server-derived, Z2a/Z7).
Payload schema for HarnessObservation events.
Generated from src/spec_kitty_events/schemas/harness_observation_payload.schema.json by scripts/schema_pages.py; never hand-edit (C-001).
Structure of the JSON Schema HarnessObservationPayload.
Properties
activity (enum: file_edit, command | null)
agent_id (string | null)
ended_reason (enum: user, timeout | null)
harness (string, required): Harness identity, e.g. 'claude', 'codex'.
kind (enum: presence, lane_signal, focus_started, focus_heartbeat, focus_paused, focus_ended, required): Closed set of harness-observation kinds. Exactly six members.
Structure over names: if PR #51's exact bytes name these differently,
only the string values move — the six-kind structure and the per-kind
field matrix below stay (F1 draft §6.1).