Repository navigation
feat(queue): require the evidence policy.toml asks for - #94
Merged
Merged
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 33 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
PiquelChips
force-pushed
the
feat/land-evidence
branch
3 times, most recently
from
November 23, 2026 12:30
9831af2 to
287170c
Compare
A target's `require` list in `policy.toml` was parsed but never checked: every landing went through. Before signing, the queue now checks each of the target's requirements against the claims about the revision that lands: a statement of the kind and verdict required, from an issuer the policy admits. Results whose input digest still matches are promoted to the revision first, as this node, so a change rebased onto code that was tested doesn't need testing again. A valid promotion claims what its original does, as its original's issuer; a forged one, or one of a result that read the network, counts for nothing. Only checked claims count, so a result withdrawn, or replaced by a failure, is no evidence. A landing that lacks evidence waits, naming what's missing, until the statements are issued and it's retried. The acceptance lists the statements it relied on. Promotion now takes any record as its subject, so a merged snapshot can be promoted to as well; a statement, which has no snapshot, gets nothing.
PiquelChips
force-pushed
the
feat/land-evidence
branch
from
November 23, 2026 12:58
287170c to
e1e5f79
Compare
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.
A target's
requirelist inpolicy.tomlwas parsed but never checked: every landing went through.Before signing, the queue checks each requirement against the claims about the revision that lands: a statement of the kind and verdict required, from an issuer the policy admits. Results whose input digest still matches are promoted to the revision first, so a change rebased onto tested code needn't be tested again. A valid promotion claims what its original does, as its original's issuer; a forged one, or one of a result that read the network, counts for nothing. Only checked claims count, so a result withdrawn, or replaced by a failure, is no evidence.
A landing that lacks evidence waits, naming what's missing, until the statements are issued and it's retried. The acceptance lists the statements it relied on. Promotion now takes any record as its subject, so the merged snapshot of a target can be promoted to later.
Note
Written by Claude Opus 5.5 in Claude Code (via T3 Code)