Skip to content

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

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

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

Conversation

@gbarnai

@gbarnai gbarnai commented Nov 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • fix(engine): take the family's agent finder 1.1.0. agent_lookup.py is now a byte-for-byte copy of FormVis's (sha256 313fcd40...), recorded in LOOKUP_HASHES. The agent dock catches CommandLineRefused and still answers 400. Adds FormVis's Windows starter tests and docs/AGENT_LOOKUP.md.
  • feat: ship the full licence texts of every bundled component. setup/notices.py writes THIRD-PARTY-NOTICES.txt from the Python packages (OCR and uvicorn[standard] extras included), the Python runtime and PyInstaller bootloader, the engine's fonts and dictionary, the window's production npm packages and all 515 locked crates.
  • THIRD-PARTY-NOTICES.txt ships in every installer, is frozen into the engine, is served at GET /api/notices and is shown under Preferences > About (5 new strings translated into every language).
  • No version bump; nothing pushed.

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)
and record it in LOOKUP_HASHES. The agent dock catches CommandLineRefused
in place of the removed Refused. Adds FormVis's Windows starter tests, a
test for the dock's 400, and docs/AGENT_LOOKUP.md.
Add setup/notices.py and setup/notices_crates.py, which write
THIRD-PARTY-NOTICES.txt from the installed Python packages (OCR and
requirement extras included), the Python runtime and PyInstaller
bootloader, the engine's fonts and dictionary, the window's production
npm packages and every Rust crate the desktop shell locks. --check runs
in the CI test job and fails when the file no longer covers what ships.

The file ships beside NOTICE.md in every installer, is frozen into the
engine, is served from GET /api/notices and is shown under
Preferences > About. NOTICE.md stays the human ledger.
@gbarnai
gbarnai requested a review from nodemode-ai as a code owner November 29, 2026 23:13
Forty-one shipped packages (flatbuffers and forty crates) publish no licence file. Their upstream texts, or the SPDX standard text where no file exists upstream (selectors, sigchld), are kept in setup/licence_texts with a SOURCE.txt naming every file and ref. The generator prints them with a note naming the source, and --check names a kept text the notices miss, a notice that differs from it, or a kept folder for a package that no longer ships.
setup/licence_texts is a folder of vendored licence files, so bash -n on it exited 126.
Both sides added HASHOUT entry 137. Main's entries keep 137; this branch's
become 138 and 139 in the backend log and 138 in the frontend log.
@nodemode-ai
nodemode-ai merged commit 2f7d9f4 into main Nov 30, 2026
5 checks passed
@nodemode-ai
nodemode-ai deleted the chore/launcher-and-notices branch November 30, 2026 20:26
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