Environment tests
Check that your RL environment rewards the right behavior.
Start with an example suite
It tests a small checkout environment with a known flaw: a forged success marker earns reward even though nothing was bought. You'll review two tests, watch one fail, then fix it.
This only writes local example files. Nothing runs until you choose to.
Use your own environment instead
Create a suite with the CLI, then start the workspace pointing at it. Your adapter runs as trusted code on this machine.
touchstone init my-suite TOUCHSTONE_SAFETY_SUITE=my-suite touchstone serve
Checking automatic reporting…
Tests
Approving a test adds it to the suite that runs in CI. If a test changes later, it needs a new review.
Loading tests…
Runs
Loading…
Run result
Requirements
The behavior this environment must have. Each test checks one requirement. Edit them in the suite's suite.json.