Repository navigation
docs(agent): align pair-currentness claims with the enforced gates (#3061) - #3121
Conversation
…3061) RIPR-SPEC-0134 and the pair_currentness_label test comment claimed the lineage gate rejects a current-before/historical-after pair; production validate_pair_lineage only rejects reversed or unrelated ancestry, so the descendant arrangement passes. Describe the gates as they actually enforce, drop the 'clean' over-claim from the expected-transaction prose (a dirty historical side collapses, #3056), and use a CLI-reachable artifact_currentness value in the OUTPUT_SCHEMA sample. No change to pair_currentness_label semantics.
|
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 reached
Next review available in: 52 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Summary by CodeRabbit
WalkthroughThe change clarifies artifact pair-currentness semantics, lineage constraints, and output-schema wording. It also updates a source comment to match the documented rules. ChangesArtifact currentness
Estimated code review effort: 1 (Trivial) | ~5 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 3
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@crates/ripr/src/agent/artifact.rs`:
- Around line 1255-1257: Update the explanatory comment near the lineage gate to
explicitly state that the after head must descend from the live HEAD and must
not be the live HEAD itself, replacing the ambiguous wording while preserving
the surrounding ancestry explanation.
In `@docs/specs/RIPR-SPEC-0134-repair-artifact-provenance.md`:
- Around line 88-92: The `current_before_historical_after` documentation
incorrectly presents artifacts from another clone as reachable. Remove the
“another clone” example from the reachability description, while retaining the
supported same-root descendant-branch example; do not change the lineage-gate
behavior.
- Around line 80-85: Remove the “clean” qualifier from the description of the
expected before/after transaction associated with
historical_before_current_after, while preserving the token and its currentness
semantics.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: b8f98c2f-d365-4a6f-b9b1-72e4a7273d80
📒 Files selected for processing (3)
crates/ripr/src/agent/artifact.rsdocs/OUTPUT_SCHEMA.mddocs/specs/RIPR-SPEC-0134-repair-artifact-provenance.md
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
…ining clean/clone claims (#3061)
|
Release disposition: |
EffortlessSteven
left a comment
There was a problem hiding this comment.
Exact-head review record (review-pr), refreshed after repair:
reviewed_head_sha: e267829 (post-repair head; prior head 1b79926 reviewed before the three coderabbit findings)
integration_basis: origin/main (docs+comment diff; no production logic)
claim_boundary: claim-accuracy repair for #3061 — spec/OUTPUT_SCHEMA/test-comment prose must describe only the gates production enforces; no pair_currentness_label semantic change
changed_surfaces_and_semantic_owners_inspected: docs/specs/RIPR-SPEC-0134 (pair-currentness contract prose), docs/OUTPUT_SCHEMA.md (verify JSON sample + field prose), crates/ripr/src/agent/artifact.rs (test comment only)
blocking_findings: none
non_blocking_suggestions: none outstanding
refuted_or_stale_findings: none — all three review findings (ambiguous reachability wording; remaining "clean" claim in Acceptance Examples; unsupported cross-clone example) were valid and are repaired in e267829; threads replied and resolved
proof_and_ci_observed: required check Ripr Rust Small Result PASS on e267829; rust-tests-junit, ub-review, source-of-truth pass; local gates check-spec-format, check-doc-index, check-output-contracts, check-static-language, check-traceability pass; cargo test -p ripr --lib pair_currentness_label pass
proof_or_review_missing: none material
affected_currentness_dimensions: public claim, candidate head identity (re-reviewed after head move)
residual_assumptions_and_non_claims: no new lineage gate added (issue non-goal #4 honored — prose-correction path); #3056 remains the owning issue for the dirty-state collapse itself
disposition: REVIEW_READY
* Revert "test(perl): consume one production Perl→domain oracle mapping authority (#3034) (#3126)" This reverts commit c8e3e18. * Revert "docs(agent): align pair-currentness claims with the enforced gates (#3061) (#3121)" This reverts commit f844469. * Revert "test(doctor): retry the transient probe class in the selected-root test (#3073) (#3122)" This reverts commit c425119. * Revert "test(lsp): retain listActionableItems branch/capability mutation receipt (#3032) (#3133)" This reverts commit d9d4630. * Revert "fix(analysis): retract unused SeamKind ↔ ProbeFamily crosswalk (#3039) (#3130)" This reverts commit b8e9d55. * Revert "test(perl): consume one production Perl→domain oracle authority (#3126)" * Revert "docs(agent): align pair-currentness claims with the enforced gates (#3121)" * Revert "test(doctor): retry the transient probe class in the selected-root test (#3122)"
Summary
Claim-accuracy repair for #3061 (post-merge review findings on #3053). No change to
pair_currentness_labelsemantics or any gate.validate_pair_lineage(crates/ripr/src/agent/artifact.rs:460) rejects only reversed or unrelated ancestry; a before artifact at the live HEAD plus an after artifact bound to a strict descendant that is not the HEAD passes lineage, comparability, and movement. The spec and thepair_currentness_label_covers_the_closed_vocabularycomment now describe the gates as enforced:currentis unreachable through CLI verify (movement gate), andcurrent_before_historical_afterrequires the after artifact bound to a non-HEAD descendant of the live HEAD.docs/OUTPUT_SCHEMA.md; the token states repository currentness only, and a dirty historical side collapses (ux(agent): production-time dirty state is collapsed away once an artifact becomes historical #3056).ripr agent verifyJSON sample now showshistorical_before_current_afterinstead of the CLI-unreachablecurrent.Swarm / Source Boundary
ripr-swarmSource-of-truth Links
Spec: RIPR-SPEC-0134
Issue: #3061 (acceptance: prose matches enforced gates; no
pair_currentness_labelchange)Proof
cargo test -p ripr --lib pair_currentness_label— passcargo xtask check-spec-format,check-doc-index,check-output-contracts,check-static-language,check-traceability— passNon-goals
Candidate head: 1b79926