Repository navigation
test(pr-evidence): pin both changed-files digest helpers to one shared corpus - #11745
Conversation
…d corpus (#4006) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmoTGpbrnaom45UcHBf
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 28 minutes. View limit details
|
There was a problem hiding this comment.
Confirmed findings
- The corpus pins ordering and duplicate normalization, NUL/path-boundary behavior, special characters, Unicode, and backslash-versus-slash distinctions.
Verification questions
- Confirm the corpus pins eight digest outcomes, but the review packet contains no independently reproducible command or receipt validating the Python hashlib derivation.
- Confirm the claim is limited to two PR-evidence producers; this review does not establish that no other changed-files digest implementations or routes exist.
Refuted
- The corpus tests are regression guards, not red/green tests for a behavior change: the PR explicitly makes no production change.
Evidence gaps
- Execution evidence for the new Rust tests is not present; cargo-test is scheduled but its receipt is absent, while ripr failed with exit code 2.
- The new tests are not confirmed to have executed: cargo-test has no receipt and the ripr sensor failed with exit code 2.
- Model proof intent was rejected by deterministic validation.
- Runtime validation of the two focused tests is not established by the available sensor evidence.
- Execution proof is incomplete in the review packet despite the corpus source being inspectable.
Parked follow-ups
- Both test modules duplicate corpus loading, schema validation, and iteration logic, creating modest maintenance drift risk.
- The corpus guards case count but not schema uniqueness, so duplicate case names or altered encodings could weaken diagnostics without necessarily failing behavior checks.
- The two duplicate test bodies can drift in parsing and validation behavior even while the fixture remains shared.
|
Review of record, head 6f655bf (main 264db59 merged in, including the #11734 fix; self-review of the exact head, bot reviewers quota-limited). Angles: oracle independence, discrimination, path resolution, scope.
Findings: none blocking. Local Generated by Claude Code |
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
There was a problem hiding this comment.
Decision
- Needs verification checks before upstream.
Verification questions
- Confirm the shared oracle does not directly assert cross-producer equality.
- Confirm repository-wide absence of other changed-files digest producers is not established by this diff or the supplied sensor receipts.
Refuted
- The corpus is a regression oracle rather than a red/green proof of a production behavior change.
Evidence gaps
- Successful execution of the two focused corpus tests is not established by the available packet.
- Model proof intent was rejected by deterministic validation.
- Independent expected-digest derivation and focused execution remain unproven.
- The shared-corpus regression tests lack completed runtime evidence in this packet; cargo-test has no receipt and the ripr sensor failed with exit code 2.
- Runtime execution of the newly added Rust tests is not established by the available receipts.
|
Response to the verification questions on 6f655bf:
Generated by Claude Code |
Requested by Steven · project thread
Governing issue or accepted claim: #4006
Acceptance delta (one sentence): The product and xtask PR-evidence
changed_files_sha256helpers are pinned to one shared, independently computed corpus, so the two producers cannot drift apart (#4006 item 6 follow-up from #11648).What changed
tests/fixtures/verification/ripr/changed-files-digest.corpus.json: 8 cases (empty, single, order/duplicates, newline name joined vs split, quote/backslash/space, non-ASCII, backslash vs nested path). Expected digests were computed with Pythonhashlib, independent of both Rust implementations.crates/ripr/src/app/pr_evidence.rsandxtask/src/reports/pr_evidence.rsreads the corpus and requires every digest to match.Discriminating control: changing the NUL terminator byte in the xtask helper fails the corpus test (
single: digest sha256:69e6…, corpus expects sha256:5428…); reverted before commit.Not claimed
No production change.
cargo xtask precommitstopped atcheck-rust-source-role-authority, which fails onmainitself (literal inrepair_attempt/mod.rsfrom #11596; fix of record is #11734), so the checks after it are not yet run locally; I'll rerun once #11734 lands.Generated by Claude Code