feat: add frontmatter-completeness drift checker#62
Open
advancedresearcharray wants to merge 7 commits into
Open
feat: add frontmatter-completeness drift checker#62advancedresearcharray wants to merge 7 commits into
advancedresearcharray wants to merge 7 commits into
Conversation
fdd6c99 to
7d36a28
Compare
Contributor
Author
|
Follow-up commit addresses two small gaps:
CI was green before the push; |
Contributor
Author
|
Follow-up fix on the branch:
CI is green on the latest push ( |
efaec68 to
5134251
Compare
Contributor
Author
Warn when context/ or patterns/ files lack recommended name, description, or last_updated. Rebased on main (post broken-link). Co-authored-by: Cursor <cursoragent@cursor.com>
CHANGELOG claimed CONTRIBUTING was updated to 12 checkers but the count was still 11. Add INCOMPLETE_FRONTMATTER remediation in reporter for consistency with other warning-level checkers. Co-authored-by: Cursor <cursoragent@cursor.com>
The rebase dropped the broken-link Added bullet when frontmatter-completeness was added. Restore both entries. Add coverage for null frontmatter, whitespace-only values, and INCOMPLETE_FRONTMATTER issue codes. Co-authored-by: Cursor <cursoragent@cursor.com>
The deployed scaffold layout uses .mex/context/*.md paths relative to
projectRoot. startsWith("context/") silently skipped those files.
Co-authored-by: Cursor <cursoragent@cursor.com>
5134251 to
734c0e1
Compare
Mirror the deployed-scaffold path test for patterns/ alongside context/. Co-authored-by: Cursor <cursoragent@cursor.com>
Skip patterns/INDEX.md and patterns/README.md (and .mex/ equivalents) to avoid false-positive INCOMPLETE_FRONTMATTER warnings on scaffold boilerplate. Add tests for meta-file exclusion and non-string YAML values. Co-authored-by: Cursor <cursoragent@cursor.com>
Add integration coverage for INCOMPLETE_FRONTMATTER warnings on incomplete context files and for excluding patterns/INDEX.md structural meta-files. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
frontmatter-completenesschecker forcontext/andpatterns/files.name,description, orlast_updatedis missing.parseFrontmatterin the per-file drift loop, same pattern ascheckEdges.Closes #53
Follow-up to merged #60 (todo-fixme). Complements open #61 (broken-link).
Test plan
npm run typecheck && npm test && npm run build