0005: Three checks, each its own CI step
Decision: the form of the topics, the link from a topic to a Lean declaration and the proof are three checks, each its own step in CI.
Status: accepted, 2026-11-03. Shape: decision record.
Context
- A missing declaration, a failing proof and a malformed topic are three findings with three fixes.
- The first and second are exact and cheap; the third is costly and runs after them.
Decision
- The topic check, then
checks/local/lean_link.py, thenlake buildafterlake exe cache get, failing on anysorry. - The link check reads names, not meaning; it never calls Lean.
- Not in this build: comparator and a challenge file, and any model in the loop.
Consequences
- A broken link is reported in seconds, before the long build.
- Bad: a name can exist and still prove another statement; only a person's audit of the statement catches that.