Skip to content

Complete remote execution repo-identity migration#434

Merged
proboscis merged 51 commits intomainfrom
feature/remote-execution-phase0
Mar 13, 2026
Merged

Complete remote execution repo-identity migration#434
proboscis merged 51 commits intomainfrom
feature/remote-execution-phase0

Conversation

@proboscis
Copy link
Copy Markdown
Owner

@proboscis proboscis commented Mar 9, 2026

Summary

  • complete the repo-identity migration and keep runtime routing strictly project-id based
  • continue the host-worker migration so --on <target> resolves target.name -> target.host -> host worker id, instead of treating target names as worker ids
  • preserve target metadata (target, target_host) in daemon state and surface it in orch ps, orch show --json, attach info, and continued runs
  • add a dedicated target-resolution helper and route start/continue/stop effects through the correct host worker while keeping target names operator-facing
  • add an explicit E2E automation plan that splits the manual matrix into PR CI, nightly/lab, and manual fallback lanes
  • implement PR-safe automation entrypoints for local host-worker flow, remote smoke, target-host local simulation, and backend smoke, and wire them into quality.yaml
  • add parameterized real-environment entrypoints for Zeus full-flow and real target-host validation so the remaining manual paths have scriptable automation contracts
  • make managed worker startup fail fast: worker start now waits for registration, surfaces startup failures immediately, and run scheduling distinguishes "no workers" from "managed worker failed during startup"
  • harden integration tests by isolating HOME/XDG config so local client.yaml does not leak into repo tests, and update strict-identity coverage for outside-repo remote flows

Verification

  • go build ./...
  • go test ./...
  • make lint
  • ./scripts/e2e-master-worker-client-local.sh
  • ./scripts/e2e-master-worker-client-target-local.sh
  • ./scripts/e2e-master-worker-client-remote-smoke.sh
  • RUN_ZELLIJ_LANE=1 RUN_OPENCODE_LANE=0 ./scripts/e2e-backend-matrix-smoke.sh
  • RUN_ZELLIJ_LANE=0 RUN_OPENCODE_LANE=0 ./scripts/e2e-pr-ci.sh
  • bash -n ./scripts/e2e-master-worker-client-target.sh
  • bash -n ./scripts/e2e-master-worker-client-zeus.sh

proboscis and others added 30 commits February 26, 2026 18:26
…xecutor

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
… path

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-Claude)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Introduce master/worker command aliases and context-first daemon routing so runtime behavior no longer depends on path/env fallback resolution. Add semgrep guardrails plus integration harness updates to keep strict routing and e2e validation deterministic.
Document direct CLI validation steps including Zeus full flow (master/worker startup, sample run, PR create/close, and run stop) so operators can verify cluster behavior outside go tests.
Align worker-lease tests with distributed semantics, harden CLI test locking, and stabilize integration setup for project-root + worker availability.
Update docs/spec examples and terminology to project/issue-store semantics while keeping explicit removed-env notes.
Drop proto and client/runtime coupling to issues_root and legacy vault flags across CLI, daemon, monitor-tui, and vscode integration while keeping project-scoped identity semantics.
Update remaining docs/spec references from vault and legacy env usage to project-root and cluster/runtime wording consistency.
Add architecture guardrails for cluster runtime invariants and introduce serialized Makefile test targets for stable suite execution.
Document project-root and issue-store alignment requirements for remote master plus external worker validation, including issue-not-found diagnostics.
Allow remote worker execution to proceed when issue files are not locally mirrored by shipping issue snapshot in lease payload and seeding worker-side issue state as needed.
Promote --project/ORCH_PROJECT and git-remote-derived identity for runtime scoping, migrate monitor/docs/tests to identity-centric behavior, and add strict RepoID derivation.
Switch runtime and monitor flows to --project/ORCH_PROJECT semantics, remove legacy project-root fallbacks, and align daemon registration, integration tests, and docs to path-agnostic repo identity routing.
@proboscis proboscis merged commit fb835c8 into main Mar 13, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant