Repository navigation
Done
Labels
effort/lLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestprimary-parent/id-programPrimary parent epic id-program (design §3)priority/normalOrdinary priority (the default)queue/parkedQueue task is parked (waiting on CI, time, or an event)status/in-reviewstray-workStray work: not tied to a design or roadmap item (AUDIT-7 Lane 7)
Description
Parent: #9128 (social app reference model design, §5 + §9). Program #9106, epic #9107. Builds on #9127 (append-list protocol) and #9130 (moderation/tombstones).
Implement the board view builder in pkgs/id: given a board object, project its topics append-list and each topic's comments append-list into the thread tree view:
- Tree shape from comment parent_ref, order from append sequence (design(id): append-list user-attribute protocol — signed submission, server order, pending queue #9127 server order); pending entries never appear (design(id): append-list user-attribute protocol — signed submission, server order, pending queue #9127 §6).
- Tombstoned entries (design(id): true-delete + moderation pipeline #9130) filtered per the view's policy state, without renumbering.
- Each rendered subtree carries its freshness token (§6 of the design(id): social app reference model — feeds, profiles, bulletin boards, freshness token #9128 record) so collapsed subtrees re-check via the nothing-new path instead of refetching.
- View pages bounded per §7 defaults, continued by cursor.
Acceptance: tests over fixture append-lists — nested comments render in append order at each level; a tombstoned comment hides without disturbing sibling order or sequences; a folded subtree's token checks nothing-new against unchanged lists and delta after a new comment lands. Oracle: §5 board semantics in the design record.
Acceptance criteria
- Delivered: Impl(id): board view builder — topic/comment tree projection (per design(id): social app reference model — feeds, profiles, bulletin boards, freshness token #9128 design) — the outcome named in the title is demonstrably in place.
- The implementation matches the scope, design record, and constraints stated in this issue body; no stated scope is silently dropped.
- Verification evidence is recorded on this issue (tests run, commands executed, or measurement output), naming what was checked.
- Any follow-on gaps found during the work are filed as their own issues and linked from this issue.
Metadata
Metadata
Assignees
Labels
effort/lLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestprimary-parent/id-programPrimary parent epic id-program (design §3)priority/normalOrdinary priority (the default)queue/parkedQueue task is parked (waiting on CI, time, or an event)status/in-reviewstray-workStray work: not tied to a design or roadmap item (AUDIT-7 Lane 7)
Activity
developing-today commentedon Nov 23, 2026
CODE-4781
dezren39 commentedon Nov 23, 2026
Claiming this slice for the xaltha lane — building the board view builder (topic/comment tree projection per #9128 §5/§6/§7) in pkgs/id. PR to follow.
feat(id-core): board view builder — topic/comment tree projection (#1…
feat(id-core): freshness token + frontier check as pure logic (#13094)
docs(13096): board view builder tree-projection design
dezren39 commentedon Nov 24, 2026
Design record posted: doc/2026-11-24T06-00-00Z_design_id13096_board_view_builder.md via PR #14108 (branch design-13096-board-view-builder). Covers all 9 sufficient-design points (§§1–9 + §10 conformance map): parent_ref tree + append-seq order, pending structurally absent, tombstone filtering without renumbering, per-subtree freshness tokens, §7-bounded paging with FeedCursor-shape continuation; 4 dependency-ordered build slices (2←1, 3←2, 4←1+3) with acceptance criteria; 5 open questions with named deciders.
docs(13096): board view builder tree-projection design
dezren39 commentedon Nov 24, 2026
Triage verdict (oc-code-02, 2026-11-24): design record merged via #14108. Implementation not yet started (4 build slices in the design: 2←1, 3←2, 4←1+3). Not resolved in substance. Routing the first build slice as a scoped follow-on; this issue stays open until slices land. Tracking: #14158.
dezren39 commentedon Nov 24, 2026
Second-pass verify-and-route (queue task 23135, lane oc-code-01, 2026-11-24). Fresh state:
id-core: board view forest projection core (#13096 slice 1)
dezren39 commentedon Nov 24, 2026
Slice 1 (forest projection core) is in PR #14577 (branch
oc-code-08/13096-slice1, commitde73253bde5), not closing this issue.board_view.rs:project_boardprojects accepted topics + per-topic comments into the thread forest (parent_refassembly, sibling accept-seq order, pending structurally absent viaAcceptedEntry).orphaned = true; cycles and deep nesting cannot hang or overflow the stack.tests/board_view_forest.rs: 5 fixture tests green (nested append order per level, orphans, cycles, duplicates, topic order).cargo test -p id-core: 906 passed, 0 failed.id-caps/id-events, not in this change.Slices 2 (tombstones), 3 (subtree tokens) and 4 (paging) stay open under this issue.
Merge pull request #14577 from developing-today/oc-code-08/13096-slice1
dezren39 commentedon Nov 26, 2026
Slice 1 landed: PR #14577 merged (merge commit cfee3d4, 2026-11-26T15:50:07Z) via queue task 24050 (lane XT shepherd).
Shepherd notes:
developing-today-fleet commentedon Nov 26, 2026
Triage verdict — queue task 24601 (oc-code-03, 2026-11-26)
Verdict: still live; slice 1 is landed, remaining design work needs implementation. Fresh readback confirms PR #14577 merged the forest projection core, while this tracker still requires tombstone filtering, per-subtree freshness tokens, and bounded cursor paging. The prior implementation task #23444 is done; no live task or open implementation PR covered the next slice.
Routed the next dependency-ready slice (tombstone-aware projection, preserving append sequence and sibling order) as task #25120. Freshness-token and paging slices remain sequenced after this work per design #14108. This issue stays open as the tracker.
🤖 Agent note · triage
8 remaining items
developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (Felix): recheck of this issue (body, all comments, labels, blocker edges).
STRENGTHS: The projection semantics are pinned to the design record (§5 of #9128 as oracle) with the subtle cases in scope: pending entries never appear, tombstoned entries filter without renumbering, and each subtree carries its freshness token so collapsed views re-check via the nothing-new path instead of refetching. Acceptance is fixture-test-shaped with the oracle named.
GAPS: None in labels (complete:
kind/feature,priority/normal,status:in-review,queue/parked,epic/id-program).FIXES I APPLIED: None needed. Progress state for the picker-up: slice 1 (forest projection core) merged in PR #14577; slice 2 is open as PR #15884 (tombstoned topics/comments hidden, visible replies to tombstoned parents retained as flagged orphan roots, append order preserved) and PR #15935 is open stacked on it — both recorded mergeable at the 2026-11-27 recheck.
REMAINS: Merge PRs #15884 and #15935 (in stack order), then the remaining acceptance tests (freshness-token nothing-new/delta behaviour, cursor paging per §7 defaults).
developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29
Audited live on 2026-11-29 against the house label taxonomy: details, labels, blockers, priority.
Gaps found: no ## Acceptance criteria section in the body
Strengths found: detailed body with scope and context a picker-up can start from; links a parent issue and/or design record; active discussion: 12 recent comment(s) skimmed
Actions taken by the census: appended ## Acceptance criteria section to the body (original text unchanged).
Priority checked: the current priority label matches the census priority bands; no reprioritization made.
developing-today-fleet commentedon Nov 30, 2026
Claim — lane 0900-BL (xaltha, wave 0900, 2026-11-30): slice 3 (subtree tokens) of #13096.
Premise checked firsthand: body + all 13 comments + the design record (
doc/2026-11-24T06-00-00Z_design_id13096_board_view_builder.md§5). Slice 1 (forest core, PR #14577) and slice 2 (tombstone filtering, PR #15884) are MERGED (verified via API this lane). Entry criteria for slice 3 are in place: #13094 token logic is on main (crates/id-core/src/freshness.rs:FreshnessToken::issue,check_freshness,Frontier/InputFrontier::list) and #13095 types landed. No live claim on the issue (latest activity is the 2026-11-29 census).Slice taken: per-topic + view token issuance in
graph/board_view.rs— frontier built from the topics list mark plus each rendered topic's comments-list mark ({head_seq, tombstone_revision} per design §2.2, over the filtered projection per §5 sequencing 3←2), tokens issued via #13094, a folded-subtree render (a comment subtree replaced by its token alone), and the §6.3 check wiring (check_freshnessover a subtree token). Acceptance = the issue's test 3: a folded subtree's token checks nothing-new against unchanged lists, and delta after a new comment lands. Slice 4 (paging/cursor) stays open on this issue.feat(id-core): board view subtree freshness tokens (#13096 slice 3)
Merge pull request #17323 from developing-today/xaltha/13096-slice3-t…
developing-today-fleet commentedon Nov 30, 2026
Slice 3 landed — lane 0900-BL (2026-11-30).
PR #17323 MERGED (merge commit 75b79dd, head 1f4fa96):
project_board_with_tokensissues one FreshnessToken for the whole view plus one per rendered topic subtree over the filtered projection's frontier;fold_comment_subtreerenders a comment subtree as its token alone;check_board_tokenwires the #13094 §6.3 check. View ids = hash(board, projection, policy revision) per record §6.1.Verification (log-read, not labels): run 46471699050 (developing-today-forks/fleet, nix develop form + CARGO_HOME=/tmp) on exact head —
cargo test -p id-core --test board_view_tokens --test board_view_forest: 6 passed / 0 failed in each suite, including the issue's acceptance test 3 (folded_subtree_token_checks_nothing_new_then_delta_after_new_comment) and the slice-1/2 forest suite unchanged. Two earlier dispatches (46468072670, 46469279810) were environmental no-verdicts — the runner's cargo/rustup caches live in a root-owned checkout dir the vscode user cannot write; recorded on PR #17323 (comment 7286053376).Remaining on #13096: slice 4 only — bounded paging (depth/node/byte budgets, opaque FeedCursor continuation, back-reference rendering for cycles; acceptance: 2,001-node fixture pages with cursor, 33-deep fixture folds at 32, cyclic fixture renders back-references). Claim released.
developing-today-fleet commentedon Nov 30, 2026
Claim — lane 0900-CH (xaltha, wave 0900, 2026-11-30): slice 4 (bounded paging) of #13096.
Premise checked firsthand: body + all comments read; true latest comment is lane 0900-BL's slice-3 resolution (7286548047, 2026-11-30T17:35:32Z) — no slice-4 claim exists. Slices 1–3 merged (#14577, #15884, #17323 @ 75b79dd). Slice 4 per design record §5: depth/node/byte budgets, opaque cursor continuation (FeedCursor shape), back-reference cycles, orphan/cross-topic rules; acceptance fixtures: 2,001-node fixture pages with cursor; 33-deep fixture folds at 32; cyclic fixture renders back-references. Implementing in a worktree following the established slice pattern; verification by remote dispatch with counts read firsthand.
feat(id): board view slice 4 — bounded paging, cursor, back-references (
Merge pull request #17385 from developing-today/xaltha/13096-slice4-p…
developing-today-fleet commentedon Nov 30, 2026
Slice 4 landed — lane 0900-CH (2026-11-30). #13096 is now complete: all four design slices are merged.
PR #17385 MERGED (merge commit 10c5b94, head 8474ed8):
project_board_pagebounds one page by depth/node/byte budgets (§7 defaults 32 / 2,000 / 8 MiB; a node at the depth cap rendersfolded), continuation is the opaqueBoardPageCursorin the FeedCursor shape over (topic seq, comment seq) positions — foreign cursors areCursorMismatch, vanished positionsCursorStale, never a silent restart; parent cycles render the closing edge as a back-reference node (back_reference);project_board_page_with_tokensjoins tokens per page (4←3) via the factoredattach_tokens.Verification (log-read firsthand, not labels): dispatch run 46483851761 on the merge commit — board_view_paging 6/6, board_view_tokens 6/6, board_view_forest 6/6, all
test result: ok. The acceptance fixtures named in the design record §5 slice 4 all pass: 2,001-node fixture pages with cursor, 33-deep fixture folds at 32, cyclic fixture renders back-references.Transparency on the path here: PR #17385 was merged at 18:02Z by a sweep while this lane's pre-merge verification dispatches were dying environmentally (runs 46476787124/46478375850: cargo could not fetch the
p2panda-authgit dependency — no test executed, no verdict; runs 46480522611/46481681514/46482596048 then failed target checkout because the branch was already merged and deleted). The post-merge run 46483851761 above is the firsthand verdict on the exact merged head, and it is green — no fix-forward needed.Closing as completed: slices 1–4 (#14577, #15884, #17323, #17385) deliver the board view builder per the #9128 §5 oracle — tree projection, tombstone filtering without renumbering, per-subtree freshness tokens, bounded cursor paging.