feat: add deterministic workflow policy guardrails - #142
Closed
HelgeSverre wants to merge 11 commits into
Closed
HelgeSverre wants to merge 11 commits into
HelgeSverre wants to merge 11 commits into
Conversation
Member
Author
|
Merged into #143 — single combined PR |
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
Implements the deterministic guardrail foundation from #50 end to end:
sema workflow exportsema_version_reqfor registry, git, explicit, locked, add, update, and publish paths before replacing local filesA companion
sema-policies0.1.0 standard pack has been implemented in the packages workspace with reusable constructors and conservativepublic-sector-rag/ai-act-docs-litebaselines. It requires Sema >=1.34.0 and has not been published. Registry-side manifest validation is in sema-lisp/pkg#2.Scope boundary
This PR does not close #50. Deliberately deferred:
No source or rule definitions were copied from the commenter-linked HeartFlow repository because it does not provide a license. The generic literal/regex output-rule design is independently implemented.
Semantics
:skipapplies only during fallback selection; direct calls fail.:tool-errorapplies only inside agent loops; direct invocation fails.Validation
cargo clippy --workspace -- -D warningscargo fmt --all -- --checkgit diff --checkRefs #50