Skip to main content

Run Coordinator

The Run Coordinator is the ARP Standard v1 service that acts as the run authority:

  • owns Run + NodeRun lifecycle state
  • enforces budgets/constraints and policy checkpoints
  • provides durable audit surfaces (via events + stored NodeRuns)
Standard vs. implementation

This page documents the ARP Standard contract (OpenAPI + schemas).

For a runnable reference implementation, see: JARVIS Run Coordinator.

OpenAPI (v1)

  • ARP_Standard/spec/v1/openapi/run-coordinator.openapi.yaml

Endpoints (v1)

All services MUST implement:

  • GET /v1/health
  • GET /v1/version

Runs:

EndpointDescription
POST /v1/runsStart run (RunStartRequestRun)
GET /v1/runs/{run_id}Get run (Run)
POST /v1/runs/{run_id}:cancelCancel run (Run)

NodeRuns:

EndpointDescription
POST /v1/node-runsCreate sub-NodeRuns (NodeRunsCreateRequestNodeRunsCreateResponse)
GET /v1/node-runs/{node_run_id}Get NodeRun (NodeRun)
POST /v1/node-runs/{node_run_id}:evaluationReport evaluation (204)
POST /v1/node-runs/{node_run_id}:completeComplete NodeRun (204)

Optional streams:

  • GET /v1/runs/{run_id}/events (NDJSON)
  • GET /v1/node-runs/{node_run_id}/events (NDJSON)

Key payloads

  • Run: spec/v1/schemas/core/run.schema.json
  • NodeRun: spec/v1/schemas/core/node_run.schema.json
  • NodeRunsCreateRequest: spec/v1/schemas/run_coordinator/node_runs/node_runs_create_request.schema.json
  • NodeRunsCreateResponse: spec/v1/schemas/run_coordinator/node_runs/node_runs_create_response.schema.json

Notes

  • ARP Standard does not mandate how executors are discovered/bound; it standardizes the request/response artifacts and enforcement points.
  • Implementations typically persist NodeRuns and emit events for audit and replay.