Fleet Management

Monitor connected-runtime inventory, drift detection, policy distribution, and authority modes.

What fleet management provides#

Fleet management gives operators visibility into all connected runtimes enrolled in a workspace — their health, version compatibility, policy drift, and authority posture.

Fleet inventory#

Query fleet state with GET /api/v1/workspaces/{id}/fleet. The response includes:

FieldDescription
runtimesArray of enrolled runtimes with health, version, and drift status
summaryAggregate counts (active, stale, dormant, upgrade required)
desiredStateCurrent workspace config revision and policy mode

Drift detection#

Drift compares desired state (workspace config) against observed state (what each runtime last reported):

Drift StatusMeaning
alignedConfig revision matches, version is full-sync compatible
needs_reconcileConfig revision differs — runtime should pull latest
upgrade_requiredRuntime version below minimum supported (3.4.0)
awaiting_syncEnrolled but no heartbeat received yet

warning Drift detection is v1: it compares against a computed hash of current workspace config, not a tracked deployment version. Config edits immediately trigger needs_reconcile. Tracked deployment versions are a planned follow-on.

Policy distribution#

Connected runtimes pull desired-state configuration from GET /api/v1/workspaces/{id}/fleet/config:

  • distribution_mode: always pull (runtimes fetch, cloud doesn't push)
  • config_path and policies_path: canonical fetch endpoints
  • activePolicies: org-scoped and workspace-scoped policy rules

Authority modes#

Each workspace operates in an authority mode:

ModeBehavior
AuthoritativeCloud config overrides local runtime config
Tighten-onlyCloud can tighten but not loosen local policy
Dev OverrideLocal runtime config takes precedence (development only)

Runtime health#

Health is derived from heartbeat freshness:

StatusThreshold
ConnectedHeartbeat < 5 minutes ago
Stale5–60 minutes ago
Dormant> 60 minutes ago
NeverNo heartbeat received

Dashboard#

The Observe page at /dashboard/observe shows fleet rollout posture across all accessible workspaces with authority, drift, and health badges.