Upgrade flow
Select the path from both application databases’ recorded migration history and the selected images’ migration files. Thegreenfield-1 schema epoch does not
require resetting an existing installation.
Follow the installation and upgrade runbook
for history/checksum verification and the conditional earlier-epoch reset procedure.
For an existing greenfield installation:
- Select one pinned stack from the
stack-versions.yamlrelease matrix whose execution contract version is exactly 2. Record the current image digests, configuration, and migration history. - Rehearse the selected procedure on a restored backup. Quiesce writers as required by the release boundary, back up both application databases and the matching gateway secret namespace, and verify recovery before changing production.
- Follow the runbook’s coordinated maintenance steps when crossing the MCP credential boundary or activating hosted-readiness changes. Apply pending migrations with the selected images and preserve retained data.
task prod-upand Helm migration hooks do not stop existing writers for you. - Deploy the complete pinned stack, verify migration status and readiness, then smoke test sign-in, retained workspaces and targets, agent connectivity, tools, approvals, and applicable credential lifecycles before reopening traffic.
Durable state
Inspect durable state:
Redis is used for coordination, rate limits, control-plane agent ownership, cross-pod command routing, and run event fanout. Postgres claims and leases are authoritative for automation scheduling and dispatch.
Health checks
Verify the platform from the outside in:- management console loads over TLS,
GET /api/v1/meworks after sign-in,- OIDC callback returns to the management console,
- a workspace can be created and listed,
- target agents can connect over WebSocket,
- a run streams events through
GET /api/v1/runs/{runId}/stream, - the LLM gateway is ready with a fresh JWKS cache,
- remote MCP discovery and workspace/individual connection tests pass when the kill switch is enabled,
- webhooks record delivery attempts for subscribed events.
- workspace automation diagnostics report no dispatch older than 30 seconds, scheduler lag over 60 seconds, stale approvals, or unexpected
needs_reviewruns. - webhook backlog, retries, superseded issue notifications, terminal failures, and lease recovery remain within expected bounds.
Logs to inspect
Rate limits and budgets
Use both platform and gateway limits:- run max runtime,
- max steps,
- max tool calls,
- duplicate tool-call cap,
- max output tokens,
- per-window LLM request limits,
- per-window tool-call limits.
- per-user, per-installation MCP connect/verify limits.
restart_service, and only when the host helper and exact local allowlist are enabled.
Secret rotation
Rotate secrets with service-specific rollout plans:
Do not reuse internal service tokens across environments.
For Vault KV v2, MCP credential cleanup must delete metadata under the configured namespace, mount, prefix, and workspace path, not only the latest data version. Alert on durable cleanup retry failures after member or workspace removal. Membership revocation proceeds even when Vault is unavailable; queued cleanup must complete when the backend recovers.
Load both
observability/prometheus/alerts/llm-gateway.rules.yaml and observability/prometheus/alerts/control-plane-automation.rules.yaml from the deployment repository. The MCP rules alert on secret cleanup failure, sustained runtime 401/403 transitions, and schedules auto-paused for connection readiness. External MCP reachability is deliberately not a platform readiness dependency.
Public route drift
Keep these routes consistent across deployment, OIDC provider settings, docs, and management console runtime config:https://console.example.com/https://api.example.com/api/v1https://docs.acornops.dev/wss://api.example.com/api/v1/agent/connect
example.com with domains you control. The public demo uses https://console.demo.acornops.dev/ and https://api.demo.acornops.dev.
Default OIDC settings use the console-host callback, such as https://console.example.com/api/v1/auth/oidc/callback, so browser session cookies are set on the console origin. If you override the redirect URI, update the provider allow-list and deployment config together.
Also register https://console.example.com/api/v1/auth/oidc/logout/callback
as an exact post-logout redirect. If logout reports that only the AcornOps
session was cleared, verify the provider discovery document exposes
end_session_endpoint or configure the public
userAccess.oidc.logout.endSessionEndpointOverride. Never use an internal service
hostname for the browser-facing logout endpoint.
Keep query strings out of edge and ingress access logs. OIDC callbacks and
logout handoffs carry short-lived authorization codes, state values, or opaque
single-use handles in the query string, while a provider-controlled referrer
could include its complete logout URL. The supplied Compose Nginx proxy logs
only the normalized URI path and omits referrers; configure equivalent
redaction when using a separate ingress controller or external load balancer.
Root acornops.dev is reserved outside the platform API surface. Public documentation is served directly from docs.acornops.dev.