TLS on every Lore port, a Linux deployment behind Caddy, and backups.
- lore-forge loreserver-config writes loreserver's whole config:
the certificate on QUIC and gRPC, store paths, ports, and the HTTP
port bound to 127.0.0.1. --output writes it atomically. start.sh,
the e2e test and the systemd units all use it.
- The repository browser reaches Lore's gRPC over TLS for https URLs.
Pages show lores:// remotes (lore:// for loopback hosts), with
LORE_FORGE_LORE_REMOTE to override.
- serve stops cleanly on SIGTERM, and reads the secret key from
LORE_FORGE_SECRET_KEY_FILE or a systemd credential as well.
- backup-database snapshots the database with VACUUM INTO on a
read-only connection and checks the copy.
- scripts/backup.sh copies the store live, stops loreserver briefly to
copy it again with the database, and keeps hard-linked snapshots.
scripts/restore.sh puts one back and moves the current state aside.
- deploy/: install.sh, systemd units for lore-forge, loreserver,
certificate copying and nightly backups, the Caddy site, the
settings template and an operator README. Not yet run on Linux.
- e2e: TLS by default with a CA made for the run (NO_TLS=1 for
lore://); untrusting and lore:// clients are refused; ends with a
backup, a push and a restore.
- Docs: deployment.md, Lore's transport security, backups in storage,
and the overview's decisions and status.
lore-forge now runs beside an unmodified loreserver as its token
issuer, user directory and repository registry, with a server-rendered
UI in the desktop client's pixel style.
Accounts and sign-in: first-run setup, password sign-in with rate
limiting, signup modes and invite links, GitHub, Discord and Google
sign-in by explicit linking (tested against a fake provider), sessions
and CLI logins with revocation, API tokens, and service accounts.
Issuer: device code, refresh with rotation and reuse detection, token
exchange to repository-scoped tokens, API-token login, the client
credentials grant for service accounts, revocation, and signing key
rotation from the admin page or the rotate-signing-key command.
Access: user and organisation namespaces, members, teams, role
presets with extra actions, per-repository grants, and the admin pages.
Repository browser: FILES, GRAPH and TREE tabs and a revision page
with diffs, read from loreserver as the viewer with a one-minute
read-only token per page view. File diffs are computed here because
Lore's ContentDiff is unimplemented.
scripts/e2e-lore.sh checks all of this against the pinned Lore
v0.14.0 release, including a branch and a merge. The design documents
record what was verified in Lore's source and what is still assumed.