Skip to content

id: implement the note→board sharing model (decision on #5830) #7587

Open

Description

@dezren39

Summary

Implementation follow-on for the note→board sharing model decision recorded on issue #5830 (decision record: #5830 (comment)), under parent design issue #5677 and programme epic #2056. Filed so the recorded decision has a named implementation next action; implementation timing is a separate decision, per issue #5830's filing note.

Scope (from the decision record's invariants)

  1. Board posts store a note reference (object id, home server, pinned version id + content hash, sharer attribution) — never note content as the post's own content.
  2. Embed rendering offers both views — live head (default) and as-posted pinned — with a "changed since posted" indicator whenever they differ; a poster/board may pin the default view.
  3. Reply anchoring: anchors name a note version + passage selector (section id + text-range/quote-hash) and resolve as exact / relocated / orphaned against newer versions; orphaned replies display against the pinned view and are never silently re-pointed or deleted.
  4. Reference edges (post —embeds→ note, reply —anchors→ note-version/passage, post —discusses→ note) live in ID's native graph; backlinks are a query over the same edge store; jump-through works both ways with human/CLI/API/agent parity.
  5. Cross-server: resolution is grant-checked against a selective sharing grant and hash-verified; board-side caches are render-only, version-labelled, and honour visibility revocation on refresh; backlink registration is announce-and-ack with retry, and a failed announcement never blocks posting.
  6. Share/reply/anchor events are attributed and land in the objects' changelogs; sharing grants no edit rights and creates no fork.

Out of scope

Anything parent issue #5677 reserves to its other decomposition designs (graph navigation API surface, multiplayer sessions, approval flow mechanics, personalized ranking) and the takedown/erasure reconciliation named in #5677's non-goals.

Acceptance

  • An end-to-end slice: share a note into a board, reply anchored to a passage, edit the note, and observe the live/pinned views, the anchor state transition, and the backlink from the note — locally, and in a two-server setup exercising grant-checked fetch and announce-and-ack backlink registration.

Acceptance criteria

  • An end-to-end slice works: share a note into a board, reply anchored to a passage, edit the note, and observe the live/pinned views, the anchor state transition (exact / relocated / orphaned), and the backlink — as the decision record's invariants require.
  • Board posts store a note reference (object id, home server, pinned version id + content hash, sharer attribution) — never note content as the post's own content.
  • Orphaned replies display against the pinned view and are never silently re-pointed or deleted.
  • Cross-server resolution is grant-checked and hash-verified; board-side caches are render-only, version-labelled, and honour visibility revocation on refresh; a failed backlink announcement never blocks posting.
  • Sharing grants no edit rights and creates no fork; share/reply/anchor events are attributed in the objects' changelogs.

Activity

  1. added
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Nov 8, 2026
  2. developing-today commented on Nov 8, 2026

    @developing-today
    Contributor
  3. added
    task/triageQueue packet kind: verify, reproduce, and route this item
    priority/normalOrdinary priority (the default)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    source/humanFiled directly by a human
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 8, 2026
  4. dezren39 commented on Nov 8, 2026

    @dezren39
    MemberAuthor

    Intake review

    Related: decision record on #5830 (comment 6719439492); parent design #5677; programme epic #2056.
    Live check: implementation follow-on filed today so the #5830 decision has a named next action; the issue's own Acceptance section begins this bar — this appended section consolidates it under the standard heading. Implementation timing is a separate decision, per the filing note.
    Notes / risks: reference-not-content is the invariant everything else hangs on; a shortcut that copies content into posts voids the revocation and pinned-view semantics. Anchor relocation is the subtle part — orphaned is a display state, not an error to auto-repair.
    Suggested approach: build the reference edge + pinned/live rendering first, then reply anchoring with the three-state resolution, then cross-server grant checks.

    — fleet monitor (repo-fleet-monitor), 2026-11-08 10:12 CST run: acceptance criteria appended to the body, labels normalized, meta/enriched applied.

  5. added
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    and removed on Nov 8, 2026
  6. 195 remaining items

  7. added
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    queue/claimedQueue worker lifecycle state
    on Nov 21, 2026
  8. dezren39 commented on Nov 21, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    task: 20725 (repo-worker-code, lane oc-code-07)
    state: parked
    progress: slice 2 model layer committed on branch queue/20725-7587-note-board-slice2 (4d90996): NoteEmbedResolution, NoteAnchor/NotePassageSelector resolution with exact/relocated/orphaned tests; 10 tests pass (cargo test -p id --lib note_anchor_tests).
    remaining: wire embed live/pinned rendering with changed-since-posted indicator and poster pin default; render orphaned replies on the pinned view (negative test); full cargo test -p id boards; then PR referencing #7587 slice 2 and #5830 invariants 2-3. Not closing #7587.

  9. dezren39 commented on Nov 21, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    lane: oc-code-01 (openchamber-scheduled-lane), task 20725
    transition: parked (size, 45-min lease)
    state: slice 2 model + resolver committed on queue/20725-7587-note-board-slice2 at 4d90996 (10 tests pass). Not yet done: wire NoteEmbedResolution into embed render (live/pinned toggle, changed-since-posted badge, poster pin); wire NoteAnchorResolution into reply display (orphaned on pinned view, never re-pointed); cargo test -p id boards; PR refs #7587 slice 2 and #5830 invariants 2-3.
    verified: #7587 OPEN, no hold labels, no open slice-2 PR. Slice 3 and 4 untouched; #7587 not closed.

  10. 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 21, 2026
  11. dezren39 commented on Nov 21, 2026

    @dezren39
    MemberAuthor

    PR opened for #7587 slice 2: #12206. Added pure live/pinned embed presentation and reply presentation projections; orphaned replies retain their anchored version and passage. Focused tests: 19 passed.

  12. dezren39 commented on Nov 21, 2026

    @dezren39
    MemberAuthor

    Task 20725 completed with verified outcome pr_opened: PR #12206 is open, the focused tests pass (19/19), and the in-flight queue/status/work labels are cleared. Sandbox backlog and sweep-log bookkeeping are deferred to fleet reconciliation.

  13. added a commit that references this issue on Nov 22, 2026
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/enhancementmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/humanFiled directly by a humanstatus:in-reviewtask/triageQueue packet kind: verify, reproduce, and route this item

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions