Repository navigation
fix(verify): harden execution, evidence, and UI interactions - #292
Conversation
Anchor filesystem operations, recover rerun status errors, guard session actions, verify stored evidence, bound agent detection, and validate judge replies. Add regression coverage and align the specification with shipped previews.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@codex review Please review commit |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review I fixed the shell output contamination caught by macOS CI in the test for closing the pipe. The latest commit is The same updated test fails against the old implementation by observing |
|
Codex Review: Didn't find any major issues. You're on a roll. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Purpose
Fix cases where Verify could remain stuck on invalid reply files or transient I/O failures, apply an earlier verification's actions to a later session, or accept modified evidence and inconsistent verdicts.
The review covered execution, storage, verdict validation, and UI interactions. Regression tests cover the reproduced defects.
What changed
mustcriteria fromblocking, and verified criteria listed as blockers. Preserve existing event replay behavior.Verification
cargo test --manifest-path widgets/verify/Cargo.toml --locked --offline -- --test-threads=4: 622 passed, 0 failed, 3 ignored. Breakdown: lib 294 / bin 293 / CLI 4 / golden 13 / resume 5 / timeline 13. The three existing ignores are one manual smoke test using real agent CLIs and two subprocess helpers invoked by parent tests.scripts/verify.sh: verify: ok.cargo fmt --all -- --check, Verify's standalone formatting check, andgit diff --check: passed.b75e0842608e2d2dcff39e492d6ff527ae58193a.Verifystep passed, and the macOS widgets verification command reportsverify: ok. CI resultscommit_shamatches the commit above and that there are 0 unresolved review threads. Review resultsprintfprobe for a closed pipe leaked into the result file. After isolating the probe in its own subshell and checking bothshandbash, all CI jobs passed. The assertion remainsoutput == "closed"; the same test still detects"open"and fails with the original implementation that kept the reader alive.Not verified
scripts/verify.sh --fullrun ended withverify: FAILED: clippy build test scaffold desktop-files. This environment lacks Fontconfig development files andappstreamcli; an existing scaffold test that uses temporary directories also fails under this workspace layout. The full macOS and Linux gates passed in GitHub CI, as linked above.large_enum_variantwarning for the unchangedmodel/types.rs::Event. The same warning was confirmed on clean main at04062e1.Risks
Risk class
medium — Changes to Verify's internal behavior, regression tests, and related documentation.