Repository navigation
Enforce repair contract before checkpointing - #336
Jhacarreiro wants to merge 1 commit into
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed June 19, 2026, 3:59 AM ET / 07:59 UTC. Summary Reproducibility: yes. for the patch blockers: CI reproduces the lint failure, and source inspection of the PR head shows the contract runs only before the first checkpoint while later checkpoint paths remain. No live repair-worker proof reproduces the intended end-to-end gate behavior. Review metrics: 3 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Risk before merge
Maintainer options:
Next step before merge
Security Review findings
Review detailsBest possible solution: Keep the narrow repair-contract idea, but remove the duplicated conflict prompt changes, centralize checkpointing through a guarded helper or re-run the contract before every checkpoint, fix lint, and add focused tests plus redacted live repair-worker proof. Do we have a high-confidence way to reproduce the issue? Yes for the patch blockers: CI reproduces the lint failure, and source inspection of the PR head shows the contract runs only before the first checkpoint while later checkpoint paths remain. No live repair-worker proof reproduces the intended end-to-end gate behavior. Is this the best way to solve the issue? No as submitted. The narrow contract gate is a reasonable direction, but it should reuse the existing conflict-first prompt path, guard every checkpoint boundary, pass lint, and include real behavior proof. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 59e2d4406ebb. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
Closing as submitted. The branch fails A future version should start from current |
Summary
Enforce the repair contract before creating checkpoint commits.
The executor now checks the real changed-file set against the fix artifact's likely files / validation-derived contract before checkpointing. This catches repairs that touch no relevant files or only unrelated lockfiles.
Scope
Model-agnostic ClawSweeper executor behavior only. No model backend, OpenAI-compatible, adapter, provider-specific code, or review/result normalization.
Validation evidence
Result:
The new regression covers:
It also verifies the git porcelain path parser uses
line.slice(3)instead of trimming before offset parsing.