Repository navigation
v3.6.0
Pre-Marketing Audit — 38 findings resolved
Comprehensive 11-agent audit followed by 8 fix batches. 530 → 573 tests, all passing.
Added
npx obsidian-pkm doctordiagnostic command — validates Node version, vault path, templates, API keys, and native dependencies- Stale VAULT_PATH detection in session-start hook — warns when settings.json differs from running server
tools.js— tool definitions extracted from index.js for clarity (index.js: 595 → 176 lines).nvmrcfile (Node 20)- Section separators in handlers.js for navigability
- 43 new tests across all modules
Changed
- README: defined MCP on first use, documented skills/commands/agents as features, clarified prebuild coverage, added test badge, video fallback, task enum docs
- CONTRIBUTING: added native prereqs, single-test examples, "add a tool" walkthrough, cli.js/init.js in architecture
- Replaced
@inquirer/promptsumbrella with 3 individual packages (10 unused subpackages removed) search()delegates tosearchRaw()(eliminated ~50 lines of duplicated pipeline)blendWithGraph()helper extracted (eliminated duplicated blending logic)- Hooks import from main modules instead of reimplementing utilities
Fixed
- 7 ENOENT handlers that leaked absolute vault paths in error messages
- Symlink following in
getAllMarkdownFiles(vault escape prevention) rewriteWikilinkscase-insensitive matching (matches Obsidian behavior)- Non-md embeds no longer reported as broken links in
vault_link_health - WAL checkpoint on shutdown (cleans up sidecar files for Obsidian Sync)
- OpenAI API error body truncated to 200 chars
DANGEROUS_KEYScheck invault_querycustom_fields- GitHub Actions pinned to SHA hashes
- Input validation:
vault_readlines param,vault_appendempty content,vault_editempty old_string note.mdtemplate default tag (was[], now[note])package-lock.jsonversion synced
Security
- Activity log data retention documented in SECURITY.md
- Symlink traversal prevention in file enumeration
- OpenAI error body truncation prevents sensitive data leakage