In the inspector
- Start the environment with
firedrill serveand use its tools. - Open State & activity → Save as scenario.
- Give the scenario an ID and optionally a title. Preview the records.
- Choose Save new scenario. Firedrill creates
<sourceRoot>/scenarios/<id>.scenario.jsonwithout overwriting anything.
scenarioId or with
createLocalWorld({ scenario: "after-first-action" }).
From a test or coding agent
title and packages array. With no package
selection, all tools are captured. The other tools keep baseline data when only
selected packages are captured. A stale preview, changed world baseline or tool
code, existing scenario ID, external symlink, or invalid source produces an
explicit error; nothing is overwritten. A reset invalidates the preview even if
it happens to restore identical records.