Skip to content

Schema: harness.observed v1 (producer row)

A coding-harness session reported an observation.

Data schema for the harness.observed.v1 producer row (the CloudEvents data member).

Generated from src/spec_kitty_events/producer_contract/data/harness.observed.v1.schema.json by scripts/schema_pages.py; never hand-edit (C-001).

Family

Listed on the Producer row schemas and the total order hub.

Diagram

ai.spec-kitty.harness.observed.v1 dataStructure of the JSON Schema ai.spec-kitty.harness.observed.v1 data.$schemahttps://json-schema.org/draft/2020-12/schema$idurn:ai.spec-kitty:schema:harness.observed.v1titleai.spec-kitty.harness.observed.v1 dataadditionalProperties☐ falsedescriptionA coding-harness session reported an observation.properties   required   typeobjectactivity   agent_id   ended_reason   harness   kind   lane   mission_slug   path   pause_reason   repo   session_id   wp_id   anyOf         enum   typestringfile_editcommandtypenullanyOf         maxLength64pattern^[A-Za-z0-9][A-Za-z0-9._@+-]{0,63}(?![\s\S])typestringtypenullanyOf         enum   typestringusertimeouttypenulldescriptionHarness identity, e.g. 'claude', 'codex'.maxLength32pattern^[A-Za-z0-9][A-Za-z0-9._@+-]{0,63}(?![\s\S])typestringdescriptionClosed 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).enum   typestringpresencelane_signalfocus_startedfocus_heartbeatfocus_pausedfocus_endedanyOf         descriptionWork-package lifecycle lanes. ``GENESIS`` is the non-display, pre-finalize origin lane: a work-package with no recorded lane events derives as ``genesis`` until ``finalize-tasks`` seeds it to ``planned``. It is a producer-side state only — it is never a display/summary lane and the only legal edges out of it are ``genesis -> planned`` (the seed) and ``genesis -> canceled``.enum   typestringgenesisplannedclaimedin_progressfor_reviewin_reviewapproveddoneblockedcanceledtypenullanyOf         maxLength120minLength1pattern^[A-Za-z0-9][A-Za-z0-9._@+/-]{0,239}(?![\s\S])typestringtypenullanyOf         maxLength240pattern^[A-Za-z0-9][A-Za-z0-9._@+/-]{0,239}(?![\s\S])typestringtypenullanyOf         enum   typestringuserdndtypenullanyOf   descriptionTyped repo-identity slot; derivation is owned by Z6.      maxLength120pattern^[A-Za-z0-9][A-Za-z0-9._@+/-]{0,239}(?![\s\S])typestringtypenullmaxLength128pattern^[A-Za-z0-9][A-Za-z0-9._@+-]{0,63}(?![\s\S])typestringanyOf         maxLength32minLength1pattern^[A-Za-z0-9][A-Za-z0-9._@+-]{0,63}(?![\s\S])typestringtypenullkindharnesssession_id
Structure of the JSON Schema ai.spec-kitty.harness.observed.v1 data.

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).
  • lane (enum: genesis, planned, claimed, in_progress, for_review, in_review, approved, done, blocked, canceled | null)
  • mission_slug (string | null)
  • path (string | null)
  • pause_reason (enum: user, dnd | null)
  • repo (string | null): Typed repo-identity slot; derivation is owned by Z6.
  • session_id (string, required)
  • wp_id (string | null)

Source

Schema file: schemas/producer-rows/harness.observed.v1.schema.json