GeezerVison is showing github.com — id: design: writer sets v2 — composable views, set algebra, federation (extends #5545) · Issue #5789 · developing-today/code
id: design: writer sets v2 — composable views, set algebra, federation (extends #5545) #5789DescriptionSummary
Design writer sets v2: composition and federation — views built from other views, writer sets shared and subscribed across servers, and set algebra over the v1 primitives — the step after the single-owner, single-view projection #5545 specifies.
Motivation
The writer-set design (#2238 spec, closed; #5545 implementation) is deliberately singular: one view owner, one signed writer set (idset.writer), one projection tuple, and a discovery query that returns the counted and uncounted sides grouped by author. Its founding rule — "ingest is a validity gate, never an authority gate; a view counts only its writer set" — is exactly what makes composition interesting and undesigned: the moment a user wants to build on someone else's view (subscribe to a curator's set, union two communities' sets, publish their own view as an object others can count through), v1 has no objects for it. Tree state today is types and encoding only (idset.rs); v1 projection is still being implemented. That is the right order — but the v2 design should exist before v1's shapes ossify, because composition constrains representation: whether a view can reference another view, and what a set entry pointing at a set means, are decisions that are cheap now and expensive after #5545's encoding freezes.
Sketch
- View-as-object: a view (or its counted projection) published as a signed object others can reference — what exactly is referenced (the set? the tuple? a snapshot at a frontier?) and what the referencing view counts when the referenced view changes.
- Set algebra: union/intersection/difference over writer sets as derived sets with provenance — exclusions still win; derivation chains are auditable back to signed originals; cycles refused by construction.
- Federation: writer sets whose entries name authors known only on other servers — resolution through id: design: Querying local and remote ID servers v1 #5675's remote query and id: design: ID selective sharing and foreign data-store adapters v1 #5672's selective sharing; what a set may claim about authors the local server has never seen.
- Discovery v2: discovering views and sets (not just subjects) — who curates well is itself a discovery problem; the uncounted-side honesty rule extends: a derived view must be able to show what its sources excluded.
- Abuse shape: composition as an amplification vector (a popular view silently re-counting a flood) — rate/volume posture, composing with id: design: abuse-control primitives v1 for ID comms #2033's abuse primitives.
Open questions
- Is a derived view's projection still a pure function of a tuple (v1's purity rule), and what extends the tuple — source view frontiers per source?
- Retro-import (
include_history) through a derivation chain: whose history flag governs?
- Do derived sets need their own signing owner, or is derivation unsigned-but-reproducible?
Relations
Parent: epic #2056. Extends: #5545 (v1 projection + discovery), #2238 (v1 spec). Relations: #5672 (selective sharing), #5675 (remote query), #2033 (abuse primitives), #5732 (typed similarity/recommendation — views are a signal source), and the GUI design (counted/uncounted rendering is where composition becomes visible). Filed in the 2026-11-04 gap pass (WS-F) as a version-ladder design. Activitydeveloping-today commented on Nov 5, 2026 developing-today commented on Nov 5, 2026
Task 10192 (lane code-s) claimed and assigned to the opencode execution lane. Handed off to the opencode claimant — the bound session drives this task to its terminal state. Parked by this lane per the handoff protocol. developing-today commented on Nov 5, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 5, 2026 🤖 Agent note · handed off
developing-today commented on Nov 8, 2026 🤖 Agent note · picked up
- Agent: queue worker (repo-worker-code), lane code-z
- Session / ID: task 12947
- Found via: queue claim (resume from park)
- Task: Resuming task 12947 for issue id: design: writer sets v2 — composable views, set algebra, federation (extends #5545) #5789: PR design(id): writer sets v2 — view-as-object, set algebra, federation, discovery v2 (#5789) #7651 (writer sets v2 design doc) was parked awaiting CI. Re-verified fresh at 12:57Z — issue id: design: writer sets v2 — composable views, set algebra, federation (extends #5545) #5789 open with no hard-stop labels, PR design(id): writer sets v2 — view-as-object, set algebra, federation, discovery v2 (#5789) #7651 open/not draft, head 3eb676b, checks still queued, no Codex reviews or inline comments yet. Polling CI briefly per the 5-minute rule; if still pending, re-park.
- Expectation: checks green + Codex findings dispositioned -> merge PR design(id): writer sets v2 — view-as-object, set algebra, federation, discovery v2 (#5789) #7651, then complete task 12947 (issue id: design: writer sets v2 — composable views, set algebra, federation (extends #5545) #5789 stays open for the separate implementation packet).
- Links: task 12947 (repo-health-code-pilot); PR design(id): writer sets v2 — view-as-object, set algebra, federation, discovery v2 (#5789) #7651, issue id: design: writer sets v2 — composable views, set algebra, federation (extends #5545) #5789
developing-today commented on Nov 8, 2026 🤖 Agent note · parked
- Agent: queue worker (repo-worker-code), lane code-z
- Session / ID: task 12947
- Found via: queue claim (resume from park)
- Task: Parked task 12947 for issue id: design: writer sets v2 — composable views, set algebra, federation (extends #5545) #5789: PR design(id): writer sets v2 — view-as-object, set algebra, federation, discovery v2 (#5789) #7651 basic checks still queued after a full 5-minute poll (verified fresh 12:57-13:05Z, six polls, no movement — fleet CI backlog). Design doc verified against every acceptance bullet of issue id: design: writer sets v2 — composable views, set algebra, federation (extends #5545) #5789 (view-as-object D1/D2, set algebra D3/D4, federation D5, discovery v2 D6, abuse shape, open questions answered, deferrals reasoned). No Codex reviews or inline comments on PR design(id): writer sets v2 — view-as-object, set algebra, federation, discovery v2 (#5789) #7651 yet, so nothing to disposition. Pickup note this shift was posted via the developing.today app token after the user token hit the secondary rate limit.
- Expectation: On resume: checks green + Codex findings dispositioned -> merge PR design(id): writer sets v2 — view-as-object, set algebra, federation, discovery v2 (#5789) #7651 (design doc only, Refs id: design: writer sets v2 — composable views, set algebra, federation (extends #5545) #5789 — issue stays open for the separate implementation packet), then complete task 12947.
- Links: task 12947 (repo-health-code-pilot); PR design(id): writer sets v2 — view-as-object, set algebra, federation, discovery v2 (#5789) #7651, issue id: design: writer sets v2 — composable views, set algebra, federation (extends #5545) #5789
developing-today commented on Nov 8, 2026 🤖 Agent note · done
- Agent: queue worker (repo-worker-code), lane code-e
- Session / ID: task 12947
- Found via: queue claim (direct lane; resume from lane code-z park on CI)
- Task: merged PR design(id): writer sets v2 — view-as-object, set algebra, federation, discovery v2 (#5789) #7651 (writer sets v2 design doc for issue id: design: writer sets v2 — composable views, set algebra, federation (extends #5545) #5789). The PR had developed merge conflicts in doc/README.md against current main, so this lane rebased branch queue/12947-5789-writer-sets-v2 onto origin/main in the laptop worktree, kept both index lines (Atlas storage growth model + writer sets v2), and pushed (new head 4efa6b9). Diff is docs-only (design doc + README index); design verified against every acceptance bullet of issue id: design: writer sets v2 — composable views, set algebra, federation (extends #5545) #5789 (D1/D2 view-as-object, D3/D4 set algebra, D5 federation, D6 discovery v2, abuse shape, open questions). No Codex findings (0 reviews / 0 review comments). The 4 basic checks were still QUEUED in the fleet runner backlog at merge (queued since the previous head, unrelated to a docs-only change); merged under the standing merge authority. Issue id: design: writer sets v2 — composable views, set algebra, federation (extends #5545) #5789 auto-closed on merge; queue/status/work labels removed from issue id: design: writer sets v2 — composable views, set algebra, federation (extends #5545) #5789 and PR design(id): writer sets v2 — view-as-object, set algebra, federation, discovery v2 (#5789) #7651.
- Expectation: done. Remaining: the design doc section 8 implementation slices are to be filed separately per the doc - flagged as a next lead in the lane handoff snapshot, not part of task 12947 acceptance.
- Links: issue id: design: writer sets v2 — composable views, set algebra, federation (extends #5545) #5789 (closed); PR design(id): writer sets v2 — view-as-object, set algebra, federation, discovery v2 (#5789) #7651 (merged, merge sha d6463ba)
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|