Skills Development Brooks Verify Contract Verification

Brooks Verify Contract Verification

v20261202
brooks-verify
This tool performs formal verification against explicit contracts using Lean 4. It validates predicates, concurrency issues, and file handle lifetimes across Python, Go, Java, and JavaScript. It triggers for proof of order or failure behavior and explains defects using engineering conventions. It is not for general PR reviews or architecture audits.
Get Skill
442 downloads
Overview

Brooks-Lint — Contract Verification

Setup

Read verify-guide.md in this directory and the Iron Law in
../_shared/common.md. Use the verification result format in the guide.
Python 3, a trusted Lean 4 executable on PATH and a writable temporary directory are required to run the checker.

Process

  1. Identify the exact source file and its governing contract (Step 1 of the guide).
  2. Encode the independent contract and run the bundled checker (Steps 2–3).
  3. Report the kernel result, its scope and any reachable witness (Step 4).

Mode line in report: Contract Verification

Info
Category Development
Name brooks-verify
Version v20261202
Size 78.99KB
Updated At 2026-12-02
Language