A faster cold build with byte-identical output, two TypeScript/incremental resolution reworks, generic-type-parameter accuracy, and a wide robustness pass that hardens the export, report, serve and post-processing paths against malformed graph data. The TypeScript and Python generic-parameter changes alter extraction output, so the AST cache schema bumps (60 to 61) and those inputs re-extract on the first build after upgrading; everything else needs no rebuild.
Performance
- build cold
graphify updateis faster (about 1.4x on the repos measured) with byte-identicalgraph.json: each source file is read once per build, each Python file is parsed once, Python symbol-resolution facts fan out to a worker pool on large corpora, the networkx-Louvain fallback uses an exact integer port, and the garbage collector is frozen during the graph phases (#5698, thanks @nothariharan). A networkx < 3.7 guard keeps the Louvain port's output identical to stock networkx on every supported interpreter. - export the
to_jsonsort key reuses a prebuilt JSON encoder (#5702) and_obsidian_safe_stemprecompiles its regexes (#5664). Thanks @Gaurav-meena95.
Extractor fixes
- typescript a call resolves through a purely-local function alias (
const log = debug; log()), failing closed on reassignment, shadowing and redeclaration (#5659, thanks @Komorebi-GZM); a generic type parameter (class Box<T>) is no longer emitted as a spurious type reference (#5689, thanks @m3lonxd). - python a PEP 695 generic type parameter (
class Box[T],def f[T],type Alias[T]) is skipped when collecting type references (#5682, thanks @m3lonxd).
Incremental correctness
- watch an unchanged importer waiting on a not-yet-present module is re-extracted once that file is added, matched by module name so unrelated files under common directory names are not re-extracted (#5651, thanks @0xkaushik-ai).
Robustness and data hardening
- export non-finite floats (NaN, Infinity) are sanitized to null so
to_jsonalways writes valid JSON (#5693, thanks @m3lonxd); null and non-string tag values are handled in the Obsidian export (#5663, thanks @Gaurav-meena95). - cluster null, non-numeric, non-finite and numeric-string edge weights are coerced safely, including on the networkx-Louvain fallback path (#5685, thanks @m3lonxd).
- report a falsy zero hyperedge id is preserved when its label is absent, and malformed hyperedges are guarded (#5700, thanks @Gaurav-meena95).
- serve MCP numeric tool arguments return structured errors instead of crashing, with booleans rejected as integers (#5701, #5662); null and non-string labels (#5661) and mixed int/str node IDs (#5660) are handled safely. Thanks @Gaurav-meena95.
- post-processing non-dict entries and non-string fields are skipped across dedup (#5692), prs (#5691, incl. non-integer community ids), semantic cleanup (#5690), the call-flow HTML (#5687) and tree HTML (#5686) exports. Thanks @m3lonxd.