Checklist before apply_deployment
As of: November 15, 2026
A plan says what will happen. This page is the checklist an agent should work through before every apply_deployment, so nothing runs along that the human did not want. Then continue with Check after the deploy.
Short version for the agent
- Read the starting point: in a new chat first
list_projects, thenget_project; never guess a project name. Derive the contract from the running revision, not from memory. - Check
changes: every service withaction: "update"is rolled out again. If a service is listed that you did not want to change, that is an error in the contract, not a detail. - Take
IMAGE_TAG_MOVEDseriously: a tag without a digest (such aspostgres:17-alpine) may meanwhile be another image. If the service should stay as it is, pin the image to the previous digest fromsuggestionand plan again. Always pin databases with a digest. - Read
VOLUME_REPLACEandVOLUME_REMOVAL: with a volume the old instance stops before the new one (short interruption), a rollback does not reset data and migrations. A removed volume needs an approval of the human. - Declare dependencies through
connects_to: a service waits up to 3 minutes until its targets are healthy (WAITING_FOR_DEPENDENCY). Withoutconnects_tothere is no connection and no start order. - Set
accessdeliberately: the default isaccount(only with login,curlgets401). Websites, APIs and webhooks need"access": "public". Own domains go underdomains.custom, the plan names the DNS records. - Check the costs: if
get_balanceis innext_actions, call it;extra_eur_monthis already set there. Tell the human about warnings likeBUDGET_SOFT_EXCEEDEDorCAPACITY_LIMITED. - No secrets in the contract: never passwords and tokens in
env, useset_secretsinstead; the contract names only their names undersecrets.
Example: change only access
A project has web (connects_to: ["db"]) and db (Postgres with a volume, image postgres:17-alpine). The human wants to make web public. The agent changes access of web and plans. If the plan also lists db with action: "update" and the warning IMAGE_TAG_MOVED, the tag has moved: db would restart with a new image and a short interruption. The right thing is to pin db to the previous digest ("image": "docker.io/library/postgres@sha256:…" from suggestion) and plan again until only web appears as update. An update of the database belongs in its own, announced step with a backup (backup_volume).
What are not errors of the app
403withWAF_BLOCKED: the edge's protective filter rejected an unambiguously malicious request (..,.git,.env…), the app never saw it. For real requests that get caught, set"waf": "detect"(Protective filter).401withcurl: the service hasaccess: account;check_servicestill gets through.- Exit code 128 for a job that ends after a few milliseconds: the sandbox could not determine the real exit code; the message names the run time and the remedy (Jobs).
- Empty
list_vulnerabilitiesright after the build: the match runs within 5 minutes;notesays that it is still pending (Vulnerabilities).