Skip to content

Add frontmatter completeness checker#70

Open
ai-hustle-bro wants to merge 2 commits into
theDakshJaitly:mainfrom
ai-hustle-bro:codex/frontmatter-completeness-checker
Open

Add frontmatter completeness checker#70
ai-hustle-bro wants to merge 2 commits into
theDakshJaitly:mainfrom
ai-hustle-bro:codex/frontmatter-completeness-checker

Conversation

@ai-hustle-bro
Copy link
Copy Markdown

Closes #53.

Summary

  • Add a frontmatter-completeness drift checker for context/*.md and patterns/*.md files.
  • Warn when name, description, or last_updated is missing or blank.
  • Register the checker in runDriftCheck and include it in verbose checker counts.
  • Normalize user-visible paths to POSIX-style separators in a few scanner/checker outputs so the existing test suite passes on Windows.

Validation

  • npm run typecheck
  • npm test
  • npm run build
  • git diff --check

AI assistance

Implemented with AI assistance and manually verified via the validation commands above.

@ai-hustle-bro ai-hustle-bro force-pushed the codex/frontmatter-completeness-checker branch from 49456d5 to a12f49b Compare June 7, 2026 16:39
@ai-hustle-bro
Copy link
Copy Markdown
Author

Synced this PR with current main and added a small test-only guard for Windows environments that cannot create file symlinks without Developer Mode/elevated rights.

Validation rerun locally on Windows / Node 24:

npm run typecheck
npm test
npm run build
git diff --check

Results:

  • npm run typecheck: passed
  • npm test: 14 test files passed; 185 passed / 1 skipped. The skipped case is the symlinked-bin test when Windows returns EPERM for symlink creation.
  • npm run build: passed
  • git diff --check: passed

Current head: a12f49b.

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.

Add a frontmatter-completeness drift checker

2 participants