carlos / platform Public

carlos deploy creates what a first deploy needs Feature Request closed

From Rastrillo's agent benchmark (bench/agent in rastrillo/rastrillo, round 1, 2026-10-31): deploying a new app to Carloku took an agent 11 to 14 messages, against 5 or 6 for Fly, on the same small app. The agent has to create the app, enable instances, create an instance, set the environment, build a release and then deploy. Each step is a turn, and each turn re-reads the agent's whole context, so the deploy costs far more than its steps suggest.

Request: on a first deploy, could carlos deploy create whatever is missing (the app, an instance) and say what it made? Then a first deploy is one command, and an app that already exists deploys as it does today. Setting the environment in the same command (--env K=V) would remove one more turn.

The numbers and transcripts are in rastrillo's bench/agent/results/1.md (the "deploy and live-check messages" row). This came from rastrillo#159 / rastrillo#200.

Implemented and merged as 5b328bf via reviewed branch first-deploy-493. A first binary deploy can create the missing app and first instance, and repeatable --env KEY=value applies ordinary environment variables before shipping. App absence is proven by the caller's account listings, including Trash; existing app/instance settings and restricted CI publishing behavior are preserved.

Paul approved the CLI wording and docs. New helper/CLI tests and deploy regressions pass; final-tip Amadan CI passed (build/test, cross-platform builds and MinIO contract). Opus review and root-source census approvals are recorded on the branch and #280. Unrelated activator test failures reproduced on main are recorded on #460.

Merged, not released or rolled out. No live infrastructure was changed.