Harden evidence risk and generation reads - #525
Merged
Conversation
Co-Authored-By: Codex <noreply@openai.com>
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
current_generation.v1immutable feature-snapshot pointer loading with canonical JSON, path, digest, generation, profile, and metadata bindingsqsl.tqqq-evidence-risk-mandate.v1gate with candidate, capital, portfolio, risk-state, freshness, asset-role, leverage/cap, drawdown, and loss-budget enforcementexecution_authorized=false) and fail closed on undefined budget units or unknown mandate schemasLayer boundary
This QPK slice remains pure/no-I/O. Canonical QRS authority-receipt content/revision verification and durable single-consumption are intentionally enforced by the subsequent UESP loader/ledger slice; this PR does not claim those controls complete.
Validation
PYTHONPATH="$PWD/src:$PWD" uv run --no-sync pytest -q --cov --cov-report=term --cov-report=xml tests— 1363 passed, 1 skipped, 22 warnings, 448 subtests passed; 73% coveragePYTHONPATH="$PWD/src:$PWD" uv run --no-sync ruff check .— passeduv pip check— passedpython3 -m compileall -q src scripts— passedgit diff --check— passedSafety boundary
No provider access, replay, deployment, workflow dispatch, broker/order action, or paper/live activation. No runtime configuration is enabled by this PR.