wai-rs: prove the reconstruction binding over a real jpegai decode #53

Open
dcharlot wants to merge 1 commit from wai-binding-real-decode into main
Owner

Closes the loop on the C2PA reproducible-reconstruction binding: end-to-end from a real byte-exact JPEG-AI decode to a hard binding over the decoded pixels. Verified — round-trip verify, a second decode is byte-identical and the binding verifies it (decode-equivalence), a flipped pixel breaks it. Emits the real assertion over the decoded test256. First test compiling neural_int + provenance together; gated on the model bundle.

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com

Closes the loop on the C2PA reproducible-reconstruction binding: end-to-end from a real byte-exact JPEG-AI decode to a hard binding over the decoded pixels. Verified — round-trip verify, a second decode is byte-identical and the binding verifies it (decode-equivalence), a flipped pixel breaks it. Emits the real assertion over the decoded test256. First test compiling neural_int + provenance together; gated on the model bundle. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
wai-rs: prove the reconstruction binding over a REAL jpegai decode
All checks were successful
WAI conformance / cargo-class corpora · linux (pull_request) Successful in 32s
WAI conformance / cargo-class corpora · linux-arm64 (pull_request) Successful in 41s
WAI conformance / cross-arch byte-equality · linux (pull_request) Successful in 15s
WAI conformance / cross-arch byte-equality · linux-arm64 (pull_request) Successful in 20s
WAI conformance / cargo-class corpora · windows (pull_request) Successful in 1m11s
WAI conformance / cross-arch byte-equality · windows (pull_request) Successful in 20s
WAI conformance / cargo-class corpora · macos (pull_request) Successful in 2m10s
WAI conformance / cross-arch byte-equality · macos (pull_request) Successful in 2m1s
c665850ccb
The reconstruction_binding unit tests bind over synthetic RGB. This closes the loop
end to end: the byte-exact decoder decodes test256 to pixels, and the C2PA/JPEG-Trust
hard binding is taken over those pixels — sha256 over the canonical RGB8, plus the
descriptor pinning the reproducible decode.

It exercises the property the capability rests on and that neural-coded media could
not have before a byte-exact decode: the decode is deterministic
(decode-equivalence), so the binding taken over one decode verifies a second decode
byte-for-byte, while a single flipped pixel breaks it. Emits the actual assertion
(label science.transaction.wai.hash.reconstruction) over the real decoded image.

Also the first test that compiles `neural_int` + `provenance` together. Gated on the
model bundle; skips cleanly without it.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
All checks were successful
WAI conformance / cargo-class corpora · linux (pull_request) Successful in 32s
WAI conformance / cargo-class corpora · linux-arm64 (pull_request) Successful in 41s
WAI conformance / cross-arch byte-equality · linux (pull_request) Successful in 15s
WAI conformance / cross-arch byte-equality · linux-arm64 (pull_request) Successful in 20s
WAI conformance / cargo-class corpora · windows (pull_request) Successful in 1m11s
WAI conformance / cross-arch byte-equality · windows (pull_request) Successful in 20s
WAI conformance / cargo-class corpora · macos (pull_request) Successful in 2m10s
WAI conformance / cross-arch byte-equality · macos (pull_request) Successful in 2m1s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin wai-binding-real-decode:wai-binding-real-decode
git switch wai-binding-real-decode

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff wai-binding-real-decode
git switch wai-binding-real-decode
git rebase main
git switch main
git merge --ff-only wai-binding-real-decode
git switch wai-binding-real-decode
git rebase main
git switch main
git merge --no-ff wai-binding-real-decode
git switch main
git merge --squash wai-binding-real-decode
git switch main
git merge --ff-only wai-binding-real-decode
git switch main
git merge wai-binding-real-decode
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Transaction-Science/open-standards!53
No description provided.