Alpha kernel — use for pilots and staging only. See platform-status.md.
- Secrets via env:
SUMERU_DB_PASSWORD,SUMERU_CSRF_SECRET, optionalSUMERU_METRICS_SCRAPE_TOKEN, SMTP vars for mail notify. - Production-ish flags:
dev_mode=false; setrate_limit_rpm(defaults to 120 when unset and not in dev). - Start:
./sumeru -c sumeru.confordocker compose -f docker-compose.prod.yml up --build. - Probes:
GET /api/health(live),GET /api/ready(database).
Optional shell presence (off by default):
close_session_on_last_tab = true— SWC tab lease +POST /web/session/touchheartbeat; when all tabs stop, session ends aftersession_browser_grace_seconds.- When false (default), closing tabs does not revoke the session until idle/DB expiry.
pg_dump/ managed Postgres backups.- Restore DB before rolling back binaries if schema moved forward (ddl-policy.md).
| Action | How |
|---|---|
| Revoke all sessions for a user | Delete sys.session rows for user_id or use admin logout flows |
| Force re-login everywhere | Rotate sessions table or invalidate cookies via logout |
| CSRF invalidation | Changing csrf_secret requires restart of all instances |
| Observability | JSON logs (request_id); GET /metrics with scrape token |
Session timing: ~8h idle behavior with 24h DB ceiling; see core/server/web session resolution.
- Point traffic to the previous binary/image.
- If DDL or
-umodule sync advanced schema, restore DB or run authored reverse SQL — sync does not drop columns automatically.