The Model
| Primitive | Meaning |
|---|---|
Environment | A named deployment policy such as production or preview |
Branch | A git branch deployment slot |
Version | One concrete deployable build of your agent |
Environment Resolution
The CLI resolves the effective branch from:--branch, if provided- the current git branch, if available
mainas a fallback in some flows
| Branch | Environment |
|---|---|
main | production |
| everything else | preview |
Stickiness
deployment.production.areTasksSticky and deployment.preview.areTasksSticky control what happens to running tasks when a new version activates.
| Setting | Behavior |
|---|---|
true | Existing tasks stay on their current version |
false | Existing tasks can migrate during rollout |
Rollback
tu rollback rolls a branch back to an earlier version.
Rollback uses the target version’s secrets_snapshot. Pending environment-secret changes are not rewritten by the rollback itself.
The Main Operational Commands
tu deploytu lstu rollbacktu logs