• Add boot sequencing to agent

    kyle released this 2026-04-04 18:53:11 +00:00 | 2 commits to master since this release

    The agent reads boot.sequence stages from its config and starts
    services in dependency order before accepting gRPC connections. Each
    stage waits for its services to pass health checks before proceeding:

    • tcp: TCP connect to the container's mapped port
    • grpc: standard gRPC health check

    Foundation stage (stage 0): blocks and retries indefinitely if health
    fails — all downstream services depend on it.
    Non-foundation stages: log warning and proceed on failure.

    Uses the recover logic to start containers from the registry, then
    health-checks to verify readiness.

    Config example:
    boot.sequence
    name = "foundation"
    services = ["mcias", "mcns"]
    timeout = "120s"
    health = "tcp"

    Architecture v2 Phase 4 feature.

    Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

    Downloads