Drive the real Nova desktop app (native/, GPUI) the way a person does and keep the proof: launch it from an empty throwaway profile with the repo's fake agent CLIs, run doctor, drive a feature by its debug-selector handles with a step script, capture light and dark screenshots plus the store's rows, and clean up only what the run started. Use it to prove any change to a screen or flow in the app before a pull request, when asked to run, shoot or check Nova end to end, or when a test passes bu...
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Verify Nova?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/naidx0-verify-nova)
---
name: verify-nova
description: "Drive the real Nova desktop app (native/, GPUI) the way a person does and keep the proof: launch it from an empty throwaway profile with the repo's fake agent CLIs, run doctor, drive a feature by its debug-selector handles with a step script, capture light and dark screenshots plus the store's rows, and clean up only what the run started. Use it to prove any change to a screen or flow in the app before a pull request, when asked to run, shoot or check Nova end to end, or when a test passes but nobody has looked at the real window."
---
# Verify Nova
Nova's primary surface is the desktop app in `native/` (binary `sequence`). Two other surfaces exist and have their own
proof: `seqd` (`crates/daemon`, a CLI; drive it with `cargo run -p sequence-daemon -- <cmd>` and a throwaway
`SEQUENCE_DATA`, proof is stdout, stderr and exit code) and `seq-shell` (`crates/seq-shell`, the library the app calls;
its proof is its own tests). This skill covers the app.
The app already ships its driver: `native/app/src/script.rs`. A build with the `shot` feature reads a step script when
`SEQUENCE_DEBUG_PROFILE` and `SEQUENCE_SCRIPT` are set, runs it in the real window (input goes straight into the
window, never the OS pointer, keyboard or focus) and writes `shot <name>` steps as PNGs. The helper beside this file,
`verify-nova.mjs`, wraps it: it builds, makes a throwaway world per run, launches, checks, collects and cleans up.
Every command below runs from the repository root. The helper is `node .claude/skills/verify-nova/verify-nova.mjs`;
call it `V` in your head.
## Build (once per change to native/ or crates/)
```sh
node .claude/skills/verify-nova/verify-nova.mjs build
```
It runs `cargo build --locked -p sequence-daemon` and
`cargo build --locked --manifest-path native/Cargo.toml -p sequence --features shot`, then copies `seqd` next to
`native/target/debug/sequence` (Pilots' tools look for it there). A machine that allows one native build at a time sets
`NOVA_BUILD_LOCK=<a folder path>`: the helper makes that folder for the build, removes it after, and exits 9 without
building when it already exists. A cold build takes tens of minutes; later ones rebuild only what changed. The shipped
release has no `shot` feature, so it can never run a script.
## Launch
```sh
node .claude/skills/verify-nova/verify-nova.mjs launch .claude/skills/verify-nova/scripts/coding-thread.txt --run ct-1
```
- Makes `<root>/ct-1/world/` (`<root>` is `$VERIFY_NOVA_ROOT`, else `target/verify-nova/`): `bin/` with the fake
`claude` and `codex` from `tests/fixtures/fake-bins/` (a `.cmd` wrapper on Windows, a symlink elsewhere), `home/`
where both fakes read as signed in (an empty `.signed-in` file, no token), `data/ui-settings.json` with
`{"onboarded":true}` (pass `--first-run` to start at the first-run screens instead), `Studio/` (a sample project
folder) and `tmp/`.
- Starts the app with only these variables: `HOME`, `USERPROFILE` (and on Windows `APPDATA`, `LOCALAPPDATA`,
`SystemRoot`) inside the world; `PATH` = the world's `bin`, Python's folder, the system folders;
`SEQUENCE_DEBUG_PROFILE=<world>`, `SEQUENCE_DATA=<world>/data`, `SEQUENCE_SCRIPT`, `SEQUENCE_SCRIPT_OUT`,
`NOVA_CRASH_DIR`, `TMPDIR`/`TEMP`/`TMP`, `FAKE_SHOT=1`. Nothing else from your shell reaches it.
- The debug profile keeps the chat store in `<world>/app`, seqd's data in `<world>/data`, and every secret in
`<world>/test-only-vault` (seq-vault never touches the OS credential store or Keychain under a debug profile).
- Ready means the first frame is drawn: the helper waits for the app's `--startup-report` line
`first_frame_ms_since_process_start=` in `evidence/app.log` (up to 180 s, `--ready-timeout <s>`), and fails with the
log's tail if the app exits first.
- Chat answers: with `FAKE_SHOT=1` the fakes answer like an agent once `tests/fixtures/fake-bins/fake_shot.py` exists in
the checkout. Until then the helper sets `FAKE_REPLY_FILE` to a fixed neutral answer, because the fakes' default
answer echoes the whole prompt and the fake's config folder. `--reply <file>` picks the answer; `--echo` keeps the
raw echo for a check that needs it. `--env K=V` adds a fake's switch (`FAKE_ERROR=1`, `FAKE_LIMIT_V2=1`, ...; each
fake's first lines list them).
## Doctor
```sh
node .claude/skills/verify-nova/verify-nova.mjs doctor # the build: run it before launch
node .claude/skills/verify-nova/verify-nova.mjs doctor ct-1 # the build and the live run
```
Read-only. `FAIL` lines exit 1. It checks: the app binary exists, `sequence --version` names a commit whose diff to HEAD
touches none of `native/`, `crates/`, `tests/fixtures/`, `Cargo.toml`, `Cargo.lock`; the binary has the `shot` feature;
no tracked source under `native/` or `crates/` was edited after the build; `seqd` sits beside the app; Python and the
fakes exist. With a run: its pid is alive and still this build's executable, the first frame was drawn, no script step
failed, the app did not refuse the profile, profile, data and home are inside the run's world, and the fakes come first
on `PATH`. It also prints the TCP ports the app listens on and how many steps have run; each run's doctor output is
kept in its evidence. Run it first whenever anything looks off.
## Drive
A script is one step a line (`#` lines are comments). The full list is the doc comment at the top of
`native/app/src/script.rs`; the ones you will use most:
| Step | What it does |
|---|---|
| `connect claude` | an agent account added with its own sign-in, as Settings > Providers does |
| `pilot Ada` / `pilot Bo ask_first` | a Claude Pilot (Full access, or that permission) and its DM opened |
| `work <pilot id> <prompt>` | that Pilot works on the prompt in its own chat; what it asks waits in Needs you |
| `channel <name> <pilot id>` | a channel with you and that Pilot, opened |
| `open <route>` | `new`, `home`, `activity`, `automations`, `settings:<page>` (`pilots`, `tools`, `devices`, `providers`, ...), `page:memory`, `dm:<id>`, `channel:<key>`, `thread:<a>/<b>` |
| `type <text>`, `key <keystroke>`, `send` | keys into whatever has focus (`key cmd-k`, `key escape`) |
| `click`, `rightclick`, `hover`, `press`, `release`, `scroll <sel> <px>` | at the centre of the element drawn with that `debug_selector` |
| `wait <ms>`, `wait <selector>` | a pause, or until that element is drawn (fails the script after 60 s) |
| `theme light\|dark`, `size small\|default\|large`, `window <w> <h>` | appearance |
| `shot <name>` | the window as `<name>.png` in the run's `evidence/shots/` |
| `quit` | end the run (every script ends with it) |
Handles are the strings passed to `debug_selector` in `native/` (`rg 'debug_selector' native/scenes native/shell
native/kit`). Prefer them to coordinates; there is no other addressing. `connect`, `pilot`, `work` and `channel` seed
state through the app's own API (a fresh profile has no account, Pilot or chat); everything a feature is judged on must
then be done with `open`, `click`, `type` and the rest, as a person would. Feature recipes and their scripts:
[`features/README.md`](features/README.md), [`scripts/`](scripts/).
Then wait for the script to finish:
```sh
node .claude/skills/verify-nova/verify-nova.mjs wait ct-1 --timeout 300
```
It returns when the app's process ends, or after the timeout. The app ending is not the script finishing: a step that
fails (`script <n>: <step> failed: <why>`) and a crash (`panicked at`, `has overflowed its stack`) end it too. Exit 0
only when the script's last step is `quit`, every step before it logged its `script <n>:` line, and the log has no
crash. Otherwise exit 1, with the reason and the log's tail.
## Evidence
Everything lands in `<root>/<run>/evidence/` and survives cleanup:
- `script.txt`: the exact steps; `app.log`: the app's stdout and stderr, one `script <n>: <step>` line per step done;
- `shots/*.png`: every `shot` step;
- `store.json`: the run's chat store after the run, read-only (threads and the first 300 characters of each message);
- `files.txt`: files under the world's `work/` (Pilots' own chats) and `Studio/` (side effects in the project);
- `doctor-*.txt`, `run.json` (pid, commit, environment, and what wait and cleanup did); `crash/` if the app crashed.
Proof standards:
- Drive the real path: clicks, keys and routes, from a fresh profile. Never an internal setter, a scene render or a
test hook for the behaviour under test. Seed steps are for preconditions only.
- Capture the action and the result: a shot before the action, one about 300 ms after (the first frame after a click
can be mid-motion: `wait 300`, then `shot`), and the settled state. Shoot light and dark of every screen you touched
(`theme light`, `wait 300`, `shot x-light`, `theme dark`, `wait 300`, `shot x-dark`). A fresh profile follows the
computer's appearance, so set `theme light` before the first shot or a "light" shot comes out dark.
- Check side effects, not only pixels: the turn's rows in `store.json`, the files in `files.txt`, a setting in
`world/data/ui-settings.json` (read it before cleanup).
- The fakes are the only mock: they stand in for the vendor CLIs at the process boundary the app already has. Nothing
else is faked. Look at every shot before you cite it; a shot that shows the fake's echo or a path is not evidence.
## Cleanup
```sh
node .claude/skills/verify-nova/verify-nova.mjs cleanup ct-1
```
Stops only what this run started: the pid in `run.json` with its process tree, and only after checking that the pid
still runs this build's executable; then any process whose command line names the run's world (a fake CLI's wrapper,
`seqd`). Never by process name. Then it removes `world/` and checks that `evidence/` is still there with `run.json`,
`app.log` and `script.txt`. Run it after every attempt, failed ones too.
## Helpers
`run` does launch, doctor, wait and cleanup in one go, and cleans up even when a step fails:
```sh
node .claude/skills/verify-nova/verify-nova.mjs run .claude/skills/verify-nova/scripts/coding-thread.txt --run ct-1
node .claude/skills/verify-nova/verify-nova.mjs list # every run in this checkout: running, quit or cleaned
```
## Isolation
- Each run has its own world: profile, chat store, data, home, temp, vault and fake CLIs. Two runs, in one checkout or
two, share nothing but the read-only app binary. A debug profile takes no single-instance guard, so they can run side
by side.
- No fixed port: the driver dispatches input inside the app's own process, and nothing needs a debug port. Each app
listens on one ephemeral port on 127.0.0.1 that the OS picks (four runs at once got four different ones). Doctor
lists them.
- The script's window opens without focus (on a second display when there is one) and is addressed by its handle inside
the process, never by an OS window handle, so two runs cannot steer each other's windows.
- Never point a run at real data: no real `HOME`, `~/.claude`, `~/.codex`, account, token, credential store or
Keychain. The helper builds the environment from nothing, so none can leak in. If you start the app by hand, copy the
helper's environment from a run's `run.json`.
## Not yet proved on macOS
The helper and every recipe here ran on Windows 11 (DirectX, a debug build): build, doctor, launch, four runs at
once, wait, cleanup, and the controls (a step on a handle that is not drawn fails the run; a script with no `quit` is
stopped by cleanup; a crash fails `wait`). The Requests recipe fails there on an app crash (its Gotchas). On macOS
these steps have not run and stay unverified until a run there covers them:
- the fakes linked into `bin/` by symlink (Windows uses `.cmd` wrappers) and `python3` found on a `PATH` of
`/usr/bin:/bin:/usr/sbin:/sbin` plus Python's own folder;
- the app starting with the minimal environment (no `TMPDIR` from launchd, `LANG` from the caller), and Metal's
`render_to_image` for `shot` with no screen-recording permission;
- the quiet window: a second display when present, else a window on the main display that must not take focus;
- `cleanup`'s process-group kill (`kill -<pid>`) and its `ps` command-line sweep;
- doctor's `lsof` port listing and its `ps -o comm=` executable check (on macOS `comm` may be a truncated path; the
helper then matches the file name only).
## Keep it honest
When the app changes, update the matching feature file and script in the same pull request. pstack's
`maintain-verification-skill` keeps the map in step with the app.