GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — id: build: durable multiplayer note checkpoints and merges · Issue #3819 · developing-today/code

id: build: durable multiplayer note checkpoints and merges #3819

New issue
Copy link
New issue
Copy link
Open
Open
id: build: durable multiplayer note checkpoints and merges#3819
Copy link
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)kind/enhancementpriority/highImportant and time-sensitivequeue/parkedQueue task is parked (waiting on CI, time, or an event)status/parkedDeliberately paused with a recorded resume conditiontask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

@dezren39
dezren39
opened on Nov 1, 2026
Issue body actions

Parent: #2048 (ID Zettelkasten design). Phase 3 — depends on #3814 (stable note identity/revision graph) and Drew's explicit answer to Q2 on #2048 (shared-write authority).

Bridge the existing live ProseMirror session to durable note revisions. Key sessions by stable note ID rather than filename; keep live steps/cursors as transient transport; on save/checkpoint publish a signed immutable revision with the current note ID and parent head(s). A stale/offline edit must not overwrite another writer: retain concurrent heads and require an explicit merge revision. Do not make one web process's in-memory collaboration state the replicated source of truth.

Gate: before implementing any shared-write authorization, re-read #2048 Q2. Use the selected policy; if Drew has not answered, park without changing authorization behavior. Do not infer write permission from friendly-name resolution or the reader's writer-set projection. No cross-store resolver work (that remains #2259).

Acceptance:

  • Reopening a note by stable ID recovers its latest known revision and history across server restart/replica sync.
  • A normal live session can checkpoint to a signed revision; ephemeral steps/cursors are not emitted as permanent events. Covered by PR test(id-web): cover note checkpoint restart and forks #14623; focused Fleet run 45493556312 passed (7 passed, 0 failed).
  • Concurrent/offline sessions create separate heads; an explicit merge names its parents; no last-writer-wins data loss in the tested paths. Covered by PR test(id-web): cover note checkpoint restart and forks #14623; focused Fleet run 45493556312 and full id-web suite run 45496785776 passed.
  • The chosen group/write policy is tested at the boundary and is separate from viewer-specific visibility.
  • Existing filename-based document editing remains compatible during migration; tests cover old and new paths.

Activity

Next
  1. dezren39
    added
    priority/highImportant and time-sensitive
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    kind/enhancement
    on Nov 1, 2026
  2. developing-today commented on Nov 1, 2026

    @developing-today
    developing-todayBot
    on Nov 1, 2026 – with developing.today
    Contributor
    More actions

    CODE-1554

  3. dezren39
    added
    queue/queuedHas a queued queue task
    status/needs-triageNot yet triaged; needs a first look
    on Nov 1, 2026
  4. dezren39 commented on Nov 1, 2026

    @dezren39
    dezren39
    on Nov 1, 2026
    MemberAuthor
    More actions

    agent-note:v1 — queued, parent #2048 phase 3; queue task 5826, dedupe repo-health:v1:fix:developing-today/code:issue:3819. Resume only after #3814 lands and Drew answers shared-write authority Q2 on #2048; then persist signed checkpoints and explicit concurrent merges. Filed by repo-worker-code, OpenChamber scheduled lane, 2026-11-01T16:54Z.

  5. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Nov 1, 2026
  6. dezren39 commented on Nov 1, 2026

    @dezren39
    dezren39
    on Nov 1, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked — claimed early; both start gates in the packet are unmet

    • Agent: queue worker (repo-worker-code), lane F (repo-queue-worker-shift-f)
    • Session / ID: queue task 5826 (small_fix, Phase 3 of id: design: Zettelkasten layer — multiplayer docs/wiki on ID #2048), claimed 2026-11-01T17:40Z, parked per the packet's own instruction ("if claimed early, park with those resume conditions")
    • Found via: queue claim; gate check against fresh GitHub + queue state
    • Gate evidence (fresh, 2026-11-01):
      • Gate 1 — id: build: stable note identity and revision graph #3814 merged: NOT met. Issue id: build: stable note identity and revision graph #3814 (Phase 1: stable note identity and revision graph) is OPEN; its packet, queue task 5824, is currently claimed by another lane — work is in flight, nothing merged yet. (Phase 2's task 5825 is likewise parked behind it.)
      • Gate 2 — Drew's explicit answer to Q2 on id: design: Zettelkasten layer — multiplayer docs/wiki on ID #2048: NOT met. Q2 asks who may append revisions to a shared notebook — (a) group Write members with visibility handled separately by the id: design: writer-set + view-projection spec for pkgs/id — representation, set-change semantics, discovery query (from #2030) #2238 projection (recommended), (b) a new per-note ACL/owner model, or (c) any group member. The latest comment on id: design: Zettelkasten layer — multiplayer docs/wiki on ID #2048 is the task 5733 routing note (2026-11-01T16:55Z); no answer from Drew appears there or on this issue. This task's acceptance requires shared-write authorization to follow Drew's explicit answer — proceeding on the recommendation alone would pre-empt a product authority decision that is genuinely Drew's.
    • Resume conditions (both required): (1) id: build: stable note identity and revision graph #3814 is merged/closed with the Phase 1 note-identity + revision-graph model landed; (2) Drew's answer to Q2 is recorded on id: design: Zettelkasten layer — multiplayer docs/wiki on ID #2048. On resume, implement per the packet: stable note IDs for collaboration sessions, signed revision checkpoints with parent heads, explicit merges for concurrent heads, transient live steps/cursors, and the access-boundary + legacy-filename tests.
    • Escalation note: Q2 is already surfaced on id: design: Zettelkasten layer — multiplayer docs/wiki on ID #2048 with options and a recommendation by task 5733; this park does not re-ask it — it only records that Phase 3 cannot start until the answer lands.
  7. dezren39 commented on Nov 1, 2026

    @dezren39
    dezren39
    on Nov 1, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked

    • Agent: queue worker (repo-worker-code), lane B
    • Session / ID: task 5826
    • Found via: queue claim
    • Task: parked again per the packet's own gate — do not start before issue id: build: stable note identity and revision graph #3814 is merged and Drew answers Q2 on issue id: design: Zettelkasten layer — multiplayer docs/wiki on ID #2048. Fresh check this shift (2026-11-01T18:13Z): issue id: build: stable note identity and revision graph #3814 is OPEN with status/in-progress + queue/claimed (task 5824, another lane is actively on it; no PR or merge yet), and issue id: design: Zettelkasten layer — multiplayer docs/wiki on ID #2048 still has exactly one comment mentioning Q2 — the design record that posed it; no answer has been posted.
    • Expectation: resume when both conditions hold: issue id: build: stable note identity and revision graph #3814 merged, and an explicit Q2 answer (shared-write authorization boundary) on issue id: design: Zettelkasten layer — multiplayer docs/wiki on ID #2048. Parked 4h.
    • Links: issues id: build: durable multiplayer note checkpoints and merges #3819 / id: build: stable note identity and revision graph #3814 / id: design: Zettelkasten layer — multiplayer docs/wiki on ID #2048
  8. 156 remaining items

    Load more actions
  9. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Queue task 21483 (slice 1, restart recovery by stable ID) premise-checked: already landed in PR #12708 (773a306a014), per the 2026-11-22T23:17:58Z outcome above. No duplicate work done; claim closed as already-landed. Remaining items (policy replica sync needing a design note, wire-level restart tests) are not in this slice and need a new task. Issue stays open.

  10. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Agent note — triage (lane oc-code-05, 2026-11-24)

    • Fresh state: id: build: durable multiplayer note checkpoints and merges #3819 OPEN. Merged work: feat(id): note checkpoint core + note-ID collab session keying (#3819 Phase 3 slice 1) #10808, feat(id-web): collab note-session wiring — WS note resolution + checkpoint publish on session end (#3819 slice 2) #10831, Phase 3 slice 4: client-driven note checkpoints + cold-open hydration (#3819) #10843, feat(id): note access boundary at checkpoint time (#3819 Phase 3 slice 3) #10846, id: note policies survive a checkpoint-log rebuild (#3819) #12637, id: note policies survive a real host restart — persist + restore the checkpoint snapshot (#3819) #12708, id-web: resolve note group grants against the group log (#3819) #11732.
    • Remainder still open: policy replica sync (needs a design note first) and wire-level restart tests (test(id-web): wire-level note checkpoint integration tests (#3819 Phase 3 slice 4) #10852 was closed unmerged).
    • Routing: the replica-sync design is a new design task; the wire-level tests are a small follow-on. Neither has a queue item yet.
  11. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged (second pass, lane code-h) — merged slices recorded; remainder gated on #2048 Q2

    • Agent: repo-worker-code, lane code-h
    • Task: queue 22437 (triage of id: build: durable multiplayer note checkpoints and merges #3819)
    • Fresh check (2026-11-24, gh issue view): id: build: durable multiplayer note checkpoints and merges #3819 is OPEN, last updated 2026-11-24 07:59Z. Merged slices: feat(id): note checkpoint core + note-ID collab session keying (#3819 Phase 3 slice 1) #10808, feat(id-web): collab note-session wiring — WS note resolution + checkpoint publish on session end (#3819 slice 2) #10831, Phase 3 slice 4: client-driven note checkpoints + cold-open hydration (#3819) #10843, feat(id): note access boundary at checkpoint time (#3819 Phase 3 slice 3) #10846, id: note policies survive a checkpoint-log rebuild (#3819) #12637, id: note policies survive a real host restart — persist + restore the checkpoint snapshot (#3819) #12708, id-web: resolve note group grants against the group log (#3819) #11732.
    • Verdict: the remaining items are (a) policy replica sync, which needs a design note first, and (b) wire-level restart tests, a small follow-on. The shared-write gate on id: design: Zettelkasten layer — multiplayer docs/wiki on ID #2048 Q2 still applies, so no authorization change is made here. Nothing is routed in this triage, because the replica-sync design is a new design task that the triage timebox does not cover. Left open for those two items.
  12. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Second-pass verdict (task 22437, verified fresh 2026-11-24 against origin/main 9b621f3)

    Verdict: real and current; implementation slices landed, one test slice outstanding.

    • Issue id: build: durable multiplayer note checkpoints and merges #3819 is OPEN with no hard-stop labels; dependency id: build: stable note identity and revision graph #3814 is CLOSED.
    • Q2 shared-write gate resolved 2026-11-03 (write-grant holders may append revisions); Q3 decided; id: design: Zettelkasten layer — multiplayer docs/wiki on ID #2048 CLOSED. No authorization change in what follows.
    • Landed: feat(id): note checkpoint core + note-ID collab session keying (#3819 Phase 3 slice 1) #10808, feat(id-web): collab note-session wiring — WS note resolution + checkpoint publish on session end (#3819 slice 2) #10831, Phase 3 slice 4: client-driven note checkpoints + cold-open hydration (#3819) #10843, feat(id): note access boundary at checkpoint time (#3819 Phase 3 slice 3) #10846, id: note policies survive a checkpoint-log rebuild (#3819) #12637, id: note policies survive a real host restart — persist + restore the checkpoint snapshot (#3819) #12708, id-web: resolve note group grants against the group log (#3819) #11732.
    • Gap confirmed fresh: prior wire-test PR test(id-web): wire-level note checkpoint integration tests (#3819 Phase 3 slice 4) #10852 closed unmerged 2026-11-16 and no checkpoint wire-test file exists on main. Post-test(id-web): wire-level note checkpoint integration tests (#3819 Phase 3 slice 4) #10852 slices (id: note policies survive a checkpoint-log rebuild (#3819) #12637/id: note policies survive a real host restart — persist + restore the checkpoint snapshot (#3819) #12708) changed the snapshot API, so this is fresh tests against current main, not a rebase.
    • Routed follow-on: queue task #22907 — feature slice 4, wire-level note checkpoint + restart/reconstruction tests (checkpoint publish, reseed-then-chain, concurrent-head merge naming), test-only, no auth change.
    • Not routed: policy replica sync still needs a design note first (separate design task, out of this packet's scope).

    Task 22437 completes as verify-and-route.

  13. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Picked up by repo-worker-code — working this now. (Fleet queue fallback mode: the queue backend is down, so this issue's comments carry the claim. The claim stays live while repo-worker-code posts progress markers; after 30 minutes of silence any other worker may pick this up.)

  14. dezren39
    added
    queue/claimedQueue worker lifecycle state
    on Nov 24, 2026
  15. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Completed by repo-worker-code (outcome: done). Second-pass verify-and-route: impl slices landed, routed slice-4 wire-test task #22907

    Disposition: verdict merged_verified, checked_at 2026-11-24T09:20:04Z -- the record below passed the broker's offline disposition gate at completion time. The record's follow_up names task 22907: only the broker can check it against the queue, so it is recorded here UNCHECKED -- the broker runs check_successor_task on it when it returns.

    {
      "checked_at": "2026-11-24T09:20:04Z",
      "source": "fleet gh readback",
      "issue": {
        "number": 3819,
        "state": "open",
        "state_reason": null,
        "closed_at": null,
        "closed_by": null
      },
      "pulls": [
        {
          "number": 10846,
          "state": "merged",
          "is_draft": false,
          "merged_at": "2026-11-16T18:09:26Z"
        },
        {
          "number": 10831,
          "state": "merged",
          "is_draft": false,
          "merged_at": "2026-11-16T16:50:47Z"
        },
        {
          "number": 10808,
          "state": "merged",
          "is_draft": false,
          "merged_at": "2026-11-16T15:25:08Z"
        }
      ],
      "verdict": "merged_verified",
      "follow_up": {
        "task_id": 22907,
        "reason": "verify-and-route: impl slices landed, routed slice-4 wire tests #22907"
      }
    }
    
  16. dezren39
    removed
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 24, 2026
  17. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Wire-level checkpoint/restart slice is complete in PR #14623, now ready for review.

    • Focused Fleet test run 45493556312: 7 passed, 0 failed.
    • Full id-web Fleet run 45496785776: 749 passed, 0 failed; 1 doctest passed and 1 ignored.
    • Test-only; no authorization or runtime behavior changed.

    The remaining policy replica-sync design work is separate and still needs its design note; this issue remains open for that work.

  18. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    PR #14623 merged on 2026-11-24 as 017d22fdcaa86b2a2f6ac65f362698ed800bca82.

    Verified on Fleet before merge:

    • Focused note_checkpoint test: 7 passed, 0 failed (run 45493556312).
    • Full id-web suite: 749 passed, 0 failed; 1 doctest passed and 1 ignored (run 45496785776).

    This completes the wire-level checkpoint/restart/fork test slice. The broader issue stays open and parked for the separate policy replica-sync design; #5535 already records revalidation after #3819 lands/closes. No authorization behavior changed.

  19. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    Triage re-check (lane oc-code-07): #3819 still OPEN, no new comments since the 2026-11-24 merge note; wire-test slice PR #14623 remains the last landed slice and the replica-sync design remainder still belongs to #5535. No code changed. Parking this reconciliation claim with a timed re-check; revalidate the remainder before any new test slice.

  20. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    Contributor
    More actions

    Triage re-check — still OPEN, remainder unchanged (2026-11-28, queue task 25359)

    Fresh verification this run:

    • id: build: durable multiplayer note checkpoints and merges #3819 OPEN, no new comments since the 2026-11-27 park note; wire-test slice PR test(id-web): cover note checkpoint restart and forks #14623 (merged 2026-11-24) remains the last landed slice.
    • Remainder still belongs to id: implement Zettelkasten layer - multiplayer docs/wiki on ID (design #2048) #5535 (OPEN, Zettelkasten replica-sync design) — no new activity there (last update 2026-11-23).
    • No open PRs reference id: build: durable multiplayer note checkpoints and merges #3819. No code changed this pass.

    Verdict: park with a timed re-check; revalidate the #5535 design state before any new test slice.

  21. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    Contributor
    More actions

    Triage recheck — lane oc-code-01, 2026-11-28 ~03:05Z. Verdict unchanged: keep open, remainder on #5535.

    • id: build: durable multiplayer note checkpoints and merges #3819 OPEN; wire-test slice PR test(id-web): cover note checkpoint restart and forks #14623 MERGED (2026-11-24) remains the last landed slice.
    • Remainder still belongs to id: implement Zettelkasten layer - multiplayer docs/wiki on ID (design #2048) #5535 (Zettelkasten replica-sync design) OPEN, unchanged since 2026-11-23.
    • 0 open PRs reference id: build: durable multiplayer note checkpoints and merges #3819. No code changed this pass.
    • Task 25359 parked with timed re-check; revalidate id: implement Zettelkasten layer - multiplayer docs/wiki on ID (design #2048) #5535 design state before any new test slice.
  22. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    Contributor
    More actions

    Triage re-check — lane code-g, 2026-11-28 ~03:30Z. Verdict unchanged: keep open, remainder on #5535.

    Fresh verification this run:

    • id: build: durable multiplayer note checkpoints and merges #3819 OPEN (labels queue/parked, status/parked retained); no new comments since the 03:05Z triage note.
    • Wire-test slice PR test(id-web): cover note checkpoint restart and forks #14623 MERGED (017d22fdcaa on origin/main) remains the last landed slice.
    • Remainder still belongs to id: implement Zettelkasten layer - multiplayer docs/wiki on ID (design #2048) #5535 (Zettelkasten replica-sync design) OPEN, unchanged since 2026-11-23.
    • 0 open PRs reference id: build: durable multiplayer note checkpoints and merges #3819. No code changed this pass.

    Task 25359 checkpointed and parked with timed re-check (not_before 2026-11-29T04:00Z — set 24h out to stop the sub-hour claim churn); resume by revalidating the #5535 design state before any new test slice.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)kind/enhancementpriority/highImportant and time-sensitivequeue/parkedQueue task is parked (waiting on CI, time, or an event)status/parkedDeliberately paused with a recorded resume conditiontask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.