Skip to content

feat: transcoding attestation protocol, Nix flake, SLSA L3 artifacts#58

Merged
avrabe merged 1 commit intomainfrom
feat/attestation-slsa-nix
Mar 18, 2026
Merged

feat: transcoding attestation protocol, Nix flake, SLSA L3 artifacts#58
avrabe merged 1 commit intomainfrom
feat/attestation-slsa-nix

Conversation

@avrabe
Copy link
Contributor

@avrabe avrabe commented Mar 18, 2026

Summary

  • Phase 2.4: TranscodingPredicate (wsc.dev/transcoding/v1) — in-toto predicate for carrying cryptographic provenance across the WASM→native compilation boundary (synth integration). Builder pattern, create_transcoding_statement() helper, 16 tests.
  • Issue Add Nix flake for reproducible development and build environment #48 / FEAT-3: flake.nix with Rust 1.90.0 via rust-overlay, Bazel 8, cargo-fuzz/audit/deny, rust-toolchain.toml, .envrc for direnv. SLSA Level 3 prerequisite.
  • Rivet artifacts: FEAT-6, DD-5, REQ-12, CR-17, CD-17, CD-18, CV-25, CV-26, DF-16 for full traceability

New files

File Purpose
src/lib/src/transcoding.rs Transcoding attestation protocol (810 lines, 16 tests)
flake.nix Nix flake for reproducible dev environment
rust-toolchain.toml Pin Rust 1.90.0 + wasm32-wasip2 target
.envrc direnv integration

Test plan

  • cargo check — workspace compiles clean
  • cargo test -p wsc -- transcoding — 16/16 tests pass
  • nix flake check --no-build passes
  • nix develop provides rustc 1.90.0 with wasm32-wasip2
  • CI cargo + bazel builds pass
  • CI signing workflow passes

Closes #48

🤖 Generated with Claude Code

…tifacts

Phase 2.4: Implement TranscodingPredicate (wsc.dev/transcoding/v1) for
carrying cryptographic provenance across the WASM→native compilation
boundary. Builder pattern, in-toto Statement wrapper, 16 tests.

Issue #48 / FEAT-3: Add flake.nix with Rust 1.90.0 (rust-overlay),
Bazel 8, cargo-fuzz/audit/deny, direnv integration, and
rust-toolchain.toml for reproducible builds (SLSA L3 prerequisite).

Rivet artifacts: FEAT-6, DD-5, REQ-12, CR-17, CD-17, CD-18, CV-25,
CV-26, DF-16 for full traceability of new work.

Implements: FEAT-6, FEAT-3
Refs: CR-17, CD-17, CD-18

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@avrabe avrabe merged commit 3f7a8ac into main Mar 18, 2026
12 checks passed
@avrabe avrabe deleted the feat/attestation-slsa-nix branch March 18, 2026 06:22
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.

Add Nix flake for reproducible development and build environment

1 participant