Repository navigation
fix(check): probe a relocated RIPR_CACHE_DIR base in the first-check gitignore note (#11879) - #13348
Conversation
…gitignore note (#11879) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YVdGzTJXcxAMJwvGWPVs4i
|
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 7 minutes. View limit details
|
|
Independent read-only review of be21fca: no blocking findings. It checked the fix, relative and out-of-repo Two non-blocking notes, left as is:
Local proof: 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! |
|
REVIEW_READY Head Local proof: Generated by Claude Code |
EffortlessSteven
left a comment
There was a problem hiding this comment.
REVIEW_READY
Head be21fca6a6fcd94f46f7603eae688b6658ed9d70. A fresh-context read-only reviewer inspected the full diff, the semantic owner (ripr_artifact_roots, cache_base_dir, anchored_at_root), the other caller (check.rs), the tracking probe and untrack path, the test oracle (it fails before the fix), the allowlist count and the changelog fragment. No blocking findings. Non-blocking and unchanged: the relocated-base note lists one entry per cache layer under "Add this line" (existing doctor wording), and the test asserts only the first per-layer prefix.
Local proof: check_first_run_ignore_hint 4 passed, cargo xtask precommit exit 0. Hosted proof is pending.
Generated by Claude Code
ripr static exposure checkCommit Took 34s. |
There was a problem hiding this comment.
Decision
- Needs one verification check before upstream.
Verification questions
- Confirm the source-route scan found no additional changed caller of first_check_artifact_ignore_note, but this is not broad proof that no other public entry point bypasses the shared root construction.
Evidence gaps
- Exact-head cargo-test completion is not evidenced by this packet's sensor receipt, but seeded thread evidence reports the focused test suite passing 4 tests.
- Exact-head automated proof remains incomplete because ripr failed and the cargo-test receipt is absent, despite seeded local and prior-review reports of passing focused tests.
- Model proof intent was rejected by deterministic validation.
Governing issue or accepted claim: #11879 (follow-up to #11937)
Acceptance delta (one sentence): The first-
check.gitignorenote probes the same artifact rootsripr doctordoes, so aRIPR_CACHE_DIRbase relocated inside the repository is named when uncovered and silent when covered, instead of only the defaulttarget/riprbeing checked.Change
cli/commands/doctor.rs:first_check_artifact_ignore_notepassesanalysis::seam_cache::cache_base_dir(root)toripr_artifact_rootsinstead of the hardcodedroot.join("target/ripr/cache"). Doc comment updated (it said a relocated cache is doctor's to report).tests/check_first_run_ignore_hint.rs: newrelocated_cache_base_is_probed_and_nameddrives the real binary withRIPR_CACHE_DIRset. With/target/ripr/covered and the relocated base uncovered it expects the relocated entry and no/target/ripr/; covering the base silences the note.Command::newraised 2 to 3; changelog fragment added.Proof
cargo test -p ripr --test check_first_run_ignore_hint: 4 passed (3 existing plus the new one).cargo xtask precommit: exit 0.Not established
Hosted exact-head CI. A
[perl].cache_diroutsidetarget/ripris still not probed here (check does not load that config), which only means silence, never a wrong note.Generated by Claude Code