Skip to content

id: design: Joplin continuous sync target / plugin bridge (from #5678) #9004

Closed

Description

@dezren39

Summary

Design-only follow-on under the knowledge-layer programme. Investigate whether the ID knowledge layer could support continuous two-way synchronization with Joplin through an ID-hosted Joplin-compatible sync target, a Joplin-side plugin bridge, or another bounded adapter. This issue follows the deferred decision in #7676, builds on the one-shot importer design in #5848, and belongs to programme #5678.

Do not decide build/no-build in this design task. Drew's 2026-11-11 ruling deferred the sync-target question to the orchestrator with the guided pick “Overturn — scope a design task,” and said we can design it and decide later. The build/no-build decision is explicitly after this design lands. Do not re-ask Drew. Keep #5848's one-shot import plus idempotent re-import as the v1 baseline; do not silently reverse or expand it.

Design question and boundaries

Compare, at minimum:

  1. Keep one-shot import, idempotent re-import, and the designed export path; make no continuous-sync addition.
  2. An ID-hosted Joplin-compatible sync target/backend.
  3. A Joplin-side plugin/extension bridge that communicates with ID through a supported interface.
  4. Any materially different adapter that evidence shows is viable (state why it is distinct).

For each option, describe trust boundaries and components, what state it owns, identity and lifecycle mapping, supported Joplin client/version surfaces, failure/recovery behavior, and where source-of-truth authority resides. Keep the design bounded to Joplin↔ID knowledge-layer continuity; no implementation, general sync redesign, or product build/no-build decision.

Required analysis

  • id: design: importer design: Joplin (from #5678) #5848 manifest/import design: assess whether its source-vault identity and Joplin-ID↔ID-note/resource mapping can support ongoing synchronization, and what additional cursors, tombstones, field provenance, version mapping, or migration state would be needed. Preserve stable ID identity, append-only events, idempotency, and explicit reporting; distinguish re-import from continuous sync.
  • id: design: Zettelkasten layer — multiplayer docs/wiki on ID #2048 multi-head/conflict semantics: explain concrete concurrent-edit cases (including deletion/restore, metadata/tags, links, attachments/resources, and offline clients). Do not introduce last-writer-wins or flatten concurrent ID heads silently. Specify user-visible conflict/merge behavior or mark the conflict an architectural blocker. Address the existing id: design: importer design: Joplin (from #5678) #5848 §7 export rule without changing id: design: Zettelkasten layer — multiplayer docs/wiki on ID #2048 decisions silently.
  • Joplin protocol/API and churn: verify the current supported extension/plugin and synchronization surfaces from primary Joplin sources. Assess protocol/version compatibility, client interoperability, locking/transactions, item serialization, deletion propagation, resource handling, E2EE boundaries, upgrade cadence, and the cost/owner of ongoing compatibility maintenance. Separate documented facts from assumptions.
  • Migration and operations: explain how an existing id: design: importer design: Joplin (from #5678) #5848 one-shot import/manifest transitions to and from each option without duplicate identities or data loss; include rollback/disable behavior, backup/recovery, observability, support burden, test-corpus needs, and a practical maintenance-cost estimate with stated assumptions.
  • Alternatives and decision boundary: provide a comparison table, evidence-backed feasibility assessment, and design recommendation/conditions. Record which product decision remains for after the design and what evidence the decision-maker should weigh; do not make that decision here.

Acceptance criteria

Evidence expected

Joplin's current official documentation/source for plugin APIs and synchronization protocol/version behavior; the landed #2048 and #5848 design records; relevant #5838/#5844 records; and a migration/cost analysis grounded in those interfaces. Include a small scenario matrix or test-corpus proposal with decidable expected outcomes for conflict, retry/recovery, deletion, and manifest migration.

Relations

Follow-on to #7676; design baseline #5848; programme #5678. Related boundaries: #2048, #5838, and #5844. Build/no-build is deferred until this design lands.

Activity

  1. added
    priority/normalOrdinary priority (the default)
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    effort/mMedium: expected under 1 day of work
    kind/designA design proposal (design-architect): multi-step, phased, decision-bearing
    on Nov 12, 2026
  2. developing-today commented on Nov 12, 2026

    @developing-today
    Contributor
  3. dezren39 commented on Nov 12, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up by repo-worker-code / code-f for task 15314. Fresh issue #9004 is OPEN. Scope is design-only; one-shot import remains baseline and build/no-build stays deferred. I am preserving the decision and preparing a resumable research/design worktree.\n\n

  4. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    queue/claimedQueue worker lifecycle state
    on Nov 12, 2026
  5. 16 remaining items

  6. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    queue/claimedQueue worker lifecycle state
    on Nov 12, 2026
  7. dezren39 commented on Nov 12, 2026

    @dezren39
    MemberAuthor

    state: picked_up (resume)
    task 15314 — lane any-a resumed the CI-parked design task for issue #9004.
    PR #9055 (doc/2026-11-12_design_id9004.md) revalidated fresh: open, mergeable=true, no held/user-owned/do-not-merge labels, no Codex reviews, CodeRabbit review skipped (bot author). Its check runs have remained QUEUED since 2026-11-12T22:11Z.
    Next: merge PR #9055 under standing merge authority (CI runs on main; doc-only change), close this issue, complete task 15314 as fixed_merged. Build/no-build on Joplin sync remains explicitly pending per the design.

  8. added
    queue/claimedQueue worker lifecycle state
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 12, 2026
  9. dezren39 commented on Nov 12, 2026

    @dezren39
    MemberAuthor

    state: done
    task 15314 — lane any-a completed.
    PR #9055 merged 2026-11-12T23:14:42Z, merge commit 196d989. The design record doc/2026-11-12_design_id9004.md is now on main.
    Checks note: PR checks remained QUEUED from 22:11Z (fleet-wide queue stall, incl. mcpx-test runs); merged under standing merge authority (CI runs on main; doc-only change, mergeable=true, no Codex findings, CodeRabbit skipped).
    Build/no-build on a Joplin continuous sync target/plugin bridge remains explicitly pending per Drew's 2026-11-11 ruling on #7676 — not decided here, not re-asked.
    Closing this issue as complete.

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

Metadata

Metadata

Assignees

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/mMedium: expected under 1 day of workepic/id-programReprioritization program epic (2026-11-12)kind/designA design proposal (design-architect): multi-step, phased, decision-bearingpriority/normalOrdinary priority (the default)status:done

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions