Repository navigation
fix(agent): main compile break in validate_artifact_identity (#9703) - #9713
EffortlessSteven wants to merge 1 commit into
Conversation
…#9703) #9547 and #9632 each passed alone; together validate_artifact_identity referenced a subject binding that only exists in the repo-exposure validator. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NdgM8XzZcR6DuiKvwPzNNr
|
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 51 minutes. View limit details
Comment |
|
Closing as a duplicate of #9701, which makes the same one-line fix (binds Generated by Claude Code |
|
Correction: this PR stays open for now. It is a duplicate of #9701 (same fix, opened first); whichever goes green first merges, and the other closes with a link once the first has landed. Generated by Claude Code |
|
Superseded by #9701, merged as 7ed8a4a, which carries the same fix for the main compile break. Closing; no work is lost. Generated by Claude Code |
There was a problem hiding this comment.
Refuted
- The fix may hide a broader validation-route defect by accepting an ad hoc subject rather than shared state.; refuted because: The function requires no subject parameter, and the replacement uses the route's available
labelwhile matching the established message; no changed evidence indicates a broader semantic regression. - A dedicated subject helper or broader refactor is needed to avoid duplicating the refusal label construction.; refuted because: This change concerns one compile repair. Introducing a helper would enlarge the patch beyond the smallest complete fix; the duplicated expression is already the established convention at the boundary.
- The PR makes an unsupported broad validation behavior change.; refuted because: The patch changes only argument construction for the foreign-producer refusal; all comparison and return behavior remains unchanged.
Evidence gaps
- Model proof intent was rejected by deterministic validation.
Claim
Plan item: main health, 0.11 release
Governing issue or accepted claim: #9703
Acceptance delta (one sentence):
cargo build -p riprsucceeds on main again by building the foreign-producer refusal subject fromlabelinvalidate_artifact_identity.Summary
#9632 added
foreign_producer_refusal(root, &subject, ...)insidevalidate_artifact_identity, butsubjectis only bound invalidate_repo_exposure_artifact(from #9547's check-findings path). Each PR was green alone; combined, main fails with E0425 atcrates/ripr/src/agent/artifact.rs:719. The call now passesformat!("agent verify {label} artifact"), the same textvalidate_repo_exposure_artifactbuilds, so the refusal wording is unchanged.Proof
cargo build -p riprsucceeds;cargo test -p ripr --lib agent::passes (199 tests);cargo xtask precommitpasses.Generated by Claude Code