Skip to content

Deploy Config

This component page maps the shipped deploy configuration authority for scenario topology, public worker capability, multi-device deployment assets, and worker-private MCP implementation selection. It points readers to the narrowed deploy-config package, the worker-private config package, topology/profile assets, runbooks, and Scenario Authoring Guide that own topology/profile/settings behavior.

Concept Model

Deploy configuration is the typed bridge between checked-in deploy assets and app startup. deploy/topology/scenarios/*.yaml chooses the scenario topology: scenario id, topology profile id, logical worker instances, capability set references, and reachable worker endpoints. deploy/topology/profiles/workers.yaml owns profile facts: worker capability sets, reachable zones, cancel support, and public skill_allowlist entries. Orchestrator settings own planner route truth; checked-in settings use a public-safe SGLang example route and an optional DashScope fallback example, while real hosted or lab-routed planner endpoints belong in ignored/operator-local settings.

Skill specs remain semantic capability authority. They do not own runtime backend, implementation identity, Docker, service URL, or private runner details. Worker settings select a private mcp_config_path, and that worker-private file owns mcp_skill_implementations[skill_id] plus private mcp_servers entries. For the checked-in kitchen workers, the worker-private MCP mapping source authority is deploy/worker-private/lift2/kitchen/; deploy/multi-device/ consumes those mappings through bundle-local interfaces but does not own the implementation mapping source. omega_deploy_config resolves scenario topology, worker profiles, settings, and catalog membership into deploy-neutral bootstrap bundles; it does not own skill catalog projections, Agent Card projection, worker-private MCP schemas, private preflight, runbooks, worker-host service definitions, or source-owned scenario authoring guidance.

The shipped model keeps runtime privacy intact. Shared topology can identify workers and public endpoints, while worker-private runtime behavior remains behind worker dispatch and worker-private MCP adapter calls. Multi-device language in this page refers to current bringup/preflight assets, not mission-level realtime transport.

Implementation Flow

loader.py reads and validates scenario topology and worker profile files into typed models. resolver.py joins topology worker instances with worker profiles and the skill catalog manifest to produce resolved worker definitions and configured worker views. bootstrap.py assembles orchestrator and worker bootstrap bundles before service startup, while paths.py centralizes repo-owned, settings-relative, and caller-provided path resolution.

The omega-topology-preflight entrypoint remains a deploy-neutral topology/profile check. The private MCP schema, loaders, exact skill_allowlist coverage checks, private deploy preflight, and omega-multi-device-doctor command are owned by omega_worker_private_config under packages/worker_private_config/src/omega_worker_private_config/. The helper module packages/deploy_config/src/omega_deploy_config/multi_device_doctor.py supplies shared deploy-neutral checks that the private doctor reuses; it is not the private MCP preflight authority. The operational command sequences and service definitions remain in the deploy runbooks and deploy source files; this page only explains the shipped configuration flow.

Contributor-facing routing for adding or expanding scenarios belongs to the Scenario Authoring Guide. This component page explains deploy-config responsibility; the guide tells maintainers where scenario presets, topology, operator submit presets, skill specs, public skill_allowlist, worker mcp_config_path, private mcp_skill_implementations[skill_id], private mcp_servers, and public source ownership should be changed.

Topology Resolution Diagram

This diagram shows how deploy assets become typed startup inputs without moving deploy or command authority into docs.

flowchart LR
    Topology["deploy/topology/scenarios/*.yaml"]
    Profiles["deploy/topology/profiles/workers.yaml"]
    SkillCatalog["packages/skill_specs semantic catalog"]
    Settings["orchestrator and worker settings"]

    Loader["deploy_config loader.py"]
    Resolver["deploy_config resolver.py"]
    Bootstrap["deploy_config bootstrap.py"]
    SkillSpecs["omega_skill_specs projections"]
    AgentCard["omega_worker_boundary.agent_card"]
    PrivateConfigPkg["omega_worker_private_config"]
    KitchenMcpAuthority["deploy/worker-private/lift2/kitchen/"]

    OrchestratorBundle["orchestrator bootstrap bundle"]
    WorkerBundle["worker bootstrap bundle"]
    PublicSkills["public skill_allowlist"]
    PrivateMcpConfig["worker mcp_config_path"]
    PrivateImplementations["private mcp_skill_implementations[skill_id]"]
    WorkerPrivateRuntime["worker-private MCP adapter calls"]
    TopologyPreflight["omega-topology-preflight"]
    PrivatePreflight["omega-multi-device-doctor / private MCP preflight"]

    Topology --> Loader
    Profiles --> Loader
    Loader --> Resolver
    SkillCatalog --> Resolver
    SkillCatalog --> SkillSpecs
    Settings --> Bootstrap
    Resolver --> Bootstrap
    Bootstrap --> OrchestratorBundle
    Bootstrap --> WorkerBundle
    Profiles --> PublicSkills
    PublicSkills --> SkillSpecs
    SkillSpecs --> AgentCard
    WorkerBundle --> PrivateMcpConfig
    PrivateMcpConfig --> KitchenMcpAuthority
    KitchenMcpAuthority --> PrivateConfigPkg
    PrivateMcpConfig --> PrivateConfigPkg
    PrivateConfigPkg --> PrivateImplementations
    PrivateImplementations --> WorkerPrivateRuntime
    WorkerBundle --> WorkerPrivateRuntime
    Topology --> TopologyPreflight
    Profiles --> TopologyPreflight
    Topology --> PrivatePreflight
    Profiles --> PrivatePreflight
    Settings --> PrivatePreflight
    PrivateConfigPkg --> PrivatePreflight

Responsibility

packages/deploy_config/ owns the shared deploy-neutral configuration layer that turns checked-in scenario topology, worker profile, settings, path, and scenario-profile assets into typed startup inputs for the orchestrator and workers. The package validates topology/profile consistency before service startup and keeps public capability authority in worker profiles while leaving skill projections, Agent Cards, and private MCP implementation selection with their owning packages.

Owns

  • Typed topology and worker profile models.
  • YAML loading for topology scenarios and worker profile catalogs.
  • Worker instance resolution from topology, profiles, and the authored skill catalog.
  • Profile-owned public skill_allowlist as the capability authority consumed by worker discovery, scheduling, readiness projection, and omega_worker_boundary.agent_card.
  • Worker bootstrap wiring that points each worker at its private mcp_config_path.
  • Orchestrator and worker bootstrap bundles assembled before app startup.
  • Settings-relative, repo-owned, and user-supplied path resolution helpers.
  • Repo-authored scenario profile helpers and scene fixture resolution.
  • Topology/profile preflight through omega-topology-preflight.

Does Not Own

  • Runtime execution authority or private runtime behavior.
  • Operator-console editing of deploy assets.
  • The operational steps in deploy runbooks or multi-device examples.
  • The public topology/profile authority in deploy/topology/ or multi-device worker-host runbook boundaries.
  • Scenario authoring workflow ownership; use the Scenario Authoring Guide.
  • Skill catalog parsing, planner cards, runtime constraints, or public worker capability snapshots; those are owned by omega_skill_specs.
  • A2A Agent Card build, parse, HTTP+JSON selection, or OMEGA projection; those are owned by omega_worker_boundary.agent_card.
  • Private MCP schema, loaders, exact implementation coverage checks, private preflight, or omega-multi-device-doctor; those are owned by omega_worker_private_config.
  • Runtime implementation identity inside skill specs or public worker profiles.
  • Duplicated copies of topology/profile YAML, settings values, or command sequences in docs.

Key Inputs And Outputs

Flow Inputs Outputs
Topology/profile loading deploy/topology/scenarios/*.yaml, deploy/topology/profiles/workers.yaml Typed scenario, profile, and resolved worker views.
Orchestrator bootstrap Selected orchestrator settings plus topology/profile/catalog paths Configured worker endpoints and planner route truth for app assembly, including SGLang primary and fallback provider routes.
Worker bootstrap Selected worker settings plus topology/profile/catalog paths Resolved worker identity, public skill_allowlist, and selected private mcp_config_path.
Public skill projection omega_skill_specs catalog plus public worker facts Skill summaries, planner cards, runtime constraints, and public worker capability snapshots outside deploy-config ownership.
Agent Card projection omega_worker_boundary.agent_card plus public capability snapshot Public A2A Agent Card build/parse/projection outside deploy-config ownership.
Private MCP implementation selection omega_worker_private_config and worker-private MCP files selected by mcp_config_path mcp_skill_implementations[skill_id] coverage and private mcp_servers references used only below the worker boundary.
Deploy preflight Topology/profile assets and worker-private config checks Deploy-neutral topology preflight in omega_deploy_config; private MCP coverage/preflight and omega-multi-device-doctor in omega_worker_private_config.

Current Status

Shipped. packages/deploy_config/ owns typed topology/profile/settings loading, bootstrap resolution, deploy path helpers, repo-authored scenario helpers, public skill_allowlist validation against the catalog manifest, and worker mcp_config_path selection. The deploy directories own operational assets and runbook detail. Skill projections live in omega_skill_specs, Agent Card projection lives in omega_worker_boundary.agent_card, and private MCP schema/load/preflight lives in omega_worker_private_config.

Source Of Truth

Concern Source-owned truth
Deploy configuration package packages/deploy_config/
Shared topology and worker profile model deploy/topology/README.md, deploy/topology/
Scenario Authoring workflow Scenario Authoring Guide
Public skill authority deploy/topology/profiles/workers.yaml
Skill catalog and projections packages/skill_specs/src/omega_skill_specs/, packages/skill_specs/catalog_manifest.json, packages/skill_specs/skills/
A2A Agent Card projection packages/worker_boundary/src/omega_worker_boundary/agent_card.py (omega_worker_boundary.agent_card)
Private worker MCP schema/load/preflight packages/worker_private_config/src/omega_worker_private_config/
Worker-internal private config facade apps/worker_agent/src/omega_worker_agent/mcp/config.py
Private worker MCP implementation selection deploy/worker-private/lift2/kitchen/ and worker settings mcp_config_path
Multi-device deployment asset contract deploy/multi-device/README.md, deploy/multi-device/
Multi-device shared lifecycle and supported role/platform commands deploy/multi-device/runbooks/README.md, deploy/multi-device/runbooks/

Key Source Paths

Path Purpose
packages/deploy_config/ Package root for deploy configuration source.
packages/deploy_config/src/omega_deploy_config/models.py Typed topology, worker profile, and resolved worker views.
packages/deploy_config/src/omega_deploy_config/loader.py Topology/profile YAML loading and validation entrypoint.
packages/deploy_config/src/omega_deploy_config/resolver.py Worker instance resolution and skill-catalog consistency checks.
packages/deploy_config/src/omega_deploy_config/bootstrap.py Orchestrator and worker bootstrap bundle assembly.
packages/deploy_config/src/omega_deploy_config/paths.py Path resolution policy for repo assets, settings-relative assets, and caller paths.
packages/deploy_config/src/omega_deploy_config/cli.py Topology/profile preflight entrypoint.
packages/deploy_config/src/omega_deploy_config/multi_device_doctor.py Deploy-neutral helper checks reused by the private multi-device doctor.
packages/worker_private_config/src/omega_worker_private_config/ Worker-private MCP schema, loaders, coverage checks, and private multi-device preflight command.
packages/worker_boundary/src/omega_worker_boundary/agent_card.py A2A Agent Card build, parse, HTTP+JSON interface selection, and OMEGA capability projection.
apps/worker_agent/src/omega_worker_agent/mcp/config.py Worker-internal facade re-exporting worker-private config models and validators.
deploy/topology/README.md Shared topology/profile model authority.
deploy/topology/scenarios/*.yaml Scenario topology and worker instance authority.
deploy/topology/profiles/workers.yaml Capability sets and public skill_allowlist entries.
packages/skill_specs/src/omega_skill_specs/ Semantic skill catalog loading and projection API.
deploy/worker-private/lift2/kitchen/ Worker-private kitchen MCP implementation mapping source selected by worker mcp_config_path.
deploy/multi-device/README.md Multi-device deployment asset reference, placeholder rules, and runbook hub.
deploy/multi-device/runbooks/README.md Shared multi-device lifecycle, readiness, probe, troubleshooting, and acceptance authority.
deploy/multi-device/runbooks/ Supported role/platform command authority; the public worker-host runbook is Ubuntu 22.04.
deploy/multi-device/ Multi-device worker-host examples and bundle-local config interfaces.

Source Authority

Deploy configuration behavior is owned by the deploy assets, packages, and runbooks above. Use those source paths for current topology, profile, scenario, and worker-private configuration authority.

Out Of Scope

This page does not copy topology YAML, profile manifests, private LAN examples, command blocks, deployment secrets, private MCP config values, route bodies, or compose service definitions. It does not replace the deploy runbooks, Scenario Authoring Guide, settings files, or deployment verification policy.

  • docs/reference/config-surfaces.md
  • docs/reference/commands.md
  • docs/guides/add-scenario.md
  • docs/guides/multi-device-bringup.md