Skip to content

Graphenium v0.4.0: Scale Foundation + Trust UX

Choose a tag to compare

@lambda-alpha-labs lambda-alpha-labs released this 27 Jun 08:50

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 validates id_index consistency, catches dangling edges and stale indices after incremental updates
  • rebuild_id_index() — fixes petgraph NodeIndex invalidation after batched node deletion, preventing stale-index corruption
  • Manifest dependency tracking — FileMeta stores per-file imports and imported_by for cache invalidation of downstream files

Trust UX:

  • quality.json — structured quality report generated alongside graph.json with resolution ratio, ambiguous edges, per-file unresolved refs, and recommended commands
  • gm doctor now 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_statement and call_expression tree-sitter kinds

MCP Hardening:

  • Community member listing capped at 200 with overflow notes (prevents 293KB artifacts)
  • recluster MCP tool — re-run Louvain community detection after manual edits

CI and Testing:

  • scripts/bench.sh — reproducible benchmark: cold index, graph load, query latency
  • runs_in edges from build/test targets to CI jobs in the verification graph

Upgrade

cargo install --path .
gm run . --no-semantic --no-viz

Contributors

342 tests across all modules.