Skip to content

feat(engine): restore eager pre-review with retry-predecessor (fixes #519)#530

Open
mickume wants to merge 1 commit intodevelopfrom
feature/issue-519-eager-pre-review-retry
Open

feat(engine): restore eager pre-review with retry-predecessor (fixes #519)#530
mickume wants to merge 1 commit intodevelopfrom
feature/issue-519-eager-pre-review-retry

Conversation

@mickume
Copy link
Copy Markdown
Contributor

@mickume mickume commented Apr 23, 2026

Summary

Restores the v6-style tight quality feedback loop by adding retry_predecessor=True to pre-review mode, lowering the blocking threshold from 3 to 1, and fixing the threshold comparison from > to >=. When pre-review finds critical issues, the coder gets a retry with findings injected as context instead of being permanently blocked.

Closes #519

Changes

File Change
agent_fox/archetypes.py Added retry_predecessor=True to pre-review ModeConfig
agent_fox/core/config.py Changed pre_review_block_threshold default from 3 to 1
agent_fox/engine/blocking.py Changed > to >=; fixed group-0 coder_node_id to target group 1
agent_fox/engine/result_handler.py Added _retry_on_review_block() — converts blocks to retries via escalation ladder
agent_fox/session/convergence.py Aligned > to >= with > 0 guard
tests/unit/engine/test_review_retry_predecessor.py 11 new tests
3 existing test files Updated for new defaults and comparison

Tests

  • test_review_retry_predecessor.py: threshold >=, group-0 fix, retry-on-block, archetype config, default threshold
  • Updated existing tests in test_reviewer_consolidation.py, test_block_budget.py, test_convergence.py

Verification

  • All existing tests pass: ✅ (4319 unchanged)
  • New tests pass: ✅ (11 added, 4330 total)
  • Linter / formatter: ✅
  • No regressions: ✅

Auto-generated by af-fix.

…519)

Add retry_predecessor=True to pre-review mode so critical findings
convert to coder retries instead of permanent blocks. Lower the default
pre_review_block_threshold from 3 to 1 and change the comparison from
> to >= so a single confirmed critical triggers the feedback loop.
Fix group-0 reviewer coder_node_id to correctly target group 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant