feat(conformance): add required-choice outcome checks#337
Merged
pentaxis93 merged 5 commits intoMay 31, 2026
Conversation
Add C-5 manifest validation for registered outcome types, required output choice members, and outcome-trigger routing. Extend C-2 workflow contract validation so outcome terminals derive from registered outcome artifact types and must match the manifest required-choice group, without adding a third per-contract choice declaration. Refs #336
Convert malformed directory-local manifest registry construction failures into aggregate C-2/C-3 conformance results instead of letting TypeError escape the runner. Refs #336
Make manifest required_output_choices authoritative for every terminal artifact when a protocol declares a single choice group, and reject multiple groups as runtime-unsatisfiable for single-terminal C-2 runs. Refs #336
Reject disposition-agnostic outputs from outcome-bearing protocols across simple trigger forms and composite triggers, while preserving re-review triggers on protocol inputs.\n\nRefs #336
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.
Summary
[[outcome_types]]and validates manifest choice members against it.Changes
manifest.tomlis checked asC-5 manifest.on_artifact.GitHub Issue(s)
Closes #336
Test plan
python -m tooling.conformancepython -m unittest discover -s tests