Staso Docs
Heal

Deep runs

Quick diagnosis reads individual files. When the root cause spans multiple files or needs code execution to confirm, escalate to Deep.

Deep clones your repo into a sandbox at the exact failing version. The agent traces call chains across files, executes the failure path, and — when it finds the fix — pushes a branch and opens a PR.

What changes with Deep

QuickDeep
Source accessReads files via GitHubFull repo clone with code execution
Cross-file tracingNoFollows imports, searches symbols, traces call chains
Reproduces failuresInfers from trace dataExecutes the failure path, confirms the root cause triggers
Fix PRsNoWrites the fix, verifies the diff, pushes a branch

Deep is required for Fix PRs.

Trigger

Two ways:

  1. Pick Deep in the composer — depth picker next to the message input.
Depth picker showing Quick and Deep options in the heal composer
  1. Escalate from Quick — on any Quick result, click Run in sandbox.
Diagnosis result with Run in sandbox escalation button

Security model

Running code from your repo is privileged. Staso treats it that way.

  • Workspace-controlled — enable or disable for the entire workspace from Settings -> Integrations.
  • Bounded scope — each sandbox is disposable, scoped to a single diagnosis, torn down after.
  • No ambient secrets — the sandbox sees your repo clone and its declared dependencies. No workspace credentials, no environment state from other runs.

See also