Skip to content

feat(desktop): complete the connection-to-Scope journey #2103

Closed
1 of 1 issue completed
Closed

Description

@knqiufan

Goal

Guide first-time and returning users from an existing Server or the local setup handoff to an explicitly activated profile and an exact authorized Scope.

Parent: #1899. First-wave delivery: #2099. Work item: F1-02b.

PR breakdown

  • PR 02-B — Connection-to-Scope flow. Implement disconnected first-use guidance, profile editing/checking/activation, direct navigation to a selected saved profile, and exact Scope selection. Keep configuration saving separate from activation and preserve draft and stale-response protections.

Dependencies and coordination

Acceptance criteria

  • After explicitly approved local setup, validate and activate the provisioned connection within that consent, then resolve the Server-created default Scope via the public API without manual raw IDs. Existing profiles retain explicit save/check/activate behavior and are not silently taken over.

  • Disconnected Memory offers Set up locally (feat(desktop): guide local Server setup and lifecycle management #2117) and Connect an existing Server; neither path assumes a preinstalled local Python or Server.

  • Saving or editing a profile does not activate it. Check and explicit activation have clear feedback; activation leads to exact Scope selection.

  • Choosing a connection in the global menu opens that specific profile. Editing another profile does not silently change the active target.

  • Empty/no-access Scope results, loading, authentication failure, denied access, and compatibility restrictions have distinct useful next steps. Scope selection does not change Agent bindings.

  • Canceling a context switch preserves the draft; confirming it isolates old data. Late checks/list responses cannot populate a different connection or Scope.

  • Reopening Desktop does not silently restore an active private session. English/Chinese, keyboard/focus, small-window and scaling behavior are covered with the flow.

  • Exercise saved profile → check → activate → select Scope against a qualified real Server; installed platform acceptance verifies native credential behavior.

Delivery priority

Windows 11 x64 and macOS Apple Silicon/Intel are required for #2099. Linux #2110 and #2111 are optional, owner-driven work under #1428; missing Linux implementation, packaging, or qualification does not block this issue's first-wave acceptance or the Windows/macOS release. Any advertised Linux support requires its own actual qualification.

Non-goals

Installer and lifecycle implementation belong to #2115/#2116/#2117. No duplicate installer UI/state machine, Agent binding changes, unconsented activation, or cross-session Scope restoration.

References and delivery rules

Sub-issues

Sub-issues

1 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. added
    desktop
    on Oct 20, 2026
  2. jackie-cqz commented on Oct 20, 2026

    @jackie-cqz
    Contributor

    Hi maintainers, I'd like to take #2103 together with #2101. Please assign this issue to me if that fits the current ownership plan.

    I'll implement the connection-to-Scope journey on the shared native connection state from #2101:

    • Keep saving, checking, and explicitly activating an existing profile distinct, and open the specific profile selected from the global connection menu.
    • Guide activation into exact Scope selection, with clear empty/denied/error states and preserved draft confirmation and stale-response isolation.
    • Coordinate the local/existing-Server first-use branch with feat(desktop): guide local Server setup and lifecycle management #2117, consuming actual validated setup results and resolving the Server-created default Scope through the public API within explicit setup consent.
    • Preserve the rule that reopening Desktop does not silently restore an active private session, and include English/Chinese, keyboard/focus, and small-window behavior.

    I'll keep this as the focused 02-B PR, coordinate shell interfaces with #2102, and leave installer/lifecycle implementation with #2115/#2116/#2117. Shared connection semantics will be agreed alongside #2101 so the two issues form one consistent workflow.

  3. PsiACE commented on Nov 23, 2026

    @PsiACE
    Member

    basically done, but we'll re-decide feature points from the new desktop PR design

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

Metadata

Metadata

Assignees

Labels

desktop

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions