Forgecroft Docs
Guides / Governance

Governance Timeline

A chronological view of every governance event for a run.

What Is the Governance Timeline?

The governance timeline aggregates all governance-related events for a run into a single chronological view. It pulls from five data sources:

  1. policy_results — Policy evaluation events
  2. run_approval_requirements — Approval requirement activations
  3. external_checks — External check provider callbacks
  4. run_approvals — User approval/rejection decisions
  5. governance_events — System governance events

Viewing the Timeline

GET /runs/{id}/governance-timeline

Response:

[
  {
    "id": "uuid",
    "occurred_at": "2026-01-15T10:00:00Z",
    "event_type": "policy_evaluated",
    "actor_type": "system",
    "actor_id": null,
    "details": {
      "policy_set_name": "production-safety",
      "passed": false,
      "violations": ["..."]
    }
  },
  {
    "id": "uuid",
    "occurred_at": "2026-01-15T10:00:01Z",
    "event_type": "requirement_active",
    "actor_type": "system",
    "actor_id": null,
    "details": {
      "stage": 1,
      "reason": "Production destroy requires approval"
    }
  },
  {
    "id": "uuid",
    "occurred_at": "2026-01-15T10:05:00Z",
    "event_type": "approval_received",
    "actor_type": "user",
    "actor_id": "user-uuid",
    "details": {
      "decision": "approved",
      "comment": "Reviewed and approved"
    }
  }
]

Event Types

Event TypeDescription
policy_evaluatedA policy set was evaluated against the run
requirement_activeAn approval requirement became active
requirement_satisfiedAn approval requirement was satisfied
requirement_rejectedAn approval requirement was rejected
requirement_escalatedAn approval requirement escalated
requirement_auto_approvedAn approval requirement was auto-approved on timeout
external_check_receivedAn external check provider responded
approval_receivedA user approved or rejected the run

Actor Types

Actor TypeDescription
systemAutomated governance action
userA user made a decision
external_providerAn external check provider responded

Use Cases