Files
sporel-lib-core.api-discovery/init.lua
Axel Meyer e919cb082b feat(api-discovery): add tier=module for module-repo lints
Modules differ from libs structurally: they have no consumable public
API (their hooks like M.update are engine-contract, documented in the
engine spec, not in the module). The README convention for modules
replaces the ## API section with ## Controls + ## Demonstrates.

This adds tier=module validation in validate_readme_structure with
MUST-sections H1, Abstract via Module-ID badge, Topology + Topology-
Block markers, Controls, Demonstrates, References. Order-check
ensures Demonstrates precedes References (no API exists to check).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-17 01:29:01 +02:00

8.8 KiB