Repository navigation
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
Conversation
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 look
Agents
How it was checked (0.29.0)
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.maturin build --release), installed, and then--selfcheck(engine 0.29.0, 255 commands),./formfabric agents sync --checkand./formfabric agents checkexit 0.npm ci --dry-run,npm ci, the window build with its type check,npm audit(0 vulnerabilities),bash -non 23 scripts, Python byte-compile: all exit 0. The built window against the engine in dark and light: no page error.Not run
src-tauri/src/main.rsandsrc-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.enginejob (clippy, browser engine) and thedesktop-shelljob were not run.Held
Checks rehearsed
For reference, already merged: 0.28.0
Agents
Documents
docs/integrationnames 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 -non 23 scripts, byte-compile,--selfcheck,agents sync --checkandagents checkexit 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.