Add AI-native policy and workflow integrity contracts - #227
Merged
Conversation
Keep token and result receipts separate from approval, enforce secure MCP receipt validation, and recheck authority at the mutation boundary.
Reject nested self-described authority fields and split approval encoding from lifecycle verification.
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
Phase 1 established the philosophy SSOT and additive
figops-human-review/1receipt domain. Phase 2 now makes the important boundaries executable without turning the LLM into a weaker renderer:policy_resolutionis a canonical, deterministic policy resolver with precedence, provenance, conflict fail-closed behavior, immutable kernel invariants, explicit opt-out evidence, and a stable SHA-256 policy-set identity.workflow.intent(exploration,execution,review,promotion) is explicit and surface-aware. Active project render conflicts fail closed; direct CSV remains exploration; review/readiness stays read-only; exploration/review cannot become promotion-eligible.figops_evidence/2carry the policy context and workflow intent. The policy digest is verified inside the evidence envelope, not only in an adjacent manifest.workflow.intent: execution; config compatibility helpers preserve existing public imports.The runtime/result boundary remains unchanged: external runtime is disposable, project results are durable, no-replace promotion remains the only publication primitive, and
raw/,hub_scripts/, andresults/stay distinct.Validation
.venv; no baseline-update environment variablesNo merge, tag, or release action is included. This remains a Draft PR for review.