Plan the recovery before the rollout.
A GIS upgrade should have a recovery plan before it has a deployment date. Small, repeatable changes make upgrades easier to do regularly. They still need checks before and after rollout.
Honua treats two changes this way. A version upgrade moves the server itself to a new release, with the database migrations that come with it. A service rollout moves traffic on one environment to a new revision. They fail in different ways, so they are protected in different ways, and this article covers both.
The reason for the discipline is who does the work. Honua is built so that an agent can operate the server: read the evidence a person would read, propose the change, and wait for a separate approval. The gates below are what make that safe.
Operators and agents can inspect the same health information, findings, proposals, and execution records through Console and the platform interfaces. The server holds the authoritative operational state.
The Ops Inbox starts with a finding.
An alert is more useful when you can see what triggered it and what to do next. In the Ops Inbox, a finding describes a specific condition, links to the evidence, and identifies an available action when there is one.
The documented finding checks run on demand and use deterministic rules. They do not need a server-side model call. An agent can inspect the health information and evidence, explain the problem, and propose a supported action.
A finding does not always have an automatic fix. High latency, for example, can have several causes. The system may be able to identify or explain a problem without having a safe action to apply.
Who can approve a change?
A separate authorized identity approves agent proposals through the platform’s operation controls. The agent cannot approve its own work or create another approval path.
By default, the system proposes changes rather than applying them. You can opt selected deterministic, low-risk actions into automatic execution. Each needs a supported executor, explicit policy, guardrails, limited impact, durable coordination, an audit record, and a kill switch.
Agents cannot directly edit source GIS data. The running system’s supported-operation catalog determines which actions can execute.
One protection model for two kinds of change.
Before a protected operation activates a change, it checks the plan and whether recovery is available. It monitors the result for a defined protection window. It then confirms success or, when policy requires, restores the previous version and verifies the recovery.
Missing or untrusted telemetry can block a new change. An operation that was already approved may have a policy requiring deterministic recovery when telemetry disappears. That policy covers recovery of this operation, not permission to make another change.
After switching traffic or receiving a provider acknowledgement, check the affected workflow. Those signals alone do not prove recovery. An operation stays in need of attention when the system cannot verify that the workflow works again.
Upgrading the release safely.
A release upgrade begins with a preflight that reports readiness, pending migrations and database compatibility. Migrations follow an expand-then-contract policy: a release adds columns and tables first and drops the old ones in a later release, so the previous image can keep serving during the change. In-flight geoprocessing jobs are drained before the switch.
On an existing database the server holds contract migrations, the ones that drop or rename schema objects, until an operator approves them with a one-shot nonce. An optional backup hook runs before the migration applies.
Rolling the application back is only allowed when the older image can read every migration that has been applied. A server image that includes the schema-reader guard refuses to start on a schema it does not recognize, so an unsafe rollback stops before it serves a request. Across contract migrations the path back is a database restore, not an image swap.
When you declare a versioned platform release, one converge call creates an approved deploy operation for each target that is not already on it. The serving plane and the geoprocessing workers must bind to the same release before converge will run.
Rolling a service out across environments.
Each environment you run is a deploy target with a backend for its platform: Argo Rollouts canaries on Kubernetes, weighted target groups on AWS ECS, alias weights on Lambda, revision traffic splits on Azure Container Apps, slot swaps on Azure Functions, and a self-hosted rolling backend for on-premises hosts. A rollout on one target goes through the same plan, approval and operation records as any other change.
A candidate does not cut over until its promotion gate passes. The telemetry gate watches error rate and p95 latency from Prometheus or CloudWatch. The health gate uses the standby replica’s readiness probe, which is the default on-premises so a cutover needs no external metrics backend. The manual gate holds until an operator promotes it. Missing evidence never promotes a rollout: it holds, and after the grace period it rolls back.
Promotion is not the end of the rollout. The operation stays open for an observation window, ten minutes by default, with the previous revision kept running. A breach inside that window recovers to it without a second approval. A rollback reports complete only when the prior revision is serving, an endpoint is healthy and a functional query returns the expected answer. Anything less is marked as needing attention rather than reported as recovered.
Teams that deploy through Git keep that model. A GitOps hand-off target records the plan and the operation in Honua while the pinned revision changes in your repository, and Argo CD or Flux applies it. Honua does not revert a hand-off target itself: a rollback request on one becomes a manual-intervention record that tells you which pinned revision to restore in Git. The Lambda and Azure Functions backends are GitOps-driven and do revert on their own, by flipping the alias or swapping the slot back. Environment-specific target metadata lives in your infrastructure-as-code repository, with the public honua-iac modules as the reference.
Moving a release from one environment to the next is a separate operation on the next target, approved by a person. Honua does not chain environments automatically. The documented protected-update scenario covers local Docker and AWS ECS placements; the other backends are configured the same way but are outside that walkthrough.
Where the agent fits.
There are two seats. The Console is the human seat. The MCP endpoint is the agent seat, and it sees the same health, findings, timeline and deploy operations a person sees. The eight operations tools an agent can call are public on every edition: they expose bounded facts and human-gated proposals, not a way to act alone.
Every change an agent wants goes through a schema-closed proposal tool: propose a finding’s action, propose a deploy plan or operation, propose a rollback, propose converging the platform onto the declared release. Each returns a proposal id. A separate authorized person approves it in the Console inbox or with the admin CLI. The agent cannot approve its own proposals, and MCP has no route that bypasses the inbox.
A release upgrade run by an agent looks like this: read the declared release and the preflight, propose convergence to the version you expect, wait for a person to approve each per-target deploy, then watch the observation window and propose a rollback if it regresses. The server never lets the agent resolve a version to an image itself; if the version named is not the declared one, the proposal is rejected with the declared version in the answer.
The separate honua-devops operator agent reasons over that evidence to plan diagnosis, tuning and upgrades. Configuration changes it drafts go through a validated specification and a dry run, then default to a pull request for human review.
Autonomy is earned one rule at a time. A deterministic, low-risk concern can graduate to automatic execution only once its signal, executor, guardrails, audit record and kill switch exist; the proven case today is redriving a dead-lettered alert. Contract migrations, data deletion, source-data edits and promotion between environments always keep a person in the loop.
Revert, rollback, and restore.
Configuration revert changes the desired definitions and records the change in Git. Release rollback switches the deployed application artifact. Data restoration recovers database or artifact state through a separate procedure.
Choose the procedure for the failure you have. A Git revert will not recover overwritten feature data, and an older container may not work with a newer database schema. The recovery path has to account for those compatibility limits.
Keep the history of what was approved, what ran, which version was active, and what happened afterward. That record helps you choose and explain a recovery; it cannot undo every kind of change.
Check the workflow that failed.
Before closing the operation, check the workflow that prompted it. Record the result alongside the change and its supporting evidence.
For a software defect, that means connecting the support case to a reproduction, a regression test, a reviewed fix, and a qualified release. Install the fix and repeat the original workflow. We’re building toward an automated support path; that complete chain is not automated today.
The goal is to make it easier to keep improving the platform because you know what changed, how it was checked, and how to recover.
Implementation references
See the implementation references below. Use the documentation for your release when deploying.