Skip to content

fix: enforce the closed protected guest result contract - #946

Merged
antropos17 merged 2 commits into
masterfrom
codex/guest-result-contract-20261016
Oct 16, 2026
Merged

antropos17 merged 2 commits into
masterfrom
codex/guest-result-contract-20261016

Conversation

@antropos17

Copy link
Copy Markdown
Owner

The administrative guest result checker accepted extra dictionary fields, coerced schema versions and arrays in identity fields, and returned the original object with remoting note properties. Those values could reach the settlement journal despite the documented result contract.

Require exactly eight case-sensitive dictionary keys, strict primitive types and the outstanding VM/nonce/executable binding. Validate dictionary size/keys through accessors that cannot be hidden by input keys, then journal and return a fresh canonical projection. Preserve one-use admission, fresh VM checks, nonzero exit codes and the disabled ordinary launch boundary.

Validation: first reproduced eight failing cases, then passed 79 local Windows tests across guest, VM and installation suites. Coverage includes malformed/extra/case-confused fields, shadowed dictionary members, duplicate results, metadata exclusion and a real Windows PowerShell background job with nested serialization. Formatting and diff checks passed. Required CI is checked on the final PR revision. No new Hyper-V or provider qualification is claimed; earlier hosted evidence retains source 5113e3b.

@antropos17
antropos17 merged commit 01de85c into master Oct 16, 2026
5 checks passed
@antropos17
antropos17 deleted the codex/guest-result-contract-20261016 branch October 16, 2026 11:35
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