v2.6
2026-06-11
Latest
Knowledge Graph
Knowledge Graph
- New graph engine —
codebase-memory-mcp— Draft's knowledge graph now runs on codebase-memory-mcp: tree-sitter + LSP-grade resolution across 159 languages, 100% local, no API key. The previous in-house Node.js + tree-sitter-WASM engine is retired. - Fetch-on-install — the engine is downloaded and checksum-verified into
~/.cache/draft/binat install time (scripts/fetch-memory-engine.sh) instead of being vendored. Resolution order:DRAFT_MEMORY_BIN› PATH › managed cache › vendored. Opt out withDRAFT_MEMORY_DISABLE=1. - New
/draft:graphcommand — initialize or refresh thedraft/graph/snapshot for any repo, ensure the engine is present, then report module counts, hotspots, and cycles. - Lightweight committed snapshot —
draft/graph/now holdsschema.yaml,architecture.json,hotspots.jsonl, and*.mermaidinstead of the per-language JSONL indexes. Live structural queries run on demand against the engine.
Tooling
- New graph tools —
graph-snapshot.sh(committed snapshot),graph-impact.sh(file/symbol blast radius),graph-callers.sh(caller enumeration), plusfetch-memory-engine.sh(pinned, checksum-verified install). - New test suites for the graph tools; all 25+ suites plus
make buildandmake lintpass clean.
Infrastructure
- Hardened the GitHub Pages deploy — added
web/CNAMEandweb/.nojekylland pinnedactions/configure-pagesto a full-length commit SHA to unblock the custom-domain deploy.