Skip to content

FormFabric 0.29.0: the window key from the engine alone, the family's design names, and a sentence when the agent choice was changed outside the app - #12

Merged
nodemode-ai merged 5 commits into
mainfrom
feat/close-0.29.0
Nov 20, 2026
Merged

nodemode-ai merged 5 commits into
mainfrom
feat/close-0.29.0

Conversation

@nodemode-ai

Copy link
Copy Markdown
Contributor

FormFabric 0.29.0: the window key from the engine alone, the family's design names, and a sentence when the agent choice was changed outside the app

This pull request carries 0.29.0: 5 commits on main, the release commit last. 0.28.0 merged while this release was being made, and 0.27.0 before it; their sections further down are kept for reference only.

What changes for people (0.29.0)

The window

  • The engine makes the window's key itself each time it starts and takes none from outside: a key handed to it in its environment is ignored, and the log says so. The desktop app reads the engine's own key and gives it to its window; started from source, the engine gives it once to the first page that asks and turns a second page away. A page reloaded after the engine restarted asks for the new key instead of sending the old one.

The look

  • Every design name of FormVis now works in FormFabric with FormVis's values (FormFabric shares FormVis's palette). Two small differences show in the agent dock: its terminal text is 13 points instead of 12, and the dim behind the dock's first-run guide and the outside-agent dialog is a little darker.

Agents

  • When the saved agent choice was changed outside the app, Preferences says so in one sentence under "Allow outside agents", in every language, and the program path saved with it is not used. The space for the sentence is kept free, so nothing moves when it appears.

How it was checked (0.29.0)

  • The engine started here (formfabric_engine.py), with a key set in its environment each time, and asked by each kind of caller: the window with its key 200 on a write and on a private read; a local program without a key 403 with the sentence, and with the key from the environment 403; a second claim 409. Started the way the desktop app starts it, the engine printed its key once before its address, the claim answered 404, and the key was in no log file; the log said the key from the environment was ignored.
  • Backend tests: 53 passed, 0 failed, on the release tree and again on the release commit, with stand-in agent programs and a stand-in shell first on PATH. New: the claim closed and the key line printed when the app reads the key, a key from the environment ignored and removed, a local program sending it refused, and the window still told of a broken seal after its own next write.
  • The engine module was built here for 0.29.0 from these native sources (maturin build --release), installed, and then --selfcheck (engine 0.29.0, 255 commands), ./formfabric agents sync --check and ./formfabric agents check exit 0.
  • Design names: the resolved token dump in the built window, before and after, dark and light: 20 names added, 6 values changed (the five dock names and the scrim), nothing else. Screenshots at 1440 by 900, dark and light, Home and the workspace with the dock open: the light Home is identical; the other differences are in the dock and under the first-run guide's dim, as listed.
  • The sentence: the built window against the engine with a stand-in keychain and a settings file changed outside the app: shown under "Allow outside agents" in all 30 languages; the block is 54 px high with and without it at 980 and 1440 px wide.
  • Version check (10 sites and the changelog), language tables (350 of 350 in every table), npm ci --dry-run, npm ci, the window build with its type check, npm audit (0 vulnerabilities), bash -n on 23 scripts, Python byte-compile: all exit 0. The built window against the engine in dark and light: no page error.

Not run

  • Nothing ran on Windows or macOS, and no real keychain was used (a stand-in keychain).
  • The desktop shell was not compiled here (no system WebKit); this release changes src-tauri/src/main.rs and src-tauri/src/engine_start.rs, and its source was type checked for Windows (x86_64-pc-windows-gnu) and macOS (aarch64-apple-darwin) with a cross compiler on the commit that holds both changes: 0 errors on both. It was never linked or started, so the shell's reading of the key line was not run; the first build is the release build.
  • The engine job (clippy, browser engine) and the desktop-shell job were not run.
  • The real Claude Code, Codex, Cursor and Antigravity were not run (stand-ins only).

Held

  • The window's first request to the engine's live events can still come before its key and is refused once, then retried; this was the same with the 0.28.0 window and is not changed here.

Checks rehearsed

Job Command Result
checks setup/version.py check, setup/i18n.py check pass (0.29.0 on the release commit; 350 of 350)
frontend npm ci --dry-run, npm ci, npm run build (type check and build), npm audit pass, 0 vulnerabilities
backend pytest tests 53 passed, 0 failed
backend --selfcheck with the engine, agents sync --check, agents check exit 0 with the 0.29.0 engine module
engine engine check, engine wasm not run (no engine source changed)
scripts bash -n on 23 scripts, compileall backend setup python pass
window the built page against the engine, dark and light no page error
desktop-shell cargo check --locked, build_app --dry-run not run here (no system WebKit); Windows and macOS type checks are the orchestrator's

For reference, already merged: 0.28.0

Agents

  • Each Antigravity tab in the agent dock works in a folder of its own, so two tabs open at once each keep their own connection to formfabric, and closing one leaves the other connected. The folder is removed when its tab closes.
  • Your choice about outside agents and the Claude Code program you set are now protected with a key kept in your system's keychain. If the settings file is changed outside the app, formfabric asks again instead of following it, and does not run a program path it did not set. Your choice from an earlier version is kept as it was. Without a keychain the app works as before.
  • Switching off "Allow outside agents" now also stops the agents in the dock's tabs and in Chat from using formfabric's tools.

Documents

  • The README's status now says released, built and tested on macOS, Windows and Linux (the owner's statement).
  • The copy of the compiler entry in docs/integration names apple signing for macOS, as the compiler's entry does.

How 0.28.0 was checked: backend tests 50 passed, 0 failed, with stand-in agent programs and a stand-in shell first on PATH (two Antigravity tabs at once with the stand-in agy, 2 tests; the sealed choice with a stand-in keychain, 10 tests); a preferences file written by 0.26.0's own code read with this code, the choice, the program path and the folder kept; version check, language tables, npm ci --dry-run, npm ci, the window build, bash -n on 23 scripts, byte-compile, --selfcheck, agents sync --check and agents check exit 0 (those three with the 0.27.0 engine module; 0.29.0 above runs them with its own). Not run for 0.28.0: Windows, macOS, a real keychain, the desktop shell's compile, the real agent programs.

For reference, already merged

0.27.0 (merged): only FormFabric's own window can change things, with a key the window claims; the engine keeps a log, refuses a second engine on the same folder and replaces one left by an app that is gone; on Windows the engine ends with the app and runs without a console window; the app waits at most 90 seconds for the engine and says why when it cannot start; the agent panel's first-run guide names Codex, Cursor and Antigravity; every pull request runs the backend tests, the agent kit check and the script checks.

Merge

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

…akes none

The desktop shell no longer makes a window key or hands one to the engine
through the environment. It asks the engine to print its own key once on
standard output (FFB_WINDOW_KEY_STDOUT=1), reads it from the same pipe as
the engine's address, gives it to the main window through the window's
initialization script for the engine's own origin only, and uses it for
the graceful stop on Windows. Lines carrying the key never enter the
start-failure tail.
…from the environment is ignored

The engine makes its window key at start and takes none from outside: an
inherited FFB_WINDOW_TOKEN is removed from its environment, ignored and
named once in the log. Started by the desktop shell (FFB_WINDOW_KEY_STDOUT=1)
the engine prints its key once on standard output before its address and
the claim route answers 404; started without the shell it gives the key
once to the first page that claims it and refuses a second claim (409).
The page checks a key kept for a reload before using it, so after the
engine restarts it claims the new key. The Python client's refusal says
what to use instead.

Tests (backend/tests/test_window_key.py): the claim is closed and the key
line printed in shell mode, an inherited token is ignored and removed, a
local program sending it is refused. Seen with the real engine here in
both modes: window with its key 200, no key 403, the inherited token 403,
second claim 409, shell-mode claim 404, key in no log file.
FormFabric shares FormVis's palette, so the missing FormVis names are
added with Studio Dark's values (15 --cv-* sizes and colours, --z-under,
--z-local-2, -4, -5, --dock-outline), --scrim becomes an alias of
--bg-scrim, and the five dock names that differed take FormVis's values
(--dock-raised, --dock-tab-border, --dock-scrim, --dock-accent-line,
--dock-term-font-size). Accent, base font size and z-index values are
unchanged; no rule was rewritten.
…s changed outside the app

Under Allow outside agents, Preferences now says "The agent choice was
changed outside formfabric, so the program path saved with it is not
used." when the sealed choice could not be read as whole, in every
language. The space for it is reserved, so nothing moves when it
appears. The engine also reports sealWasBroken for the rest of the launch,
because the window's own start-up write seals the file again before the
dialog is opened.

Seen in the window against the engine with a stand-in keychain: shown in
all 30 languages, the block 54 px high with and without the sentence at
980 and 1440 px. Test: backend/tests/test_seal.py.
…ily's design names, and a sentence when the agent choice was changed outside the app

Version sites, as for 0.28.0: VERSION, backend/app/__init__.py,
python/formfabric/__init__.py and catalogue.json, python/pyproject.toml,
frontend/package.json, package-lock.json (own fields), version.ts,
native/Cargo.toml and Cargo.lock (the workspace crates), src-tauri
Cargo.toml, Cargo.lock (own entry) and tauri.conf.json, the README
badge, SECURITY.md, and the two copies of the modeling skill's generated
line (./formfabric agents sync). CHANGELOG entry for 0.29.0.

Run on this tree before the commit, with the engine module built for
0.29.0 from these native sources: setup/version.py check (0.29.0, 10
sites and the changelog), --selfcheck (engine 0.29.0, 255 commands),
agents sync --check and agents check pass, i18n 350/350 in every table,
backend/tests 53 passed, compileall, npm ci --dry-run, npm ci, npm run
build, npm audit (0 vulnerabilities), bash -n 23 scripts, and the built
page against the engine in dark and light with no page error.
@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner November 20, 2026 21:50
@nodemode-ai
nodemode-ai merged commit 5096c38 into main Nov 20, 2026
6 checks passed
@nodemode-ai
nodemode-ai deleted the feat/close-0.29.0 branch November 20, 2026 21:57
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