Skip to content

Debugging

This guide is the public routing page for debugging architecture issues in the shipped OMEGA baseline. It helps a reader ask where is the authority, what is deferred, and how the claim should be checked before changing source, runbooks, ADRs, or docs.

It does not create a new debugging workflow or replace source-owned checks.

When To Use This

Use this page when a failure, unclear claim, or architecture question could touch more than one authority surface. The goal is to route the investigation before editing.

Before You Start

Find the owning source first, then the public runbook or component page, then the preserved decision. If the issue is operational, open the relevant deploy runbook. If the issue is architectural, open the matching ADR and related design/component page before changing behavior.

Debugging Questions

Question How to answer it
where is the authority Start with Repo Map, the relevant component page, or the owning deploy runbook, then open the source path, package README, or ADR listed there.
what is deferred Check the page Out Of Scope section, docs/index.md, related design pages, and the related ADR boundaries.
how is the claim checked Use the owning package README, deploy runbook, component page, or ADR to find the deterministic check owned by the relevant source area.

Steps

  1. Reproduce or localize the issue through the narrowest relevant source owner or runbook.
  2. Identify the owning source and read the nearby component or reference page only as a retrieval aid.
  3. Check whether an ADR preserves the behavior. If changing that decision would alter the system nature, add a superseding ADR in the same change.
  4. Update source, runbook, tests, or docs in the ownership order required by the issue.
  5. Re-run the owning check and keep formal docs as routing, not duplicated command or fixture logic.

Common Mistakes

Mistake Better route
Fixing a docs sentence when the source contract is wrong. Fix the source contract and proof first, then update docs routing.
Adding a new helper path without finding the owning package boundary. Follow the existing source package and helper ownership boundaries.
Treating a deploy symptom as an orchestrator shortcut opportunity. Keep the A2A-only boundary and use deploy/runbook proof surfaces.
Debugging private LIFT2 MCP by making MCP task IDs or raw diagnostics public. Keep worker-owned operation evidence public and inspect private diagnostics only in private source-owned logs or fixtures.
Changing a durable architecture choice without ADR review. Read docs/adr/index.md and preserve or supersede the matching ADR.

Verification

Verification belongs to the source, package, or deploy owner for the affected authority. Use the relevant component page, reference page, package README, or deploy runbook to find the deterministic check. This guide is valid when it routes to those owners without copying commands, fixtures, service logs, or private diagnostics.

Exact Command Authority

Exact debugging commands live with the relevant deploy runbook, package README, or tool configuration. This page owns the routing questions, not the command bodies.

Current Status

Shipped for the current worker-private MCP system. Debugging starts from the owning source and the narrowest proof surface, then checks ADR boundaries before changing behavior. For LIFT2 MCP issues, distinguish worker-owned public operation evidence from private MCP protocol details: failure, cancel, timeout, progress, and terminal-result projection are public-safe worker facts, while raw MCP task IDs, request IDs, vendor diagnostics, runner presets, credentials, model paths, and local paths stay private.

Live ROS/GPU/VLA/robot execution remains optional HUMAN-UAT evidence unless a future source-owned runbook and proof gate promote it. Mission-level realtime transport should stay out of present behavior investigations.

Source Of Truth

Concern Owning source Public verification route
App behavior apps/orchestrator/, apps/worker_agent/, external/lerobot_lab/deploy/lift2/omega_runtime/ Owning app or LIFT2 deploy runtime docs and package checks.
Shared payload and artifact models packages/contracts/ Contracts component page, contract source, and package-owned checks.
Deploy topology/profile and multi-device assets packages/deploy_config/, deploy/topology/README.md, deploy/multi-device/README.md Public deploy topology and multi-device runbooks.
Worker-private MCP adapter behavior apps/worker_agent/src/omega_worker_agent/mcp/, apps/worker_agent/src/omega_worker_agent/execution/, and worker-private LIFT2 MCP source Worker-agent component docs, private config package docs, and allowed LIFT2 deploy runtime source.
Architecture decision preservation docs/adr/ ADR supersession rule plus affected source and public runbook owners.
Page Relationship
Repo Map Public source-path routing.
Components Public component ownership map.
Commands Public command and runbook routing.
docs/adr/index.md Durable decisions to preserve or supersede.