Skip to content
Rehearsev1.2.0

Changelog

Every change to Rehearse that a user would notice, newest first. Rehearse follows semantic versioning. From 1.0.0 on, each version’s entries are the changesets merged since the release before it, under its version and release date, grouped as major, minor and patch changes; see RELEASING.md. Versions up to 0.5.0 follow Keep a Changelog 1.1.0.

Released 2026-12-04.

  • The docs’ home is https://rehearse.kurvball.ca, served at the root. Every schema’s $id is now its address there, https://rehearse.kurvball.ca/schema/v1/<name>.schema.json, no longer on kurvball.github.io/rehearse, and the package’s homepage points there. Shapes and validation are unchanged. A tool that matched schemas by their 1.1 $id must use the new ones; there is no public consumer yet, so this ships in a minor release.

Released 2026-12-04.

  • The docs meet Kurvball’s docs standard. Get started routes to a new Tutorial, the old walkthrough becomes its unit 1, and Recipes and Upgrade guides join a sidebar grouped as Start, Learn, Do, Look up and For agents. The CLI and JSON contract pages are generated from the commands and the schemas, every command, flag and schema says the version it was added in, the header shows the version the site documents, every page has an Edit page link, and the site’s llms.txt is generated from its pages.

Released 2026-12-03.

  • Rehearse’s public identity, set before its first public release:

    • The package is @kurvball/rehearse; its command stays rehearse. Its exports are @kurvball/rehearse, @kurvball/rehearse/worlds and @kurvball/rehearse/schema/v1/*, and its tarball is kurvball-rehearse-X.Y.Z.tgz.
    • Every schema’s $id is its address on the docs site: https://kurvball.github.io/rehearse/schema/v1/<name>.schema.json, no longer a file in the old repository. The docs site serves the schemas there. Shapes and validation are unchanged.
    • repository, homepage and bugs, and every link to the repository, point at kurvball/rehearse and the docs site, where Rehearse moves when it goes public.

    A tool that matched schemas by their old $id must use the new ones. There is no public consumer yet, so this ships in a minor release.

  • Rehearse is MIT-licensed (LICENSE, Copyright (c) 2026 Kurvball), and ready for contributors:

    • AI_POLICY.md says how to contribute with AI tools, and AGENTS.md tells an agent never to open an issue, a discussion or a pull request unless the person running it asked.
    • CONTRIBUTING opens with what is likely to be accepted. Questions and ideas go to Discussions, issues are for bugs and accepted work, and it states the reply times and the merge rules.
    • A bug form replaces the issue templates. The pull request template asks why, the linked issue, and the AI use.
    • Security and conduct reports go privately to oss@kurvball.ca. SECURITY gives a 3-business-day acknowledgement, an escalation, what is out of scope, and which versions get fixes.
    • The workflows’ actions are pinned to commits, and Dependabot keeps them current.

Released 2026-12-03.

  • rehearse list --affected and compare --affected let an import graph decide for every file it holds. A file outside every package used to reach every scenario even when the graph said what imports it, so in a repository that is one package a change reached everything. Now only a file the graph doesn’t hold falls back to that rule.

    Rehearse also uses Ashlar (https://github.com/kurvball/ashlar) on its own code: a baseline, ashlar check and its onboarding guide in CI, and two scenarios of its own that list --affected reaches through Ashlar’s graph. The docs say how to install @kurvball/ashlar from its release.

Released 2026-12-03.

  • The docs, examples, schema descriptions and messages name only Kurvball (https://www.kurvball.ca) as a real project, and neutral made-up apps elsewhere. A check in CI keeps it so. Validation and behaviour are unchanged.

    • The examples hold Kurvball’s proof only. examples/kurvball/prove.sh has no default source: set KURVBALL_REPO to a clone you can read.
    • docs/plans/v1.md is now the design: what v1 is and the decisions it rests on.
    • Conduct reports go through the issue tracker, and security reports through private vulnerability reporting.

Released 2026-12-03.

  • Rehearse 1.0. Its commands and options, exit codes, JSON outputs (schema/v1/), rehearse.yaml, scenario files, scenario ids and the stage’s address are now its public API, kept within 1.x: the docs’ Versions and releases page says what counts as breaking.

    • The docs: Overview, Get started, Concepts, Guides, Reference (the CLI, rehearse.yaml, scenario files, the JSON contract, versions and releases), the Kurvball example, the agent skill and the changelog.
    • rehearse up builds a world with the same builder as runs and comparisons, so world commands get $REHEARSE_URL there too.
    • A flow observation’s logged errors are in its schema, and an observation of a scenario that didn’t run names its runner’s real version.
    • Releases go through Changesets: each version is a tag and a GitHub Release with the package’s tarball attached. RELEASING.md says how a release and a hotfix go.
  • Examples: real products on Rehearse, such as Kurvball in examples/kurvball/. Each has its manifest, the files the product would commit to adopt Rehearse (adopt/), a head with announced changes and a slip (head.mjs, announce.yaml), a prove.sh that runs the whole proof from a fresh scratch clone, and the comparison it made (compare.json). Every kind is compared.
  • A zip output’s entries can be skip (only whether the entry is there is compared, for files that carry their own render time, such as a PDF) or zip (an archive inside the archive, such as a Word file).
  • What a scenario saw is kept with its side’s folders written as {{checkout}} and {{manifest}}, so a base worktree and the head no longer differ by where they sit. Each kind’s runner version is now 2: baselines cached before are run again.

  • Flows through a service’s own driver start from the world afresh: Rehearse brings the driver’s app up again between flows (when it is a daemon with a down command), so one flow never starts where the last one left the app.

  • rehearse drive stop with nothing being driven is done (ok: true, driver: null), so whatever drives Rehearse can stop first to start clean. A step drive can’t read still names its command.

  • Why list --affected reaches a scenario says “it depends on”, not “it imports”: Ashlar’s graph also links a feature’s files to its reach.ts.

  • A flow module’s default export may say what it covers, as a flow file does.

  • rehearse drive start --scheme dark (or DRIVE_SCHEME=dark, which a service’s own driver may read too) drives Rehearse’s browser in the dark scheme.

  • rehearse clean keeps the latest partial comparison as well as the latest whole one.

  • A story’s definition no longer includes the file’s imports: adding an import for a new story doesn’t mark every other story “edited”. Pieces’ cached baselines run again once.

  • A flow’s logged errors are compared, as a piece’s are.

  • In a whole comparison, an announcement that names no scenario is listed under refused, not dropped.

  • list --affected finds Ashlar on PATH as well as in node_modules/.bin.

  • “1 id, time or opaque value was set aside”, in the singular.
  • A world’s before runs for drive start and for calls sent from the stage, as it does for up and run.
  • World commands get $REHEARSE_URL, the main service’s address, which rehearse/worlds reads when --url isn’t given.
  • rehearse stage --json prints nothing more when it stops.
  • A field that takes several types says “string or number or boolean”.
  • On the stage, a zip entry that is skipped says so.
  • The stage: rehearse stage serves one page where a person tries any scenario. Every scenario is listed by area, with Find; a switch for the world and the person; Base, Head and Diff; the verdict and why; and Works, Doesn’t and a note, kept in .rehearse/tries.jsonl. The canvas is the kind’s own view: a piece renders live, a flow shows each step’s tree and screen, a call’s request can be edited and sent to either side, and a file’s output rows show which cells changed. Later kinds (job, agent, plan) and a repository’s own have a place for their view.
  • rehearse open <scenario> prints the stage’s address for a scenario, starting the stage when none is running.
  • schema/v1/stage.schema.json for rehearse stage --json: its address, port and pid.
  • A comparison of a few scenarios is kept beside the latest full one, not in its place, so the stage keeps the whole picture. This holds when the base doesn’t come up, too.
  • The stage answers only its own page at its own address: another site’s page, another host name for it, and a body that isn’t JSON are turned away. A call sent by hand goes only to the product’s own services, so a person’s token never leaves them. Files are served only from the checkouts and .rehearse, never through a link out of them or from .git.
  • Piece scenarios: Storybook’s CSF, read without running it. Each story renders on its own canvas, in its package’s own Vite and React, with its meta’s and the preview’s args, decorators and loaders, on a fixed clock, in light and, when asked, dark. Storybook’s hooks (useArgs and the rest), storybook/test and actions are answered by shims, so stories and previews written for Storybook render. play functions are not run. Rehearse observes the accessibility tree, logged errors, axe violations and a screenshot.
  • Flow scenarios: *.flow.yaml, or a module whose default export is {name, steps} (a reach script), read as data and never run. Steps click, fill, type and press keys by accessible name; Rehearse observes the tree after each. A flow opens a service’s page, signed in as the person (headers, storage or cookies), or a piece’s canvas. A service with its own driver (drive:) is driven through it.
  • rehearse drive: one step at a time for an agent, in the drive result shape ({ok, command, ms, file, tree}, plus v and driver). start opens the service in Rehearse’s browser (kept by a small daemon on 127.0.0.1) or through the service’s own driver; stop ends both.
  • Services: rehearse up and rehearse down. A service comes up on a free port (port: auto), is ready when a URL answers, a command exits 0 or its log says so, keeps apart from another copy (isolate), may start a daemon and exit, and is stopped by its down command or its process group. One set of services runs at a time unless the budget says more.
  • Worlds and stand-ins: worlds build on each other, before or after services come up. defineWorld writes them in TypeScript (rehearse/worlds). A stand-in is named in every result; --real <name> chooses the real dependency.
  • Call scenarios: Hurl’s plain part, one scenario per call, named by the comment above it and sent as the person its Authorization names.
  • File scenarios: *.rehearse.yaml with an input, a run and an output, read as CSV, TSV, JSON, lines, fixed-width columns or a zip, and compared by column.
  • rehearse run <scenario> --on <checkout|ref> prints one observation.
  • rehearse compare runs scenarios on the base and the head, sets aside ids, times and opaque values, and sorts each scenario into a verdict: as on the base, changed and said so (announced or edited), changed without saying so, new, or fails on the head. The base is a git worktree prepared once, and its observations are cached by commit.
  • rehearse list --affected lists the scenarios a change reaches, through an import graph when one is here (Ashlar’s, or the manifest’s affected.graph), else through packages and the packages that depend on them.
  • rehearse clean removes old base checkouts, runs and comparisons.
  • Scenarios that run on the same services in the same world are cached, and run, as a group, so a scenario run alone never stands in for one that ran after others. A call always runs after the calls before it in its file.
  • A service Rehearse brought up is stopped when Rehearse is interrupted. One whose process is gone is asked again before it is used. A service left up with another world isn’t used.
  • The JSON contract, v1: one schema per command’s output in schema/v1/, the schemas for rehearse.yaml, *.flow.yaml, *.rehearse.yaml and announcements, and dependents, what Rehearse reads from an import graph. Each has a sample in schema/v1/samples/.
  • rehearse.yaml: read, checked against its schema, and refused in plain words with the line that is wrong.
  • rehearse init, check, services, people, worlds and validate, each with --json.
  • rehearse people keeps the sign-in shape ({"people": {"name": "token" | {token, …}}}), describes everyone apart (how real, the default), and prints tokens only with --json.
  • An agent skill and llms.txt, first drafts.
  • The project’s files: README, CONTRIBUTING, CODE_OF_CONDUCT, SECURITY, issue and pull request templates, and CI.