Commit Graph
3 Commits
Author SHA1 Message Date
BaaRai 9a8234f71e server: start degraded where agent isolation cannot be built
The isolation self-test stopped every start it failed, so a non-root
server (the systemd unit), dev.sh, Windows and macOS no longer started
without -dev-insecure-no-isolation.

EnforceIsolation now decides from the platform and the privilege drop:

- self-test passed: isolated;
- Linux with the privilege drop on (root, the Docker image): a failure
  stops the start, unless -dev-insecure-no-isolation is set;
- elsewhere (not Linux, not root, -exec-uid=-1): the server starts
  degraded, without a flag.

A degraded start logs a banner with the self-test failure and what is
exposed, and GET /api/health reports the isolation status to a
signed-in caller; the web UI shows a red banner on every page while it
is degraded. The systemd deployment guide and dev.sh describe the mode.
2026-11-22 23:00:41 +01:00
BaaRai dbf5cc3186 docs: generalize systemd example unit and deployment guide (#292) 2026-11-20 03:26:50 +01:00
ParallelsandWarp 32ebb38e0f docs: document local systemd deployment and verified reboot persistence
Add the ARTEX systemd unit and document PostgreSQL setup, application deployment, operations, and successful automatic startup after reboot.

Co-Authored-By: Warp <agent@warp.dev>
2026-11-17 09:20:13 -04:00