Files
codex/codex-rs/ext/guardian-v3/BUILD.bazel
T
felixxia-oai e3b721754e Freeze Guardian review views at ordered evidence cutoffs (#61929)
## Why

Overlapping reviews need board views that match their captured history boundaries, so later evidence does not appear in an earlier review.

## What changed

- Add `RootEvidence::freeze` to capture and enqueue history in source order, returning a `ReviewCutoff` with the source position and reviewer subscriptions.
- Open each review's board view after routing its captured evidence and before routing the next capture.
- Retry transient history failures on subsequent activity, preserve evidence validation failures for later reviews, and skip incomplete delivered messages with a warning once per accepted capture.

## Testing

Add tests for overlapping reviews with a later revocation, retryable history failures, persistent evidence rejection, and incomplete deliveries across activity wakes and freezes.

GitOrigin-RevId: b87040e99bf0e56626d25a8acdd036cf3eed32ce
2026-11-17 00:59:25 +00:00

16 lines
507 B
Python

load("//:defs.bzl", "codex_rust_crate")
codex_rust_crate(
name = "guardian-v3",
crate_name = "codex_guardian_v3",
extra_binaries = ["//codex-rs/linux-sandbox:codex-linux-sandbox"],
integration_compile_data_extra = ["//codex-rs/message-board:tests/common/mod.rs"],
run_tests_with_wine_exec = True,
test_tags = ["no-sandbox"],
unit_test_srcs = [
"src/cutoff_tests.rs",
"tests/common/board_host.rs",
"//codex-rs/message-board:tests/common/mod.rs",
],
)