system

Record Maintenance Run

Changed on

Record that one maintenance routine ran (kind maintenance.routine_ran, business_events ledger).

Gated on system:maintenance_runs:write, held only by maintenance-runner@pigeon.ly (service_keys. MAINTENANCE_RUNNER, the owner's "Yes" of 2026-11-15, FINISH_LEDGER D-23). The event is written in its own transaction here; it is observability, so the job never waits on it for its own work.

post/api/system/maintenance-runs

Request

  • Base URL
    https://api.pigeonly.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Request body

RecordMaintenanceRunRequest required

One attempt of a nightly maintenance routine, posted by the Node B job after the attempt ends.

Whose rule: the owner's "5 cleanup routines run nightly" (order a0fdfc1a-8b9d-4e68-95e2-2e630f69d5a0), decided as a business event by the lead under the owner's 2026-11-11 delegation. The body is a closed vocabulary on purpose: the production check counts distinct routines, so a free-text name would silently pass or fail it.

routine, 'dead_code' | 'finished_experiments' | 'missing_tests' | 'useless_tests' | 'abstraction_police' required
result, 'no_change' | 'proposed' | 'review_fail' | 'gate_fail' | 'refused' required
night, string date required

Response

Successful Response

object required

Changes