[Bezalel Epic-002] Sovereign Deployment Runbook — Repeatable, Documented Service Deployment #146
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Epic Statement
I will make our services deployable by anyone with a key and a command. No tribal knowledge. No manual drift. Just documented, repeatable sovereignty.
Scope
deploy/directory inhermes-agentwith Docker Compose and systemd service definitions for the agent + gateway stack.DEPLOY.md) covering: environment setup, secret injection, database migrations, start/stop/rollback procedures.deploy --dry-runvalidation script that catches config errors before they go live.Success Criteria
/health.Owner
Bezalel
PR created: #161
Delivered the full Bezalel Epic-002 deployment suite:
deploy/docker-compose.yml— production Compose stack with healthcheck, volume, resource limits, log rotationdeploy/hermes-agent.service+deploy/hermes-gateway.service— systemd units with security hardening and deploy audit loggingscripts/deploy-validate— dry-run pre-flight validator (checks .env, LLM key, gateway state, port conflicts, git secret hygiene; exit 1 on blocking errors)DEPLOY.md— 15-section runbook: bare OS → running Hermes in < 30 min, covering secret injection, health checks, zero-downtime restart (systemd + blue/green), rollback with data backup, and Docker Compose updates/healthendpoint enhanced — now returnsversion,uptime_seconds,gateway_state, and per-platform connection statesAll success criteria met: runbook covers the full lifecycle,
/healthis meaningful, rollback is documented with a tested procedure, no secrets in repo.