Skip to content

docs(id): Joplin continuous-sync design against the #5848 baseline - #9055

Merged
dezren39 merged 1 commit into
mainfrom
queue/15314-9004-joplin-sync-design
Nov 12, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/15314-9004-joplin-sync-design

Conversation

@developing-today

@developing-today developing-today Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Design record for #9004 (queue task 15314): doc/2026-11-12_design_id9004.md.

Compares the four required alternatives for Joplin ↔ ID knowledge-layer continuity against the #5848 baseline — (1) one-shot import + idempotent re-import, (2) an ID-hosted Joplin-compatible sync target, (3) a Joplin-side plugin bridge, (4) a headless Synchronizer "shadow client" bridge — with trust boundaries, state ownership, identity/lifecycle mapping, client coverage, failure/recovery, and source-of-truth for each.

Also covers: what continuous sync adds to the #5848 manifest (per-direction cursors, tombstone feed, field provenance, version mapping, E2EE marker); the #2048 conflict cases (concurrent edits, delete-vs-edit, restore, metadata, links, resources, offline) with the Joplin-vs-ID conflict-model tension stated as the largest correctness risk; migration/rollback incl. shadow-mode-first rollout; maintenance costs with assumptions and a named protocol-steward requirement; a decidable scenario corpus (S1–S10); and hard blockers (B1 E2EE keys, B2 conflict-model tension, B3 no plugin sync-target registration in the documented API).

Joplin claims are backed by dated primary sources (sync spec, conflict and E2EE docs, plugin docs, Synchronizer.ts — all fetched 2026-11-12 and listed in the record); the one negative claim (no sync-target registration API) is labelled an assumption with a verification step.

Design only, per Drew's 2026-11-11 ruling on #9004: build/no-build remains explicitly pending after this design lands. It recommends conditions (Option 4 favoured if a build is ever approved) without making that decision.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@developing-today
developing-today Bot requested review from a team and dezren39 as code owners November 12, 2026 22:11
@coderabbitai

coderabbitai Bot commented Nov 12, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 79328fae-0ded-4ed4-8c8e-9ab75eb01d11

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant