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 runs clone 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 runs

Without (Quick)With (Deep)
Source accessReads individual files via GitHubFull repo clone with code execution
Cross-file tracingNoFollows imports, searches symbols, traces call chains
Reproducing failuresNo — infers from trace dataExecutes the failure path, confirms root cause triggers
Fix PRsDisabledWrites the fix, verifies the diff, pushes a branch

Deep runs are required for Fix PRs.

How to trigger

Deep runs are slower, so they only run when you ask. Two ways:

  1. Pick Deep in the composer — the 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 to re-run with code execution enabled.
Diagnosis result with Run in sandbox escalation button

Security model

Running code from your repo is a privileged operation. Staso treats it as one.

  • 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 immediately after
  • No ambient secrets — the sandbox sees your repo clone and its declared dependencies only. No workspace credentials, no environment state from other runs.

See also