design-md-consolidation 3.4 nit: drop task-ref doc-comment prefix + align def-kind list with lowercase tags

This commit is contained in:
2026-05-10 12:57:11 +02:00
parent 934a6e18e6
commit e21f264b93
@@ -1,5 +1,4 @@
//! Sweep 3 / Task 4: drift detection between ast.rs and `docs/DESIGN.md`
//! §"Data model".
//! Drift detection between ast.rs and `docs/DESIGN.md` §"Data model".
//!
//! DESIGN.md is the canonical schema source-of-truth. Every AST enum
//! (`Term`, `Pattern`, `Type`, `Def`, `Literal`, `ParamMode`) must have a
@@ -238,7 +237,7 @@ fn design_md_anchors_every_literal_variant() {
/// Every `Def` kind must have its JSON-schema anchor present in
/// DESIGN.md §"Data model". All five kinds (`fn`, `const`, `type`,
/// `ClassDef`, `InstanceDef`) must be documented so an LLM can write
/// `class`, `instance`) must be documented so an LLM can write
/// any kind of top-level definition.
#[test]
fn design_md_anchors_every_def_kind() {