Skip to content

Ship third-party licence notices, pin actions to commits, name one copyright holder - #5

Merged
zy4 merged 2 commits into
mainfrom
licence-notices-and-pinned-actions
Oct 11, 2026
Merged

zy4 merged 2 commits into
mainfrom
licence-notices-and-pinned-actions

Conversation

@zy4

@zy4 zy4 commented Oct 11, 2026

Copy link
Copy Markdown
Contributor

No issue was filed here, but the three defects reported against the Python SDK (dekrops/verified-python#9, #10, #14) exist in this repository too. This is the same fix; the Python one is dekrops/verified-python#15.

Third-party licence notices

The WebAssembly module links crates under BSD-3-Clause, MIT, Apache-2.0 and Unicode-3.0, and the npm package is a binary distribution of them. 0.1.0 on npm shipped without their notices.

  • THIRD-PARTY-LICENSES.md is generated from rust/Cargo.lock by cargo-about, limited to the wasm32-unknown-unknown target, with the template Generate the third-party notices a binary must carry, and keep them current verified-cli#33 uses.
  • Shipped through files in package.json. I packed the tarball locally and checked it is inside.
  • Kept current by CI: the build job regenerates it offline and fails on any difference; the package job fails if the tarball lacks it.
  • NOTICE no longer points at rust/, which is not in the package, and now names wasm-bindgen, whose generated loader ships in dist/native/.

Actions pinned to commits

Every action is pinned to the commit of its latest release, with the version as a comment. dtolnay/rust-toolchain@master is replaced by rustup reading rust/rust-toolchain.toml.

One copyright holder

NOTICE and package.json now say Krops GmbH, matching verified-cli and wvp. Please confirm this is the right entity; "Verified AI" was my wording in the scaffold.

Not in this PR: the release

0.1.0 on npm can't be changed, so the notices only reach users with a new version. This PR does not bump the version or publish.

Checked

  • 308 tests pass locally; lint clean; tarball packed and inspected.
  • The workflow changes are only proven by this PR's own CI run.

🤖 Generated with Claude Code

seungzin and others added 2 commits October 11, 2026 17:49
…pyright holder

The same three defects reported against verified-python (dekrops/verified-python#9,
#10, #14) are present here.

- THIRD-PARTY-LICENSES.md is generated from rust/Cargo.lock by cargo-about,
  for the WebAssembly target, and ships in the npm package. CI fails when
  it differs from the lockfile and when the packed tarball lacks it.
- Every GitHub Action is pinned to a commit. The Rust toolchain comes from
  rust/rust-toolchain.toml through rustup, not from an action tracking a
  branch.
- NOTICE and package.json say Krops GmbH, as verified-cli and wvp do.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cargo-about reads metadata for all targets; the clippy step before it had
only fetched what the WebAssembly target needs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@zy4
zy4 merged commit faf958e into main Oct 11, 2026
10 checks passed
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