Skip to content

[Ubuntu 24.04][CLI&UX] connect --probe-only exits 1 after restoring dashboard forward because launch-readiness authority cannot be recreated #9280

Closed as not planned

Description

@hulynn

Description

On Ubuntu 24.04, nemoclaw {sandbox} connect --probe-only restores a stopped dashboard forward for a healthy OpenClaw sandbox but exits 1 because prior launch-readiness evidence is rejected and a new authority cannot be created. The other sandbox's forward remains intact, so the requested recovery succeeds before the command reports failure.

Platform scope: Reproduced on Ubuntu 24.04 x86_64 only; other current-release platforms not tested for this exact failure.

Regression: Unknown — earlier versions were not tested on the same Ubuntu 24.04 environment. The same recovery scenario passed on WSL ARM in an earlier release, which is cross-platform context rather than a same-platform last-good result.

OpenShell issue: No.

Environment

Device:        Ubuntu 24.04 server
OS:            Ubuntu 24.04 LTS
Architecture:  x86_64
Node.js:       v22.22.3
npm:           Not captured
Docker:        Docker Engine 29.4.0
OpenShell CLI: openshell 0.0.101
NemoClaw:      nemoclaw v0.0.109
OpenClaw:      2026.7.1

Steps to Reproduce

  1. Install NemoClaw and onboard an OpenClaw sandbox named my-assistant.

  2. Onboard a second OpenClaw sandbox named secondary-sandbox and confirm the two sandboxes use distinct dashboard-forward ports.

  3. Stop the second sandbox's dashboard forward:

    openshell forward stop 18790
  4. Run:

    nemoclaw secondary-sandbox connect --probe-only
    printf 'exit=%s\n' "$?"
  5. Run openshell forward list and confirm the second forward was restored while the first forward remained intact.

Expected Result

The healthy-sandbox probe recreates the stopped dashboard forward, preserves the other sandbox's forward, reports success, and exits 0.

Actual Result

The stopped dashboard forward is restored and the other sandbox's forward remains intact, but connect --probe-only exits 1 because launch-readiness authority cannot be recreated.

Logs

$ openshell forward stop 18790
Forward on local port 18790 stopped.

$ nemoclaw secondary-sandbox connect --probe-only
Probe failed: no prior launch-readiness evidence can be accepted, but new launch-readiness authority could not be created. Repair the current user's secure OS runtime authority and NemoClaw state permissions, then retry.

$ printf 'exit=%s\n' "$?"
exit=1

Activity

  1. added
    NV QA
    needs: triage
    on Aug 17, 2026
  2. added theissue type on Aug 17, 2026
  3. self-assigned this
    on Aug 17, 2026
  4. Dongni-Yang commented on Aug 17, 2026

    @Dongni-Yang
    Contributor

    Status after PR #9285 — partial fix merged, maintainer decision requested on the exit code

    PR #9285 is merged (fda9eb19ed, on main, not yet in a tagged release — v0.0.109 does not contain it).

    What is fixed. The defective part of this report no longer happens. connect --probe-only previously refused before running any preflight or recovery whenever the launch-readiness authority and receipt were both securely absent and new authority creation failed. It now proceeds into the launch-readiness mutation gate for that case, runs the complete probe and recovery, and restores the stopped dashboard forward. The misleading "no prior launch-readiness evidence can be accepted, but new launch-readiness authority could not be created" refusal is gone. On this reproduction the command now prints the probe results and the restored forward, followed by an honest publication message.

    What is unchanged. The command still exits 1, because final launch-readiness evidence cannot be published without per-user OS runtime authority. That is the documented Linux contract in docs/reference/commands.mdx: a securely absent authority lets the full preflight run, but connect --probe-only exits nonzero when it cannot publish evidence. A missing per-user runtime authority is a deployment signal that infrastructure must repair, so PR #9285 deliberately did not change the exit code.

    Decision requested. The Expected Result in this issue asks for exit 0. Two ways to resolve:

    1. Close as fixed. Treat exit 1 with the honest message as correct per the documented contract. The recovery behavior this issue describes is fixed; the exit code is working as documented.
    2. Follow-up: exit 0 for the securely-absent case. Mirror the fix(connect): exit zero when probe succeeds without platform evidence #9282 treatment of platform-unsupported evidence — print a note that evidence publication is unavailable and exit 0 when the probe and recovery themselves succeeded. This is a small, contained change on top of fix(connect): run probe-only recovery when absent authority cannot be created #9285, plus a docs update to commands.mdx. I can take it if maintainers prefer this direction.

    Either way this issue should not stay open on the recovery defect — that part is fixed and covered by rewritten tests (connect-flow.test.ts asserts recovery runs and the misleading message is gone).

  5. added
    area: cli
    integration: openclaw
    platform: ubuntu
    and removed
    needs: triage
    on Aug 17, 2026
  6. Dongni-Yang commented on Oct 15, 2026

    @Dongni-Yang
    Contributor

    Status checked on 2026-10-15 against main 80491e9.

    The recovery fix in #9285 shipped in v0.0.110, after the reported v0.0.109.
    This corrects the earlier note that the fix was not in a tagged release.

    The remaining Expected Result asks for exit 0 after runtime recovery succeeds but Linux launch-readiness evidence cannot be published.
    Current code and documentation still require a nonzero exit in that case.

    A maintainer decision is still needed: retain that exit contract and revise the Expected Result, or approve exit 0 when authority and receipt are securely absent and all runtime recovery checks pass.
    The latter needs code, test, and documentation changes.
    The full Expected Result is not yet met.

  7. wscurran commented on Nov 16, 2026

    @wscurran
    Contributor

    Hi Lynn, thanks for the careful testing and detailed report. We’re focusing development on NemoClaw V1 and don’t plan further work on this Classic report, so we’re closing it as not planned. We appreciate your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

NV QAarea: cliintegration: openclawplatform: ubuntu

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions