Repository navigation
Description
Problem and goal
Define trusted/untrusted bucket metadata, opaque locator mapping, broker checks and leakage model without changing global CAS IDs.
Version and design basis
Version: V2. Settled design: https://github.com/developing-today/code/blob/main/doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-c/versioned-design.md#9136-shared-bucket-s210s213-s218 (section: #9136 shared bucket (S2.10–S2.13, S2.18)).
Tier: crucial.
Statement IDs: S2.10, S2.11, S2.12, S2.13, S2.18
Enables: encrypted shared-bucket implementation
Scope and ownership
Parent: #9136 (native component/meta parent).
pkgs/id/crates/id-store/src/bucket_locator.rs(new; owner: C9136-01)pkgs/id/crates/id-store/tests/bucket_locator.rs(new; owner: C9136-01)
Hard dependencies (native blockers): 9083 — tenant authorization scope and trust-domain boundary; 9084 — content identity, ciphertext storage and object lifecycle contract
Soft sequencing (not blockers): none
Test / evidence first
Create or validate pkgs/id/crates/id-store/tests/bucket_locator.rs first. Proposed command: cargo test --manifest-path pkgs/id/Cargo.toml -p id-store --test bucket_locator
Oracle: invariant — expected Canonical ContentId/PayloadId remains unchanged while physical locator may be tenant-opaque; untrusted co-tenant receives ciphertext only and cannot resolve another tenant locator.; verifier: Independent tenant locator/encryption policy model..
Done and rollback
Done when the declared oracle passes and test/evidence output plus changed-file summary is attached. Research evidence: not applicable.
Rollback: Disable shared-bucket adapter and retain per-tenant physical buckets; never rewrite global IDs.
Manifest SHA-256 approval binding: 3b5bce3523945bf5adaa28739f0b90b7b70ff1d6522b4ac827246654e8ff6b06.
Acceptance criteria
- Canonical content ID is separated from the encrypted object locator per the settled design section cited in the body (parent design(atlas): shared-bucket multi-tenancy — trusted vs untrusted modes on R2/RustFS #9136), so the locator can rotate without changing content identity.
- Evidence for the result (test run, live check, or the delivered artifact) is linked on this issue.
- Follow-on work, if any remains, is filed as its own issue and linked here.
Activity
developing-today commentedon Nov 14, 2026
CODE-3580
dezren39 commentedon Nov 14, 2026
Preflight record — task 17005 / slice C9136-01 (lane code-d, 2026-11-14)
dezren39 commentedon Nov 17, 2026
agent-note:v1 — openchamber scheduled lane (code-g), queue task 19115 (triage). Verdict: still blocked. Fresh check 2026-11-17: #10155 OPEN; native blockers #9083 and #9084 both still OPEN. Work stays paused until they close. Task blocked with reason class blocked.
dezren39 commentedon Nov 17, 2026
Mandatory preflight block: blockers #9083 (tenancy architecture) and #9084 (content-addressed media/data plane) remain OPEN. No implementation work started. Resume only when all native blockers are closed.
dezren39 commentedon Nov 20, 2026
agent-note:v1
state: picked_up -> blocked
task: 17005
lane: oc-code-02 (OpenChamber scheduled lane, worker repo-worker-code)
origin: openchamber-scheduled-lane
stage: preflight -> self-blocked
Mandatory preflight for slice C9136-01 (issue #10155) claimed and executed. Fresh GitHub check: issue #10155 is OPEN; both native blockers #9083 (tenancy architecture) and #9084 (content-addressed media/data plane) remain OPEN. Per the packet instruction the claimed task is self-blocked with no implementation performed and no production rollout. No contingent research trigger exists for this slice.
Resume: re-run this preflight and unblock when #9083 and #9084 close; implementation then proceeds only within the approved scope and stated oracle.
9 remaining items
developing-today-fleet commentedon Nov 29, 2026
Priority validation 2026-11-29 (Felix): priority/high → priority/normal — crucial-tier specification slice, but it sits behind the open #9084 design hub and gates a single normal-band follow-on (#10168); no time-sensitive work waits on it — the scheduling band is normal even though the design tier is crucial
developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29
Wave-2 residual pass. A parallel census note (
Census 2026-11-29 (Felix)) already covers this issue today, and wave 1 of this census audited the head of this group; their verdicts are not duplicated here. This note records only the residual fixes applied after re-verifying the live state (state, body, labels, recent comments) immediately before editing.Residual gaps found: no
kind/*label (a parallel census note today left it for the picking-up lane; set here from the title/body); noapp/*/area/*label although the owning project is clear from the title/body; noeffort/*label; no acceptance-criteria section.Actions taken: labels added:
kind/design,app/atlas,effort/m; appended## Acceptance criteria(original body text unchanged above it).Blocker recorded in this census note: the issue carries
status/blocked+queue/blocked; its Scope and ownership section names the parent and hard dependencies — the wait is on those, not on missing detail here.Priority:
priority/normalretained — matches the work's urgency as evidenced on the issue; no band change in this pass.developing-today-fleet commentedon Nov 30, 2026
🤖 P0.4a stale-edge prune — Felix lane 0640-PA, 2026-11-30 (Refs #17071)
blockedByedge to design(pm-stack): content-addressed media/data plane — R2 dedup, reference-based access, GC when the last reference drops #9084 (closed) via the dependencies API (HTTP 200, verified by re-query: this issue'sblockedByno longer lists design(pm-stack): content-addressed media/data plane — R2 dedup, reference-based access, GC when the last reference drops #9084, and design(pm-stack): content-addressed media/data plane — R2 dedup, reference-based access, GC when the last reference drops #9084'sblockingcount is now 0 across all 7 dependents).status/blockedandqueue/blockedremoved. (Any remaining closedblockedByedges on this issue are inert and belong to the P1.2 batch prune.)status/blocked/queue/blockedcarried. After: edge gone, 0 open blockers, blocked labels cleared.developing-today-fleet commentedon Nov 30, 2026
🤖 Agent note — claimed by lane 0322-AP (Archer seat, delta PRESS 0322 refill), 2026-11-30
Claim-scan (live, this lane): issue OPEN; newest comments are 2026-11-29 census/priority notes + Felix 0640-PA's stale-edge prune today (blockedBy #9084 removed — #9084 CLOSED). No live claimer;
work/assignedis a stale label from the delivery manifest, with no agent-note claim in the thread.Scope I will land (per issue body, owner C9136-01): new
pkgs/id/crates/id-store/src/bucket_locator.rs— canonical ContentId separated from the tenant-opaque encrypted object locator: per-tenant keyed locator derivation, broker resolution checks scoped to the owning tenant, co-tenant leakage model (ciphertext only, no foreign locator resolution), and key rotation that rotates locators without ever changing content IDs. Pluspkgs/id/crates/id-store/tests/bucket_locator.rscarrying the stated invariant oracle, checked against an independent tenant/locator model.Wake: PR opened from this lane → merge when verified (diff read against purpose; CI not a gate).
feat(id-store): separate canonical content ID from tenant-opaque buck…
test(id-store): bucket locator invariant oracle (#10155)
feat(id-store): separate canonical content ID from tenant-opaque buck…