Skip to content

Commit 5938b31

Browse files
fluffy314cursoragent
authored andcommitted
fix(autoresearch): reopen certified blocked contract
Allow an operator Strategy redirect to leave stale BLOCKED state and re-enter the validated tournament-to-contract path. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 32e63f6 commit 5938b31

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

scripts/launch_rh_strategy_tournament.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,12 @@ def main() -> int:
225225
card for item in plans for card in item.theorem_card_ids
226226
),
227227
)
228-
if context_changed:
228+
if checkpoint.proof_state == ProofState.BLOCKED:
229+
checkpoint.transition(
230+
ProofState.STRATEGY_TOURNAMENT,
231+
"operator-strategy-redirect:resume-certified-contract",
232+
)
233+
elif context_changed:
229234
checkpoint.transition(
230235
ProofState.MATHEMATICAL_STAGNATION,
231236
"operator-strategy-redirect:replace-audit-only-exhaustion",

0 commit comments

Comments
 (0)