PLAN.md: where things stand after Phase 9, and how to pick up again

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-25 08:37:45 -07:00
co-authored by Claude Opus 5.5
parent 5f1b8d59ce
commit d537fb367f
+40 -8
View File
@@ -29,16 +29,45 @@ running a Federated Core can install as a CoreDesktop sibling.
| Teams and domains | A person can belong to several teams; each team works on **one website domain** (with its subdomains) (2026-11-25) | | Teams and domains | A person can belong to several teams; each team works on **one website domain** (with its subdomains) (2026-11-25) |
| Hosting (multi-tenant) | On a cloud, with **Garage** as the object storage we install, and the cloud's managed Postgres (2026-11-25) | | Hosting (multi-tenant) | On a cloud, with **Garage** as the object storage we install, and the cloud's managed Postgres (2026-11-25) |
## Where things stand (2026-11-22) ## Where things stand (2026-11-25)
**Phases 0–6 are built and merged into `main`** (3ddf716; the user pushes **Phases 0–9 are built and merged into `main`** (the user pushes from
from their own terminal). Only Phase 1 is tagged (`v0.1.0`); whether to their own terminal). Only Phase 1 is tagged (`v0.1.0`); whether to tag the
tag the later phases is the user's call. Every module works: Content, Prospects, SEO, later phases is the user's call. Every module works: Content, Prospects,
Metrics and Sites, with Settings → Backups. SEO, Metrics and Sites, with Settings → Backups. TEST.md was run through
by hand and in a headless browser (2026-11-23), and what it found was
fixed. Since then:
- Phase 7: What to write next, from what converts.
- Phase 8: Backlinks.
- The Market (formerly the Inventory), with competitors' prices.
- Listmonk mailing lists, with their opt-outs synced to suppression.
- Phase 9: the groundwork for the server and multi-tenant editions.
**Next: a run through TEST.md by hand** (planned for 2026-11-23), fixing The local edition runs as before, its database at schema 31. The server
what it turns up. Make a backup first: `supermarket backup "before and multi-tenant editions check their settings, but won't start until
testing"`. Phase 10 brings sign-in.
**Next: Phase 10, users, sign-in and roles (the server edition).** No
decisions are open for it; Phase 12 still needs who adds Supermarket's
client to Authelia.
**Coming back to it (for the agent working on it):**
- Run the tests inside the sandbox with
`GOCACHE=$TMPDIR/gocache GOMODCACHE=$TMPDIR/gomod GOPROXY=off go test ./...`.
`TestServeSocket` fails there only because the sandbox refuses sockets.
Postgres, Garage, Docker and `./update.sh` need the sandbox off.
- The test Postgres and Garage were throwaway containers (`sm-pgtest`,
`sm-garage`, in memory), gone after a reboot. To start them again:
- Postgres: the README's `docker run … postgres:18-alpine` on port
55432, then
`SUPERMARKET_TEST_POSTGRES='postgres://postgres:test@127.0.0.1:55432/sm?sslmode=disable'`.
- Garage: `dxflrs/garage:v2.1.0`, with a one-node config (a
`replication_factor = 1` and an `s3_region = "garage"`; the config was
in /tmp/claude-1000/garage/garage.toml), on port 53900. Then
`garage layout assign -z dc1 -c 1G <node>`, `layout apply --version 1`,
`bucket create sm-test`, `key create`, and `bucket allow --read --write
--owner`. Set `SUPERMARKET_TEST_S3='http://<key id>:<secret>@127.0.0.1:53900/sm-test'`.
- The app's own container restarts by itself (`restart: unless-stopped`).
**Waiting on the user, or on others:** **Waiting on the user, or on others:**
- *The CRM bridge*: the Core's MCP hub reaches EspoCRM at a stale address; - *The CRM bridge*: the Core's MCP hub reaches EspoCRM at a stale address;
@@ -59,6 +88,9 @@ testing"`.
- *Not yet tried with real money or data*: discovery (web searches), - *Not yet tried with real money or data*: discovery (web searches),
building site pages with the AI, sending outreach email through the building site pages with the AI, sending outreach email through the
Core's mail server. Core's mail server.
- *Data for Phases 7, 8 and the mailing lists*: a Bing Webmaster key,
partners and competitors in the Market, a Listmonk API user, and the
`Lead` goal in Plausible.
## 2. Requirements from the notes ## 2. Requirements from the notes