Skip to content

id: importer follow-on: Joplin continuous sync target vs one-shot import (from #5848 design) #7676

Closed

Description

@developing-today

Split filed from the #5848 Joplin importer design (doc/2026-11-08_design_id5848.md). The v1 design is one-shot import plus idempotent re-import (dedupe via the persisted import manifest); it explicitly does NOT emulate a Joplin sync target or track a live Joplin vault. This follow-on decides whether ID ever presents a Joplin-compatible sync target (or a Joplin-side plugin bridge) for continuous two-way sync, weighing: conflict semantics against the #2048 multi-head revision model, the manifest mapping already persisted by v1 import, and the maintenance cost of tracking Joplin sync protocol changes. Acceptance: a recorded decision (build / do not build, with reasons) on this issue or in a doc/ record linked from it. Parent: #5848. Programme: #5678, epic #2056.

Acceptance criteria

  • A decision (build / do not build a Joplin-compatible sync target or plugin bridge) is recorded on this issue or in a doc/ record linked from it, with reasons.
  • The record weighs, explicitly: conflict semantics against the id: design: Zettelkasten layer — multiplayer docs/wiki on ID #2048 multi-head revision model, reuse of the v1 import manifest mapping, and the maintenance cost of tracking Joplin sync protocol changes.

Activity

  1. added
    task/triageQueue packet kind: verify, reproduce, and route this item
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    effort/sSmall: expected under 2 hours of work
    kind/questionQuestion or design decision to resolve
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    priority/normalOrdinary priority (the default)
    on Nov 8, 2026
  2. developing-today commented on Nov 8, 2026

    @developing-today
    ContributorAuthor

    Intake review

    Related: Parent: issue #5848 (Joplin importer design, doc/2026-11-08_design_id5848.md - the one merged PR the intake search surfaces; it files this follow-on, it does not resolve it). Sibling follow-on: issue #7675 (revision-history import). Programme: #5678, epic #2056.

    Notes: A decision issue, not an implementation: v1 settles one-shot import + idempotent re-import and explicitly does not emulate a sync target. The body's own acceptance line is formalized in the appended criteria section.

    Risks: Scope creep into building a sync target before the decision is recorded; the decision record is the deliverable.

    Suggested approach: Draft the decision from the #5848 design's manifest/conflict sections, record build/do-not-build with reasons, and link any build follow-on as a separate issue if the answer is build.

    Labels normalized at intake: kind/question, status/needs-triage, priority/normal, effort/s, app/id, meta/enriched added (existing labels preserved). Acceptance criteria appended to the body (original text preserved verbatim above).

    — fleet monitor, intake pass 2026-11-08 (06:12 CST run)

  3. developing-today commented on Nov 8, 2026

    @developing-today
    ContributorAuthor

    🤖 Agent note · triaged — decision analysis recorded, routed for Drew's ratification

    • Agent: queue worker (repo-worker-code), lane code-b
    • Session / ID: task 13753
    • Found via: queue claim (triage, coverage-audit DELTA packet)

    Triage verdict — #7676 (Joplin continuous sync target vs one-shot import)

    Revalidated fresh 2026-11-08T23:59Z: issue #7676 OPEN, no hard-stop labels; parent design doc/2026-11-08_design_id5848.md is on main and its alternatives table already evaluated this exact option ("Joplin sync-target emulation") — rejected for v1 and split here as the open decision. The v1 importer itself is design-stage, so nothing is blocked waiting on this decision today; it gates only a possible future programme, not v1 work.

    The three factors the acceptance criteria require, weighed:

    1. Conflict semantics vs the id: design: Zettelkasten layer — multiplayer docs/wiki on ID #2048 multi-head model. Joplin sync assumes one current body per note with last-writer-wins-style reconciliation at the sync layer. id: design: Zettelkasten layer — multiplayer docs/wiki on ID #2048 keeps concurrent heads visible until an explicit merge and import invariant 2 forbids last-writer-wins. A sync target would have to either flatten multi-head state at the boundary (losing heads silently — the exact failure id: design: Zettelkasten layer — multiplayer docs/wiki on ID #2048 was designed against) or invent a head-mapping Joplin clients cannot represent. The design already had to special-case even one-way export of multi-head notes (§7). Two-way continuous sync multiplies that problem by every edit.
    2. Reuse of the v1 import manifest mapping. The manifest (Joplin ID ↔ note ID, source-vault identity, import time) is exactly the state a sync target would need, and the design states it "keeps the option open without paying for it now." Re-import already gives idempotent, deduped continuity for vaults that change on the Joplin side. The manifest is an argument that deferring costs little: the door stays open.
    3. Maintenance cost of tracking Joplin's sync protocol. A sync target couples ID to Joplin's sync protocol churn (lock semantics, item serialization, deletion propagation, E2EE interactions) as a permanent compatibility surface, owned forever, for a single external app. One-shot import pays the format cost once per import format version; a sync target pays the protocol cost continuously.

    Recommendation: DO NOT BUILD a Joplin-compatible sync target or plugin bridge. One-shot import + idempotent re-import (plus round-trip export) covers the migration and continuity needs evidenced so far; revisit only if a concrete recurring two-way workflow appears that re-import demonstrably cannot serve. This is a recommendation, not a unilateral close: the build/do-not-build call is a product-direction decision, so the issue is routed user/review for Drew to ratify or overturn — ratifying closes this issue with the decision recorded here; overturning scopes a design task under programme #5678.

  4. added
    status/triagedTriaged and routed (see agent note)
    user/reviewNeeds a user-look: Muse reviews first and handles what it can
    and removed on Nov 8, 2026
  5. dezren39 commented on Nov 9, 2026

    @dezren39
    Member

    🤖 Agent note · handed off

  6. 17 remaining items

  7. added
    epic/id-programReprioritization program epic (2026-11-12)
    and removed
    queue/blockedQueue or user escalation state
    on Nov 11, 2026
  8. added this to the ID platform program milestone on Nov 12, 2026
  9. added
    queue/claimedQueue worker lifecycle state
    and removed on Nov 12, 2026
  10. dezren39 commented on Nov 12, 2026

    @dezren39
    Member

    🤖 Agent note · task 14143 dispatched and bound to an active WORKHORSE session

  11. dezren39 commented on Nov 12, 2026

    @dezren39
    Member

    Fresh triage revalidation (2026-11-12)

    Verdict: valid follow-on; Drew’s prior ruling is resolved and must not be re-asked. The 2026-11-11 decisions entry deferred this to the orchestrator with the guided pick “Overturn — scope a design task,” and Drew said we can design it and decide later. Accordingly, the build/no-build decision remains deferred until the design lands.

    Evidence: current origin/main is be6bf9a3af0e04cde337b40c33974601cbcde106; #7676 remains OPEN with user/review (reviewer-first, not a hard stop). Parent design #5848 is CLOSED and its deliverable is merged as PR #7677 / doc/2026-11-08_design_id5848.md. That design sets one-shot import plus idempotent re-import as the baseline and explicitly splits sync-target emulation here. #2048’s multi-head semantics remain the conflict-safety constraint. All-state searches for Joplin sync target, continuous sync, plugin bridge, protocol, and migration found no separate covering design issue/PR. The open stale importer attempt PR #7655 is unrelated and superseded by merged #7677.

    Follow-on: scoped design issue #9004 is now live under programme #5678 and has queue task 15314 (repo-health-code-pilot, queued). It is linked here and to #5848/#5678. The design compares one-shot baseline, ID-hosted sync target, plugin bridge and viable alternatives; investigates manifest evolution, #2048 multi-head conflict handling, current Joplin protocol churn, migration, rollback, and ongoing maintenance/ownership. It is design-only: no code, no scheduled-job enablement, and no build/no-build decision.

    With the design task now live and linked, this decision issue is superseded by #9004; closing it does not close or decide the later build/no-build question.

  12. dezren39 commented on Nov 12, 2026

    @dezren39
    Member

    Superseded by the live design follow-on #9004 (queue task 15314), per Drew’s 2026-11-11 defer-to-orchestrator ruling. Build/no-build remains deferred until #9004 lands.

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/sSmall: expected under 2 hours of workepic/id-programReprioritization program epic (2026-11-12)kind/questionQuestion or design decision to resolvemeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)status/triagedTriaged and routed (see agent note)task/triageQueue packet kind: verify, reproduce, and route this itemuser/reviewNeeds a user-look: Muse reviews first and handles what it can

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions