ghost_sandbox
Run speculative edits and project tests in an in-RAM shadow workspace, then commit only validated changes or discard/fork competing branches.
Instructions
Ghost overlay lifecycle: begin, mutate (path+content), test (blast-radius selection, or an explicit command run in a shadow copy of the workspace), commit (atomic, fsync+replace), discard, plus fork / switch_branch / list_branches / merge_best for in-RAM MCTS branches. USE WHEN: you need speculative edits, a rollback point, competing fixes, or to run the project's own tests against staged content. DO NOT USE: before knowing the blast radius.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmd | Yes | ||
| path | No | ||
| scores | No | ||
| command | No | ||
| content | No | ||
| branch_id | No | ||
| timeout_s | No | ||
| hypothesis | No | ||
| from_branch | No |