- Eliminate cold-start double glob: globAllFiles() helper does one
traversal, feeds both computeCortexHash and buildIndex
- Merge withFileLock into shared-governance version; data-access.ts
adapter converts thrown lock errors into CortexResult returns
- Fix scoring key mismatch: entryScoreKey now receives full content
in both search and hook paths so quality feedback accumulates
- Centralize finding taxonomy: FINDING_TYPES, FINDING_TAGS, DOC_TYPES
exported from shared.ts; mcp-finding and mcp-search import from there
- Lazy getCortexPath() getter in all 6 CLI modules (no import side effects)
- Move MCP server imports to top of index.ts (ESM convention)
- Remove stale alias docs from link-skills.ts
- Docs sweep: whitepaper, architecture, llms-full, CLAUDE.md all show 29 tools
- 6 new consistency tests (1191 total)