Skip to content

ADR 0002: A2A-Only Boundary

This ADR preserves the shipped decision that the orchestrator-to-worker service boundary stays A2A-only.

Context

The orchestrator schedules mission work, but workers own assigned task execution. That split only remains meaningful if cross-service calls stay on the public worker boundary. Direct imports, private HTTP shortcuts, or direct runtime calls from the orchestrator would bypass worker authority and create a second execution surface.

The shipped worker edge is the project-owned canonical HTTP+JSON A2A surface. SDK mechanics and route assembly support the wire layer, while project-owned contracts and services continue to own business truth behind it.

Decision

OMEGA preserves the A2A-only boundary between the orchestrator and workers. The orchestrator must dispatch, observe, read worker task snapshots, and cancel assigned worker tasks through the public A2A worker surface. It must not reach into worker-local execution code or worker-private runtime services.

Worker-private downstream runtimes are dependencies of workers, not public agents and not orchestrator dispatch targets.

Status

Shipped decision record originally captured for an earlier public documentation baseline.

Shipped. This decision is active for the current OMEGA public worker boundary and must be preserved unless superseded by a later ADR.

Consequences

  • Public worker interaction stays on the canonical A2A route set.
  • Worker-local execution and runtime adaptation stay behind worker ownership.
  • A2A wire mechanics are separate from mission artifact and business-state authority.
  • Source and docs must keep public A2A behavior distinct from worker-private runtime behavior.

Preserved In

Surface Path
Design docs docs/design/a2a-boundary.md, docs/design/authority-boundaries.md, docs/design/mission-runtime.md
Orchestrator A2A client source apps/orchestrator/src/omega_orchestrator/
Worker public edge source apps/worker_agent/src/omega_worker_agent/a2a/
Contract source packages/contracts/src/omega_contracts/

Supersession Rule

Future work that changes this decision must add a superseding ADR and update the preserved source and docs references in the same change.

Do not silently drift source, docs, or runbooks away from this record.

Source Of Truth

Concern Source-owned truth
A2A boundary design docs/design/a2a-boundary.md, docs/design/authority-boundaries.md
Mission runtime boundary docs/design/mission-runtime.md
Orchestrator A2A client behavior apps/orchestrator/src/omega_orchestrator/
Public worker A2A edge apps/worker_agent/src/omega_worker_agent/a2a/
Shared wire and business contracts packages/contracts/src/omega_contracts/

Out Of Scope

  • Direct orchestrator-to-worker-local execution calls.
  • Direct orchestrator-to-downstream-runtime calls.
  • Public discovery, Agent Card publication, or scheduling of downstream runtime services.
  • JSON-RPC, gRPC, or broader public worker protocol expansion without a shipped consumer and superseding decision.