Skip to content

feat: add wasm browser workload contracts#33

Merged
intel352 merged 1 commit into
mainfrom
feat/wasm-browser-workload-contracts
Jun 1, 2026
Merged

feat: add wasm browser workload contracts#33
intel352 merged 1 commit into
mainfrom
feat/wasm-browser-workload-contracts

Conversation

@intel352
Copy link
Copy Markdown
Contributor

@intel352 intel352 commented Jun 1, 2026

Summary

  • add public compute-core payload contracts for WASM component, provider-backed WASM, and product-capture browser workloads
  • preserve existing workflow-compute validation behavior for scoped component refs, digest-pinned image/component refs, provider/component identity binding, bounded product capture limits, and JSON object/array inputs
  • unblock RTE-2 so workflow-plugin-compute-wasm can avoid copying workflow-compute structs

Verification

  • PASS: GOWORK=off go test ./protocol -run 'TestWASMRuntimePayloadContracts|TestProductCaptureWorkloadValidation' -count=1
  • PASS: GOWORK=off go test ./... -count=1
  • PASS: GOWORK=off go vet ./...
  • PASS: git diff --check

Adversarial review

Self-review checked for host authority leaks and validation loosening. This only adds data contracts and validators; no worker credentials, authz, artifact store paths, proof mutation, or settlement authority move into compute-core.

Generated by the implementing agent.

Copilot AI review requested due to automatic review settings June 1, 2026 00:32
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@intel352 intel352 merged commit 2cf9c33 into main Jun 1, 2026
4 of 5 checks passed
@intel352 intel352 deleted the feat/wasm-browser-workload-contracts branch June 1, 2026 00:37
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