docs: handover after the 2.3.0 / agent 1.0 / Hub 2.1 release

Root HANDOVER: phases 1b–1d released and VM tested, the nine bugs the VM
test found, rollout next. Events HANDOVER: 2.3.0, where two-factor and the
Hub-install pieces live. AGENT-1.0-PLAN and EVENTS-2.2-PLAN: tested and
released, the VM changes; ROADMAP §9 marked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ls1vMdni7EfytGYqQTprME
This commit is contained in:
2026-11-17 22:41:10 +02:00
co-authored by Claude Opus 5.5
parent d985a4c853
commit a286f8abce
5 changed files with 107 additions and 40 deletions
+16 -4
View File
@@ -8,9 +8,9 @@ This replaces the old rule "the Hub never deploys" (decisions 10 and 23). The pa
stays: **no site depends on the Hub to keep running**, and everything still goes through the
`crosscode` script (EVENTS-2.2-PLAN §4), which keeps working by hand over SSH.
**Built 2026-11-18** (crosscode-platform branch `feat/agent-1.0`, events-hub branch
`feat/servers-agent`; not merged or released). Waiting for the VM tests (§13). Where the build
differs from this plan, see [Changes while building](#changes-while-building).
**Built, VM tested and released 2026-11-17** (`agent@1.0.0`, `contracts@1.3.0`, Hub `v2.1.0`; with
`events@2.3.0`). Not rolled out yet: the steps are in [ROLLOUT-1.0.md](./ROLLOUT-1.0.md). Where the
build differs from this plan, see [Changes while building](#changes-while-building).
## Contents
@@ -459,7 +459,7 @@ Central check: both ports are open in frps and only on 127.0.0.1.
## Changes while building
Made on 2026-11-18, while building; none changes what Joshua or a church sees.
Made on 2026-11-17, while building and in the VM test; none changes what Joshua or a church sees.
1. **Config encryption** is X25519 + HKDF-SHA256 + AES-256-GCM (`x25519-hkdf-sha256-aes-256-gcm`)
instead of `x25519-xsalsa20-poly1305`: Node's built-in crypto has no XSalsa20, and this needs no
@@ -480,6 +480,18 @@ Made on 2026-11-18, while building; none changes what Joshua or a church sees.
`local_port` and `remote_port`.
7. **`crosscode install`** refuses a database or role that already exists, so it can never take
over (or, on a failed install, drop) another site's database.
8. **PM2 runs under its own systemd unit** (`pm2-<user>`) for every site user, set up by the
`crosscode` script before any PM2 command. Found in the VM test: a PM2 daemon started from the
agent's job belonged to the agent's service, so stopping or updating the agent stopped the
sites. The agent's stats never start a PM2 daemon.
9. **frpc is restarted once**, the first time its admin lines are added (a running frpc only reads
them when it starts); later changes reload it. Every tunnel on that server drops for a few
seconds that first time.
10. **The VM test** (§13) also fixed: `adopt` applies a release's new migrations; a failed
migration is marked rolled back so later deploys aren't blocked; the agent install builds with
the root's tools; tags are fetched with `--force`; the Hub saves the servers settings, lets a
failed or removed install's short name be used again, and links a Hub-installed site to its
registration so banners reach it. The full list is in [HANDOVER.md](./HANDOVER.md).
## Decisions