Skip to content

Update MDS020 description to surface front matter validation - #54

Merged
jeduden merged 1 commit into
mainfrom
claude/plan-48-done
Mar 7, 2026
Merged

Update MDS020 description to surface front matter validation#54
jeduden merged 1 commit into
mainfrom
claude/plan-48-done

Conversation

@jeduden

@jeduden jeduden commented Mar 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • Update MDS020 required-structure description from "Document must match the heading structure defined by its template" to "Document structure and front matter must match its template" so agents discover CUE front matter validation from the rule listing.
  • Mark plan 48 (Front Matter Validation) as ✅ — its AC is fully covered by MDS020's CUE schema support.

Test plan

  • go test ./internal/rules/... passes
  • mdsmith check . passes (0 failures)
  • mdsmith help rule shows updated description

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings March 7, 2026 20:45
…an 48 done

The required-structure rule already validates front matter via CUE
schemas but its description only mentioned heading structure. Update
the description so agents and users discover this capability from
the rule listing. Mark plan 48 as complete since its AC is covered.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jeduden
jeduden force-pushed the claude/plan-48-done branch from 971ab36 to 15b87f4 Compare March 7, 2026 20:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates documentation to make MDS020’s template-driven front matter validation discoverable from rule listings, and marks the related plan as complete.

Changes:

  • Update MDS020 required-structure description to mention front matter validation (rule README + generated rule catalog entries).
  • Mark plan 48 (Front Matter Validation) as completed and document where the implementation lives.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
plan/48_front-matter-validation.md Mark plan as ✅ and add an implementation note pointing to MDS020’s CUE-based front matter validation.
internal/rules/MDS020-required-structure/README.md Update rule frontmatter + intro text to reflect front matter validation in addition to structure.
README.md Update the rules catalog row description for MDS020.
PLAN.md Update the plans catalog row for plan 48 to ✅.

Comment thread plan/48_front-matter-validation.md
@jeduden
jeduden merged commit 793f173 into main Mar 7, 2026
3 checks passed
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.

2 participants