Skip to content

Schema: status_transition_payload

Payload for a WPStatusChanged event describing a lane transition.

Payload schema for WPStatusChanged events.

Generated from src/spec_kitty_events/schemas/status_transition_payload.schema.json by scripts/schema_pages.py; never hand-edit (C-001).

Family

Part of the Work and Status Events event family.

Diagram

StatusTransitionPayloadStructure of the JSON Schema StatusTransitionPayload.$defs   $idspec-kitty-events/status_transition_payload$schemahttps://json-schema.org/draft/2020-12/schemaadditionalProperties☐ falsedescriptionPayload for a WPStatusChanged event describing a lane transition.properties   required   titleStatusTransitionPayloadtypeobjectDoneEvidence   ExecutionMode   Lane   RepoEvidence   ReviewVerdict   VerificationEntry   descriptionEvidence bundle required when a WP transitions to DONE.properties   required   titleDoneEvidencetypeobjectrepos   review   verification   descriptionAt least one repo with changesitems   minItems1titleRepostypearray$ref#/$defs/RepoEvidence$ref#/$defs/ReviewVerdictdescriptionReview verdictdescriptionVerification steps executeditems   titleVerificationtypearray$ref#/$defs/VerificationEntryreposreviewdescriptionHow a work-package is being executed.enum   titleExecutionModetypestringworktreedirect_repodescriptionWork-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   titleLanetypestringgenesisplannedclaimedin_progressfor_reviewin_reviewapproveddoneblockedcanceleddescriptionEvidence of repository changes for a completed work-package.properties   required   titleRepoEvidencetypeobjectbranch   commit   files_touched   repo   descriptionBranch nameminLength1titleBranchtypestringdescriptionCommit SHA or referenceminLength1titleCommittypestringanyOf   default␀descriptionList of files modifiedtitleFiles Touched      items   typearraytypestringtypenulldescriptionRepository identifierminLength1titleRepotypestringrepobranchcommitdescriptionVerdict from a human or automated reviewer.properties   required   titleReviewVerdicttypeobjectreference   reviewer   verdict   anyOf   default␀descriptionURL or reference for the reviewtitleReference      typestringtypenulldescriptionWho reviewedminLength1titleReviewertypestringdescriptionVerdict stringminLength1titleVerdicttypestringreviewerverdictdescriptionA single verification step (e.g. test run, lint check).properties   required   titleVerificationEntrytypeobjectcommand   result   summary   descriptionCommand that was executedminLength1titleCommandtypestringdescriptionOutcome of the commandminLength1titleResulttypestringanyOf   default␀descriptionHuman-readable summarytitleSummary      typestringtypenullcommandresultactor   evidence   execution_mode   force   from_lane   mission_id   mission_slug   reason   review_ref   summary   to_lane   wp_id   anyOf   descriptionWho initiated the transition. Accepts either a plain string identifier (e.g. 'claude', 'user', 'migration') or a structured dict carrying richer audit fields such as {role, profile, tool, model}. Use ``actor_label`` for a canonical string form. The status diary (``diary.decode_actor``) accepts exactly {role, profile, tool, model}, or those four plus profile_source (one of invocation, flag, agent_string, wp_frontmatter, or null; null exactly when profile is null).titleActor      typestringadditionalProperties☑ truetypeobjectanyOf   default␀descriptionEvidence bundle (required when to_lane=DONE)      $ref#/$defs/DoneEvidencetypenull$ref#/$defs/ExecutionModedescriptionHow the work-package is being executeddefault☐ falsedescriptionWhether this is a forced transitiontitleForcetypebooleananyOf   default␀descriptionLane the WP is transitioning from (None for initial)      $ref#/$defs/LanetypenullanyOf   default␀descriptionCanonical machine-facing mission identity (ULID); optional, rides alongside mission_slug so a consumer can join this moment against PhaseEntered (whose frame ref is mission_id) for the same mission aggregate (spec-kitty-events#69)titleMission Id      minLength1typestringtypenulldescriptionMission identifierminLength1titleMission SlugtypestringanyOf   default␀descriptionReason for the transition (required when force=True)titleReason      typestringtypenullanyOf   default␀descriptionReference to an external review — a pointer (review-cycle:…, feedback:…, auto-approval:…, a PR ref), never prose (#3954: the 240-byte relay attr bound drops a prose-carrying ref whole)titleReview Ref      typestringtypenullanyOf   default␀descriptionOne-line, human-readable gist of this transition for the NOW view (spec-kitty/spec-kitty#4327). Producer-supplied and producer-validated (the CLI bounds it to one printable line of at most 240 UTF-8 bytes at creation); the zeitgeist codec projects it as the bounded ``summary`` attr and never broadcasts this raw field. The full note stays in ``reason``.titleSummary      typestringtypenull$ref#/$defs/LanedescriptionLane the WP is transitioning todescriptionWork-package identifierminLength1titleWp Idtypestringmission_slugwp_idto_laneactorexecution_mode
Structure of the JSON Schema StatusTransitionPayload.

Properties

  • actor (string | object, required): Who initiated the transition. Accepts either a plain string identifier (e.g. 'claude', 'user', 'migration') or a structured dict carrying richer audit fields such as {role, profile, tool, model}. Use ``actor_label`` for a canonical string form. The status diary (``diary.decode_actor``) accepts exactly {role, profile, tool, model}, or those four plus profile_source (one of invocation, flag, agent_string, wp_frontmatter, or null; null exactly when profile is null).
  • evidence (DoneEvidence | null): Evidence bundle (required when to_lane=DONE)
  • execution_mode (enum: worktree, direct_repo, required): How the work-package is being executed
  • force (boolean): Whether this is a forced transition
  • from_lane (enum: genesis, planned, claimed, in_progress, for_review, in_review, approved, done, blocked, canceled | null): Lane the WP is transitioning from (None for initial)
  • mission_id (string | null): Canonical machine-facing mission identity (ULID); optional, rides alongside mission_slug so a consumer can join this moment against PhaseEntered (whose frame ref is mission_id) for the same mission aggregate (spec-kitty-events#69)
  • mission_slug (string, required): Mission identifier
  • reason (string | null): Reason for the transition (required when force=True)
  • review_ref (string | null): Reference to an external review — a pointer (review-cycle://…, feedback://…, auto-approval:…, a PR ref), never prose (#3954: the 240-byte relay attr bound drops a prose-carrying ref whole)
  • summary (string | null): One-line, human-readable gist of this transition for the NOW view (spec-kitty/spec-kitty#4327). Producer-supplied and producer-validated (the CLI bounds it to one printable line of at most 240 UTF-8 bytes at creation); the zeitgeist codec projects it as the bounded ``summary`` attr and never broadcasts this raw field. The full note stays in ``reason``.
  • to_lane (enum: genesis, planned, claimed, in_progress, for_review, in_review, approved, done, blocked, canceled, required): Lane the WP is transitioning to
  • wp_id (string, required): Work-package identifier

DoneEvidence

Evidence bundle required when a WP transitions to DONE.

RepoEvidence

Evidence of repository changes for a completed work-package.

  • branch (string, required): Branch name
  • commit (string, required): Commit SHA or reference
  • files_touched (array of string | null): List of files modified
  • repo (string, required): Repository identifier

ReviewVerdict

Verdict from a human or automated reviewer.

  • reference (string | null): URL or reference for the review
  • reviewer (string, required): Who reviewed
  • verdict (string, required): Verdict string

VerificationEntry

A single verification step (e.g. test run, lint check).

  • command (string, required): Command that was executed
  • result (string, required): Outcome of the command
  • summary (string | null): Human-readable summary

Source

Schema file: schemas/status_transition_payload.schema.json