Repository navigation
feat: in-package signed Core ML variants and conversion tooling - #1646
Merged
Merged
Conversation
Schema 2.2.0 packages can carry a coreml variant whose digest and conversion provenance are covered by the manifest signature. Hosts fetch only the variants they can use, and model verify rejects a tampered or missing file. Co-authored-by: Cursor <cursoragent@cursor.com>
The wasm-encoder 0.261 bump left the unused 0.259 package in the lockfile, and version-guard rejects that with --locked. Co-authored-by: Cursor <cursoragent@cursor.com>
The variant error helper's success arm and a backup member whose declared size understates its bytes were the only misses keeping traverse-runtime under 100%. Co-authored-by: Cursor <cursoragent@cursor.com>
Main already dropped the stale wasm-encoder lock entry and recorded the .NET host. Keep both changelog notes. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
2.2.0accepts optionalaccelerator_variants. A host fetches only the variants its adapters can use, and a tampered or missing selected file failsdigest_mismatchwith no fallback.traverse-cli model convert-coremlwrites a deterministic uncompressed Core ML model, andmodel add-variantrecords its digest and conversion provenance.model verifychecks every variant in the package.Governing Spec
138-governed-exact-model-execution060-wasm-resource-limits136-native-embedder-publication062-runtime-target-matrix051-registry-extraction004-spec-alignment-gateProject Item
What Changed
2.2.0now accepts theaccelerator_variantsfield the contract already described.supported_adapters.Definition of Done
birdnet-v2.4-int8) carries a signedcoremlvariant, andmodel verifyaccepts it.rights.derivation.source_digest.Validation
2.2.0already listed the field)Notes
BirdNET weights are not in the repo. The verify test uses a small ONNX stand-in under model id
birdnet-v2.4-int8.convert-coremlpacks those bytes into a specificationVersion 3 Core MLCustomModelso the same source always yields the same file. Graph lowering onto the Neural Engine and the Swift adapter are #1629.The extra governing specs cover files this branch inherited when it merged current
main(the .NET host and its CI). They are not new product scope for #1628.