Repository navigation
Description
Current Status
- 2026-04-23: evalops/maestro-internal#1433 merged at
1cb1b6a056a796f0a732b2f4e52fa56bbec27f81, somaestro remote startcan now wait for readiness, fail clearly on terminal bad states, and optionally verify the hosted headless gateway before handoff. - 2026-04-23: public hosted-session parity landed in [maestro] improve hosted remote session handoff #127 (
d40a7d0bb2eb43ea439002b5916c1908f4d96212), with [maestro] fix remote attach formatting #128 (a0e2b5221acc8733b08e28f04541d12e81ea7639) as the one-line public format fix-forward. - 2026-04-23:
maestro remotenow coversstart,list,status,get,events,extend,stop,attach-token,revoke-token,target, and a real interactiveattachpath against Platform runner-session APIs. - Remaining follow-through is no longer the basic attach bridge; it is docs/polish plus deeper hosted runtime work tracked in Add hosted runner entrypoint for single-session Maestro runtime pods #81, Add runner workspace snapshot, drain, and resume hooks #83, Define Rust core runtime parity contract for hosted Maestro #84, and Add headless runtime conformance suite for Rust parity #85.
Related: #76, #77, #79, #81, evalops/platform#781, evalops/platform#782, evalops/platform#783
Problem
The remote-runner product should be accessible from Maestro-native clients, not only through raw Platform APIs. Users should be able to start, attach, list, stop, and extend account-scoped remote sessions from the CLI/TUI using their EvalOps identity.
User Flow
maestro remote start --workspace ws_123 --repo evalops/foo --branch main --ttl 90m --profile standard
maestro remote list
maestro remote attach mrs_abc
maestro remote extend mrs_abc --ttl 2h
maestro remote stop mrs_abcThe attach path should reuse the existing Rust remote transport rather than adding a second client protocol.
Scope
- Add CLI command group:
maestro remote ... - Add config/env for Platform remote-runner API base URL and auth
- Use existing EvalOps login/session machinery where possible
- Call Platform
remote-runnerAPIs from evalops/platform#782 - Use attach token from Platform to configure the existing remote HTTP/SSE transport from evalops/platform#783
- Surface TTL, idle timeout, profile, workspace, repo/branch, state, and stop reason clearly
- Add TUI affordances only where they naturally fit after CLI support is stable
Design Notes
- Keep client transport in Rust where the TUI already owns remote headless transport.
- Keep API/client glue thin; Platform owns account policy and session lifecycle.
- Local/offline Maestro behavior must not require an EvalOps account.
- Avoid storing attach tokens longer than necessary; prefer short-lived in-memory use.
Acceptance Criteria
maestro remote startcreates a Platform runner session and prints/session-selects the attach target.maestro remote attachconnects through the remote-runner gateway using the existing headless remote transport.list,stop, andextendwork against mocked Platform APIs in tests.- Expired/denied/budget-exhausted states produce clear user-facing errors.
- Docs explain the remote-runner workflow and how it differs from local
maestrosessions.
Runtime Parity / Conformance Links
- Define Rust core runtime parity contract for hosted Maestro #84 — Rust core runtime parity decision for hosted Maestro.
- Add headless runtime conformance suite for Rust parity #85 — headless runtime conformance suite that should gate Rust-hosted runner parity.
Use #85 as the protocol-level acceptance bar: lifecycle, subscribe/events/messages/heartbeat/disconnect, viewer/controller roles, permission request/response, utility operations, workspace-root enforcement, cursor replay/reset, and drain/resume behavior should match across the current TypeScript web/headless bridge and the target Rust runtime.
Activity
[-]Add commands backed by EvalOps runner sessions[/-][+]Add `maestro remote` commands backed by EvalOps runner sessions[/+]haasonsaas commentedon Apr 22, 2026
Cross-linking #84:
maestro remoteshould attach to the stable runtime/session protocol. The client can stay Rust-native; the server side may bridge through Node initially, but the target runtime kernel is Rust.haasonsaas commentedon Apr 22, 2026
Merged first remote-runner CLI slice in #93 (merge c7a355b):\n\n- added the remoterunner.v1 Platform Connect catalog entries\n- added a typed remote-runner client for start/list/get/extend/stop/events/status/attach-token/revoke\n- added
maestro remotecommand handling with raw command-group args, TTL parsing, workspace/repo/profile options, and attach-token/gateway verification\n- covered catalog, parser, lifecycle payloads, attach-token minting, and headless gateway headers in tests\n\nLeaving this issue open for the remaining native TUI/Rust handoff piece somaestro remote attachcan move from mint+verify/exported transport env to a full interactive attach path.haasonsaas commentedon Apr 23, 2026
PR evalops/maestro-internal#1433 is up for the next product-facing slice here. It improves the hosted bring-up path so
maestro remote startcan wait for readiness, fail clearly on terminal bad states, and optionally verify the hosted headless gateway before handing off attach details. The remaining gap for a true interactivemaestro remote attachclient surface is now tracked separately in #124.haasonsaas commentedon Apr 23, 2026
Tracker update: the customer-visible attach gap is now closed in public via #127 and #128, so this umbrella issue should be read as follow-through/docs/runtime-polish rather than as "attach still missing."
The next meaningful customer slice is probably persistence/resume (#83) or deeper hosted runtime parity (#84/#85), not more basic CLI surface work.
haasonsaas commentedon Apr 23, 2026
Cross-link:
#83is now closed after validating the current public tree. The Maestro-core drain/export/restore contract is already present onmain; the remaining work there is Platform/deploy orchestration rather than missing CLI/runtime plumbing inside public Maestro.haasonsaas commentedon Apr 30, 2026
Status refresh after the Platform timeline/customer-visible workflow work:
The basic
maestro remotestart/list/status/get/events/extend/stop/attach-token/revoke/target/interactive attach lane was already landed before this pass, and the new timeline work makes Platform-backed remote sessions visible through the same run timeline surface. The latest public mirror is #253 (453999fcaad41e3f930b815a78a0cbeb4ec33edb), carrying the Platform timeline client and follow-up approval handling.I am leaving this umbrella open because the remaining value here is not another basic CLI command; it is the deeper runtime follow-through called out by #84/#85/#89 and the Platform parent evalops/platform#781: conformance, hosted runtime parity, and production remote-runner evidence.
haasonsaas commentedon Jun 20, 2026
Status refresh — verified on
main(June 2026). Themaestro remotecommand surface this issue scoped is fully landed:src/cli/commands/remote.tsimplementsstart,list,status,get,events,extend,stop,attach,attach-token,revoke-token,targetagainst the Platform runner-session client (listRunnerSessions,getRunnerSession,extendRunnerSession,stopRunnerSession,mintRunnerAttachToken,revokeRunnerAttachToken,attachToRemoteRunnerSession,verifyRunnerHeadlessAttach).src/main.ts:1224dispatchescommand === "remote"→handleRemoteCommand.docs/protocols/hosted-runner-contract.mdanddocs/protocols/headless.md(Hosted Remote-Runner Identity + Drain).The runtime-parity follow-through this umbrella was kept open for (#84, #85, #89) is now closed. The only remaining thread is cross-repo production remote-runner evidence (evalops/platform#781), which is Platform work rather than Maestro-repo work.
Closing: the named scope and acceptance criteria are met, and remaining work has its own tracker. Reopen if you'd rather keep this as an umbrella.