Phase 13, part 6: each team's Core

On the server and multi-tenant editions a team's admin enters its Core's
domain and account under Settings → Core & Hermes, instead of core.conf;
Hermes connects from the team's side with an agent's key.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-25 12:29:44 -07:00
co-authored by Claude Opus 5.5
parent af6598271c
commit 1865140507
13 changed files with 166 additions and 34 deletions
+13 -1
View File
@@ -55,7 +55,7 @@ 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–5 are built.
Postgres schema per team (decided 2026-11-26); parts 1–6 are built.
**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
@@ -2883,6 +2883,18 @@ stand.
- Left for Phase 14, which sets them by plan: limits on outgoing fetches
and storage.
**Part 6 built 2026-11-26** on `phase13`.
- On the server and multi-tenant editions, each team's admin enters its
Core's domain, and the Core account Hermes works for, under Settings →
Core & Hermes (a team setting, `core:team`); the local edition still
reads CoreDesktop's `core.conf`. Everything that used the Core (EspoCRM,
Listmonk's and Plausible's addresses, the MCP hub, the checks) reads the
team's. Saving or clearing it is recorded as a connection.
- On those editions the page tells how Hermes connects: an agent with the
CRM scope (Settings → Agents), its key, and `https://…/mcp`; the socket
and the hand setup are the local edition's. The platform never holds a
Core's admin credentials.
1. **Teams everywhere.**
- Every table that holds a company's data gets `team_id`, and its
unique keys include it. The settings table's key becomes