Part 15 — Autonomy and Central Fleet Coordination (0.3 Draft)Link to the section Part 15 — Autonomy and Central Fleet Coordination (0.3 Draft)

Version 0.3-draft. This text extends the 0.2.0 baseline backwards-compatibly and is published at the stable /spec/0.2/ and /schemas/v0.2/ addresses. Sections marked “0.3 draft” are new and may change. The 0.2.0 baseline text is in the repository history.

On this page

Maturity: Draft (0.3 extension; see ADR-0010) · Profiles: A, F (built on T and N) · Schemas: univip.capabilities.v0.2, univip.telemetry.v0.2, univip.command.v0.2, univip.lease.v0.2, univip.event.v0.2

Compatibility and safety note. Every message and member defined in this Part uses the 0.x extensibility mechanisms of Part 01 §1.4–1.5 (open enumerations, optional object members, and standard vehicle.* command and event namespaces) so that 0.2 receivers continue to interoperate without error. Nothing in Profile A or Profile F relaxes the safety hierarchy of Part 11: pilot override (ALWAYS), onboard controller limits, signed command verification (Part 13 §13.14), and the hash-chained audit log (Part 13 §13.15) apply unchanged.

15.1 Purpose and architectural modelLink to the section 15.1 Purpose and architectural model

Part 11 standardizes direct vehicle tasking (goto, move_relative, static mission.upload) under a continuous live session. Autonomous vehicles—aerial BVLOS drones, indoor/outdoor AMRs, surface vessels and untethered UUVs—require two higher-level capabilities when communicating with a central platform:

  1. Profile A (Autonomy & Human-on-the-Loop): Objective-level goal assignment, Operational Design Domain (ODD) and confidence telemetry, structured operator-assist requests when onboard autonomy encounters ambiguity, and bounded offline continuation when communication links drop.
  2. Profile F (Central Fleet Coordination): Hub-and-spoke fleet readiness, automated dock lifecycle management, dynamic 4D corridor and keep-out deconfliction, cross-vehicle operation_id correlation, and seamless station-keeping handoffs.
Central coordination across heterogeneous autonomous vehicles

Multiple UNIVIP Devices—aerial drones with docks, indoor AMRs and underwater vehicles—connect outbound to a Central UNIVIP Coordinator. Profile T carries state and telemetry, Profile A carries goals, ODD status and assist requests, and Profile F coordinates docks, 4D corridors and vehicle handoffs.

View Mermaid source
flowchart TB
    accTitle: Central coordination across heterogeneous autonomous vehicles
    accDescr: Multiple UNIVIP Devices—aerial drones with docks, indoor AMRs and underwater vehicles—connect outbound to a Central UNIVIP Coordinator. Profile T carries state and telemetry, Profile A carries goals, ODD status and assist requests, and Profile F coordinates docks, 4D corridors and vehicle handoffs.
    subgraph Vehicles["Heterogeneous Autonomous Vehicles (UNIVIP Devices)"]
        D1["Inspection Drone + Dock (T, S, C, N, A, F)"]
        D2["Facility AMR / Rover (T, N, A, F)"]
        D3["Survey UUV (T, N, A, F)"]
    end
    H["Central UNIVIP Client: VMS / Fleet Coordinator"]
    D1 <-->|"TLS 1.3 Session + WebRTC"| H
    D2 <-->|"TLS 1.3 Session (headless)"| H
    D3 <-->|"TLS 1.3 Session (store-and-forward)"| H

15.2 Profile A — Autonomy and Human-on-the-LoopLink to the section 15.2 Profile A — Autonomy and Human-on-the-Loop

Profile A requires Profile N (which in turn requires Profile T or Profile S, Part 04).

15.2.1 Capability declaration (capabilities.autonomy)Link to the section 15.2.1 Capability declaration (capabilities.autonomy)

A Profile A device MUST include the autonomy block in its capability document (Part 06):

{
  "enabled": true,
  "goal_types": ["INSPECT_AREA", "PATROL_CORRIDOR", "TRACK_TARGET", "TRANSIT", "DOCK_AND_CHARGE"],
  "session_loss_policies": ["HOLD", "CONTINUE_WITHIN_ODD", "RETURN_HOME", "SAFE_STOP"],
  "max_offline_grace_s": 1800,
  "human_assist": true,
  "odd_monitoring": true,
  "perception_stream": false
}
Member Required Description
enabled yes Operator switch; when false, vehicle.autonomy.* commands are rejected with FLIGHT_CONTROL_DISABLED.
goal_types yes Non-empty list of supported goal kinds (INSPECT_AREA, PATROL_CORRIDOR, TRACK_TARGET, TRANSIT, DOCK_AND_CHARGE, SURVEY_GRID, or vendor strings).
session_loss_policies yes Policies accepted in lease.on_session_loss (§15.2.2). HOLD MUST be supported.
max_offline_grace_s if CONTINUE_WITHIN_ODD supported Maximum duration (seconds) the vehicle may continue an autonomous goal without an active session to the lease holder.
human_assist SHOULD true if the device emits vehicle.autonomy.intervention_requested and accepts vehicle.autonomy.assist_response.
odd_monitoring SHOULD true if the device evaluates and reports telemetry.autonomy.odd.
perception_stream MAY true if the device can emit tracked semantic objects (vehicle.analytics.object.detected or autonomy.perception envelopes) independent of video.

Under Profile N (Part 11 §11.4), loss of every session with the lease-holding client expires the lease after three heartbeat intervals and cancels movement into HOLD. Profile A extends univip.lease (Part 11 §11.3) with explicit session-loss governance:

  • Lease scope: Clients MAY acquire scope: "autonomy" (authorizes vehicle.autonomy.*, vehicle.hold, vehicle.return_home and vehicle.cancel, but NOT raw vehicle.goto / vehicle.move_relative) or scope: "vehicle" (authorizes both Profile N and Profile A commands). At most one ACTIVE lease across vehicle and autonomy scopes may exist on a device at once. Both scopes require purpose, client_id and operator_user.
  • on_session_loss: One of HOLD (default, identical to 0.2), CONTINUE_WITHIN_ODD, RETURN_HOME, or SAFE_STOP.
  • offline_grace_s: When on_session_loss is CONTINUE_WITHIN_ODD, bounds how long the vehicle may continue executing its active autonomous goal after session loss (clamped to capabilities.autonomy.max_offline_grace_s).
  • fallback_action: Transition executed if offline_grace_s elapses before the session is restored, or if odd.in_odd becomes false while offline (RETURN_HOME, HOLD, LAND, SURFACE, or SAFE_STOP).
  • Pilot override (vehicle.control.pilot_override) and onboard controller failsafes ALWAYS preempt an offline-continuing goal immediately. All autonomous transitions while offline MUST be appended to the local hash-chained audit log (Part 13 §13.15).

15.2.3 Autonomy telemetry (telemetry.autonomy)Link to the section 15.2.3 Autonomy telemetry (telemetry.autonomy)

When autonomy is listed in capabilities.telemetry.fields, the device populates telemetry.autonomy:

{
  "state": "EXECUTING_GOAL",
  "active_goal_id": "goal-north-yard-04",
  "goal_type": "INSPECT_AREA",
  "goal_progress_pct": 64.0,
  "localization_confidence": 0.96,
  "perception_status": "OK",
  "odd": {
    "in_odd": true,
    "margin_pct": 78.0,
    "limiting_factors": ["WIND"]
  }
}
Member Required Description
state yes IDLE, PLANNING, EXECUTING_GOAL, REPLANNING, AWAITING_ASSIST, ODD_DEGRADED, FALLBACK, UNKNOWN.
active_goal_id when active Identifier of the active autonomous goal.
goal_type when active Kind of the active goal.
goal_progress_pct SHOULD Estimated completion 0..100.
localization_confidence SHOULD 0..1 self-assessed pose quality.
perception_status SHOULD HealthStatus (OK, WARNING, ERROR, UNKNOWN) of onboard obstacle/scene perception.
odd SHOULD { "in_odd": bool, "margin_pct"?: 0..100, "limiting_factors"?: string[] } (e.g., WIND, PRECIPITATION, ILLUMINATION, GNSS_DRIFT, OBSTACLE_DENSITY, ACOUSTIC_NOISE, TRACTION).

15.2.4 Intent and intervention commands (vehicle.autonomy.*)Link to the section 15.2.4 Intent and intervention commands (vehicle.autonomy.*)

Command Params Behavior
vehicle.autonomy.assign_goal goal_id, goal_type, optional target_area (GeoJSON Polygon), optional corridor (waypoints/width), optional target_id, optional constraints (max_ground_speed_mps, altitude_agl_m, depth_m, dwell_s) Validates target geometry against vehicle.limits and active corridors fail-closed (GEOFENCE or OUT_OF_LIMITS), plans onboard trajectory, transitions through ACCEPTED → EXECUTING → COMPLETED / FAILED. Supersedes any prior movement or goal.
vehicle.autonomy.update_constraints goal_id, constraints (max_ground_speed_mps, keep_out_zones[]) Tightens or updates operating constraints on an executing goal without aborting it.
vehicle.autonomy.assist_response event_id (referencing vehicle.autonomy.intervention_requested), decision (APPROVE_OPTION, SKIP_OBJECTIVE, HOLD, RETURN_HOME, ABORT), optional option_id Resolves an ACTIVE intervention request; clears vehicle.autonomy.intervention_requested.

When onboard autonomy cannot safely proceed without guidance (for example an unexpected blocked aisle for an AMR, or low target classification confidence), the device enters AWAITING_ASSIST (holding safely), emits stateful event vehicle.autonomy.intervention_requested carrying reason, options[] ({ "option_id", "label", "description" }), and deadline_at, and executes its declared fallback if deadline_at passes unanswered.


15.3 Profile F — Central Fleet Coordination, Docks and HandoffsLink to the section 15.3 Profile F — Central Fleet Coordination, Docks and Handoffs

Profile F requires Profile T (or Profile S). A read-only or pilot-operated vehicle (["T", "F"] or ["T", "S", "F"]) reports fleet readiness, dock state and operation correlation; a vehicle also claiming N (or N + A) accepts central dock, corridor and handoff commands.

15.3.1 Capability declaration (capabilities.fleet)Link to the section 15.3.1 Capability declaration (capabilities.fleet)

{
  "fleet_id": "site-port-west",
  "dock_supported": true,
  "dynamic_corridors": true,
  "handoff_roles": ["PRIMARY", "RELIEF"],
  "commands": ["vehicle.dock.prepare", "vehicle.dock.launch", "vehicle.dock.recover", "vehicle.fleet.set_corridor", "vehicle.fleet.handoff"]
}

15.3.2 Fleet and dock telemetry (telemetry.fleet)Link to the section 15.3.2 Fleet and dock telemetry (telemetry.fleet)

Member Required Description
availability yes AVAILABLE, ASSIGNED, DEPLOYED, TURNAROUND, CHARGING, MAINTENANCE, OFFLINE, UNKNOWN.
fleet_id MAY Logical fleet or site group identifier.
operation_id when assigned Shared central task/incident identifier linking multiple vehicles and docks.
assigned_dock_id when docked/assigned Identifier of the home or target dock/charging bay.
dock_state when assigned_dock_id set CLOSED, OPENING, OPEN, CLOSING, CHARGING, READY, WEATHER_HOLD, FAULT, UNKNOWN.
turnaround_eta_s SHOULD (charging/turnaround) Estimated seconds until the vehicle reaches AVAILABLE readiness.
deployable_range_m SHOULD Estimated outbound radius achievable at current energy state including reserve.

15.3.3 Dock, 4D corridor and handoff commandsLink to the section 15.3.3 Dock, 4D corridor and handoff commands

All commands below require a valid vehicle or autonomy lease (except vehicle.fleet.set_corridor, which MAY also be issued by a principal holding univip.admin or univip.fleet when operator policy permits fleet-wide airspace/corridor updates):

Command Params Behavior
vehicle.dock.prepare optional dock_id Opens cover, runs pre-deployment checks, transitions dock toward READY.
vehicle.dock.launch optional dock_id, optional altitude_rel_m / depth_m Undocks/launches vehicle from DOCKED state.
vehicle.dock.recover optional dock_id Commands precision return, docking and post-mission secure/charge sequence.
vehicle.dock.abort_prep optional dock_id Aborts dock preparation if physically supported; otherwise rejected command-not-cancellable (Part 05 §5.5.2).
vehicle.fleet.set_corridor corridor_id, valid_until, optional allowed_volume (GeoJSON Polygon + vertical bounds), optional keep_out_zones[] Installs or updates time-bounded spatial deconfliction constraints enforced alongside vehicle.limits.geofence.
vehicle.fleet.handoff handoff_id, operation_id, role (PRIMARY or RELIEF), peer_device_id, optional watch_target (GeoPoint or target_id), on_relieved (RETURN_HOME, DOCK, HOLD) Coordinates station relief: RELIEF moves to station and acquires sensor lock (ON_STATION), after which PRIMARY transitions to RELIEVED and executes on_relieved. Progress is reported via vehicle.fleet.handoff_state.

15.3.4 Cross-vehicle operation_id correlationLink to the section 15.3.4 Cross-vehicle operation_id correlation

Leases (univip.lease), commands (univip.command), events (related.operation_id), telemetry (fleet.operation_id), and hash-chained audit records (univip.audit) MAY carry operation_id (Id). When a central coordinator dispatches multiple vehicles (for example an aerial drone handing off a perimeter track to a ground rover and a relief drone), preserving operation_id in each device's signed audit chain enables cryptographic reconstruction of the multi-vehicle timeline without coupling the devices' individual hash chains.

15.4 Store-and-forward artifacts for headless and intermittent vehiclesLink to the section 15.4 Store-and-forward artifacts for headless and intermittent vehicles

Vehicles operating under Profile T (such as LiDAR rovers, multispectral drones, or untethered UUVs) frequently generate discrete mission outputs rather than live WebRTC streams:

  1. When an artifact is finalized locally, the device emits vehicle.payload.artifact_ready (Part 08) with { "artifact_id", "payload_id", "media_type", "size_bytes", "sha256" }.
  2. Clients list and retrieve artifacts over REST (directly or via the session proxy when link capacity permits) at GET /univip/v1/devices/{device_id}/artifacts and GET /univip/v1/devices/{device_id}/artifacts/{artifact_id}.

Generated from spec/15-autonomy-and-fleet.md.