Skip to content

FormEncoder 0.12.0: the engine ends with the app on Windows, a start failure that says why, own folders for Antigravity tabs - #16

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

nodemode-ai merged 6 commits into
mainfrom
feat/sprint-finish-0.12.0

Conversation

@nodemode-ai

Copy link
Copy Markdown
Collaborator

FormEncoder 0.12.0: the engine ends with the app on Windows, a start failure that says why, own folders for Antigravity tabs

Six commits on origin/main, the release commit last.

What changes for people

  • On Windows the engine is tied to the app through the system, so an app ended in Task Manager, or any other way, takes its engine with it at once.
  • When the app cannot start its engine, the message says what went wrong, shows the engine's last lines and its exit code, and gives the full path of the engine's log.
  • The app waits at most 90 seconds for its engine to be ready, then says so.
  • On Windows the engine is built with no console window; FORMENCODER_ENGINE_WINDOWED=0 at build time keeps it.
  • Two Antigravity tabs open at once each keep their own connection; closing one no longer cuts off the other.
  • On macOS an ended but not yet cleaned up engine from an earlier start no longer blocks the next start.
  • The Agents panel's guide says that Codex, Cursor and Antigravity each get a button when they are on this computer.

Merge

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

Held

  • The version string in the three browser demo bundles stays 0.11.0: no time was left to edit them by hand; the CHANGELOG says so.
  • The browser demo was not rebuilt: nothing it draws changed on this branch except the version string.
  • A Preferences field for the path of each agent program: the app has none for Claude Code, so there is none to add for the others.

Not run

  • Nothing ran on Windows or macOS.
  • The desktop shell was not compiled or linked; its Windows code was type-checked only. The first full compile is the release build.
  • No Windows build has shown the engine without a console.
  • No real agent program (Claude Code, Codex, Cursor, Antigravity) was run; stand-ins only.
  • The panel's new guide sentences and the start failure dialog were not seen in a window.

Checks rehearsed

Check Result
Backend suite (whole) 282 passed, stand-ins started 0 times
npm ci --dry-run, npm audit clean, 0 vulnerabilities
npm run build (tsc and vite) exit 0
Shell syntax loop, text lint, py_compile clean, 0 findings
compileall and engine self-check exit 0
agents sync --check, function manifest --check in step
Window check (Playwright 1.63.0) 2 passed
Desktop shell type-check for Windows (x86_64-pc-windows-gnu) exit 0, 0 errors, 0 warnings
New shell functions, scratch crate cargo test 5 passed
Cargo.lock line proved by cargo update on the old lock identical
Version tests after the bump 8 passed
Native engine cargo check on three hosts not run here (native code unchanged except the version)

…s as gone on macOS

Ending a leftover engine waits until it is gone. Where there is no /proc, a
process that has ended and that its parent has not collected still answers a
signal, so the wait ran out and the start was refused. The wait now asks ps
for the process's state there and takes an ended one as gone. Linux and
Windows are untouched. One new test; test_startup.py 16 passed.
…s keep an entry each

Two Antigravity tabs shared one entry in the agent workspace: the second
replaced the first one's, and closing the second removed it while the first
was still open. Each tab now runs in its own folder under the data folder,
with its own entry and a copy of the workspace's guide, and the folder is
removed at close when it holds nothing else. A tab folder's MCP file that is
not JSON gives the sentence instead of a bare error.

Seen with a stand-in agy: two tabs open at once hold an entry each, closing
one leaves the other's. test_dock_engine.py and test_dock_module.py: 28 passed.
…art says why

The engine is put in a job object on Windows by its process id, the way
FormVis does it with tauri-plugin-shell's sidecar, so it ends with the app
however the app ends. The wait for the engine's address is limited to 90
seconds. A failed start shows a dialog with the sentence, the engine's last
lines, its exit code and the full path of its log.

Checked in a scratch crate: cargo check for x86_64-pc-windows-msvc clean,
cargo test 5 passed. The Cargo.lock line was matched by cargo update on the
old lock.
On Windows the freeze scripts give PyInstaller --noconsole unless
FORMENCODER_ENGINE_WINDOWED=0, so no console window opens beside the app.
The engine's entry already puts a null stream in place of a missing one;
--selfcheck with no standard streams exits 0. bash -n clean; the .bat was
read, not run.
…r programs

Every file of frontend/src/dock/ is copied unchanged from FormVis's 2.2.1.
The panel's guide now says that Codex, Cursor and Antigravity each get a
button of their own when they are on this computer. The manifest check
finds nothing, agents sync --check is in step, test_dock_module.py 10 passed.
Sets 0.12.0 at the version sites of the 0.11.0 release (README twice, backend,
frontend package and lock, version.ts, the native and desktop Cargo files and
their lock entries, pyproject, tauri.conf.json), adds the CHANGELOG entry, and
lets the function manifest's own generator rewrite form-functions.json (its
--check in step). The three demo bundles keep 0.11.0, said in the CHANGELOG.
Run on the commit before the bump, on a scratch copy: the whole backend suite,
282 passed, stand-in agent programs started 0 times; npm ci --dry-run, npm
audit 0 vulnerabilities, npm run build; the shell syntax loop, text lint 0
findings, py_compile, compileall, the engine's self-check, agents sync --check
in step; the window check 2 passed; the shell type-checked for Windows, 0
errors, 0 warnings. After the bump: the version tests, 8 passed. Not run:
Windows, macOS, the desktop shell build, a packaged engine, any real agent
program.
@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner November 20, 2026 08:51
@nodemode-ai
nodemode-ai merged commit 1e8bbf5 into main Nov 20, 2026
9 checks passed
@nodemode-ai
nodemode-ai deleted the feat/sprint-finish-0.12.0 branch November 20, 2026 22:14
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