chore(server): checkpoint deployed services and unfinished forums

User requested a checkpoint and stopped all agents. Deployed artifacts remain the last verified releases; unfinished settings/categories/forums are preserved as WIP. See TODO/roadmap for verification and remaining release/updater work.
This commit is contained in:
Loki 2026-11-01 15:31:20 +01:00
parent d6d406bbf5
commit c18ccadf99
Signed by: boba
GPG key ID: 253067914055423B
96 changed files with 8665 additions and 276 deletions

View file

@ -6,6 +6,36 @@ public email-send/registry/friends/DM endpoints. Sign-in endpoints are GitHub an
is configured, email one-time codes (`hub/AUTH.md`). See `hub/README.md` for exact
capability status. SMTP sender display name is Vnox, address `noreply@loki-code.dev`.
The unverified community directory is now available through `GET/POST /v1/servers`
and owner-only `DELETE /v1/servers/{id}`. It is separate from cryptographic node
registration; see [HTTP contract](../../docs/05-features/hub-server-directory.md).
## Directory deployment: 2026-11-01
- Hub: `d6d406b-directory-7d4ee740d4d9`; static musl binary SHA256
`7d4ee740d4d93bcc738563838f37e81385d7fe9ca47933924639ce691621a7e0`.
- Web: `directory-c885e4689579`, served by the existing Nginx `/servers` fallback.
- Hub source is committed base `d6d406bbf5a50d73d1a5069b1cb57f728ad3e4c5` plus
directory-only changes; `source.tar.gz` and `release.json` are retained beside
the installed binary. Pending account-profile changes were excluded.
- Production migrations: 1, 2, 3, 4, 5, 7. Migration 6 is the unpublished profile
feature; the directory has no dependency on it. Do not renumber applied migrations.
- Private paired backup, taken while Hub was stopped:
`/var/backups/vnox-central/deploy-directory-20261101T112022Z/`.
Issuer identity and email-auth key were preserved. This local snapshot does not
complete the roadmap's off-host backup/retention milestone.
- Verified real public readiness, anonymous session, directory JSON, authenticated
mutation gate (anonymous POST returns 401), desktop/mobile page rendering and
absence of JavaScript errors. Browser mutation QA uses local fixtures; Hub
integration tests verify the persisted authorization and ownership flow.
- `vnox-server.service` remained running throughout the update.
Rollback to the preceding Hub binary must account for SQLx migration 7: the old
binary rejects unknown applied migration versions. Stop Hub and preserve a current
paired snapshot before restoring a compatible database and switching releases.
Restoring the pre-deployment database discards subsequent writes; do not do this
as a routine binary-only rollback.
## Layout
- `/opt/vnox-central/releases/<git-revision>-<binary-hash>/vnox-hub`: immutable release.