From 8cf069f2b7292029d7d7ab5535961ccf60ef12b4 Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Mon, 16 Mar 2026 12:24:45 -0700 Subject: [PATCH] chore: add rNetwork task-121 backlog file Co-Authored-By: Claude Opus 4.6 --- ...th-absolute-token-weights-delegation-UX.md | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 backlog/tasks/task-121 - rNetwork-150-member-trust-graph-with-absolute-token-weights-delegation-UX.md diff --git a/backlog/tasks/task-121 - rNetwork-150-member-trust-graph-with-absolute-token-weights-delegation-UX.md b/backlog/tasks/task-121 - rNetwork-150-member-trust-graph-with-absolute-token-weights-delegation-UX.md new file mode 100644 index 0000000..00193d0 --- /dev/null +++ b/backlog/tasks/task-121 - rNetwork-150-member-trust-graph-with-absolute-token-weights-delegation-UX.md @@ -0,0 +1,57 @@ +--- +id: TASK-121 +title: 'rNetwork: 150-member trust graph with absolute token weights & delegation UX' +status: Done +assignee: [] +created_date: '2026-03-16 04:24' +labels: + - rnetwork + - delegation + - trust + - frontend +dependencies: [] +references: + - modules/rnetwork/components/folk-graph-viewer.ts + - modules/rnetwork/mod.ts + - modules/rnetwork/components/folk-trust-sankey.ts + - modules/rnetwork/components/folk-delegation-manager.ts +priority: high +--- + +## Description + + +Implement a 150-member community trust graph in rNetwork with concentric sphere layout, absolute token-based delegation weights, and interactive delegation UX. + +Key features: +- 150 demo members (15 admins, 35 members, 100 viewers) with deterministic PRNG delegation edges +- Authority display remap: gov-ops→Gov (purple), fin-ops→Econ (green), dev-ops→Tech (blue) +- Absolute token weights: base×100 tokens per authority, effective = base − delegated + received +- Concentric sphere layout (Fibonacci distribution) with wireframe guides +- Multi-select click-to-delegate with fuzzy search and per-authority sliders +- Member list sidebar showing per-authority G/E/T weights, sorted by total weight +- Responsive zoom (2x/0.5x steps, scroll speed 2.5x) +- Enlarged node sizing (6-56px range) and text labels (512×96 canvas, 36px font) + + +## Acceptance Criteria + +- [ ] #1 150 demo members displayed (15 admin, 35 member, 100 viewer) — no CRM data +- [ ] #2 Authority bar shows Gov/Econ/Tech with correct purple/green/blue colors +- [ ] #3 Trust mode nodes sized by absolute effective weight (base − delegated + received) +- [ ] #4 Concentric sphere layout with 3 wireframe sphere guides (R=30/80/160) +- [ ] #5 Click node to add to delegation panel with per-authority sliders +- [ ] #6 Fuzzy search in delegation panel finds members by name +- [ ] #7 Confirm delegation creates edges, recomputes weights, nodes resize live +- [ ] #8 Member list sidebar shows per-authority G/E/T absolute weights +- [ ] #9 Detail panel shows weight breakdown: base − delegated + received per authority +- [ ] #10 Badge shows integer token count per authority in trust mode +- [ ] #11 Zoom buttons use 2x/0.5x steps with 200ms animation +- [ ] #12 Authority-filtered edge view: specific authority shows only that domain's delegation edges + + +## Final Summary + + +Implemented across 6 phases over multiple sessions:\n\n**Phase 1**: Authority display remap (AUTHORITY_DISPLAY maps in 3 components)\n**Phase 2**: 150 demo members with mulberry32 PRNG delegation generator replacing 3×70 hardcoded arrays\n**Phase 3**: Weight accounting system (WeightAccounting interface, effectiveWeight per authority)\n**Phase 4**: Concentric sphere layout (Fibonacci spiral on sphere surfaces) with wireframe SphereGeometry guides\n**Phase 5**: Multi-select delegation panel with fuzzy search, per-node per-authority sliders\n**Phase 6**: Authority-filtered edge view in updateGraphData()\n\n**Follow-up refinements**:\n- Responsive zoom (2x/0.5x, scroll 2.5x, 200ms animation)\n- Larger nodes (6-56px) and text labels (512×96 canvas, 36px font, 14×3.5 sprite)\n- Member list sidebar with click-to-fly-to-node\n- Absolute token weights: base×100 − delegated + received (no averages)\n- Detail panel weight breakdown per authority\n- Fixed vite build: wasmBuild() wrapper for all sub-builds\n\nCommits: 7cab8d6, 20c4a19, d4bb1da +