Capture the before state
state value when using it as the explicit before file expected by the CLI.
Run the provider mutation
Call the provider-shaped API or MCP tool through the connection returned for the environment. The agent under test does not receive state-management tools.Compare the result
Reset
Reset one environment through the API, or reset every environment with the CLI:state load replaces it.
Reset overwrites live state. In an interactive or shared sandbox, name the
target and get explicit approval first. A disposable CI sandbox can reset
non-interactively when the workflow was configured to do so and guarantees
cleanup.