Repository navigation
fix(main): clear both main breaks (xtask dead-code Clippy and owner-built-expected corpus row) - #10663
Conversation
…h-includes (main Clippy, #10624) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01M1HLQzDSYhzcGBd9baf3RV
|
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 8 minutes. View limit details
Comment |
There was a problem hiding this comment.
Confirmed findings
- No changed line adds unsafe code, raw memory access, type confusion, unbounded allocation, secret logging, or an externally reachable bypass.
- is_symlink becomes crate-visible but remains non-public outside the crate and exposes only a boolean filesystem check, not path contents or secret material.
Verification questions
- Confirm no changed test or focused receipt proves the old implementation fails the intended check while the relocated implementation passes.
- Confirm no new test in this diff directly exercises the relocated helper through the agent status command.
- Confirm the shared is_symlink helper is intentionally widened to pub(crate), but the supplied packet lacks a repository-wide route proving there are no additional consumers or path-inclusion-sensitive sibling uses.
Refuted
- The visibility change could disclose sensitive path information or secret material.; refuted because: is_symlink returns only a boolean derived from symlink_metadata and does not return, print, or otherwise expose the path.
- Widening is_symlink to pub(crate) unnecessarily expands the module boundary.; refuted because: The helper is already used across modules by lexically_clean, and the relocated parent helper requires the same crate-local predicate; pub(crate) is narrower than pub and avoids duplicating filesystem logic.
- The old implementation is already the failing red test and therefore proves the new one green.; refuted because: The old code is not represented by a test in this diff; ripr failed and cargo-test evidence is not yet available. A focused behavioral test remains necessary to distinguish behavior explicitly.
- The PR's no-behavior-change claim is disproved by making is_symlink pub(crate).; refuted because: Visibility changes compile-time reachability only; the function body and lexical-cleaning behavior are unchanged.
Evidence gaps
- The PR body’s validation claim is not independently substantiated by the supplied sensor packet because ripr failed and cargo-test is only scheduled late.
- Model proof intent was rejected by deterministic validation.
- Runtime and strict-Clippy equivalence is not fully witnessed in the supplied evidence.
EffortlessSteven
left a comment
There was a problem hiding this comment.
No actionable source findings emitted. The bounded source/proof review is complete; final merge disposition remains REVIEW_INCOMPLETE because the existing required qualification failed later at verdict-corpus drift.
- reviewed_head_sha:
51138f353bfbabc9476dccdce52aab3053357de7, re-read before submission on 2026-10-26 at approximately 11:12 UTC. - integration_basis:
mainatdc38b8cdcbcf0ab44719ebc54d4d013e07bf2b86. The executed GitHub merge objectc5ce38c5f3ed7109fe0ecb16a932c28b57e067c8has those base/head parents. Both head and merge object have tree0f2c72b6d30b0ac43164a9334136b4e46d2f34db; checkout identity was verified in the job logs and tree/parents independently inspected locally. - claim_boundary: repair xtask's strict-Clippy dead code after #10624, preserving the existing status-path contract. #10341 supplies CI context; RIPR-SPEC-0011 lines 48–57 define the accepted equivalent spellings and symlink-before-
..refusal.
Changed surfaces and semantic owners inspected: all three changed files; the CLI's run_agent_status and resolve_agent_start_out_dir; loop_commands::{clean_bound_path,lexically_clean,is_symlink}; xtask's path inclusion in reports/operator.rs; the existing CLI smoke test; applicable process policy, spec and traceability.
The moved helper is text-identical after normalizing qualified paths and rustfmt's match-arm braces. It still checks the spelled component before popping it, refuses an unchecked leading relative .., and preserves the Unix-only symlink predicate. Its only production caller is now adjacent in the CLI. The remaining predicate is crate-visible, with unchanged filesystem behavior; clean_bound_path keeps it reachable in the path-included module. Small description correction: that existing caller is clean_bound_path, rather than lexically_clean. There is no new process spawn, dependency, lint suppression, public API, output/schema or filesystem-write behavior. The existing spec remains accurate; this relocation requires no new behavior spec.
Proof and CI observed; reused without another campaign:
- Required Rust-gates job: actual checkout is the merge object above, Rust 1.95.0 on Ubuntu.
cargo clippy --workspace --all-targets -- -D warningspassed, including xtask; formatting, repository/process/network policy and the all-features target check also passed. The earlier failure receipt separately records the old path-included helper's dead-code diagnostic and Clippy exit 101 on its original checkout; it is historical evidence, not an exact-base rerun. - Rust feature-lane job: the same merge tree passed
cargo test -p ripr --locked --no-default-features --features lang-rust --no-fail-fast. Logs explicitly showagent_status_refuses_non_default_out_dir ... ok. Inspection of that unchanged test confirms default,./target/ripr/workflow, trailing slash and real-directory parent-pop positives, pluselsewhereand Unixtarget/ripr/alias/../workflowrefusals. The symlink fixture targets a different parent, so accepting lexical equality alone would violate its refusal assertion. This is existing production-CLI discrimination; a new duplicate test is unnecessary. - Local read-only comparison confirmed the normalized helper equivalence, identical submitted/executed trees, unchanged smoke-test/spec-traceability/process-allowlist inputs, and clean
git diff --check. No source experiment or local Cargo campaign was run.
Reconciliation of existing review: Devin's no-issues review is retained. Gemini/CodeRabbit quota notices establish no review result. The automated verification questions about missing runtime/Clippy evidence are answered by the inspected receipts above; the consumer scan confirms the CLI caller and retained shared-module caller. No inline threads are currently present. Those proof questions do not require changing an otherwise identical algorithm or duplicating its existing CLI test.
Blocking findings / proof missing: no introduced source or oracle defect found. The required job nevertheless failed at Verdict corpora: spec0228-pushed-literal-owner-built-expected changed changed_since_labeling from false to true. Its Required Rust tests and doctests were skipped. The existing mainline corpus repair is #10660, currently head 1423f1aa61824040617304702bead9b089c78458; retain that ownership and reconcile it through the current PR owner. The feature lane is useful focused proof, not a substitute for the skipped required nextest/doctest matrix.
Affected currentness dimensions / residuals: source, test stimulus/oracle, spec/output parity and the stated base/head were inspected. Windows semantics were read but not independently executed in this review. Full required qualification and final protected-merge judgment remain with the existing owner. No CI dispatch, source edit, lifecycle change, merge or protection/settings operation was performed.
Disposition and handoff: non-blocking technical review of this exact relocation; REVIEW_INCOMPLETE for final merge pending the existing corpus-repair/qualification path. Reuse the valid Clippy and focused CLI receipts; refresh only evidence affected by a later head or prerequisite change.
|
Integration dependency cycle identified: your Clippy relocation passes strict Clippy and CLI checks, with independent exact-head review 5651105857, but qualification stops at the one-row corpus drift owned by #10660. Conversely, #10660 comment 6414400386 is waiting for #10663 because its gate stops at the Clippy defect. Neither can complete qualification alone on the current base. Please coordinate the existing two owners on one explicit combined integration candidate or reviewed dependency stack, preserving both source patches and proof custody, then qualify that composition once. Do not weaken Clippy/corpus checks, relabel unrelated cases, or launch two competing recovery campaigns. Existing #10660 owner should confirm its precise row repair and existing #10663 owner retain this relocation; final combined-head review is required. |
|
Independent source/delivery audit by /root/review_shared_clippy_repair at head51138f353bfbabc9476dccdce52aab3053357de7, base dc38b8c. The relocation is source-equivalent; complete consumers include product agent::loop_commands, the CLI agent module, and xtask reports/operator.rs's path inclusion. is_symlink retains cfg!(unix) semantics and remains used by clean_bound_path plus the relocated helper. Complete cli_smoke.rs was inspected: agent_status_refuses_non_default_out_dir already covers ordinary/default/dotted/trailing-slash parent positives and Unix symlink-before-.. refusal. Those tests did NOT run in the failed hosted qualification. Small source follow-up: update .ripr/traceability.d/10542-agent-status-out-equivalence.toml:10 from agent/loop_commands.rs::parent_dir_follows_symlink to its new CLI location. Passing traceability parsing does not establish symbol-map correctness. Blocking integration cycle is now observed, not speculative: required40309570358/job121527339071 executed mergec5ce38c5f3ed7109fe0ecb16a932c28b57e067c8, passed strict workspace Clippy, then failed Verdict corpora ONLY on spec0228-pushed-literal-owner-built-expected changed_since_labeling=true, exactly #10660's repair. #10660 in turn cannot qualify until this Clippy repair lands. Please close this through one reviewed combined candidate under the existing owners: incorporate #10660's three-file relabel/changelog delta into this existing branch with its attribution, correct the traceability mapping, verify the combined diff and exact head, obtain affected independent review and run one normal complete qualification. Do not relabel the historical Clippy pass as combined-head proof, blindly refresh either unchanged branch, or bypass the corpus/check protections. After normal protected landing, #10660's owner can verify its exact delta on main and dispose of the superseded PR rather than rerunning it. Existing #10559/#10564 owners are waiting on both fixes; no competing implementation or CI was started by this audit. |
|
Landing verified: normal expected-head squash succeeded as e4b0aaf, parent89c007da823cca93054e994a9ab1735f86cbbfb6, tree2cc7108fc377104c2964ae0393040618c1f3ccad. Current main equals that commit and the tree exactly equals reviewed/qualified c461f31. #10660 is closed as incorporated after verifying its three exact blobs; no new CI was requested. The documented non-blocking traceability symbol-path correction remains a real follow-up, not a completed change. Dependent owners have been told this releases only the shared Clippy/corpus prerequisite, not their separate findings or holds. |
The cached refs/pull/*/merge still pointed at a pre-#10663 main, so the heavy gate kept testing against the old broken tree. An empty head commit forces GitHub to recompute the merge ref. Co-authored-by: Claude <noreply@anthropic.com>
The cached refs/pull/*/merge still pointed at a pre-#10663 main, so the heavy gate kept testing against the old broken tree. An empty head commit forces GitHub to recompute the merge ref. Co-authored-by: Claude <noreply@anthropic.com>
The cached refs/pull/*/merge still pointed at a pre-#10663 main, so the heavy gate kept testing against the old broken tree. An empty head commit forces GitHub to recompute the merge ref. Co-authored-by: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FYNejJJF82dVq4XHXddgrd
… one-liners (#10619) * docs(agent): plain-English help for cancel-after-ms, verify redirect, one-liners Three help paper-cuts from the #10542 UX audit: - --cancel-after-ms said only 'Optional bounded cancellation request'. It is a safety flag: the operator deadline kills the verify process before the packet's own timeout, and a hit is a bounded observation, not an error -- the result records the cancelled disposition and the exit status stays 0. Say that. - agent verify's stdout is the artifact agent receipt --verify-json reads, but the help showed no way to save it. Add the redirect example from the verify loop. - The agent overview one-liners for brief and verify-execute read as internals-speak ('agent-active router', 'producer-owned direct verify route'); rewrite them in user terms. Co-authored-by: Claude <noreply@anthropic.com> * docs(agent): add 'that' to the verify-execute overview line Gemini review nit on #10619: 'the one validated, bounded, read-only verify command a packet names' reads awkwardly; 'command that a packet names' parses more easily. Co-authored-by: Claude <noreply@anthropic.com> * chore: rebase-adjacent no-op to refresh the stale merge ref The cached refs/pull/*/merge still pointed at a pre-#10663 main, so the heavy gate kept testing against the old broken tree. An empty head commit forces GitHub to recompute the merge ref. Co-authored-by: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
…e fact short (#10642) * fix(repair): name the predicate-stub route when a boundary seam is one fact short Governing issue or accepted claim: #10622 A Rust predicate boundary whose only missing repair evidence is the boundary discriminator previously dead-ended the reader at 'producer-owned missing discriminator fact: boundary_value'. That phrasing names a producer-internal fact and no route, leaving a user with no next action. Name the existing manual route in the refusal: ripr agent stub --at <file>:<line> --kind predicate derives the boundary input from the changed comparison, so the user writes the boundary test by hand, fills the todo!() values, and reruns ripr repair. The tight condition (exactly one missing fact, boundary_value, predicate-boundary kind) deliberately excludes seams that also miss a safe test target, where the stub alone would not ready the route. Guidance, not evidence: crediting boundary_value from static derivation would violate the evidence-promotion honesty invariants, so this only names the manual route. Co-authored-by: Claude <noreply@anthropic.com> * fix(repair): word the stub route with its root, quoting, and honest derivation limits Review round on #10642. Devin found three real gaps in the refusal's suggested command: (1) it named no --root, so a repair run with --root from elsewhere pasted a stub command against the wrong workspace — repair_refusal now takes Option<&Path> and the root-bearing surfaces (resolve_repair_start, resolve_repair_subject_outcome, repair_start_refusal_for_entry, check_repair_route) pass Some(root), rendered with the existing bound_root/shell_arg house pattern; the MCP admission passes None since its verdicts are already relative to the server workspace. (2) An --at value with spaces split into multiple arguments when pasted — the value now goes through shell_arg. (3) The text promised the stub derives the boundary input, but boundary_inputs only derives for a bare parameter against a literal; compound operands leave todo!() fill-ins — the wording now says the input is prefilled when it derives. Also adopts the suggested slice-pattern match for the single-missing-fact condition. Verified live on the #10622 repro: the refusal now reads 'ripr agent stub --root <repo> --at src/lib.rs:2 --kind predicate writes a fill-in skeleton for the changed comparison; the boundary input is prefilled when it derives, otherwise fill the todo!() values, then rerun ripr repair'. fmt + cargo check + check-no-panic-family pass; hosted gate owns the unit test. Co-authored-by: Claude <noreply@anthropic.com> * chore: rebase-adjacent no-op to refresh the stale merge ref The cached refs/pull/*/merge still pointed at a pre-#10663 main, so the heavy gate kept testing against the old broken tree. An empty head commit forces GitHub to recompute the merge ref. Co-authored-by: Claude <noreply@anthropic.com> * docs(changelog): qualify the boundary-input claim per review The stub prefills the boundary input only when it derives; otherwise the skeleton keeps todo!() values (matching the refusal message's own wording). The fragment now says the same instead of overclaiming. Co-authored-by: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
…al re-runs qualify (#10669) * fix(ci): accept each shard's latest attempt at verify so partial re-runs qualify A partial "re-run failed jobs" uploads fresh artifacts only for the re-run shards, so verify must read each shard's latest artifact for this run at or below the verifying attempt instead of requiring the exact current attempt directory for every shard. Suffixes that are not attempts, or name a future attempt, are not evidence. When shards were proven from more than one attempt the verification context records verified_attempts so provenance stays honest. Governing issue: #10605 Co-authored-by: Claude <noreply@anthropic.com> * docs(changelog): swap 'proven' for 'verified' to satisfy static-language gate Co-authored-by: Claude <noreply@anthropic.com> * chore: rebase-adjacent no-op to refresh the stale merge ref The cached refs/pull/*/merge still pointed at a pre-#10663 main, so the heavy gate kept testing against the old broken tree. An empty head commit forces GitHub to recompute the merge ref. Co-authored-by: Claude <noreply@anthropic.com> * fix(ci): disclose verified_attempts for a single reused attempt; sync gate plan doc Review follow-up on #10669: when only the verification job re-runs, every shard is reused from one earlier attempt, and the old >1 condition omitted the only field distinguishing reused results from fresh ones. The combined context now emits verified_attempts whenever any accepted shard's attempt differs from the verifying attempt, with a regression test pinning the single-earlier-attempt case. docs/ci/PRODUCT_GATE_PLAN.md now documents the accepted earlier-attempt boundary and the disclosure. Co-authored-by: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
… ref The 10:42Z run failed 'Strict workspace Clippy' on parent_dir_follows_symlink dead-code in the xtask include of crates/ripr/src/agent/loop_commands.rs. The PR diff does not touch that file; the break arrived from main via the merge ref (introduced by #10624) and was repaired on main by #10663 (e4b0aaf, 13:04Z). This empty commit forces a merge-ref recompute against post-#10663 main; no product change.
Summary
xtaskpath-includescrates/ripr/src/agent/loop_commands.rsandpub(crate) fn parent_dir_follows_symlinkhas its only caller in the ripr CLI, so the xtask build flags it as dead code under-D warnings. The helper moves beside its caller incli/commands/agent.rs;loop_commands::is_symlinkbecomespub(crate). No behavior change, no allow/expect attribute.spec0228-pushed-literal-owner-built-expectedreadsweakly_exposedonly after fix(rust): a field-collection comparison between two owner-fed bindings confirms nothing (#7135) #10560 removed its falseexposed; this is test(corpus): relabel owner-built-expected after #10560 removed its false exposed #10660's one-row relabel, copied verbatim (case labeling observation plus blessed row plus its changelog fragment). The corpus thread can close test(corpus): relabel owner-built-expected after #10560 removed its false exposed #10660 once this merges.Swarm / Source Boundary
Source-of-truth Links
Governing issue or accepted claim: #10341
Acceptance delta (one sentence): main's strict Clippy gate and Rust verdict corpus check pass again so required runs reach the test phase.
Validation
cargo clippy -p xtask -p ripr --all-targets -- -D warningsclean;cargo fmt --checkclean.cargo xtask verdict-corpus check: 723 cases, false verdicts 0/723, spec examples 292/292.🤖 Generated with Claude Code
https://claude.ai/code/session_01M1HLQzDSYhzcGBd9baf3RV