Skip to content

feat(queue): require the evidence policy.toml asks for - #94

Merged
PiquelChips merged 1 commit into
feat/land-refusalsfrom
feat/land-evidence
Nov 23, 2026
Merged

PiquelChips merged 1 commit into
feat/land-refusalsfrom
feat/land-evidence

Conversation

@PiquelChips

Copy link
Copy Markdown
Member

A target's require list in policy.toml was 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)

@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You'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.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 93c5f506-63e9-477f-b569-e80641ec0b2e
Commits

Reviewing files that changed from the base of the PR and between 00f48e8 and e1e5f79.

Files selected for processing: 9

  • apps/origin-src/benches/annotations.rs
  • apps/origin-src/src/annotations/mod.rs
  • apps/origin-src/src/annotations/promotion.rs
  • apps/origin-src/src/queue/mod.rs
  • apps/origin-src/src/queue/session.rs
  • apps/origin-src/src/queue/tests/conflicts.rs
  • apps/origin-src/src/queue/tests/evidence.rs
  • apps/origin-src/src/queue/tests/mod.rs
  • apps/origin-src/src/workspace/annotate.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@PiquelChips
PiquelChips added this pull request to stack #165 November 22, 2026 14:59
@PiquelChips
PiquelChips force-pushed the feat/land-evidence branch 3 times, most recently from 9831af2 to 287170c Compare November 23, 2026 12:30
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
PiquelChips merged commit 05e11f3 into main Nov 23, 2026
11 checks passed
@PiquelChips
PiquelChips deleted the feat/land-evidence branch November 23, 2026 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant