Skip to content
This repository was archived by the owner on Sep 2, 2026. It is now read-only.
This repository was archived by the owner on Sep 2, 2026. It is now read-only.

Client LWW sync layer #41

Closed
Closed

Description

@64ix

Parent

#29

What to build

A key/value last-write-wins sync layer over the app-state per-key shapes: one sync unit per worktree meta (stage, links, archived/pinned), per-project column order list, per-repo dismissed list. Server-versioned LWW resolves conflicts without dialogs; tombstones keep deletes deleted; a local write queue flushes push + pull on reconnect. Existing rekey primitives remain the identity mechanism.

Acceptance criteria

  • Version ordering and conflict resolution tested (last write wins, no dialogs)
  • Deletes stay deleted via tombstones — a stale machine cannot resurrect them
  • Offline edits queue locally and flush on reconnect
  • Sync units are the plain per-key shapes from the storage ticket
  • Renames/rekeys survive sync without duplicating units

Blocked by

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions