Skip to content

Schema: follow_up_recorded_payload

Typed payload for ``FollowUpRecorded`` events. Records a follow-up commit or PR against an already-merged (or any-state) mission. ``follow_up_type`` is the discriminator: ``"commit"`` requires ``commit_sha``; ``"pr"`` requires ``pr_number``. Attribution is via ``mission_id``. A commit and the PR that contains it are recorded as distinct facts (no resolved-commit-of-PR lookup). Producer: ``spec-kitty/src/specify_cli/status/lifecycle_events.py`` ``emit_follow_up_recorded``. Data-model: ``mission-lifecycle-dispatch-drg-closeout-01KV0S99/data-model.md``.

Payload schema for FollowUpRecorded events.

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

Family

Part of the Mission Lifecycle Events event family.

Diagram

FollowUpRecordedPayloadStructure of the JSON Schema FollowUpRecordedPayload.$idspec-kitty-events/follow_up_recorded_payload$schemahttps://json-schema.org/draft/2020-12/schemaadditionalProperties☐ falsedescriptionTyped payload for ``FollowUpRecorded`` events. Records a follow-up commit or PR against an already-merged (or any-state) mission. ``follow_up_type`` is the discriminator: ``"commit"`` requires ``commit_sha``; ``"pr"`` requires ``pr_number``. Attribution is via ``mission_id``. A commit and the PR that contains it are recorded as distinct facts (no resolved-commit-of-PR lookup). Producer: ``spec-kitty/src/specify_cli/status/lifecycle_ev ents.py`` ``emit_follow_up_recorded``. Data-model: ``mission-lifecycle-dispatch-drg-clo seout-01KV0S99/data-model.md``.properties   required   titleFollowUpRecordedPayloadtypeobjectcommit_sha   follow_up_type   mission_id   mission_slug   pr_number   recorded_at   recorded_by   anyOf   default␀descriptionCommit SHA; required iff follow_up_type == 'commit'.titleCommit Sha      minLength1typestringtypenulldescriptionDiscriminator: 'commit' (requires commit_sha) or 'pr' (requires pr_number).enum   titleFollow Up TypetypestringcommitprdescriptionCanonical machine identity (ULID); attribution key.minLength1titleMission IdtypestringdescriptionHuman handle (display).minLength1titleMission SlugtypestringanyOf   default␀descriptionPR number; required iff follow_up_type == 'pr'.titlePr Number      minimum1typeintegertypenulldescriptionEvent time (ISO-8601 UTC).minLength1titleRecorded AttypestringdescriptionDetected actor who recorded the follow-up.minLength1titleRecorded Bytypestringmission_idmission_slugfollow_up_typerecorded_byrecorded_at
Structure of the JSON Schema FollowUpRecordedPayload.

Properties

  • commit_sha (string | null): Commit SHA; required iff follow_up_type == 'commit'.
  • follow_up_type (enum: commit, pr, required): Discriminator: 'commit' (requires commit_sha) or 'pr' (requires pr_number).
  • mission_id (string, required): Canonical machine identity (ULID); attribution key.
  • mission_slug (string, required): Human handle (display).
  • pr_number (integer | null): PR number; required iff follow_up_type == 'pr'.
  • recorded_at (string, required): Event time (ISO-8601 UTC).
  • recorded_by (string, required): Detected actor who recorded the follow-up.

Source

Schema file: schemas/follow_up_recorded_payload.schema.json