Skip to content

test(workload): establish binary and OCI packaging entry gate - #13

Merged
darwin67 merged 2 commits into
mainfrom
rfd-3-workload-packaging
Sep 10, 2026
Merged

test(workload): establish binary and OCI packaging entry gate#13
darwin67 merged 2 commits into
mainfrom
rfd-3-workload-packaging

Conversation

@darwin67

@darwin67 darwin67 commented Sep 9, 2026

Copy link
Copy Markdown
Member

Summary

  • define one canonical deterministic workload model for standalone binaries and OCI images
  • retain raw source evidence and derived guest content as an independently verifiable replay closure
  • specify unprivileged per-invocation execution, live workload I/O, whole-guest cleanup, OCI normalization, and private artifact boundaries
  • complete the RFD 3 entry gate with an auditable standalone C workload fixture
  • reproducibly capture the fixture as both a static x86-64 Linux ELF and a minimal local OCI image layout
  • record artifact identities, sizes, constraints, and validation evidence without prematurely selecting parser or cache limits

Entry-gate regression coverage

  • accepts independently generated RFD 2 payloads over an exact one-block TFTP exchange and rejects corruption
  • permits only one escaped descriptor-retaining descendant per invocation
  • runs concurrent captures into distinct directories and recursively compares every generated file

Oracle review

Two review-and-fix passes resolved RFD 2 payload incompatibility, unbounded descendant creation, unsafe shared capture publication, and the capture-comparison precision gap. Oracle's final review reported no findings.

Validation

  • .agents/dev ./scripts/rfd3-entry-gate-test.sh
  • .agents/dev make check-rfds
  • .agents/dev cargo fmt --all -- --check
  • .agents/dev cargo clippy --workspace --all-targets -- -D warnings
  • .agents/dev cargo test --workspace --all-targets (83 tests)
  • nix --extra-experimental-features 'nix-command flakes' flake check
  • bash -n scripts/*.sh
  • shellcheck scripts/rfd3-entry-gate.sh scripts/rfd3-entry-gate-test.sh

@darwin67
darwin67 force-pushed the rfd-3-workload-packaging branch from 04a7daf to 77fb323 Compare September 9, 2026 07:18
@darwin67
darwin67 force-pushed the rfd-3-workload-packaging branch from 77fb323 to cb10d64 Compare September 9, 2026 19:25
@darwin67 darwin67 changed the title docs(plan): propose reproducible workload packaging docs(plan): define deterministic binary and OCI workloads Sep 9, 2026
@darwin67 darwin67 changed the title docs(plan): define deterministic binary and OCI workloads test(workload): establish binary and OCI packaging entry gate Sep 10, 2026
@darwin67
darwin67 merged commit 10f7718 into main Sep 10, 2026
7 checks passed
@darwin67
darwin67 deleted the rfd-3-workload-packaging branch September 10, 2026 05:53
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.

1 participant