GeezerVison is showing github.com — design(atlas): shared-bucket multi-tenancy — trusted vs untrusted modes on R2/RustFS · Issue #9136 · developing-today/code
design(atlas): shared-bucket multi-tenancy — trusted vs untrusted modes on R2/RustFS #9136Closed 0 / 20 of 2 issues completedClosed 0 / 20 of 2 issues completed DescriptionProgram #9106 (extensible primitives / federation / namespaces), Drew directive 2026-11-12 18:29 CST.
Parent: #9109.
§2 (10-13, 18). One (or a set of) R2/RustFS buckets serving many ID instances. Trusted mode: sync just ID + hash. Untrusted mode: broker and/or encryption so co-tenants see only encrypted blobs. Trusted-vs-untrusted is a per-bucket/per-tenant threat model, not a global flag. Feeds content plane #9084. Acceptance: design section merged under doc/ (or folded into a named existing design by amendment with the link recorded on the parent epic); open questions recorded with chosen defaults; granular implementation issues filed for anything implementable. Sub-issuesCollapse Sub-issuesSub-issues0 of 20 of 2 Issues completedLoading 2 sub-issues Activitydeveloping-today commented on Nov 13, 2026 dezren39 commented on Nov 17, 2026 🤖 Agent note · triaged
- Agent: queue worker (repo-worker-code), lane any-h
- Session / ID: task 18880
- Found via: queue claim
- Verdict: a program epic: ID/Atlas extensible primitives, federation, namespaces — major design iteration (2026-11-12 directive) #9106 design (parent epic(atlas): Part C — Atlas-facing: storage economics, benchmarks, ID search, recommendations #9109) feeding content plane design(pm-stack): content-addressed media/data plane — R2 dedup, reference-based access, GC when the last reference drops #9084, routed as a scoped design packet with the issue's acceptance template as the packet's acceptance.
- Enqueued: task 20329 (dedupe key repo-health:v1:fix:developing-today/code:issue:9136). Bindings: trusted mode syncs just ID + hash; untrusted mode (broker and/or encryption) must demonstrably limit co-tenants to encrypted blobs — the packet's test is a two-tenants-one-bucket worked example, byte for byte; mode selection is per-bucket/per-tenant by a stated threat-model rule, never a global flag; the design(pm-stack): content-addressed media/data plane — R2 dedup, reference-based access, GC when the last reference drops #9084 feed is stated and cross-linked, while design(pm-stack): content-addressed media/data plane — R2 dedup, reference-based access, GC when the last reference drops #9084's internals stay its own.
- Labels: kind/design, epic/atlas-program stand; task/small-fix added for the routed packet.
dezren39 commented on Nov 18, 2026 agent-note:v1
state: picked_up
task: 20329
lane: oc-code-02 (OpenChamber scheduled lane, worker repo-worker-code)
stage: claimed -> verified
Claimed task 20329 and checkpointed it with origin openchamber-scheduled-lane. Fresh GitHub revalidation: #9136 is OPEN; no open PR references it; labels include kind/design and task/small-fix; it is assigned to dezren39; no hard-stop labels (held, user/owned, do-not-merge, do-not-auto-edit). The packet says kind small_fix, but its acceptance requires a design section and granular implementation issues, so I am checking whether this is a material packet defect before any worktree is created.
dezren39 commented on Nov 18, 2026 agent-note:v1
state: blocked
task: 20329
lane: oc-code-02 (OpenChamber scheduled lane, worker repo-worker-code)
stage: packet_defect
Blocked task 20329 as packet_defect. The task packet classifies #9136 as small_fix/task/small-fix, but the live issue is kind/design and its acceptance requires a design deliverable plus granular follow-up issues. No worktree, edits, or PR were created.
Resume condition: re-enqueue with a design-capable task kind/lane and acceptance suitable for that lane; preserve the issue requirements (per-bucket/per-tenant threat model, untrusted-mode confidentiality, #9084 cross-link).
dezren39 commented on Nov 23, 2026 agent-note:v1
state: done_check_passed
lane: lane-mg (sandbox fix lane, worker archer)
stage: verified -> closed
Done check for #9136 — all three acceptance criteria verified first-hand on current main (f69abc3):
-
Design section merged under doc/ — doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-c/versioned-design.md, section "design(atlas): shared-bucket multi-tenancy — trusted vs untrusted modes on R2/RustFS #9136 shared bucket (S2.10–S2.13, S2.18)": BucketRef { bucket_id, trust_domain, mode: Trusted|BrokeredUntrusted, locator_profile, encryption_profile }; canonical ContentId/PayloadId stay separate from the tenant-scoped opaque ciphertext locator (global IDs are never silently changed to keyed IDs); in untrusted mode co-tenants see ciphertext payloads only; per-request broker authorization precedes object operations; broker and encryption are separate interfaces; hash equality, HEAD/list, timing, metadata and dedup are named leakage dimensions; tenant/trust-domain is mandatory and missing isolation config rejects. Statements S2.10–S2.13 and S2.18 are homed to this issue in inventory/statement-map.json.
-
Open questions recorded with chosen defaults — part-c/research.md, section "design(atlas): shared-bucket multi-tenancy — trusted vs untrusted modes on R2/RustFS #9136 — shared buckets and trust modes (S2.10–S2.13, S2.18)", records the alternatives considered (shared bucket with opaque locator + broker; separate buckets; client-side envelope encryption; server-side encryption alone) and the chosen shape the versioned design carries as contract: canonical plaintext CAS identity kept separate from the physical ciphertext locator, brokered opaque mapping hiding plaintext ID/path/metadata by policy, broker authorization and encryption as distinct concerns, fail-closed on missing tenant/trust-domain configuration.
-
Granular implementation issues filed — the two slices defined in part-c/implementation-slices.json are filed and open: Separate canonical content ID from encrypted object locator #10155 (C9136-01, separate canonical content ID from encrypted object locator — id-store bucket_locator) and Implement shared-bucket broker authorization #10168 (C9136-02, shared-bucket broker authorization — id-store bucket_broker). Their completion is their own work; both currently sit behind the design(pm-stack): content-addressed media/data plane — R2 dedup, reference-based access, GC when the last reference drops #9084 chain, which does not gate this design issue.
The earlier packet_defect block (task 20329) was a packet misclassification — this issue is kind/design and its acceptance is the design deliverable above, not a small fix. Closing as completed on this evidence.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|