Skip to content

fix: skip vault-wide lookup in frontmatter_validate off mode#136

Open
maehwasoo wants to merge 2 commits intomainfrom
fix/frontmatter-validate-off-skip-target-lookup
Open

fix: skip vault-wide lookup in frontmatter_validate off mode#136
maehwasoo wants to merge 2 commits intomainfrom
fix/frontmatter-validate-off-skip-target-lookup

Conversation

@maehwasoo
Copy link
Copy Markdown
Owner

What

  • Skip vault-wide target-lookup expansion when typed_link_constraint_mode is off (even when path_prefix is set).

Why

How

  • Gate the prefix lookup expansion behind typed_link_constraint_mode !== 'off'.
  • Add a regression test asserting we do not readFile outside the scanned prefix in off mode.

@maehwasoo maehwasoo self-assigned this Feb 13, 2026
@github-actions github-actions bot added bug Something isn't working mcp MCP server labels Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working mcp MCP server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: frontmatter_validate performs full-vault lookup scan when typed_link_constraint_mode is off

1 participant