Precommit updated to always perform external analysis (via _other_ model) unless specified not to. This prevents Claude from being overconfident and inadequately performing subpar precommit checks.

Improved precommit continuations to be immediate
Workflow state restoration added between stateless calls
Fixed incorrect token limit check
This commit is contained in:
Fahad
2025-08-20 15:19:01 +04:00
parent 0af9202012
commit 57200a8a2e
18 changed files with 187 additions and 73 deletions

View File

@@ -323,10 +323,11 @@ of the evidence, even when it strongly points in one direction.""",
return schema
def get_required_actions(
self, step_number: int, confidence: str, findings: str, total_steps: int
self, step_number: int, confidence: str, findings: str, total_steps: int, request=None
) -> list[str]: # noqa: ARG002
"""Define required actions for each consensus phase.
Now includes request parameter for continuation-aware decisions.
Note: confidence parameter is kept for compatibility with base class but not used.
"""
if step_number == 1: