Skip to content

feat(lean): enforce docstrings and document public APIs - #100

Merged
TomasOrtega merged 1 commit into
mainfrom
codex/enforce-lean-docstrings
Nov 5, 2026
Merged

TomasOrtega merged 1 commit into
mainfrom
codex/enforce-lean-docstrings

Conversation

@TomasOrtega

Copy link
Copy Markdown
Owner

🤖 AI text below 🤖

Require nonempty docstrings for public Lean definitions and fields across every local module, including files not yet imported by an umbrella module. Treat documentation warnings as errors throughout CI and the audit executable.

Add 908 docstrings to close the existing gaps and regression coverage for missing, empty, inherited, and private documentation behavior. All 942 public mathematical definitions are now documented; declaration bodies and propositions are unchanged.

Require nonempty documentation across local Lean modules and reject documentation warnings in CI and the audit executable.

Backfill 908 docstrings and add regression coverage for missing, empty, inherited, and private documentation behavior.

Assisted-by: Codex:GPT-6
@TomasOrtega
TomasOrtega marked this pull request as ready for review November 5, 2026 17:55
@TomasOrtega
TomasOrtega merged commit 3e6d80d into main Nov 5, 2026
3 checks passed
@TomasOrtega
TomasOrtega deleted the codex/enforce-lean-docstrings branch November 5, 2026 17:55
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