Skip to content

FormAT 0.32.0: the Browser pane's page is shown only in the FormAT window - #14

Merged
nodemode-ai merged 2 commits into
mainfrom
feat/finish-0.32.0
Nov 21, 2026
Merged

nodemode-ai merged 2 commits into
mainfrom
feat/finish-0.32.0

Conversation

@nodemode-ai

Copy link
Copy Markdown
Collaborator

FormAT 0.32.0: the Browser pane's page is shown only in the FormAT window

Two commits on top of 0.31.0 (merged main): the window key's last route, and the release.

What changes for people

  • The page shown in the Browser pane is now sent only to the FormAT window. Other programs on your computer that ask for it are refused, as they already were for every change. Nothing changes in how you use the pane.
  • Agents connected over MCP, the stdio bridge (./format mcp) and the command line (./format cli) work as before: they follow the Outside agents choice in Settings (Ask, Allowed or Blocked), sealed in the system keychain, and cannot change it.
  • Engine: no new commands (still 114).

What the window key covers now

FormAT has had the family's window key since 0.27.0: the engine makes one key at each launch, the packaged app gets it from the engine's own output and gives it to its page in one initialization script, a page run from source claims it once (a second claim is refused), a reloaded page tries the key it kept before asking again, every write needs it, and the events and terminal sockets need a one-time ticket that only the key can get. This release adds the reads: every read route is now either public (health, the command catalogue, the speech engine list, the sign-in return page), addressed by a random id that only the window or an allowed agent learns (attachments, chat files, artifacts, terminal snapshots, shared links), or refused without the key (the Browser pane's frame). A test walks every route and fails when a new one is in none of these lists.

How it was checked

  • The real engine (format_engine.py, stand-in agent programs on PATH) with the built window in Chromium, from source and in the packaged mode (FORMAT_WINDOW_KEY_STDOUT=1, the key read from the engine's output and given to the page by an initialization script, as the shell does):
    • The window with its key: an upload 200, a command 200, the frame 204 (no page open); with the built-in browser open, the pane's own frame requests 200 image/jpeg.
    • A local program without the key: the upload 403, the frame 403 (204 before this change), the socket ticket 403, a wrong key 403; its command waited for the person's consent.
    • A second claim: 409 from source, 404 in the packaged mode.
    • After a reload: no new claim, the same kept key, the upload and the command 200 again. No console error.
  • The new read walk failed with the frame left unguarded and with an unlisted read route added; an added write route without the key was refused (403).
  • tests/test_window_key.py: 10 passed.

Checks rehearsed

On a local clone of the release commit 11ca482.

Job Commands Result
frontend npm ci --dry-run, npm audit, npm run typecheck, npm run build exit 0 each; 0 vulnerabilities
backend python -m compileall -q app format_engine.py; boot uvicorn and probe /api/health exit 0; {"ok":true,"name":"FormAT","version":"0.32.0"}
test python -m pytest tests -q -p no:cacheprovider in backend 139 passed
window pytest frontend/tests/window after npm run build 2 passed
scripts bash -n on the shell scripts; no em dash or emoji in tracked markdown 0 failures; clean
agents ./format agents sync --check 114 commands, up to date
version and lists tests/test_f4_versions.py, tests/test_requirements_lists.py 7 passed

The workflow has no macOS or Windows job. No script, requirements list or shell source file changed.

Please merge this with a merge commit, not a squash and not a rebase.

Held

  • The SECURITY.md supported-versions row (0.26.x) stays as the last release left it.

Not run

  • Nothing ran on Windows or macOS, and no packaged engine was built.
  • The desktop shell was not compiled; this release changes only its version fields. Its key capture was shown by giving the page the key the same way, not by the shell itself.
  • No real agent program was run (stand-ins only).

… window

The engine already made one key at each launch, gave it once to the
first page, and asked for it on every write; calls without it follow
the Outside agents choice. Reads were all open. Now the reads the
window alone should make need the key too: GET /api/browser/frame
answers 403 without it, and the Browser pane sends it with each frame.

Every read route is classified in tests/test_window_key.py (public,
addressed by a random id, or needing the key), and a new read that is
in none of the lists fails the walk, as a new write route that answers
without the key fails the write walk. The open lists are pinned.
Version sites, as in the last release: backend/app/__init__.py,
frontend/src/version.ts, frontend/package.json, both version fields at
the top of frontend/package-lock.json, src-tauri/Cargo.toml, the format
package entry in src-tauri/Cargo.lock, src-tauri/tauri.conf.json, the
README badge, and the "Current build version" and "Last updated" lines
of both HASHOUT logs. CHANGELOG.md has the 0.32.0 entry.

Before this commit: tests/test_window_key.py 10 passed,
tests/test_f4_versions.py and tests/test_requirements_lists.py 7
passed, typecheck exit 0. The whole gate is run on this commit in a
local clone.

Left as they are: the SECURITY.md supported-versions row (0.26.x).
@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner November 21, 2026 04:23
@nodemode-ai
nodemode-ai merged commit 910b403 into main Nov 21, 2026
5 checks passed
@nodemode-ai
nodemode-ai deleted the feat/finish-0.32.0 branch November 29, 2026 06:10
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