refactor(container): share validated run and attestation contracts - #2598
Merged
jonathanKingston merged 2 commits intoSep 9, 2026
Merged
jonathanKingston merged 2 commits into
jonathanKingston merged 2 commits into
Conversation
Contributor
jonathanKingston
marked this pull request as ready for review
September 9, 2026 02:53
jonathanKingston
merged commit Sep 9, 2026
8f66ca4
into
claude/copse-container-execution-nw4ln8
35 checks passed
This branch was previously deployed
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.
Container request, result, run-spec, and attestation shapes were maintained separately by the host, worker, and IPC layer. Share their validators and derive their TypeScript types from those contracts. Named mapped public types retain the API generator's existing references, so this does not change the wire schema. Attestation parsing now preserves the optional security profile and per-command network fields.
Follow-up to #2348, targeting its feature branch so this PR contains only the schema change. Also validated in an isolated checkout rebased onto
origin/mainat4253dfd0f.Validation: typecheck, lint, formatting, dead-code, oracle, and e2e-syntax checks passed; 62 focused tests passed. The full sandboxed suite reported 8,826 passing, 42 failing, 41 cancelled, and 9 skipped tests; failures include denied loopback/Unix socket listeners (
EPERM). No renderer or DOM changes. All four changes were also integrated: 8,953 full-suite unit tests passed outside the sandbox, and the final 208-test targeted regression run passed after the additional cancellation fix.