How it is verified

Brief

Nothing reaches Terminal Delight's main branch, or a release, until every check on this page is green. The checks are the test suite run on two terminal cores, twelve models that try every order of events against nine promises about the window, an audit of every dependency, a release build, and an uninstall run from a throwaway account.

A test checks the cases someone thought to write. A model checks every order of steps in a small copy of the design, which is where a window goes wrong: two things happen at once and the keys go to the wrong place. Each promise is one sentence a person could hold the program to, such as typing into a surface never reaches the shell behind it.

Day-to-day work lands faster than that. A change merges into the development branch once its author's own formatting, lint and test run pass, without waiting for CI. CI still runs on every push and names the push that broke it, and the branch goes into main as one pull request that the full checks gate. In the thirty days to 12 November 2026, 314 changes merged, 129 of them into main; 128 of the 130 CI runs on main were green, and one change was reverted.

Technical lists each check, each promise, the numbers with the command that measures them, and what none of it covers.

Technical

The checks

What runs on every change#

These are the jobs in the CI workflow1. They run on every pull request and every push. On main they are required before a merge. On the development branch they report after a change lands4.

JobWhat it proves
Rust checksFormatting. Clippy with every warning an error, on the Rio core and on the Alacritty reference core. The whole test suite on both cores. The Restricted commands boundary against the real operating system. A release build. An uninstall, end to end, including from a fresh account with an empty home.
Formal modelsEvery model under verify/ against its list of expected findings.
Supply-chain checksNo dependency with a known advisory, apart from two named exceptions, and none with a licence or a source the project does not accept. The exceptions are RUSTSEC-2026-0194 and RUSTSEC-2026-0195, a denial-of-service fault in a library reached only through a pinned, vendored dependency6.
Browser prototype checksThe web pages parse, the robot faces match the app, and this docs site builds from the app's own help sheet.
Translation integrityThe completed translations agree with all nine installed language tables.
Release policyThe release scripts refuse a wrong tag, version or changelog, proven against fixtures, and the installer works against a fake release.
AppImageThe package builds.

The promises checked in every order#

Each row is a folder under verify/ with a model, the rules it checks, and a skill that tells the next person whether their change touches it2.

PromiseChecked withWhat it found
Typing into a surface never reaches the shell behind it.The real windowThe language picker leaked keys. Fixed.
Rest never freezes a turn, and sleep never loses pending work.A model and the policy's testsA waiting /loop rested and slept. Fixed.
Removing a worktree never deletes work, or a tree under a running process.A model and a real repositoryA process could walk in between the last check and the delete. Fixed with a quarantine.
What is on top gets your keys and your Esc.A model and replaysTwo surfaces opened under the book. Fixed.
The project list shows what its field says, and the add-a-project dialog is the only face while it is up.A model and a window replayA list stayed narrowed under an empty field. Fixed.
A side-panel tab's red note is about its latest read, and trouble never blanks what you were reading.A model and the real windowA stale red note. Fixed.
A press drags only what it pressed, and a release ends every drag.A model and a window replayA lost release brought a drag back. Fixed.
A pane shows one caret, and a letter goes to the one opened last.A model and a pane replayA name typed into a sticky note. Fixed.
The INBOX, the Settings book, launching an agent, prompting across the Floor and an agent opening its document behave as drawn.Five models, with chartsAll hold.

The models are written in TLA+ and checked with TLC 1.7.4, pinned by checksum1. They were designed with two skills from pstack by Lauren Tan, under the MIT licence; no file of theirs is in the repository2.

How a rule is known to be able to fail#

A rule that has never failed proves nothing. verify/mutate.sh copies a model, breaks it the way a careless change to the code would, and checks that the rule now breaks3. Each folder keeps a list of expected findings, and a change that breaks a promise, or fixes one without saying so, fails the Formal models job.

verify/check-all.sh

What a release needs#

A release is cut from a commit on main or a release branch with green CI, and the release scripts refuse a tag whose version, changelog or notes do not match4. A red push to the development branch reaches nobody outside the project: the Dev channel serves the newest green commit only.

The numbers#

Measured on 12 November 2026 for the thirty days before it. The script prints them again from the repository and from GitHub. Where it cannot read a source it prints not measured, and where a list comes back cut off it prints incomplete5.

MeasureValue
Test declarations in the source3,269, of which 18 are marked ignored. A normal run skips those; CI runs the ignored ones in the Restricted suite only.
Models12, in 9 folders
Changes merged314: 129 into main under required checks, 183 into a development branch
Half of them merged within16 minutes of opening
CI runs on main130, of which 128 green
Revert commits on main1
Releases14, of which 4 stable
scripts/verification-numbers.sh

One revert commit is a floor. A change repaired by a later change, with no revert, is not counted here, and nothing measures it yet.

What none of this covers#

  • Speed. No check measures startup time or the delay between a key and its letter. A same-machine keystroke comparison against Alacritty and a 20-pane stress proof are open work on the 1.0 milestone.
  • Features with no model. Nine promises are modelled. Everything else, such as themes, the CRT look and usage readings, has no model and rests on its tests.
  • Other machines. CI runs on Ubuntu images. Graphics drivers, other compositors and other distributions are checked by the people who run it.
  • Whether it is useful. A green build says the window keeps its promises, and nothing about whether a person wants it.

Sources

  1. .github/workflows/ci.yml: the jobs Rust checks, Browser prototype checks, Formal models, Supply-chain checks, Translation integrity, Release policy and AppImage.
  2. verify/README.md: the table of folders, promises, tools and findings, and the credit to pstack.
  3. verify/mutate.sh and verify/check.sh.
  4. RELEASING.md: waves on the development branch, and the tag, version, changelog and channel rules.
  5. scripts/verification-numbers.sh.
  6. app/deny.toml and the Supply-chain checks job in .github/workflows/ci.yml.