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>
8.8 KiB
8.8 KiB