Hand Off a Local Task to Cloud Agent Safely
Package unfinished booking work for an isolated environment with explicit repository state, permissions, secrets, and acceptance ownership.
Today's Goals
- Write an executable Cloud Agent handoff and stop conditions.
- Check environment, permission, network, and secret boundaries.
- Review returned cloud changes locally and verify independently.
Plain-Language Walkthrough
Treat cloud work as a new environment
A colleague working in another room needs a work order, access to the right tools, and a clear return path. Cursor Cloud Agents similarly run in isolated cloud environments rather than inside your local editor process. The official Cloud Agents documentation describes cloned repositories, dependencies, startup commands, network access, and secrets as parts of that environment. The same Agent fundamentals apply, but the environment is not automatically identical to your laptop. D5 is therefore a handoff exercise. The worksheet does not launch a Cloud Agent, connect source control, or prove that any remote test ran.
The fictional booking-status change from D4 is half finished locally. A cloud task cannot infer which uncommitted files you meant to send or which local service was available. State the base revision, the branch or work item, the files included, and any local changes deliberately excluded. If the cloud environment cannot access the exact input state, stop instead of letting Agent implement against an assumed copy. A clean base plus explicit patch or branch reference is easier to review than “continue where I left off.” The receiving agent needs a reproducible starting point, not a story about your screen.
Interview questions
What belongs in a Cloud Agent handoff packet?Cloud Agent 交接包应包含什么?
Common in ChinaCommon overseasBasic#cursor#workflow🔒 Unlock this chapter to see the answer keys.
Why is cloud test output not enough for local acceptance?为什么云端测试输出不足以直接本地验收?
Common in ChinaCommon overseasIntermediate#cursor#workflow🔒 Unlock this chapter to see the answer keys.
How do you handle missing cloud permissions or credentials?云端缺少权限或凭据时怎么处理?
Common in ChinaCommon overseasDeep dive#cursor#workflow🔒 Unlock this chapter to see the answer keys.
