Skip to content

FormWav 2.29.0: starting and stopping cleanly, engine side only - #22

Merged
nodemode-ai merged 5 commits into
mainfrom
feat/sprint-finish-2.29.0
Nov 20, 2026
Merged

nodemode-ai merged 5 commits into
mainfrom
feat/sprint-finish-2.29.0

Conversation

@nodemode-ai

Copy link
Copy Markdown
Collaborator

FormWav 2.29.0: starting and stopping cleanly, engine side only

What a person now gets

  • One engine per data folder. FormWav's engine now keeps a record of who holds its data folder. A second engine started while the first one's app is open stops at once with the sentence "formwav is already running on [folder] (engine process N)." and exit code 2, instead of serving beside it.
  • An engine left behind is replaced. When the app that started an engine is gone and the engine was left running, the next start ends it and takes its place.
  • The engine leaves with its app. The app now gives the engine its own process id, and the engine stops about two seconds after that process ends, however the app ended. The stdin watch it had before is kept.
  • An engine opened on its own opens the app. A packaged engine started without its app (a double click on it) opens FormWav beside it, or says that it serves nothing on its own.
  • Errors are kept. The engine writes a log, Logs/formwav-engine.log in its data folder, and a missing standard error goes to Logs/formwav-engine-errors.log, so a start that fails leaves its reason behind.
  • The app waits 90 seconds for the engine's address, the family's standard, and then says the start failed; before, it waited without a limit.
  • Two Antigravity tabs no longer collide. Each Antigravity tab gets a folder of its own in the data folder, so two tabs open at once each keep their own access, and closing one leaves the other working.
  • The Settings button's tooltip names Antigravity (Claude Code, Codex, Cursor, Antigravity, Claude Desktop) in English and the 25 languages FormWav carries. No native speaker has read the new lines.
  • The shared panel module is 2.2.1: its guide says that Codex, Cursor and Antigravity each get a button when they are installed.

Merge with a merge commit. Do not squash and do not rebase-merge.

Held

  • The rest of the Windows shell side (the job object that ends the engine with the app on Windows, and the dialog with the engine's last lines, its exit code and the log's path): not begun; it needs a new Windows-only crate and its lock entry, and could not be finished and checked by the wave's clock.
  • The Windows engine is not packaged with --noconsole: the app starts it through tauri-plugin-shell, which already gives it no console window, and without a console of its own every program the engine starts (ffmpeg and the others) would open a console window of its own.
  • An engine of 2.28.0 or older holds no record, so the first start after the update does not see one left running; it serves beside it until that one ends.
  • The clip chip that moves when a late instrument re-render changes a clip's length: seen once under load in the last wave, not reproduced or changed in this one.

Not run

  • Nothing ran on Windows or macOS. The desktop shell was not compiled (it cannot be built on this machine); the two shell changes are one environment line and one timer.
  • No packaged engine was built; the started-alone branch was shown with the entry run as if packaged.
  • No real agent program ran; the tab folder was shown with a stand-in agy.
  • The Firefox interface job, the shell's cargo check and clippy, and the core's Rust tests were not run here.

Checks rehearsed

Job / step Result here
interface: npm ci, npm run build (tsc and vite) passed
engine, Linux: ruff 0.16.8 --select E9,F63,F7,F82 clean
engine, Linux: python -m pytest tests -q -rs (with the Chromium interface tests) 623 passed, 62 skipped, 0 failed (before the version bump)
version tests after the bump 5 passed; the core version test needs the core rebuilt at 2.29.0, which the workflow does and this machine did not in time
engine on macOS and Windows not runnable here; the new tests were read for /proc, a POSIX shell, HOME, path separators: the start tests skip off POSIX, read no /proc when it is missing, and the tab test compares paths the engine itself made
browser window check, Firefox interface job, shell cargo check and clippy, core Rust tests not run

…ed, and the engine leaves when its app is gone

The family's start and stop rules from FormTools 0.10.0, engine side, fitted to
formwav. app/core/startup.py is FormTools's file at origin/main (with finished()
from FormCut c2c2e221) with only the names at its top changed. desktop_entry.py's
serving path starts a log file, keeps a missing standard error in
Logs/formwav-engine-errors.log, opens the app or says the sentence (exit 4) when a
frozen engine is started alone, takes engine.lock (a second engine is refused with
the sentence and exit 2, a leftover whose shell is gone is ended and replaced),
watches FORMWAV_SHELL_PID and gives up the lock when it leaves. The stdin watch is
kept. src-tauri/src/main.rs gives the engine FORMWAV_SHELL_PID, one .env line.

Seen on Linux with stand-ins: tests/test_startup.py 15 passed, with test_engine.py
21 passed; ruff 0.16.8 E9,F63,F7,F82 clean. Nothing ran on Windows or macOS; the
shell was not compiled and no frozen engine was built.
…s no longer share one entry

Every Antigravity tab ran in the one agent folder and so shared one formwav_tab
entry in its .agents/mcp_config.json: a second tab took the first one's access and
closing either removed the other's. Each tab now gets a new folder under
[data folder]/agent-tabs/antigravity, its entry is written there and agy starts
there; at close the entry goes with the tab's token and the folder is removed when
nothing else is in it. A file that is not JSON gives the sentence, not a bare error.

Seen on Linux with the stand-in agy: two tabs at once each keep their own entry and
token, closing one leaves the other's. tests/test_agent_programs.py with
test_agents.py: 17 passed, 1 skipped.
The family's standard (the owner's D1). The shell had no limit on the engine's
address; a timer started with the engine now settles the start as timed out after
90 seconds and shows the dialog of a failed start, through the same start state as
the key timer, so only one of the three can settle it.

The Windows engine is not frozen with --noconsole (D3), on purpose: the shell
starts it through tauri-plugin-shell 2.4.0, which already spawns it with
CREATE_NO_WINDOW, and with no console of its own each program the engine starts
would open a window of its own (src-tauri/HASHOUT_LOG.md #address-wait).

Not compiled: the shell cannot be built here. rustfmt parses main.rs and reports
no new place to format.
… shared panel module is 2.2.1

ui/agents.ts: the tooltip lists Claude Code, Codex, Cursor, Antigravity and Claude
Desktop. It is the key of the 25 language tables, so the key and every table's
value changed together; no native speaker has read them. src/dock/ is FormVis
23b01889's, copied unchanged (three files differ from 2.2.0: the guide says Codex,
Cursor and Antigravity each get a button when installed); test_dock_manifest.py
expects 2.2.1.
Moves every version site from 2.28.0 to 2.29.0, the same 18 files as 2.28.0:
frontend package.json and both fields of package-lock.json, native/formwav-dsp and
src-tauri Cargo.toml, the formwav-dsp and formwav-desktop entries in the four
Cargo.lock files that carry them (edited by hand), tauri.conf.json, backend
core/version.py and formwav_mcp/server.py, the README badge, and the Current build
version header of the backend, frontend, native, demo, demos/produce and
demos/repair HASHOUT_LOG.md.

The release holds, engine side only of the family's Windows start: one engine per
data folder with the sentence and exit 2 for a second one, a leftover engine
replaced, the engine leaving about two seconds after its app, a packaged engine
started alone opening the app, a log and kept errors; the app gives the engine its
process id and waits 90 seconds for its address; each Antigravity tab has a folder
of its own; the Settings tooltip and its 25 tables name Antigravity; the shared
panel module is 2.2.1. Held: the Windows job object and the failure dialog with
the engine's last lines.

Run before the bump: npm run build passed; pytest tests, the whole backend suite
with the interface tests, 623 passed, 62 skipped, 0 failed. After the bump
test_every_version_site_states_the_same_version passes; git grep finds no 2.28.0
outside the logs' history and the shared panel folder. Not run: the shell was not
compiled, nothing ran on Windows or macOS, no real agent program was started.
@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner November 20, 2026 12:02
@nodemode-ai
nodemode-ai merged commit 02227ba into main Nov 20, 2026
9 checks passed
@nodemode-ai
nodemode-ai deleted the feat/sprint-finish-2.29.0 branch November 20, 2026 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant