Pooled storage across a community's devices — prove it live #2084

Open
opened 2026-10-29 14:12:29 +00:00 by ben · 2 comments
Owner

Why

Resource Pooling (M3 3.1) delivered capacity-aware placement and telemetry; the Garage storage module landed in #1754. What has not been shown live is storage contributed by two or more devices serving as one pool.

Done when

  • A live drive shows one service's data spread across ≥2 community devices
  • The data stays served when one of those devices is removed
  • The proof is recorded against #2055
## Why Resource Pooling (M3 3.1) delivered capacity-aware placement and telemetry; the Garage storage module landed in #1754. What has not been shown live is storage contributed by two or more devices serving as one pool. ## Done when - [ ] A live drive shows one service's data spread across ≥2 community devices - [ ] The data stays served when one of those devices is removed - [ ] The proof is recorded against #2055

This was generated by AI during triage.

Ruled by agent under ADR 0174 — veto anytime.

Ruling: ready-for-session (not ready-for-agent, not ready-for-human). This is a live multi-device drive: it needs real infrastructure an interactive session with clan-lab standing can stand up — not a swarm worker (which has no live fleet) and not Ben's hands (the contributing devices can be lab droplets/VMs).

Why it is a two-way door: it only proves already-shipped behaviour (the Garage storage module #1754 + M3 capacity-aware placement/telemetry); it changes no code posture, touches no credentials/security/member-facing trust, destroys no data, and spends nothing non-routine. The proof is recorded, not a commitment.
What proves it: the drive record against #2055 — one service's data spread across ≥2 community devices, still served after one is removed.

Session Brief

Category: enhancement
Summary: Prove, live, that storage contributed by ≥2 devices serves as one pool and survives a device removal.

Current behavior:
M3 Resource Pooling shipped capacity-aware placement + telemetry; the Garage storage module landed in #1754. Pooled storage across ≥2 devices has not been shown live.

Drive steps / desired behavior:

  • Stand up a community with ≥2 storage-contributing devices (clan-lab).
  • Place one service whose data spreads across those devices as one pool.
  • Remove one contributing device; confirm the data stays served.

Acceptance criteria:

  • A live drive shows one service's data spread across ≥2 community devices
  • The data stays served when one of those devices is removed
  • The proof is recorded against #2055

Needs a session because: live-infrastructure operation (clan-lab / real fleet); invisible to the swarm queue by construction (ready-for-session).

> *This was generated by AI during triage.* **Ruled by agent under ADR 0174 — veto anytime.** **Ruling:** `ready-for-session` (not `ready-for-agent`, not `ready-for-human`). This is a live multi-device drive: it needs real infrastructure an interactive session with clan-lab standing can stand up — not a swarm worker (which has no live fleet) and not Ben's hands (the contributing devices can be lab droplets/VMs). **Why it is a two-way door:** it only *proves* already-shipped behaviour (the Garage storage module #1754 + M3 capacity-aware placement/telemetry); it changes no code posture, touches no credentials/security/member-facing trust, destroys no data, and spends nothing non-routine. The proof is recorded, not a commitment. **What proves it:** the drive record against #2055 — one service's data spread across ≥2 community devices, still served after one is removed. ## Session Brief **Category:** enhancement **Summary:** Prove, live, that storage contributed by ≥2 devices serves as one pool and survives a device removal. **Current behavior:** M3 Resource Pooling shipped capacity-aware placement + telemetry; the Garage storage module landed in #1754. Pooled storage across ≥2 devices has not been shown live. **Drive steps / desired behavior:** - Stand up a community with ≥2 storage-contributing devices (clan-lab). - Place one service whose data spreads across those devices as one pool. - Remove one contributing device; confirm the data stays served. **Acceptance criteria:** - [ ] A live drive shows one service's data spread across ≥2 community devices - [ ] The data stays served when one of those devices is removed - [ ] The proof is recorded against #2055 **Needs a session because:** live-infrastructure operation (clan-lab / real fleet); invisible to the swarm queue by construction (`ready-for-session`).

Ruled by agent under ADR 0174 — veto anytime.

Routing: ready-for-human (Ben's eyes — a roadmap judgement, not a drive). Not a two-way-door ruling a session can adopt, and not re-queued ready-for-session: a re-attempt would hit the same wall and burn the second attempt before escalating.

What I found (verified in the repo, not the ticket's framing)

The triage ruling read this as "only proves already-shipped behaviour." It isn't shipped. The capability the Done-when asks for — one service's live data spread across ≥2 of a community's own devices as one pool, still served when one device is removed — is a multi-node Garage cluster (RF across zones) inside a founded community. That shape exists only as the S13 spike, never productionised:

  • The shipped Garage module (#1754) is the opposite shape. ADR 0269 ships Garage as a single-node, single-zone offsite backup target on one hand-run box (garage layout assign $NODE -z idss -c 30G → layout apply --version 1, docs/ops/idss-storage-install.md). It holds a partner community's sealed backup copies, not a live service's data, and ADR 0269 explicitly defers the in-community clan/NixOS module: "A clan/NixOS module may exist later, in addition … but must never be the only way to run this."
  • Production placement homes each dataset on a single node. control-plane/cmd/control-plane/whole_composition.go:1111-1119 — "a files placement becomes the 'Files & documents' dataset homed on its node" — and the same block flags "Richer placement (per-node service assignments and the datasets they home)" as future work (:1082-1084). Nothing spreads one service's data across devices.
  • Multi-node Garage lives only in spikes/S13-clan-orchestration/. docs/spike-findings/S13-clan-orchestration.md:255-287 proves the pattern (node1/2/3, RF=3, zones a/b/c, garage node connect + layout assign/apply, a nextcloud→media bucket served across three zones) — as a spike with a local-override idss-garage clanService, with open gotchas (clan-core opens no firewall ports 3900-3902; reconciler PATH; RPC-not-admin-API). It was never ported into the founding/placement path.
  • "Resource Pooling (M3 3.1)" does not fill the gap. "capacity-aware placement + telemetry" decides which single device a whole service lands on by capacity; it does not replicate one service's storage across devices. No docs/ text even carries the "Resource Pooling"/"capacity-aware" phrasing.

So there is no shippable artifact to drive. I did not stand up a clan-lab — spending lab-droplet money on a drive that cannot succeed (nothing to deploy) would be waste, not proof. The honest blocker is a missing feature, not a missing door.

Why human

Deciding the path forward is a roadmap call (Ben's eyes), not a two-way-door a session can rule — the work it unblocks is a real feature (port S13's multi-node idss-garage clanService into production founding + placement, with layout/reconciler/firewall), and whether/when to build it is a scope decision. Proposed defaults, pick one:

  1. Build then drive — spin a build ticket to productionise the S13 multi-node pooled-Garage pattern into community founding (so a service's dataset can home across ≥2 devices with RF replication). #2084 then becomes a genuine ready-for-session drive, blocked on that build.
  2. Re-scope #2084 to prove what #1754 did ship — the single-box offsite Garage target end to end (seal → S3 Put to a real Garage bucket over the mesh → cold read-back) against #2055. That is drivable today.
  3. Accept the S13 spike (docs/spike-findings/S13-clan-orchestration.md) as sufficient proof of the pooled shape and close/park #2084 with that pointer.

Happy to file the option-1 build ticket or run the option-2 offsite drive in a follow-up session once you rule. Leaving #2084 open and routed to you; its #2055 checklist entry is unwritten until the scope is settled (recording a proof that doesn't exist would be false).

**Ruled by agent under ADR 0174 — veto anytime.** **Routing: `ready-for-human` (Ben's eyes — a roadmap judgement, not a drive).** Not a two-way-door ruling a session can adopt, and not re-queued `ready-for-session`: a re-attempt would hit the same wall and burn the second attempt before escalating. ## What I found (verified in the repo, not the ticket's framing) The triage ruling read this as *"only proves already-shipped behaviour."* It isn't shipped. The capability the Done-when asks for — **one service's live data spread across ≥2 of a community's own devices as one pool, still served when one device is removed** — is a **multi-node Garage cluster (RF across zones) inside a founded community**. That shape exists **only as the S13 spike**, never productionised: - **The shipped Garage module (#1754) is the opposite shape.** ADR 0269 ships Garage as a **single-node, single-zone _offsite backup_ target** on one hand-run box (`garage layout assign $NODE -z idss -c 30G` → `layout apply --version 1`, `docs/ops/idss-storage-install.md`). It holds a partner community's *sealed backup copies*, not a live service's data, and ADR 0269 explicitly defers the in-community clan/NixOS module: *"A clan/NixOS module may exist later, in addition … but must never be the only way to run this."* - **Production placement homes each dataset on a single node.** `control-plane/cmd/control-plane/whole_composition.go:1111-1119` — *"a `files` placement becomes the 'Files & documents' dataset homed on its node"* — and the same block flags *"Richer placement (per-node service assignments and the datasets they home)"* as future work (`:1082-1084`). Nothing spreads one service's data across devices. - **Multi-node Garage lives only in `spikes/S13-clan-orchestration/`.** `docs/spike-findings/S13-clan-orchestration.md:255-287` proves the pattern (node1/2/3, RF=3, zones a/b/c, `garage node connect` + `layout assign/apply`, a `nextcloud`→`media` bucket served across three zones) — as a spike with a local-override `idss-garage` clanService, with open gotchas (clan-core opens no firewall ports 3900-3902; reconciler PATH; RPC-not-admin-API). It was never ported into the founding/placement path. - **"Resource Pooling (M3 3.1)" does not fill the gap.** "capacity-aware placement + telemetry" decides *which single device a whole service lands on* by capacity; it does not replicate one service's storage across devices. No `docs/` text even carries the "Resource Pooling"/"capacity-aware" phrasing. So there is **no shippable artifact to drive**. I did **not** stand up a clan-lab — spending lab-droplet money on a drive that cannot succeed (nothing to deploy) would be waste, not proof. The honest blocker is a missing feature, not a missing door. ## Why human Deciding the path forward is a roadmap call (Ben's eyes), not a two-way-door a session can rule — the work it unblocks is a real feature (port S13's multi-node `idss-garage` clanService into production founding + placement, with layout/reconciler/firewall), and whether/when to build it is a scope decision. **Proposed defaults, pick one:** 1. **Build then drive** — spin a build ticket to productionise the S13 multi-node pooled-Garage pattern into community founding (so a service's dataset can home across ≥2 devices with RF replication). #2084 then becomes a genuine `ready-for-session` drive, blocked on that build. 2. **Re-scope #2084** to prove what #1754 *did* ship — the single-box **offsite** Garage target end to end (seal → S3 Put to a real Garage bucket over the mesh → cold read-back) against #2055. That is drivable today. 3. **Accept the S13 spike** (`docs/spike-findings/S13-clan-orchestration.md`) as sufficient proof of the pooled shape and close/park #2084 with that pointer. Happy to file the option-1 build ticket or run the option-2 offsite drive in a follow-up session once you rule. Leaving #2084 open and routed to you; its #2055 checklist entry is unwritten until the scope is settled (recording a proof that doesn't exist would be false).
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss#2084
No description provided.