Skip to content

Warm and retry Lean signature typechecks - #225

Merged
FluffyAIcode merged 1 commit into
mainfrom
AgentMemory/lean-gate-warm-retry-0721
Jul 21, 2026
Merged

Warm and retry Lean signature typechecks#225
FluffyAIcode merged 1 commit into
mainfrom
AgentMemory/lean-gate-warm-retry-0721

Conversation

@FluffyAIcode

Copy link
Copy Markdown
Owner

Summary

  • prewarm a reduced complex-analysis mathlib prelude at supervisor startup
  • retry Lean signatures with 45s then 120s budgets and explicit failure classifications
  • terminate timed-out Lean process groups and retain partial diagnostics
  • abort Generator/Critic whitespace-only decode loops as semantic_stall

Test plan

  • 59 targeted Python/Lean tests passed
  • reduced Lean build: 2793 jobs passed
  • timeout retry and second-timeout classification regressions
  • whitespace-only decode stops before an unterminated Lean block can be accepted

The uncommitted candidate.py file is active runtime state and is excluded.

Made with Cursor

Prewarm a reduced mathlib environment, classify 45/120-second typecheck retries, kill timed-out process groups, and stop whitespace-only model decode loops.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Jul 21, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@FluffyAIcode
FluffyAIcode merged commit 69e4b09 into main Jul 21, 2026
7 checks passed
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