Skip to content

Phase 1 slice 4c: Route SSH command transport and version probes through the OpenShell adapter #10992

Description

@rsliter

Parent Epic: #9802

Originating capability: #9804

Implementation owner: @rsliter

Outcome

Route SSH configuration, SSH-backed command transport, and sandbox version probes through typed OpenShell interfaces.

Scope

  • Add typed SSH configuration and SSH command requests and results required by current consumers.
  • Keep OpenShell SSH-config commands, parsing, temporary files, SSH argv, and subprocess errors inside the CLI implementation.
  • Migrate the SSH half of src/lib/adapters/sandbox/command-transport.ts.
  • Migrate the live sandbox version probe in src/lib/sandbox/version.ts.
  • Preserve current gateway targeting, timeout, output, and fallback behavior.

Acceptance evidence

  • Named gateway targeting resolves the same sandbox SSH host as before the refactor.
  • Missing configuration, malformed configuration, timeout, transport failure, and remote nonzero exit remain distinct.
  • Temporary SSH configuration keeps its current access scope and is removed after success or failure.
  • Consumers do not parse OpenShell SSH configuration or construct SSH process arguments.

Test plan

  • CLI implementation tests for OpenShell commands, SSH-config parsing, SSH argv, timeout, error mapping, and cleanup.
  • Command-transport and version tests against typed SSH fakes.
  • Existing gateway-scoping, command-transport, sandbox-version, rebuild-preflight, and cleanup tests.
  • Use runtime evidence only if local tests cannot prove terminal or SSH process behavior.

Dependencies and sequencing

Depends on the first partial PR for #9804. Add that PR link after publication.

Deferred scope

  • Interactive connect and terminal session behavior, tracked by the Slice 4d follow-up.
  • SDK SSH implementation.
  • New host-verification policy.
  • File transfer and persistent forwarding.

Activity

  1. self-assigned this
    on Sep 3, 2026
  2. rsliter commented on Sep 3, 2026

    @rsliter
    CollaboratorAuthor

    Originating partial implementation: #10995. This issue owns the SSH command transport and version-probe consumers deferred from #9804.

  3. added
    integration: openclaw
    on Sep 3, 2026
  4. added theissue type on Sep 3, 2026
  5. added a commit that references this issue on Sep 10, 2026
    4fcbc02
  6. added a commit that references this issue on Sep 10, 2026
    d404941
  7. added
    area: architecture
    area: sandbox
    on Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: architecturearea: sandboxintegration: openclaw

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions