feat: ship end-to-end Trusted PR Review MVP#623
Merged
Conversation
safal207
commented
Jun 23, 2026
safal207
left a comment
Owner
Author
There was a problem hiding this comment.
Implementation and final-head validation are complete on 265cd6a5.
Verified from the generated CI evidence bundle:
- 43 evidence files were produced by the one-command demo;
- ALLOW created exactly one CaPU-protected review result, a ProofPath bundle, and an integrity-bound reusable artifact;
- HOLD created no authorization, protected effect, ProofPath bundle, or final artifact and replayed as
DRIFTEDwithPARTIAL_PATH; - BLOCK created no authorization, protected effect, ProofPath bundle, or final artifact and replayed as an
ADMISSIBLEpolicy-blocked terminal path; - the ALLOW artifact contains workflow, routes, reviewer/risk-critic/verifier contributions, causal audit, evidence decision, authorization, execution, replay, and reusable references;
- the artifact SHA-256 integrity digest was independently recomputed successfully;
- the raw blocked diff expression is absent from exported evidence;
- broken causal lineage and expired authorization fixtures fail closed.
All workflows passed: Trusted PR Review MVP, Python contracts, Ruff, Semgrep/regression scan, E2E, hardening tests, quality gate, vulnerability audit, SBOM, CodeQL, and dependency review.
The PR remains draft only because it is stacked on #616 through #622.
This was referenced Jun 23, 2026
This was referenced Jun 24, 2026
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 #598 by shipping the first executable end-to-end Trusted Runtime product slice.
A deterministic git diff now flows through specialized planning, reviewer/risk-critic/verifier routing, contributions, CML causal audit, evidence gating, ProofPath authorization, CaPU commit-before-effect execution, durable event persistence, LTP replay, and reusable artifact export.
This PR is stacked on #616 → #617 → #618 → #619 → #620 → #621 → #622 and remains draft while dependencies are open. Implementation and CI validation are complete.
One command
Product scenarios
ALLOW: changed tests are linked and no executable-risk signature is detected; ProofPath and CaPU write one protected review result, then LS exports a reusable artifact.HOLD: changed test evidence is missing; no authorization, protected effect, ProofPath bundle, or final artifact is created.BLOCK: client-controlled dynamic execution is detected; no authorization, protected effect, ProofPath bundle, or final artifact is created.All scenarios still produce an inspectable trail, evidence decision, readable review summary, and replay bundle.
Included
scripts/run_trusted_pr_review.py;trusted_runtime.pr_review_apiproduct entrypoint.Verified acceptance result
The final product run produced 43 evidence files.
ALLOWADMISSIBLEHOLDDRIFTED(PARTIAL_PATH)BLOCKADMISSIBLEblocked terminal pathThe ALLOW artifact includes workflow plan, routes, reviewer/risk-critic/verifier contributions, causal audit, evidence decision, authorization, execution, replay, reusable-artifact references, and a verified SHA-256 integrity digest.
The CI evidence archive is published as
trusted-pr-review-evidencewith digest:Safety boundary
The protected business effect is the review-result file under
protected/. It is written only after ProofPath authorization and CaPU durable commit. HOLD/BLOCK paths cannot enter this branch.Plans, decisions, audit reports, and replay files are evidence exports, not the protected approved effect.
LTP inspects durable events and never reruns a model, tool, or side effect.
CI result
All workflows are green on final human head
265cd6a5:Non-claims
This is a deterministic local reference product slice. It does not claim live LLM review, complete SAST/secret scanning, production distributed storage, regulatory certification, or proof that approved code is bug-free.
Related