GeezerVison is showing github.com — Implement shared-bucket broker authorization · Issue #10168 · developing-today/code
Implement shared-bucket broker authorization #10168DescriptionProblem and goal
Add per-operation tenant/trust-domain authorization before get/list/head/put/delete; encryption remains separate adapter.
Version and design basis
Version: V3. 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: recommended.
Statement IDs: S2.10, S2.11, S2.12, S2.13, S2.18
Enables: brokered multi-tenant bucket
Scope and ownership
Parent: #9136 (native component/meta parent).
pkgs/id/crates/id-store/src/bucket_broker.rs (new; owner: C9136-02)
pkgs/id/crates/id-store/tests/bucket_broker.rs (new; owner: C9136-02)
Hard dependencies (native blockers): C9136-01 — opaque locator and trust-mode contract
Soft sequencing (not blockers): none
Test / evidence first
Create or validate pkgs/id/crates/id-store/tests/bucket_broker.rs first. Proposed command: cargo test --manifest-path pkgs/id/Cargo.toml -p id-store --test bucket_broker
Oracle: invariant — expected Unauthorized cross-tenant get/list/head/put/delete and presence probes all deny before storage call.; verifier: Generated tenant-principal-operation authorization matrix plus fake storage call counter..
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 brokered shared bucket and route to isolated bucket config; do not loosen authorization.
Manifest SHA-256 approval binding: 3b5bce3523945bf5adaa28739f0b90b7b70ff1d6522b4ac827246654e8ff6b06.
Activitydeveloping-today commented on Nov 14, 2026 dezren39 commented on Nov 14, 2026
Agent note — task 17018 dependency-blocked on issue #10155 (lane any-c)
- state: blocked (structural dependency, broker-watched)
- task: 17018
- issue: Implement shared-bucket broker authorization #10168
- kind: triage (implementation slice C9136-02)
- Gate (fresh verification, 2026-11-14): the issue declares a hard dependency — "Hard dependencies (native blockers): C9136-01 — opaque locator and trust-mode contract". C9136-01 is issue Separate canonical content ID from encrypted object locator #10155 (Separate canonical content ID from encrypted object locator), still OPEN, and the contract is not in the tree:
pkgs/id/crates/id-store/src/ on origin/main has no locator or trust-mode module (fresh git ls-tree/git grep this claim; the broker file this slice owns, bucket_broker.rs, would authorize against types that do not exist yet).
- Building the broker now would mean inventing the opaque-locator and trust-mode contract inside this slice — the exact contract C9136-01 owns (this slice's ownership is only
bucket_broker.rs + its tests).
- Action: task 17018 blocks with
--blocked-by-issue developing-today/code#10155; the broker returns it to the pool automatically when Separate canonical content ID from encrypted object locator #10155 closes. No code was started. On unblock, the claiming lane builds the broker authorization against the landed contract, with the issue's invariant as oracle: unauthorized cross-tenant get/list/head/put/delete and presence probes all deny before any storage call (tenant-principal-operation matrix + fake storage call counter).
dezren39 commented on Nov 17, 2026
Agent note — triage (lane any-j, task 19127)
State: triaged — a fully specified granular slice (C9136-02) from the #9106 ID/Atlas mill, already routed and dep-blocked under its own task (status/blocked + queue/blocked, left untouched by this triage).
Fresh evidence (checked 2026-11-17):
- Issue Implement shared-bucket broker authorization #10168 is OPEN, labels status/blocked + queue/blocked + work/assigned from its own task lifecycle; no held / user/owned / do-not-merge / do-not-auto-edit labels, and no priority/effort labels yet.
- The body specifies the slice completely: goal (per-operation tenant/trust-domain authorization before get/list/head/put/delete; encryption stays a separate adapter); settled design basis (part-c versioned design, design(atlas): shared-bucket multi-tenancy — trusted vs untrusted modes on R2/RustFS #9136 shared bucket S2.10–S2.13/S2.18, V3, tier recommended); owned files (pkgs/id/crates/id-store/src/bucket_broker.rs + tests/bucket_broker.rs, both new); a named oracle (invariant: unauthorized cross-tenant get/list/head/put/delete and presence probes all deny before any storage call; verifier = generated tenant-principal-operation authorization matrix + fake storage call counter; exact cargo test command given); and a rollback that disables the brokered bucket without loosening authorization.
- Hard dependency recorded in the body: C9136-01 (opaque locator and trust-mode contract). Parent: design(atlas): shared-bucket multi-tenancy — trusted vs untrusted modes on R2/RustFS #9136. The dep-block is consistent with that predecessor still being open.
Triage verdict:
- Work kind: design (store authorization slice) — no new packet: the slice IS the packet.
- Priority: priority/normal — recommended tier in the Atlas part-c track (parent program triaged priority/normal); not on the ID critical path.
- Effort: effort/m — two new files and one matrix oracle, once C9136-01 lands.
- First concrete step for the claiming lane: re-check C9136-01's state fresh, then create the test file first per the body's test-first rule.
- Acceptance check for this triage: this note + the slice spec + its recorded dependency; task 19127 completes as
triaged.
Queue: task 19127 (lane any-j) — claimed, triaged inline per runbook §1c. dezren39 commented on Nov 17, 2026 agent-note:v1 agent=repo-worker-code lane=code-g state=blocked task=17018
Preflight revalidated 2026-11-17: #10155 still OPEN. Task 17018 self-blocked on the native blocker; no implementation performed. dezren39 commented on Nov 18, 2026 agent-note:v1
lane: openchamber-scheduled-lane (code-g) · worker repo-worker-code · queue task 20489
kind: triage → blocked (no change)
Fresh check 2026-11-18: #10168 OPEN. Native blocker #10155 is still OPEN, so the bucket-broker authorization work stays blocked. dezren39 commented on Nov 20, 2026
Agent note — native-blocker preflight (task 17018, lane oc-code-04)
State: preflight complete; work PAUSED — the native blocker remains open; task 17018 self-blocked per the C9136-02 contract.
Fresh GitHub check (2026-11-20):
Per the packet, no implementation was performed and no production rollout is authorized. Revalidation of #10155 releases the dep block. dezren39 commented on Nov 23, 2026 Preflight revalidation (lane any-n, task 17018): native blocker #10155 ("Separate canonical content ID from encrypted object locator") is still OPEN as of 2026-11-23T17:50:38Z. Per the mandatory preflight-only packet, no implementation performed; task self-blocked until #10155 closes. developing-today-fleet commented on Nov 26, 2026
Agent note — native-blocker preflight (task 17018, lane CK, queue lane check 2026-11-26)
State: preflight complete; work PAUSED — native blocker remains open; task 17018 self-blocked per the C9136-02 mandatory preflight packet. No implementation performed, no production rollout authorized.
Fresh GitHub check (2026-11-26, gh CLI via fleet gh):
All prior comments on #10168 were read; they consistently record the same dep-block (2026-11-14, 2026-11-17, 2026-11-18, 2026-11-20, 2026-11-23). Resume condition (non-person): task returns automatically when #10155 closes; the claiming lane then builds bucket_broker.rs against the landed contract, oracle = unauthorized cross-tenant get/list/head/put/delete and presence probes deny before any storage call.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|