Repository navigation
dogfood(py): record real-repo eval receipt - #706
Conversation
|
Warning Review limit reached
More reviews will be available in 24 minutes and 44 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (3)
WalkthroughThis PR adds comprehensive Python real-repo evaluation receipt support to the RIPR dogfood system. It introduces fixture specs defining the corpus structure, Rust data models for scenarios and validation results, detailed validation logic enforcing field/constraint rules, and wires everything into the dogfood report pipeline with test coverage and updated traceability documentation. ChangesPython Real-Repo Eval Receipts
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 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.
Code Review
This pull request introduces a Python real-repo evaluation corpus (fixtures/python-real-repo-evals) to record dogfooding receipts for Python repair-routing outside analyzer fixture goldens. It updates traceability configurations, capabilities metrics, the implementation plan, and documentation. The review feedback suggests minor improvements to documentation consistency, specifically recommending the use of 'repair card' and 'verify command' instead of 'repair-card' and 'verify'.
| | LSP diagnostics | `alpha` | `RIPR-SPEC-0001`, `RIPR-SPEC-0046` | tower-lsp-server sidecar, stable diagnostic data payload, related test diagnostic information, diagnostic-targeted context action, diagnostic hover details, serialized refresh generations, VS Code status bar and `ripr: Show Status` path for disabled config, server resolution, workspace detection, server unavailable, queued/running/complete/stale/failed refreshes, and no-actionable-seam states, intent-titled diagnostic actions for inspect, write targeted test, agent handoff, verify after test, review receipt, and refresh analysis; when `target/ripr/reports/gap-decision-ledger.json` exists, LSP publishes only `projection_eligibility.lsp_diagnostic` GapRecord diagnostics with structured `gap_id`, repair route, anchor, and verification command payloads | `maintenance` | diagnostics carry finding/probe metadata, explicit GapRecord repair payloads, editor status names saved-workspace analysis state, and editor actions target the selected finding or gap | | ||
| | Editor actionable gap queue | `alpha` | `RIPR-SPEC-0055` | `RIPR-PROP-0013`, `RIPR-SPEC-0055`, `ADR-0017`, and `plans/editor-actionable-gap-queue/implementation-plan.md` define the closed source-of-truth stack; LSP and VS Code tests validate `actionable-gaps` artifacts, Show Status queue state, Copy Current Repair Packet, and Copy Repo Gap Map; `fixtures/editor_actionable_gap_queue` pins top-gap, no-action, report-only, static-limit, stale, wrong-root, malformed, receipt-improved, and receipt-unchanged states; [Editor actionable gap queue](EDITOR_ACTIONABLE_GAP_QUEUE.md) documents the local queue workflow and non-claims; [dogfood receipts](handoffs/2026-05-20-editor-actionable-gap-queue-receipts.md) record actionable, no-action, fail-closed, receipt, and preview-boundary proof; [closeout](handoffs/2026-05-20-editor-actionable-gap-queue-closeout.md) records validation and remaining limits | `maintenance` | editor_actionable_gap_queue_available, editor_actionable_gap_queue_top_gap_ready, editor_actionable_gap_queue_no_action, editor_actionable_gap_queue_report_only, editor_actionable_gap_queue_static_limit_only, editor_actionable_gap_queue_stale, editor_actionable_gap_queue_wrong_root, editor_actionable_gap_queue_malformed, editor_actionable_gap_queue_repair_packet_available, editor_actionable_gap_queue_repo_map_available, editor_actionable_gap_queue_actions_suppressed_unsafe_state, editor_actionable_gap_queue_receipt_improved, editor_actionable_gap_queue_receipt_unchanged | | ||
| | RIPR swarm repair loop | `alpha` | `RIPR-SPEC-0057`, `RIPR-SPEC-0058` | `RIPR-PROP-0014` explains why swarm work starts as a bounded repair loop over actionable canonical packets, `RIPR-SPEC-0057` defines the repair-loop contract, `RIPR-SPEC-0058` defines the external-agent handoff contract with packet-only input, operator review, patch/receipt metadata, and no provider SDK or autonomous merge, `cargo xtask ripr-swarm plan --top <n>` writes `swarm-plan.{json,md}` with swarm-ready packets, blocked packets, missing verify/receipt buckets, static-limitation blocking, high-confidence counts, and must-not-infer guardrails, `cargo xtask ripr-swarm attempt --packet <id> --dry-run` prints bounded packet context without editing files or running commands, `cargo xtask ripr-swarm attempt-ledger` writes `swarm-attempt-ledger.{json,md}` with durable attempt ids, packet/canonical ids, actor kind, receipt path, verify/receipt commands, before/after state, outcome, timestamp, latest-attempt projection, attempt-history summary, and orphaned receipts, `cargo xtask ripr-swarm readiness` writes blocked-state route examples, durable attempt-history summary, and field-level blocker next actions, `docs/RIPR_SWARM_HUMAN_WORKFLOW.md` documents the human/operator loop from packet selection through dry-run, repair, verify, receipt, and outcomes, `docs/handoffs/2026-05-20-0.7-swarm-repair-loop-dogfood.md` records live audit timeout handling with fail-closed packet suppression, fixture-backed packet planning, ready and static-limit dry-run attempts, verify/receipt command separation, and outcome joins for not-attempted, improved, unchanged, and orphaned receipt states, `docs/handoffs/2026-05-20-0.7-release-readiness-closeout.md` accepts the live swarm-repo audit timeout as a bounded 0.7 limitation, keeps the loop advisory/dry-run-first, and authorizes source promotion before source release proof, `fixtures/swarm-plan-packet-corpus` pins ready boundary/error/output packets plus static-limitation, missing verify, missing receipt, and missing must-not-change blocking cases, and `fixtures/actionable-gap-outcomes-corpus` pins not-attempted, receipt-present, improved, unchanged, regressed, resolved, attempted-without-receipt, and orphaned-receipt outcome joins without editing files, running tests, calling providers, generating tests, creating receipts, running mutation testing, changing PR/CI rendering, changing LSP/editor behavior, changing gates, or changing public badges | `analysis/related-test-ranking-audit-fixes` | swarm_ready_packets, swarm_blocked_packets, swarm_missing_verify_command, swarm_missing_receipt_command, swarm_static_limitation_packets, swarm_high_confidence_packets, swarm_attempt_ledger_attempts_total, swarm_attempt_history_attempts_total, swarm_attempt_history_durable_attempts_total, swarm_attempt_history_evidence_unchanged, swarm_attempt_history_attempted_no_receipt, swarm_attempt_history_expected_unchanged, swarm_attempted_packets, swarm_verified_improved, swarm_verified_unchanged, swarm_verified_regressed, swarm_failed_to_apply, swarm_orphaned_receipts, blocked_state_routes, blocked_state_route_examples, swarm_missing_allowed_edit_surface, swarm_missing_raw_evidence_refs | | ||
| | RIPR swarm repair loop | `alpha` | `RIPR-SPEC-0057`, `RIPR-SPEC-0058` | `RIPR-PROP-0014` explains why swarm work starts as a bounded repair loop over actionable canonical packets, `RIPR-SPEC-0057` defines the repair-loop contract, `RIPR-SPEC-0058` defines the external-agent handoff contract with packet-only input, operator review, patch/receipt metadata, and no provider SDK or autonomous merge, `cargo xtask ripr-swarm plan --top <n>` writes `swarm-plan.{json,md}` with swarm-ready packets, blocked packets, missing verify/receipt buckets, static-limitation blocking, high-confidence counts, and must-not-infer guardrails, `cargo xtask ripr-swarm attempt --packet <id> --dry-run` prints bounded packet context without editing files or running commands, `cargo xtask ripr-swarm attempt-ledger` writes `swarm-attempt-ledger.{json,md}` with durable attempt ids, packet/canonical ids, actor kind, receipt path, verify/receipt commands, before/after state, outcome, timestamp, latest-attempt projection, attempt-history summary, and orphaned receipts, `cargo xtask ripr-swarm readiness` writes blocked-state route examples, durable attempt-history summary, and field-level blocker next actions, `docs/RIPR_SWARM_HUMAN_WORKFLOW.md` documents the human/operator loop from packet selection through dry-run, repair, verify, receipt, and outcomes, `docs/handoffs/2026-05-20-0.7-swarm-repair-loop-dogfood.md` records live audit timeout handling with fail-closed packet suppression, fixture-backed packet planning, ready and static-limit dry-run attempts, verify/receipt command separation, and outcome joins for not-attempted, improved, unchanged, and orphaned receipt states, `docs/handoffs/2026-05-20-0.7-release-readiness-closeout.md` accepts the live swarm-repo audit timeout as a bounded 0.7 limitation, keeps the loop advisory/dry-run-first, and authorizes source promotion before source release proof, `fixtures/swarm-plan-packet-corpus` pins ready boundary/error/output packets plus static-limitation, missing verify, missing receipt, and missing must-not-change blocking cases, `fixtures/actionable-gap-outcomes-corpus` pins not-attempted, receipt-present, improved, unchanged, regressed, resolved, attempted-without-receipt, and orphaned-receipt outcome joins, and `fixtures/python-real-repo-evals` records a tiny controlled Python repair-card, verify, and closed outcome receipt without editing files, running tests, calling providers, generating tests, creating receipts, running mutation testing, changing PR/CI rendering, changing LSP/editor behavior, changing gates, or changing public badges | `analysis/related-test-ranking-audit-fixes` | swarm_ready_packets, swarm_blocked_packets, swarm_missing_verify_command, swarm_missing_receipt_command, swarm_static_limitation_packets, swarm_high_confidence_packets, swarm_attempt_ledger_attempts_total, swarm_attempt_history_attempts_total, swarm_attempt_history_durable_attempts_total, swarm_attempt_history_evidence_unchanged, swarm_attempt_history_attempted_no_receipt, swarm_attempt_history_expected_unchanged, swarm_attempted_packets, swarm_verified_improved, swarm_verified_unchanged, swarm_verified_regressed, swarm_failed_to_apply, swarm_orphaned_receipts, blocked_state_routes, blocked_state_route_examples, swarm_missing_allowed_edit_surface, swarm_missing_raw_evidence_refs, language_adapter_python_real_repo_eval_receipt | |
There was a problem hiding this comment.
For clarity and consistency with other descriptions in this matrix and the specification documents, consider removing the hyphen from repair-card (to match repair card used elsewhere) and expanding verify to verify command.
| | RIPR swarm repair loop | `alpha` | `RIPR-SPEC-0057`, `RIPR-SPEC-0058` | `RIPR-PROP-0014` explains why swarm work starts as a bounded repair loop over actionable canonical packets, `RIPR-SPEC-0057` defines the repair-loop contract, `RIPR-SPEC-0058` defines the external-agent handoff contract with packet-only input, operator review, patch/receipt metadata, and no provider SDK or autonomous merge, `cargo xtask ripr-swarm plan --top <n>` writes `swarm-plan.{json,md}` with swarm-ready packets, blocked packets, missing verify/receipt buckets, static-limitation blocking, high-confidence counts, and must-not-infer guardrails, `cargo xtask ripr-swarm attempt --packet <id> --dry-run` prints bounded packet context without editing files or running commands, `cargo xtask ripr-swarm attempt-ledger` writes `swarm-attempt-ledger.{json,md}` with durable attempt ids, packet/canonical ids, actor kind, receipt path, verify/receipt commands, before/after state, outcome, timestamp, latest-attempt projection, attempt-history summary, and orphaned receipts, `cargo xtask ripr-swarm readiness` writes blocked-state route examples, durable attempt-history summary, and field-level blocker next actions, `docs/RIPR_SWARM_HUMAN_WORKFLOW.md` documents the human/operator loop from packet selection through dry-run, repair, verify, receipt, and outcomes, `docs/handoffs/2026-05-20-0.7-swarm-repair-loop-dogfood.md` records live audit timeout handling with fail-closed packet suppression, fixture-backed packet planning, ready and static-limit dry-run attempts, verify/receipt command separation, and outcome joins for not-attempted, improved, unchanged, and orphaned receipt states, `docs/handoffs/2026-05-20-0.7-release-readiness-closeout.md` accepts the live swarm-repo audit timeout as a bounded 0.7 limitation, keeps the loop advisory/dry-run-first, and authorizes source promotion before source release proof, `fixtures/swarm-plan-packet-corpus` pins ready boundary/error/output packets plus static-limitation, missing verify, missing receipt, and missing must-not-change blocking cases, `fixtures/actionable-gap-outcomes-corpus` pins not-attempted, receipt-present, improved, unchanged, regressed, resolved, attempted-without-receipt, and orphaned-receipt outcome joins, and `fixtures/python-real-repo-evals` records a tiny controlled Python repair-card, verify, and closed outcome receipt without editing files, running tests, calling providers, generating tests, creating receipts, running mutation testing, changing PR/CI rendering, changing LSP/editor behavior, changing gates, or changing public badges | `analysis/related-test-ranking-audit-fixes` | swarm_ready_packets, swarm_blocked_packets, swarm_missing_verify_command, swarm_missing_receipt_command, swarm_static_limitation_packets, swarm_high_confidence_packets, swarm_attempt_ledger_attempts_total, swarm_attempt_history_attempts_total, swarm_attempt_history_durable_attempts_total, swarm_attempt_history_evidence_unchanged, swarm_attempt_history_attempted_no_receipt, swarm_attempt_history_expected_unchanged, swarm_attempted_packets, swarm_verified_improved, swarm_verified_unchanged, swarm_verified_regressed, swarm_failed_to_apply, swarm_orphaned_receipts, blocked_state_routes, blocked_state_route_examples, swarm_missing_allowed_edit_surface, swarm_missing_raw_evidence_refs, language_adapter_python_real_repo_eval_receipt | | |
| | RIPR swarm repair loop | `alpha` | `RIPR-SPEC-0057`, `RIPR-SPEC-0058` | `RIPR-PROP-0014` explains why swarm work starts as a bounded repair loop over actionable canonical packets, `RIPR-SPEC-0057` defines the repair-loop contract, `RIPR-SPEC-0058` defines the external-agent handoff contract with packet-only input, operator review, patch/receipt metadata, and no provider SDK or autonomous merge, `cargo xtask ripr-swarm plan --top <n>` writes `swarm-plan.{json,md}` with swarm-ready packets, blocked packets, missing verify/receipt buckets, static-limitation blocking, high-confidence counts, and must-not-infer guardrails, `cargo xtask ripr-swarm attempt --packet <id> --dry-run` prints bounded packet context without editing files or running commands, `cargo xtask ripr-swarm attempt-ledger` writes `swarm-attempt-ledger.{json,md}` with durable attempt ids, packet/canonical ids, actor kind, receipt path, verify/receipt commands, before/after state, outcome, timestamp, latest-attempt projection, attempt-history summary, and orphaned receipts, `cargo xtask ripr-swarm readiness` writes blocked-state route examples, durable attempt-history summary, and field-level blocker next actions, `docs/RIPR_SWARM_HUMAN_WORKFLOW.md` documents the human/operator loop from packet selection through dry-run, repair, verify, receipt, and outcomes, `docs/handoffs/2026-05-20-0.7-swarm-repair-loop-dogfood.md` records live audit timeout handling with fail-closed packet suppression, fixture-backed packet planning, ready and static-limit dry-run attempts, verify/receipt command separation, and outcome joins for not-attempted, improved, unchanged, and orphaned receipt states, `docs/handoffs/2026-05-20-0.7-release-readiness-closeout.md` accepts the live swarm-repo audit timeout as a bounded 0.7 limitation, keeps the loop advisory/dry-run-first, and authorizes source promotion before source release proof, `fixtures/swarm-plan-packet-corpus` pins ready boundary/error/output packets plus static-limitation, missing verify, missing receipt, and missing must-not-change blocking cases, `fixtures/actionable-gap-outcomes-corpus` pins not-attempted, receipt-present, improved, unchanged, regressed, resolved, attempted-without-receipt, and orphaned-receipt outcome joins, and `fixtures/python-real-repo-evals` records a tiny controlled Python repair card, verify command, and closed outcome receipt without editing files, running tests, calling providers, generating tests, creating receipts, running mutation testing, changing PR/CI rendering, changing LSP/editor behavior, changing gates, or changing public badges | `analysis/related-test-ranking-audit-fixes` | swarm_ready_packets, swarm_blocked_packets, swarm_missing_verify_command, swarm_missing_receipt_command, swarm_static_limitation_packets, swarm_high_confidence_packets, swarm_attempt_ledger_attempts_total, swarm_attempt_history_attempts_total, swarm_attempt_history_durable_attempts_total, swarm_attempt_history_evidence_unchanged, swarm_attempt_history_attempted_no_receipt, swarm_attempt_history_expected_unchanged, swarm_attempted_packets, swarm_verified_improved, swarm_verified_unchanged, swarm_verified_regressed, swarm_failed_to_apply, swarm_orphaned_receipts, blocked_state_routes, blocked_state_route_examples, swarm_missing_allowed_edit_surface, swarm_missing_raw_evidence_refs, language_adapter_python_real_repo_eval_receipt | |
| actionable canonical gaps. Python repair-routing eval receipts live under | ||
| `fixtures/python-real-repo-evals/`; they record curated scratch or real-repo | ||
| repair-card, verify, and outcome evidence without promoting Python beyond its | ||
| preview/advisory boundary. |
There was a problem hiding this comment.
For consistency with the rest of the documentation, consider using repair card (without a hyphen) and expanding verify to verify command.
| actionable canonical gaps. Python repair-routing eval receipts live under | |
| `fixtures/python-real-repo-evals/`; they record curated scratch or real-repo | |
| repair-card, verify, and outcome evidence without promoting Python beyond its | |
| preview/advisory boundary. | |
| actionable canonical gaps. Python repair-routing eval receipts live under | |
| `fixtures/python-real-repo-evals/`; they record curated scratch or real-repo | |
| repair card, verify command, and outcome evidence without promoting Python beyond its | |
| preview/advisory boundary. |
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
plans/python-repair-routing/implementation-plan.md (1)
1170-1205:⚠️ Potential issue | 🟡 Minor | ⚡ Quick winPromote the plan header out of
proposed.This slice is now explicitly
in progress, but the file header still saysStatus: proposedon Line 3. That leaves the plan-level metadata contradictory for readers and any tooling that treats the header as the source of truth.Suggested doc fix
-Status: proposed +Status: in progress🤖 Prompt for 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. In `@plans/python-repair-routing/implementation-plan.md` around lines 1170 - 1205, The plan-level metadata is inconsistent: the header still contains "Status: proposed" while the body shows "Status: in progress"; update the top-of-file header value from "Status: proposed" to "Status: in progress" so the header matches the document state (ensure the literal string "Status: proposed" is replaced with "Status: in progress" and keep the existing "Blocked by:" and "Goal" sections unchanged).
🤖 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.
Outside diff comments:
In `@plans/python-repair-routing/implementation-plan.md`:
- Around line 1170-1205: The plan-level metadata is inconsistent: the header
still contains "Status: proposed" while the body shows "Status: in progress";
update the top-of-file header value from "Status: proposed" to "Status: in
progress" so the header matches the document state (ensure the literal string
"Status: proposed" is replaced with "Status: in progress" and keep the existing
"Blocked by:" and "Goal" sections unchanged).
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro
Run ID: 1bde98db-e155-47ee-b638-467c0732743f
📒 Files selected for processing (10)
.ripr/traceability.tomlCHANGELOG.mddocs/CAPABILITY_MATRIX.mddocs/DOGFOODING.mddocs/IMPLEMENTATION_PLAN.mdfixtures/python-real-repo-evals/SPEC.mdfixtures/python-real-repo-evals/corpus.jsonmetrics/capabilities.tomlplans/python-repair-routing/implementation-plan.mdxtask/src/main.rs
|
Droid finished @EffortlessSteven's task —— View job Validation Complete ✅PR #706 — dogfood(py): record real-repo eval receipt Validation SummaryStatus: No review candidates were generated for this PR. The validation covered:
The PR follows established dogfood corpus patterns with proper field validation, claim boundary enforcement, and preview/advisory boundaries preserved. Result
No additional review comments required. |
…epo-eval-corpus # Conflicts: # docs/IMPLEMENTATION_PLAN.md
|
Droid encountered an error —— View job Droid is reviewing code and running a security check… |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
|
Droid encountered an error —— View job Droid is reviewing code and running a security check… |
Summary
Validation