Repository navigation
research(governance): define scientific authorization DSL bake-off - #5522
Draft
Tristan-Stoltz-ERC wants to merge 60 commits into
Draft
Tristan-Stoltz-ERC wants to merge 60 commits into
Tristan-Stoltz-ERC wants to merge 60 commits into
Conversation
This was referenced Oct 30, 2026
SCIENTIFIC-POLICY-EQUIV-001: decision-space equivalence and mutation-tested policy conformance
#5530
Open
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
Starts a grounded, executable policy-engine bake-off for Mycelix DeSci using the existing
DefaultScientificAuthorizationPolicyas the semantic oracle. The comparison is split into authorization decisions, evidence qualification, and non-delegable authority/commit gates.Added
061e34f24d406f19f6de0e61867305b6989f455f.scientific_governance.rsthat builds typed actors, signed synthetic events, and claim projections then invokes the realDefaultScientificAuthorizationPolicy::authorizefor every case.Actual workflow evidence — partial, not an overall pass
The latest dedicated workflow is run 42 (ID
41047474710) on PR source headf89b4bcdcfb901961e2ca11a577775acbf53a74d. Results:E0583because the repository'slib.rsdeclares and re-exportsscientific_credentials, but that module source is absent. Downstream unresolved registry calls also fail. This is the pre-existing build-integrity issue tracked in #5189, with a protocol-resolution contract in PR #4968.The missing registry must be restored through its authentic protocol and compatibility boundary; this PR does not add a stub or bypass the compiler. Consequently, Cedar and Rego are individually green against the extracted expected outcomes, but three-way Rust/Cedar/Rego parity and the 10/10 projection suite are not yet proven.
Research position
A policy-language rewrite must not weaken Mycelix's signed identity and authority kernel. The first objective is semantic parity, not language aesthetics or a synthetic latency leaderboard. The projection corpus intentionally records an open normative issue: should a non-creator individual without a declared organization count as an independent replication source? The fixture preserves current behavior; it does not endorse it as the final scientific standard.
No performance result or "beats SOTA" claim is made. The benchmark plan requires equivalent workloads and exact decisions before speed comparisons.