Graphenium v0.4.0: Scale Foundation + Trust UX
Graphenium v0.4.0
Scale foundation, trust UX, and TypeScript/JavaScript extractor upgrade.
v0.4.0 focuses on hardening the graph engine at scale, improving the trust
toolchain, and shipping a proper TS/JS extractor with ES module support.
What is new
Graph Integrity and Scale:
graph_integrity.rs— invariant checker validatesid_indexconsistency, catches dangling edges and stale indices after incremental updatesrebuild_id_index()— fixes petgraphNodeIndexinvalidation after batched node deletion, preventing stale-index corruption- Manifest dependency tracking —
FileMetastores per-fileimportsandimported_byfor cache invalidation of downstream files
Trust UX:
quality.json— structured quality report generated alongsidegraph.jsonwith resolution ratio, ambiguous edges, per-file unresolved refs, and recommended commandsgm doctornow includes graph metadata (schema version, build time, extraction modes)
TypeScript/JavaScript Extractor Upgrade:
- ES module import/export handler —
import X from,import * as X,import "./polyfill" - Named and re-export support —
export { foo } from "./module",export * from "..." - CommonJS
require()handling - JS/TS config registered with
export_statementandcall_expressiontree-sitter kinds
MCP Hardening:
- Community member listing capped at 200 with overflow notes (prevents 293KB artifacts)
reclusterMCP tool — re-run Louvain community detection after manual edits
CI and Testing:
scripts/bench.sh— reproducible benchmark: cold index, graph load, query latencyruns_inedges from build/test targets to CI jobs in the verification graph
Upgrade
cargo install --path .
gm run . --no-semantic --no-vizContributors
342 tests across all modules.