Skip to content

[Bug]: Remote Link Child dashboard fails status check (403), hides Disconnect, and setup flow is clunky #8985

Closed

Description

@maxmilneaus

Client or integration

OpenCodex dashboard

Area

Dashboard

Summary

Across multiple attempts to link two Macs with Remote Link, the setup flow feels clunky and the Child dashboard itself lands in a broken state with no in-app way to disconnect or reset:

  1. Child Remote Link tab errors with 403 and hides Disconnect:
    • On a connected Child (showing the top Managed by Home ... over Remote Link banner), opening Remote Link shows Remote link request could not be completed. and Remote linking Off (and toggling it on disables Child with Child links can only be started from a standalone runtime.), with no Disconnect or Reset to standalone button anywhere in the UI.
    • Root cause: In gui/src/App.tsx (line 703), RemoteLink receives diagnosticsApiBase={targets.link ? machineBase : sharedBase}, but apiBase is still sharedBase (/api/machine/hub-relay). RemoteLink.tsx calls GET /api/machine/hub-relay/api/link/status?children=1, which relayLinkManagementRead (src/client/link-management-relay.ts) rejects with 403 link_child_read_only because /api/link/status is served on machineBase (src/client/machine-listener.ts), not in LINK_MANAGEMENT_READ_PATHS (src/link/management-routes.ts). Because status stays null, the Child UI cannot show the active link or a Disconnect control.
  2. Leftover Claude-3p/configLibrary + empty ~/.opencodex/desktop-remote fails Child sync:
  3. Clunky setup flow:
    • Switching between Home-initiated (Add Child) and Child-initiated (Connect as Child) behind one role toggle makes it unclear what to do on which machine and in what order. A guided Step 1 (Home) → Step 2 (Child) flow plus an always-available Disconnect / Reset to standalone button on a Child would make setup and recovery much smoother.

Reproduction

  1. On two Macs running OpenCodex Desktop 2.100.6, link Child <child> from Home <home> (e.g. ocx link add <child> --expect-fingerprint ...).
  2. Open OpenCodex → Remote Link on the Child.
  3. Observe: the yellow banner confirms the machine is Managed by Home ... over Remote Link, while the page displays Remote link request could not be completed. and Remote linking Off with no Disconnect action.
  4. If ~/Library/Application Support/Claude-3p/configLibrary/ exists on the Child with an opencodex-standard entry while claude-desktop is off, ocx link sync also fails with Route to claude-desktop: failed (child-sync-failed).

Version

2.100.6 (OpenCodex Desktop on both Home and Child)

Operating system

macOS (Apple Silicon Home and Apple Silicon Child)

Provider and model

Not provider-specific.

Logs or error output

# Child UI (Remote Link tab)
Managed by Home <home> over Remote Link (<link-id>).
Remote link request could not be completed.
Child links can only be started from a standalone runtime.

# Child sync when leftover Claude-3p/configLibrary exists
Route to claude-desktop: failed.
{"schema":"ocx.sync.fanout/1","home":{"state":"failed","exit":1},...}

# Subsequent disconnect on Child
Error: Disconnect refused: ~/.opencodex/desktop-remote exists but holds no Claude Desktop remote state or disconnect receipt ... (code desktop_lifecycle_unsafe)

Checks

  • I searched existing issues and documentation.
  • I removed secrets, tokens, account details, request credentials, and personal data.

Activity

  1. coderabbitai commented on Nov 20, 2026

    @coderabbitai
    Contributor
    🔗 Related PRs

    #8581 - feat(gui): Child versions, actions and automation policy on the Remote Link page [merged]
    #8937 - fix(link): restore Child file integrations before shutdown on Windows [merged]
    #8555 - feat(link): read-only Remote Link diagnostics viewer (CLI, route, dashboard) [merged]
    #8930 - Revert "fix(link): restore Child file integrations before shutdown" (#8803) [merged]


    📝 Issue Planner

    Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.

    • Create Plan

    🧪 Issue enrichment is currently in open beta.

    To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

    issue_enrichment:
      auto_enrich:
        enabled: false

    💬 Have feedback or questions? Drop into our discord!

  2. added
    bug
    gui
    on Nov 20, 2026
  3. lidge-jun commented on Nov 20, 2026

    @lidge-jun
    Owner

    Fixed by #9018, merged into dev as a8f689f. It ships in the next release.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    buggui

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions