Add Lean Squad formal verification agentic workflow#7782
Merged
Evangelink merged 6 commits intomainfrom Apr 23, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new gh-aw agentic workflow (“Lean Squad”) intended to drive progressive Lean 4 formal verification efforts over time (scheduled + on-demand).
Changes:
- Introduces
.github/workflows/lean-squad.mdworkflow source defining phases/tasks, repo-memory usage, and safe-output limits. - Adds a pre-step that inspects repo state and writes
/tmp/gh-aw/task_selection.jsonto guide phase-weighted task selection.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/lean-squad.md |
New Lean Squad agentic workflow definition (frontmatter + prompt/instructions + state-based task selection step). |
Copilot's findings
- Files reviewed: 1/1 changed files
- Comments generated: 4
Add the Lean Squad workflow for progressive Lean 4 formal verification: - Multi-phase weighted task selection (research, specs, proofs, CI, reporting) - On-demand via /lean-squad command - Automatic Lean toolchain installation and verification - Hard requirement: no .lean files submitted without successful lake build
83be2e0 to
658a341
Compare
JanKrivanek
approved these changes
Apr 23, 2026
added 3 commits
April 23, 2026 16:12
…its, pin elan install with checksum
# Conflicts: # .github/aw/actions-lock.json # .github/workflows/lean-squad.lock.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lean Squad Formal Verification Agentic Workflow
This PR adds the Lean Squad workflow for progressive Lean 4 formal verification of the codebase.
Workflow Added
lean-squad.md/lean-squadHow It Works
The Lean Squad is a multi-phase automated agent that progressively applies formal verification:
Key Features
.leanfiles submitted without successfullake build/lean-squad <instructions>for specific tasksSafety
Part of the agentic workflows setup series.