Repository navigation
Description
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
-
PR 02-B defines the first-use branch and connection/Scope handoff with feat(desktop): guide local Server setup and lifecycle management #2117; local setup pages remain in PRs 12-A/12-B/12-C. Consume actual runtime endpoint/identity via feat(desktop): integrate Server discovery and operation compatibility #2101, not a guessed default address.
-
Use the shared shell/navigation interfaces from feat(desktop): establish the shared application layout and navigation #2102 and compatibility/identity results from feat(desktop): integrate Server discovery and operation compatibility #2101. Form work can start against agreed interfaces.
-
Coordinate the selected Scope handoff and draft handling with feat(desktop): complete Memory save, search, and exact-read journeys #2104.
-
Use the existing reviewed profile storage, native transport, credentials, and Scope operations; required platform credential availability comes from build(desktop): deliver signed Windows preview packages #2108 and build(desktop): qualify signed and notarized macOS packages #2109, with optional Linux coverage in feat(desktop): implement optional Linux native integration #2110.
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
- Product scope and PR breakdown; static UI prototype. The prototype uses sample data, not production state logic.
- RFC docs(rfc): propose Tauri desktop control center #1455 and the Desktop delivery plan.
- Keep focused PRs independently reviewable and intermediate merges usable. An internal adapter may land before its page; do not expose incomplete features as operational. Close this issue only after its complete outcome is verified.
- Preserve the reviewed native transport, credential, public API, and context boundaries. Record actual backend/platform execution separately from mocks and CI-only fixtures.
Sub-issues
Collapse Sub-issuesSub-issues
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
jackie-cqz commentedon Oct 20, 2026
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:
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.
feat(desktop): guide connection activation into exact Scope selection (…
PsiACE commentedon Nov 23, 2026
basically done, but we'll re-decide feature points from the new desktop PR design