Overview
Rehearse sits beside any repository, so agents and people can try a change before it ships. It runs each scenario on the base and on the head, and tells you what changed without anyone saying so.
$ rehearse compare --base main23 as on the base · 1 new · 5 changed and said so (5 announced) · 4 changed without saying so · 1 fails on the headThat line is Kurvball’s member directory, its sign-in screens and its handoff renderer,
run on main and on a change, then compared. Four answers changed that nobody announced: the change slipped. One call
fails on the head. The rest is as on the base, or changed and said so.
What it does
Section titled “What it does”| Step | What Rehearse does |
|---|---|
| Bring it up | Starts your services, waits until they are ready, and keeps two copies apart |
| Sign in | Signs in as a named person, with credentials your local services already trust |
| Start from a world | Builds a named starting state, and names every stand-in it runs with |
| Run a scenario | Runs it once on a checkout and prints what it observed, as JSON |
| Compare | Runs it on the base and on the head, sets aside ids and times, and gives one verdict |
| Try it | Shows any scenario on one page, the stage, where you say whether it works |
Scenarios, in formats you already write
Section titled “Scenarios, in formats you already write”| Kind | Format | What is compared |
|---|---|---|
| piece | Storybook’s CSF, beside the component | the accessibility tree, errors, axe violations |
| flow | steps by accessible name | the accessibility tree after each step |
| call | Hurl’s plain part, beside the handler | status and body, with ids and times set aside |
| file | *.rehearse.yaml: an input, a run, an output |
the output’s fields, by column |
The verdicts
Section titled “The verdicts”Every scenario a comparison runs gets one verdict.
| Verdict | What it means |
|---|---|
| as on the base | It answers as it did before. |
| changed and said so | It changed, and the change announced it, or edited the scenario. |
| changed without saying so | It changed, and nothing said it would. Look here first. |
| new | The base doesn’t have it. |
| fails on the head | Its own checks fail on the head. If they fail on the base too, it says so. |
For people and for agents
Section titled “For people and for agents”A person tries a scenario on the stage, in a browser. An agent runs the same commands with --json and reads one
object back, described by a schema in schema/v1/. Other tools read Rehearse the same way, only through its JSON
commands. Rehearse never needs Ashlar: when Ashlar is there, Rehearse borrows its import graph.
Where to go next
Section titled “Where to go next”Install Rehearse in your repository, build your first comparison, or learn how it works.
The name
Section titled “The name”The package is @kurvball/rehearse, and its command is rehearse. The bare name rehearse is taken on npm (version
1.6.1, “React.js Live Development in Zen Mode”) and on PyPI (version 0.1.7, “Testing framework for AI Voice Agents”),
as checked on 3 December 2026, so the package takes Kurvball’s scope. It isn’t on npm yet: each release is a tarball on
its GitHub Release.
Rehearse is MIT-licensed, Copyright (c) 2026 Kurvball.