Skip to content

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

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

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

Conversation

@gbarnai

@gbarnai gbarnai commented Nov 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • fix(agents): the Go version of the shared finder now follows FormVis agent_lookup.py 1.1.0 on Windows: shim names read the way Windows opens them, npm, pnpm and bun shims followed only in their known shape, cmd.exe fallback refusing special characters in any word and a quoted program path that cmd /c would strip; Version 1.1.0 and SpecSHA256 recorded
  • fix(notices): the notices generator keeps every licence-like file (NOTICE, PATENTS, COPYRIGHT, third-party), every licence file of a crate under AND, the standard text with SPDX id and repository for a crate that ships none, and Unix line ends; NOTICES.md and src-tauri/NOTICES.md regenerated
  • ci: the test job runs go run ./tools/notices --check, which fails when either notices file misses or keeps a component or a row has no licence text
  • tests: internal/agentlookup/windows_shims_test.go (FormVis 1.1.0 cases) and tools/notices/check_test.go

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.

Shim names are read the way Windows opens them, npm, pnpm and bun shims
are followed to their script or exe only in the known shape, and the
cmd.exe fallback also refuses a quoted program path that cmd /c would
strip. The refusal is CommandLineRefused, still matched by ErrUnsafeArg.
The generator now keeps every licence-like file of a package (NOTICE,
PATENTS, COPYRIGHT, third-party licences), all licence files of a crate
under AND, the standard text with SPDX id and repository for a crate
with none, and Unix line ends. --check fails when NOTICES.md or
src-tauri/NOTICES.md misses or keeps a component, or a row has no
licence text; the CI test job runs it.
@gbarnai
gbarnai requested a review from nodemode-ai as a code owner November 29, 2026 23:11
The notices generator now takes the licence files kept in
tools/notices/licence_texts/<ecosystem>/<name>-<version> for a crate or
npm package whose published copy carries no licence text, and heads each
with its SOURCE.txt. 20 crates take upstream files at the published or a
later commit (selectors and sigchld are reconstructed from the SPDX text
with the holders their metadata names). fastdom and strictdom take the
MIT text from the License section of their published README. Both
notices files are regenerated.
@nodemode-ai
nodemode-ai merged commit 5e7ada3 into main Nov 30, 2026
3 checks passed
@nodemode-ai
nodemode-ai deleted the chore/launcher-and-notices branch November 30, 2026 18:32
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