Skip to content

chore: shared Windows agent launcher and full third-party licence notices - #18

Merged
nodemode-ai merged 4 commits into
mainfrom
chore/launcher-and-notices
Nov 30, 2026
Merged

nodemode-ai merged 4 commits into
mainfrom
chore/launcher-and-notices

Conversation

@gbarnai

@gbarnai gbarnai commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • fix: replace formfabric's drifted agent_lookup.py 1.0.1 with the family's canonical 1.1.0 from FormVis, byte for byte (sha256 313fcd40...), and hold it to that hash in a test
  • Claude Code and the agent tabs answer a refused Windows start (CommandLineRefused) with a 400 and its sentence; a refused agent tab no longer leaks its MCP key
  • Launcher tests rewritten for 1.1.0: npm, pnpm and exe shims, case, dots and stream names, refused characters, quoted-path rules, check reports broken, and the HTTP routes
  • feat: generated THIRD-PARTY-NOTICES.txt with the full licence texts of the Python runtime and packages, the production npm packages and 600 Rust crates (engine module, in-page engine, desktop shell)
  • setup/notices.py --check added to the CI test job; build_app --dry-run requires the file
  • Notices ship beside the app (tauri resources), are frozen into the engine, are served at /api/notices and appear in a Third-party notices section of About FormFabric, translated in every table
  • NOTICE.md versions brought up to date; Linux keychain packages cryptography, cffi and pycparser added; README, CONTRIBUTING and HASHOUT logs updated
  • Tests: 6 engine tests for the notices route and check, 3 unit tests for the About section

Tests

  • The notices check and the tests for the launcher behaviour this app depends on were run locally on macOS; failures seen locally also fail on main. Please rely on this PR's CI.

How to ship

  • Independent of other repos. The shared launcher file is the same byte for byte in every Form app (agent_lookup 1.1.0, source in FormVis). No version bump; it can go into the next release.

Copy backend/app/services/agent_lookup.py byte for byte from formvis
(VERSION 1.1.0, sha256 313fcd40541199c920314516026a0b225aeb4915e9a5dc26bf51d1ba05f1da8e)
in place of formfabric's own 1.0.1 copy. It reads program names the way
Windows opens them, follows npm, pnpm and bun shims, and refuses words the
command interpreter would change with CommandLineRefused, an OSError.

Claude Code and the agent tabs answer a refused start with a 400 and its
sentence, and a refused agent tab no longer keeps its MCP key. The tests
follow the new behaviour and hold the file to the recorded hash.
setup/notices.py writes THIRD-PARTY-NOTICES.txt with the licence texts of
the Python runtime and service packages, the production npm packages and
every registry crate in the engine module, the in-page engine and the
desktop shell. --check runs in the CI test job and fails when the file
misses something that ships or lists something that no longer does.

The file ships beside the app, is frozen into the engine, is served at
/api/notices and is shown in a Third-party notices section of About
FormFabric, translated in every table. NOTICE.md stays the human ledger,
with its versions brought up to date and the Linux keychain packages
(cryptography, cffi, pycparser) added. The HASHOUT logs record both this
and the finder change.
@gbarnai
gbarnai requested a review from nodemode-ai as a code owner November 29, 2026 23:12
gbarnai and others added 2 commits November 29, 2026 19:49
The 44 crates whose published package has no licence file now carry the
upstream licence files (or, for selectors, the SPDX text reconstructed with
the holders its metadata names), kept in setup/licence_texts/crate with a
SOURCE.txt naming the repository, ref and file URLs. setup/notices.py uses
them, prints a note naming the source and includes SOURCE.txt, and --check
flags a kept folder no crate ships or a notice that drops its kept texts.
@nodemode-ai
nodemode-ai merged commit ecda487 into main Nov 30, 2026
7 checks passed
@nodemode-ai
nodemode-ai deleted the chore/launcher-and-notices branch November 30, 2026 18: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.

2 participants