Key idea
On a live app, an agent is a fast pair of eyes. Let it read freely: logs, status, history. Let it change things only after you approve each one. And keep a short list of actions it never takes alone, because they can't be undone.
Reading: let it loose
Logs are where an agent saves you the most time. It reads hundreds of lines in seconds and groups what matters. Ask for a reading job, and say it's read-only:
Read the last hour of vibe-starter's runtime logs and its deploy log.
Group the errors, tell me the most likely cause, and quote the lines.
Don't change anything.
The commands it will reach for:
csph logs vibe-starter --since 1h
csph logs vibe-starter --kind deploy
csph logs vibe-starter -q error
csph deployments get <deployment-id>
Ask it to quote the lines behind its conclusion. A summary can drop the one line that matters, so open the log yourself before you act on it.
Changing: approve each one
Redeploy, restart, scale and variables are everyday operations, and each still gets your yes. They're less harmless than they look. The starter keeps its tasks in memory, so a restart that "clears the error", or a redeploy that applies a change, also deletes every task your users added. An agent that doesn't know that will suggest it cheerfully.
When you approve, you're checking the command, the ID and the environment, as in lesson 4.8.2, plus one more question: what does this do to users' data?
Never alone
Some actions can't be undone, or hurt people who aren't in the conversation. Your agent proposes them, explains why, and a human does them, or at least reads the exact action first:
- Deleting a service, environment, project or volume. Deleted data doesn't come back.
- Rotating or replacing production secrets. A new key locks out everything still using the old one, and
secrets set --replaceremoves every secret you didn't list. - Changing domains or DNS. A mistake takes the whole site offline for everyone.
- Creating or revoking tokens, and changing plans or billing.
Put this list in your instruction file's "never without asking" section (lesson 4.7.1), and keep your agent's approval setting on for commands. A project token already keeps all of this away from your other projects.
When it's on fire
Undo first, diagnose second. If a new version broke things, roll back to the last good one (lab 4.9.3), then investigate with the agent while users are served. Agents make fixing forward feel fast: another quick change, another deploy. Under pressure that's how one bad release becomes three. A rollback is one known step back to a version that worked.
Check yourself