Skip to content

fix(review): remediate response repair, review pipeline and verifier defects (#656, #657, #658, #659, #660, #664) - #675

Merged
dan-petty merged 3 commits into
release/v0.2.23from
fix/ai-response-repair-and-review-defects
Sep 28, 2026
Merged

dan-petty merged 3 commits into
release/v0.2.23from
fix/ai-response-repair-and-review-defects

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Summary

Remediates review and response-repair defects identified during milestone v0.2.23 (#656, #657, #658, #659, #660, #664):

Verification

  • Added 19 comprehensive regression tests in tests/test_batch_2_review_defects.py.
  • Verified architectural invariants, complexity, and nesting depth gates pass (M <= 10, depth <= 5).
  • Validated all 10 quality gates pass 100% in uv run devops ci (6,122 tests passed, 0 failures, 90.59% coverage).

Closes #656, #657, #658, #659, #660, #664

dan-petty and others added 2 commits September 28, 2026 09:18
…defects

- Parse whole cleaned text before falling back to fenced blocks and anchor closing fences (#656)
- Prefer field-level validation errors over raw JSON syntax errors in response repair (#656)
- Skip schema validation retry loops for plain-text agent outputs (#656)
- Include structured findings and actual executed static analyzers in orchestrated reviews and PR comments (#657)
- Safely read project conventions from base ref or reviewer checkout, preventing PR head from suppressing findings (#658)
- Exempt absence-type findings from construct invalidation and prevent catalog pollution (#659)
- Preserve case in relocated finding paths and canonicalize location tokens dropping surrounding prose (#659)
- Compare symbols against merge-base keyed by base branch (#659)
- Treat curl -O as flag in synthetic script download to preserve target URL (#659)
- Keep degraded mitigations reportable as UNVERIFIED (#660)
- Bind verifier verdicts by positional oracle and title compatibility (#660)
- Send conflicting criteria to LLM verification as UNVERIFIED (#660)
- Treat null location in verdict as unchanged (#660)
- Copy perimeter_files and regression_test back to verified findings (#660)
- Compute category false-positive baseline from candidate pool including invalidated findings (#660)
- Resolve mitigation ledger under data directory (#660)
- Validate invariants strictly on target finding in verify command (#660)
- Isolate agent memory on message_history=[] to prevent prompt leak and summarization cost (#664)
- Send max_completion_tokens for OpenAI reasoning models and restore substring family matching (#664)

Closes #656, #657, #658, #659, #660, #664
@dan-petty
dan-petty enabled auto-merge (squash) September 28, 2026 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

1 participant