Files
hermes-agent/hermes_cli
Teknium c44a5d2461 fix(dashboard): standalone auth-gate refusal exits EX_CONFIG so s6 parks it
Rebased onto main, where the gate raises DashboardAuthRefusal (with a
`retryable` flag) instead of the SystemExit(78) this PR first added in
web_server.py. Nothing turned that into an exit status on the standalone
`hermes dashboard` path, so it still exited 1 and the Docker slot's finish
script never saw the 78 it parks on (#49567).

- DashboardAuthRefusal.exit_status: 1 when retryable, else EX_CONFIG; the
  gateway's run_bootstrap mapping uses it instead of its inline copy.
- main_dashboard._start_dashboard_server wraps cmd_dashboard's start_server
  call: prints the message to stderr, exits refusal.exit_status.
- Keep main's start_server refusal contract in test_dashboard_auth_gate.py
  (the earlier hunk asserted code == 78 from start_server itself); the exit
  mapping is pinned end to end through the shipped finish script instead.
- check=False on the test's subprocess.run (ruff PLW1510).
2026-12-01 14:13:57 -08:00
..
…
…
…
…
…
…