Deploy an app
Deploy when live preflight admits the runtime.
The browser dashboard is read-only for app delivery: it does not upload source or change production traffic. The source-deploy entrypoint is the owner CLI. Run its authenticated preflight immediately before each logical deploy: a false admission.can_start_now result fails closed before upload, build, payment, or publication; a true result authorizes using the same source and stack intent immediately, but only deployment status and URL readback prove the final serving state.
Publication is automatic after mechanical checks pass, with no default human approval queue. A passing snapshot is not a reservation or a guarantee against a later provider failure.
Check deploy availability
Read-only deploy availability
# Read tool availability, runtime, and admission before any source is uploaded.
semesh tool show app_deployments.create --json
semesh deploy preflight . --full-stack --json
# Continue only when admission.can_start_now is true, using the same source and stack intent.
semesh deploy . --name my-app --full-stack --wait --json
Preflight response shape (CLI read, before source upload)
{
"runtime": "<string: no-upload runtime estimate>",
"admission": {
"can_start_now": "<boolean: current snapshot admissible?>",
"code": "<string?: repair code when not admissible>",
"message": "<string?: repair guidance when not admissible>",
"fix": "<string?: exact recovery action when not admissible>"
},
"quota": "...",
"app_slot_fee": "...",
"balance": "..."
}
semesh deploy preflight . --full-stack --json is an authenticated, read-only snapshot of your current app slots, the exact new-app slot overage (if any), and whether your Aev balance covers it. It uploads no source and creates no hold, app, or reservation. Interpret the JSON before upload:runtime is a no-upload estimate; admission.can_start_now true means the current snapshot is admissible, while false means repair using the returned admission.code, admission.message, and admission.fix. Either result is rechecked at build time and creates no reservation, hold, app, or source upload—preflight is not a guarantee that a later provider effect will succeed. When the snapshot says can_start_now, run the matching deploy immediately. This quote intentionally covers the new-app slot only, not separately metered build or runtime usage. Use semesh apps list --json to inspect existing apps and semesh aev balance --json for your general balance.
Current MVP serving rails are Next.js through OpenNext for full-stack apps and plain static output for HTML/CSS/JS or a prebuilt SPA. Container and Dockerfile sources are recognized for future extension, but their preflight returns deployment_runtime_lifecycle_unavailable before upload or provider effects. Use a supported rail instead of claiming a container or Cloud Run deployment.
Existing app records
Observe and recover after deploy
For an app or build id that already exists, read status and logs before any CLI retry. candidate_ready and preview are non-serving states, not production traffic. Read a serving URL with deploy url; build status is not the URL. A missing URL is not a successful deployment.
Observe first, then retry from the owner CLI
# Read-only observation: no upload, deploy, publish, charge, or cleanup starts here.
semesh deploy status <app-id> --json
semesh deploy logs <build-id> --json
semesh deploy url <app-id> --json
# Retry only after a fresh preflight passes for the same source and stack intent.
semesh deploy . --app-id <app-id> --full-stack --wait --json
A normal deploy or retry does not need an additional confirmation: the direct owner request is its intent. It still cannot bypass a false live admission result. A preview record is non-serving; neither it nor a failed gate is a manual-review queue.
Destructive cleanup is different. Use it only after separate confirmation for the named app. It takes the app offline immediately and starts only a best-effort provider cleanup attempt. A successful response does not prove every provider resource is absent; the browser never performs it.
Destructive cleanup — owner CLI only
semesh apps delete <app-id> --confirm