From 0de5ab6698c6fece491fe13eddf09981f0cc9c87 Mon Sep 17 00:00:00 2001 From: David Young Date: Wed, 25 Nov 2026 12:47:14 -0700 Subject: [PATCH] PLAN.md: Phase 13 is built, and was run for real with Garage Co-Authored-By: Claude Opus 5.5 --- PLAN.md | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/PLAN.md b/PLAN.md index ce5c88a..be19d05 100644 --- a/PLAN.md +++ b/PLAN.md @@ -54,8 +54,9 @@ merged** (2026-11-25): a new `compose.server.yaml` and `install-server.sh`. tools over MCP, approvals, limits and visibility, and the JSON API. Schema 39. -**Phase 13 (multi-tenant) is under way** on branch `phase13`, with a -Postgres schema per team (decided 2026-11-26); parts 1–9 are built. +**Phase 13 (multi-tenant) is built** on branch `phase13`, not yet merged, +with a Postgres schema per team (decided 2026-11-26); schema 42. Next is +Phase 14 (billing), or Phase 12 once the Core's `idproviders.yml` is in. **Phase 12 (signing in with the Core, OIDC) is set aside for now** (2026-11-26): before it starts, the user will share the Federated Core's @@ -2957,8 +2958,21 @@ starts.** three copies on one database run a round of a job for six teams at once; each team's turn runs exactly once, the copies share them, and any copy answers a team's requests. -- Not run yet: the whole multi-tenant edition in Docker with Garage (the - server edition's was, in Phase 10). +- Run for real (2026-11-26): the app's binary as the multi-tenant edition + against a fresh Postgres database and a one-node Garage in Docker. + `supermarket config` found both (the database reachable, the bucket + writable); two teams signed up over HTTP, each got its schema and role; + each saw only its own profile; a photo went to Garage under the team's + prefix (one object) and came back, and the other team got a 404 for it. + Not run: `compose.multi.yaml` itself, with several copies behind Caddy. + +**Part 10 (hosting) 2026-11-26.** Nothing more to build: Supermarket only +speaks the S3 API (Garage was checked for real above), each team's files +are under `teams//` within the bucket's prefix, and Postgres is the +cloud's managed one (its user needs `CREATEROLE`). Left to whoever runs it, +as decided: three Garage nodes in different zones, a bucket and key per +environment, and versioning or a nightly `rclone` copy elsewhere. +**Phase 13 is built.** 1. **Teams everywhere.** - Every table that holds a company's data gets `team_id`, and its