Scores vault notes using 5 signals (forward links, backlinks, shared
tags, folder proximity, shared properties) and presents a review modal
with color-coded badges and token budget tracking. Adds "Copy smart
context" command, Intelligence settings tab, and mode: auto preset
support.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Parse ai-context block from frontmatter with validation
- Support fields: template, include-linked, link-depth, include-tags,
exclude-paths, exclude-tags, max-tokens, include-active-note
- Add LinkTraverser for cycle-safe graph traversal of linked notes
- Add TagCollector for collecting files by tags (hierarchical support)
- Token budget enforcement with size-based file prioritization
- New command: "Copy context from frontmatter preset"
- Fallback to generator modal when no preset found
- Clear error messages for invalid preset values
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>