Goal
Grant the access a client needs while keeping approvals and actual execution distinct.Prerequisites
- Access to the resources being selected.
Workflow
1
Review the client request and return destination.
2
Choose explicit resources, keeping child inclusion separate.
3
Review required reads and select only the optional actions needed for the task.
4
Keep manual approval or choose an available existing policy, then choose expiry.
5
Authorize or deny the request. Inspect actual operations for execution results.
Resources and actions are separate choices
Required reads appear separately from optional actions. Selecting a resource does not select every action, and selecting an action does not grant access to unrelated resources. Including accessible children authorizes only the eligible children retained in that grant. It does not automatically authorize future children. Each child is independently checked; a moved resource, lost membership or revoked access can invalidate later work. Create one Application is a bounded creation permission. It is reserved and bound to the resulting Application and authorized new resources; it is not account-wide permission to create arbitrary Applications.Manual approval and existing policies
Manual approval is the default. An available standing policy can authorize actions within its effective rules and the connection grant. A client cannot approve its own request, edit the policy or expand its grant. Browser journey actions carry a separate journey-owner review requirement. Selecting their connection permission does not approve a journey run. This approval mode does not block setup for Codex or other MCP clients when these actions appear in the catalog. A human approval is bound to the retained action and affected resource versions. Changed targets require a fresh valid proposal. Historical authorization reflects the human decision or automatic rule recorded at the time, not a policy inferred from current settings. Approval means permission to proceed, not deployment success. Inspect the controller operation for the workload outcome. Waiting approval, queued execution, build success and deployment failure remain separate states.Run code in a short-lived sandbox
Tick “Run code in a short-lived sandbox” to let the agent use thesandbox_run tool. Each call starts a fresh sandbox, writes the files the agent sends, runs its command or script, returns the exit code and output, and deletes the sandbox, whatever the result.
Runs start at once, without asking you first, and each one is billed for the seconds its sandbox exists. The permission is not tied to any project you pick, so you can grant it on its own. Untick it under Change access to stop new runs; a run already in progress finishes and its sandbox is deleted.
An agent without this permission gets insufficient_scope for sandbox.run when it calls sandbox_run.
Expiry and revocation
Connections expire and can be revoked earlier by their owner. Revocation removes the connection credential and authority for pending work. It does not delete resources or claim that a controller operation already dispatched has stopped. Permissions are checked when work arrives and again before queued execution. Expired or revoked grants, lost access and changed targets cannot be repaired by retrying an old approval. Use the existing resource controls to inspect or cancel running work where supported. Resource reads remain subject to resource authorization and do not require native AI credits.Safe operational evidence
Connection activity exposes operational facts and permitted links. It does not grant access to private conversations, other users’ tasks, prompts, secrets or billing details. A client name is claimed identity unless separately verified. Review the registered callback and last observed use when checking a connection.Expected result
The connection is limited to its authorized resources and actions, subject to current resource permissions and recorded approval requirements.
Related guides
Connect your coding agent
Connect an external client, choose its access and inspect its work in StackShift.
What agents can do
Every action Stackie and connected agents can take, and when each one waits for you.
Live workload workspace
Follow a deployment, release or database operation alongside its activity and approval decisions.
Resource activity
Follow builds, deployments, releases and database operations from the resource you are working on.
Run code in one call
Send code and a command, get back the exit code and output. StackShift starts a fresh sandbox, runs it and deletes the sandbox, all in one request.