Engineering notes
Runtime

Robot Readiness Should Be Cached Projection, Not Live Execution

Why robot readiness endpoints should project cached dependency state, fail closed with bounded reasons, and avoid doing side-effect-adjacent work on probe paths.

readinessadmissionworker runtimeMCP

Readiness sounds simple until it touches a robot. A service can answer an HTTP probe quickly, but that does not mean its robot runtime can safely accept work. The inverse is also true: a runtime can have complex dependencies warming up in the background without every readiness request needing to perform those checks again.

The failure mode is subtle. A readiness handler starts as a harmless route. Then it imports a robot dependency, initializes a publisher, checks an odometry path, warms a model, or asks a runner to prove it can execute. The route becomes "thorough," but it is no longer just readiness. It is live work on a probe path.

OMEGA treats readiness as projection. Runtime dependency managers own the expensive or side-effect-adjacent checks. Readiness reads cached snapshots, maps them to bounded public reasons, and answers whether admission should be allowed.

Design rule: Readiness should say whether work may be admitted. It should not perform the work needed to prove execution.

Why readiness gets dangerous in robot systems

In ordinary web services, readiness often means "can this process receive traffic?" Robot systems need a stronger answer. A worker may be reachable while its robot dependencies are unavailable. A runtime may be configured while its base path is not ready. A resident actor may exist while it is still warming up.

If the public worker says it is ready too early, the orchestrator can schedule work that fails for predictable dependency reasons. If it says it is not ready with raw private detail, the public system starts depending on runtime internals. If the readiness route performs live checks every time, the probe path can become slow, unstable, or side-effect-adjacent.

The right contract is narrower:

  • Readiness should be quick to answer.
  • Readiness should fail closed when dependency state is missing or stale.
  • Readiness should explain blockers with bounded public reason codes.
  • Readiness should not initialize robot dependencies on demand.
  • Readiness should not expose private runtime wiring.

That contract is less dramatic than a live probe, but it is much safer.

Health checks are not warmup jobs

Health and readiness are different surfaces. A health route can say whether the service shell is alive. A readiness route can say whether the service should receive work. Neither route should become a hidden warmup job.

That distinction matters for three reasons.

First, readiness probes can be called frequently. If every call performs robot dependency setup, the service is doing repeated work just to answer a question.

Second, setup work may block the service shell. A slow dependency can turn a harmless probe into an availability problem.

Third, some checks are close to execution. Preparing a command path, touching robot middleware, or running model warmup belongs to a dependency manager or task execution path with clear ownership. It should not happen accidentally because a load balancer or operator page asked whether the service was ready.

So /healthz and /readyz should remain projection paths. They should read current state and return a bounded answer.

Cached dependency supervision

The better design is service-owned dependency supervision.

A worker-private robot runtime starts dependency managers as part of its service lifecycle. Those managers observe the resources they own and publish cached snapshots. A resident VLA manager can report that it is starting, warming up, ready, blocked, or failed. A base manager can report whether the base runtime is available, whether odometry was observed, and whether the publish path can be prepared.

Readiness then becomes a pure projection:

dependency managers -> cached snapshots -> bounded readiness projection -> admission decision

The readiness handler does not create the dependency owner. It does not run the robot path. It does not decide how to recover the dependency. It reads the snapshot and answers with public-safe state.

This also gives the runtime a better recovery model. Managers can update their snapshots over time. Readiness changes when the cached state changes, not when a probe happens to trigger a successful live check.

Bounded public reason codes

Readiness needs to be useful northbound without leaking private implementation detail. That is why OMEGA uses bounded reason codes.

Examples of useful public reasons include:

Reason codePublic meaning
resident_vla_warming_upA resident actor is not ready to accept the skill yet.
resident_vla_unavailableThe required resident actor cannot currently serve the skill.
base_ros_unavailableThe base runtime dependency is not available.
base_odometry_unavailableRequired base state has not been observed.
base_publish_path_unavailableThe command publish path cannot be admitted.
readiness_failedThe runtime could not safely project readiness.

These codes are intentionally limited. They explain the failure layer without publishing private service layout, local files, raw robot diagnostics, or concrete tool wiring.

The system should also normalize unexpected detail. If a dependency manager returns a malformed or overly specific reason, the public projection should collapse it to a bounded failure such as readiness_failed. That is a fail-closed behavior: unknown readiness is not ready.

Admission is skill-specific

Worker readiness is not just a single boolean. A robot may be able to accept one skill while another skill is blocked. A public worker can be reachable, compatible, and partially ready.

That is why readiness should project skill-level admission. The public system can see a skill_id, whether its implementation is configured and compatible, whether readiness is ready, warming_up, blocked, or failed, and whether admission is allowed or rejected.

The orchestrator still schedules public skills, not private tools. The readiness projection gives it enough information to avoid predictable failures while keeping the private implementation hidden.

Skill-specific admission also helps operators. A worker can say "this skill is blocked because the base runtime is unavailable" without exposing how the base manager is configured or which private MCP method would have been called.

How this complements no-actuation proof modes

Readiness projection and no-actuation proof modes solve different problems.

Readiness answers: should the worker admit this kind of work now?

No-actuation answers: can the runtime prepare real work while suppressing the final physical side effect?

Those contracts should not collapse into each other. A readiness route should not run a no-actuation execution just to prove that the runtime path works. A no-actuation task should not skip dependency validation just because readiness was true. Readiness gates admission. No-actuation proves execution-path fidelity under a controlled mode.

Together, they make the runtime more honest. Readiness blocks work when dependency state is missing. No-actuation can later show that the runtime reached the side-effect boundary without moving the robot. Both project public evidence without turning private implementation details into scheduler authority.

Takeaways

  • Readiness should project cached dependency state, not perform live execution.
  • /healthz and /readyz should stay quick and bounded.
  • Missing, stale, malformed, or failed dependency snapshots should block admission.
  • Public readiness should use bounded reason codes.
  • Skill-specific readiness lets the scheduler avoid predictable failures without seeing private tools.
  • No-actuation proof modes complement readiness, but they should not run inside readiness handlers.