Repository navigation
feat(sdl): add reusable mixed-control policies and occurrence contracts - #1584
Merged
Merged
Conversation
…dmission and migration
doublewhy
force-pushed
the
1363-reusable-mixed-control-authoring
branch
from
October 13, 2026 07:07
5bd9fd3 to
59aea03
Compare
doublewhy
force-pushed
the
1363-reusable-mixed-control-authoring
branch
from
October 13, 2026 07:36
59aea03 to
4d224ea
Compare
proposal_revision on a proposal record and decision_revision on an approval or denial record were lax Literal[1], so model_validate took the boolean true (and 1.0) as revision 1 while the published schema's const 1 rejects true. They are now StrictInt bounded to 1 with the unchanged published const 1 schema, matching every other v2 integer. The parity suite gains true rows for all three fields and a denial baseline; both validators now reject them. Refs #1363
Specification-coverage capture capture-9b57bce7 and formal-validation capture capture-8b772fef bind this branch's implementation digest (89e8fcdf) with zero formal replay drift. They follow docs/develop/research-captures.md; outcomes, classifications and claim limits are unchanged. Refs #1363
doublewhy
force-pushed
the
1363-reusable-mixed-control-authoring
branch
from
October 13, 2026 08:34
4d224ea to
f9894e3
Compare
doublewhy
marked this pull request as ready for review
October 13, 2026 09:10
Six parametrized cases matched an empty string, so they passed for any SDL error and emitted PytestWarnings. Each now matches the specific refusal message.
doublewhy
marked this pull request as draft
October 13, 2026 18:36
This was referenced Oct 13, 2026
Merged
…able-mixed-control-authoring # Conflicts: # contracts/schema-publication/entries/instantiated-scenario-snapshot-v1.json # contracts/schema-publication/entries/instantiated-scenario-v1.json # contracts/schema-publication/entries/materialized-scenario-v1.json # contracts/schema-publication/entries/scenario-satisfiability-evidence-v1.json # contracts/schema-publication/entries/sdl-authoring-input-v1.json # contracts/schemas/sdl/materialized-scenario-v1.json # docs/requirements/DSL-142/requirement.md # implementations/python/packages/raes/validator/_participant_inject_deliveries.py # implementations/python/packages/raes/validator/_participant_relationships.py
Brad-Edwards
marked this pull request as ready for review
October 15, 2026 06:55
Collaborator
|
Ground Control delivery — this pull request delivers issue #1363; Phase E runs on merge. |
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
Adds reusable mixed-control policies and explicit finite scripts with exact, versioned occurrence contracts. Integrates the identity refactor so validation, compilation, editor references and trusted policy projections preserve the same declared identities and authority anchors.
Requirement UIDs
ACT-617API-409DSL-142Related Issues
Refs #1363
ADR Impact
Changes
Test Plan
857 targeted tests pass locally, including the newly merged tool-import behavior. Scoped repository policy passes. Full verification, integration, fuzz, coverage and supported-interpreter checks run in CI.
Ground Control Checks
Traceability
Checklist
Documentation
Updated: see diff.