Skip to content

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

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(agents): adopt the family agent finder 1.1.0 (byte for byte from FormVis, sha256 313fcd40...1da8e recorded in setup/agents.py); tests cover pnpm and bun shims, Windows name spelling, the refusal rules and the recorded hash
  • feat(licences): THIRD-PARTY-NOTICES.txt with full licence texts for the Python runtime, packages and PyInstaller bootloader, the Rust crates of the engine and the desktop shell, the production npm packages, the AppImage LGPL libraries and the bundled data; downloaded add-ons listed as not bundled
  • setup/notices.py writes the file and --check fails CI when something that ships has no notice; the check runs in the tests job
  • The notices ship in the installers with LICENSES.md, are frozen into the engine, are served at /api/notices and are shown under Preferences, General, About FormRig (translated in every table)
  • Tests: rb04/test_setup_notices.py (check, round trip, gaps, pins, extras, crate closure, add-ons) and rb05/test_routers_system_notices.py (route, 404, size cap, frozen path)

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 services/agent_lookup.py 1.1.0 byte for byte from FormVis and record
its hash. Windows script names are read the way Windows opens them, pnpm
and bun shims start their runner directly, and the command interpreter
refusal is CommandLineRefused with the extra quoted-path rule. Tests cover
the shim kinds, the refusal rules and the recorded hash.
Add THIRD-PARTY-NOTICES.txt, written and checked by setup/notices.py on
the FormDAM model. It holds the licence texts of the Python runtime and
packages, the PyInstaller bootloader, the Rust crates of the engine
module and the desktop shell, the production npm packages, the LGPL 2.1
for the AppImage system libraries and the bundled data credits, and names
the add-ons downloaded after consent. The installers carry it with
LICENSES.md, the frozen engine bundles it and serves it at /api/notices,
and Preferences, General, About FormRig shows it. CI runs the --check
mode in the tests job.
@gbarnai
gbarnai requested a review from nodemode-ai as a code owner November 29, 2026 23:14
gbarnai and others added 2 commits November 29, 2026 19:52
…e file

The 35 crates whose published package carries no licence file now take
their text from licenses/crates/<name>-<version>/, copied from the
collected upstream licence texts with their SOURCE.txt. setup/notices.py
reads that folder and each entry's note names the upstream file and ref,
or the SPDX text it was reconstructed from.
@nodemode-ai
nodemode-ai merged commit f149c06 into main Nov 30, 2026
6 checks passed
@nodemode-ai
nodemode-ai deleted the chore/launcher-and-notices branch November 30, 2026 19:04
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