Skip to content

Skip generated dirs in frontmatter scan#849

Open
Kage18 wants to merge 1 commit into
garrytan:masterfrom
Kage18:kage-fix-doctor-node-modules
Open

Skip generated dirs in frontmatter scan#849
Kage18 wants to merge 1 commit into
garrytan:masterfrom
Kage18:kage-fix-doctor-node-modules

Conversation

@Kage18

@Kage18 Kage18 commented May 11, 2026

Copy link
Copy Markdown

Fixes #799.

Summary

  • Make the frontmatter scanner skip dependency and generated-output directories before recursing.
  • Covered dirs include node_modules, dist, build, out, coverage, ops, and dot-prefixed directories.
  • Add a regression proving generated Markdown does not produce frontmatter_integrity warnings.

Validation

  • bun test test/brain-writer.test.ts — 17 pass, 0 fail
  • bun run typecheck
  • git diff --check

View in Codesmith
Need help on this PR? Tag @codesmith with what you need.

  • Let Codesmith autofix CI failures and bot reviews

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.

doctor frontmatter walker doesn't exclude node_modules — false 800+ MISSING_OPEN warnings

1 participant