Skip to content

feat(desktop): complete Memory save, search, and exact-read journeys #2104

Closed

Description

@knqiufan

Goal

Complete the exact-Scope save → find → exact revision read → copy workflow, including honest feedback and recovery when a write's outcome is unknown.

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

PR breakdown

  • PR 02-C — Memory save and recovery. Handle zero/one/multiple returned records and direct navigation to exact returned revisions using the existing reader. Preserve the submitted connection/Scope and distinguish success, definite failure, and unknown outcome.

  • PR 02-D — Search, exact detail, and copying. Complete bounded FTS results, exact revision details, copying and feedback. Distinguish not searched, no matches, missing capability, denied access, and failed reads; isolate results on context changes.

Dependencies and coordination

Acceptance criteria

  • A newly provisioned personal SQLite Server supports the first save, bounded full-text search, exact revision read, and copy without model setup or manual Scope IDs; verify through the real installed Windows/macOS flow.

  • Save target is visible; zero, one, and multiple returned records are represented without inventing records. Each returned reference opens its exact revision.

  • Unknown writes retain their original target and recovery guidance; no automatic replay or matching-text inference of success is introduced.

  • Search is explicitly bounded and does not imply a complete Memory directory. Not-yet-searched and zero matches remain distinct.

  • Exact detail and content/reference copy succeed through supported native boundaries, with usable failure and success feedback.

  • Switching connection/Scope isolates drafts, results, cursors, and late responses; submitted writes remain bound to their original target.

  • Preserve duplicate-submit prevention, UTF-8 byte limits, IME-safe submission, and focus behavior. Cover English/Chinese, keyboard, narrow windows, and scaling with each PR.

  • Exercise save/search/exact-read/copy with a qualified real Server and regression scenarios for context changes and unknown outcomes; final platform checks use the actual installed package.

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

No full Memory directory/history, offline write queue, automatic write retry, or new Server API solely for the proposed layout.

References and delivery rules

Activity

  1. added
    desktop
    on Oct 20, 2026
  2. WuShang-d commented on Oct 20, 2026

    @WuShang-d
    Contributor

    Hi maintainers, I'd like to take on #2104 and contribute to the Desktop Memory workflow. Please assign this issue to me if it's still available.

    I'll start by reviewing the existing Desktop architecture and Memory APIs, then implement the save, search, exact-read, and copy workflows according to the issue's acceptance criteria.

    I'll coordinate with the contributors working on the shared UI and connection/Scope components to keep the implementation consistent.

    Thanks!

  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