NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI
PyPI, #3165 most downloaded on PyPI
AI coding assistant skill (Claude Code, CodeBuddy, Codex, OpenCode, Kilo Code, Cursor, Gemini CLI, Aider, OpenClaw, Factory Droid, Trae, Hermes, Kiro, Pi, Devin CLI, Google Antigravity) - turn any folder of code, docs, papers, images, or videos into a queryable knowledge graph
Latest stable
0.9.106
Last release 12 days ago
10 Nov 2026
Ships on a steady schedule
a new release about every 9 days
Nearly every release is documented
notes for 60 of the last 60 stable releases
1 version withdrawn
withdrawn after publishing
7 months old
274 releases · first in 2026
Drag across the ruler to compare, or tap a release to open it.
Fix: install requires-python is capped to >=3.10,<3.15, so uv tool install graphifyy (and pip) on a fresh machine no longer selects Python 3.15 — for
requires-python is capped to >=3.10,<3.15, so uv tool install graphifyy (and pip) on a fresh machine no longer selects Python 3.15 — for which tree-sitter has no wheel — and then fails with a source build that needs a C compiler (No such file or directory: 'cc'). uv now picks a wheel-having interpreter (3.14) by default, with no --python flag and no compiler needed. The Ubuntu/Debian README line that asked for python3.12 (absent on Debian 12 and Ubuntu 22.04) is replaced with the uv installer or a plain python3/pipx line (#5134).using Alias = ns::Type;) and through inherited fields/methods, and a forward-declared pointee type is completed at the use site; ambiguous, virtual or diamond-inherited receivers fail closed (#5118, thanks @xRedLeader).#if-guarded initializer or argument list are recovered from byte-preserving branch views (bounded, fail-closed on malformed/over-budget input); dependent receivers stay unresolved (#5115, thanks @xRedLeader).mod.MyBox[Foo]) counts its value once as the type instead of also as its own generic argument, so the false generic_arg reference no longer replaces the real parameter_type/return_type edge (#5113, thanks @rohit-jsfreaky).import * as ns from './m'; ns.f()), a CommonJS whole-module require (const m = require('./m'); m.f()), or a TS import = require resolves to the real declaration; fail-closed on an unknown module, a non-exported name, or an ambiguous barrel (#5114, #5129, thanks @mohitdixit02).FileSlice input is preserved through extract_corpus_parallel instead of crashing or stamping a partial parent complete; a slice that covers only part of its file marks the parent partial for re-dispatch (#5106, #5128, thanks @aadilrizwan).PYTHONHASHSEED (#5109, #5112, thanks @rohit-jsfreaky).--no-doc-demotion (and the demote_docs rc key / MCP arg) disables the source-over-docs soft weight for a docs-first corpus; code corpora are unaffected by default (#5084, #5116, thanks @mohitdixit02)._collision_aware indexes salted sibling ids once instead of rescanning all nodes per use, cutting resolution time on large collision-heavy corpora (graph output byte-identical) (#5108, #5111, thanks @rohit-jsfreaky).pom.xml using a prefixed, single-quoted or spaced xmlns keeps its Maven package and dependency nodes instead of losing them; a foreign namespace is not double-counted (#5126, thanks @sdivyanshu90).graphify merge-graphs reports how many external nodes were unified across repos instead of silently absorbing them; the merge result is unchanged (#5127, thanks @igorpugatschev).diagnose_extraction no longer crashes on a malformed nodes container (null or scalar); the malformed extraction is still surfaced through the build error (#5125, thanks @sdivyanshu90).The AST cache schema is bumped to 43; warm caches re-run the affected Python and C++ extractions.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
One column per month.
Fix: deps the pypdf floor is raised to 6.21.4 in the pdf and all extras to pick up its security fixes ( #5015 , thanks @yotamleo ).
Fix: watch ignored directories (node_modules, .git, build output) are pruned from the Linux watch tree, so a large project no longer registers tens of thousands of wasted inotify watches and risks ENOSPC; the non-Linux recursive watcher is unchanged and still fires on every real change (#5074, #5091, thanks @Deepjyoti-Sarmah).
Fix: cpp a member-call chain routed through class fields declared in other headers (client.actions->Execute(), with value ., raw-pointer -> and single-arg unique_ptr/shared_ptr receivers) resolves to the field type's member across the include set, gated to a unique type and member and fail-closed otherwise; a typed local whose class is in another repo is parked for the cross-repo merge (#5098, thanks @xRedLeader).
Fix: markdown a code span naming an uppercase \-namespace class (\Foo\Bar, App\API) or a type-qualified method call (Type::member()) is kept as a symbol mention instead of being dropped, while a non-call Type::CONST/Type::class stays dropped (#5093, thanks @Adityakk9031).
Fix: ts/js a call through a destructured CommonJS barrel require (const { Thing } = require('./barrel') where the barrel re-exports Thing) resolves to the real declaration by following the barrel's exports, instead of dropping the edge (#5034, #5104, thanks @qq2514568380).
Fix: wiki the orphan sweep folds slugs with casefold (not lower), so two article names that collide only under full Unicode case-folding (Straße/STRASSE, Σ/ς) each keep their own file instead of one being deleted as an orphan; a file written this run is never swept (#5087, #5102, thanks @nothariharan).
Fix: build hyperedges are kept whole across an incremental graphify update: they are read from the nested graph slot a JSON-only writer uses, and after a deleted-source prune a hyperedge drops only its removed members (and itself only when none remain), instead of silently losing or leaving dangling hyperedges (#5081, #5103, thanks @nothariharan).
Fix: cache a degraded (under-producing) semantic cache entry no longer pins the corpus: after the shrink guard sees a re-extraction come back smaller than the stored graph, the entry is stamped partial so the next run re-dispatches it instead of replaying the degraded result forever (#5083, #5101, thanks @nothariharan).
Fix: affected graphify affected <file> seeds the file's nested member nodes (a method inside a class) transitively, not just one hop, so impact analysis no longer under-reports callers that bind to a nested member (#5094, thanks @Adityakk9031).
Fix: tree build_tree derives the common directory root from file parents, so a single-file or single-directory tree is no longer self-nested under the file itself (#5092, thanks @Adityakk9031).
Fix: query a label whose name is behind a schema or namespace qualifier (public.sweep_widget_state(), fmt.Println) is matched on its tail by the whole query and ranked above the per-token tiers, so it is no longer out-competed by single-token collision nodes and dropped from the seeds (#5080, #5095, thanks @sunhouy).
Fix: detect an incremental staleness check hashes a file whose stamp lands within the clock-skew window on either side of its mtime, so a same-tick rewrite that does not move mtime is still caught instead of being served stale (#5090, thanks @sunhouy).
Fix: path graphify path A B refuses an endpoint whose words appear nowhere in the graph (exit not-found) instead of returning a misleading route built from loosely-overlapping tokens (#5085, thanks @sunhouy).
Fix: csharp a classic extension-method call (x.Foo() where Foo is declared static ... Foo(this X x, ...)) binds to the extension method's declaration through an additive pass that runs after nominal dispatch, gated to a visible namespace, a matching this type and a unique applicable method; an instance method of the same name wins, a non-extension static or an unimported extension gets no edge, and ambiguity fails closed (#4828, #4849, thanks @Deepjyoti-Sarmah).
Fix: markdown a bare, unqualified free-function mention in prose (token, no () and no namespace) binds to a same-named function only when its defining file (or another symbol from it) is cited within the heading's section chain, instead of matching any same-named callable in the corpus; reference-style links ([text][label]) resolve at the use site (#4804, #4806, thanks @madanlalit).
Fix: export the to_json shrink guard no longer counts semantic sources that were replaced on re-extract or pruned as deletions as "lost", so a legitimate graphify update is not refused; a genuine unexplained shrink is still refused (#5107, thanks @khkar).
Fix: build a node whose file_type or confidence arrives as a structured value (list/dict) from a drifting LLM pass no longer crashes the validate/build membership checks: validation surfaces it as a schema error, and the build folds it to concept/INFERRED without fabricating a score (#5088, thanks @sdivyanshu90).
Fix: llm a splittable document below the character cap whose model output truncates is promoted to a full-range slice and bisected (and retried) instead of being kept as a truncated partial result; a non-splittable or code/binary unit still fails closed (#5072, #5078, thanks @aadilrizwan).
Feat: llm a custom OpenAI-compatible provider's extra_headers are forwarded to the client as default_headers, scoped to that provider and with any Authorization header dropped so it cannot override the configured credential (#3680, #4783, thanks @jaimemartinez).
Perf: extract whole-graph intermediates (the parse memo on the one-shot CLI, build/cluster/export working lists) are freed as soon as they are consumed, cutting peak memory on a large corpus; graph output is byte-identical (#5063, thanks @TPAteeq).
Fix: skillgen the claw/kiro/pi subagent prompt now tells the worker to write its chunk to CHUNK_PATH, so a disk-dispatch chunk is no longer returned inline and lost at the merge step (#5040, thanks @connhodendatabase).
Fix: deps the pypdf floor is raised to 6.21.4 in the pdf and all extras to pick up its security fixes (#5015, thanks @yotamleo).
The AST cache schema is bumped to 42; warm caches re-run the affected C++, Markdown and C# extractions.
Security: skill the /graphify runbook no longer substitutes the scan path into Python code. Every generated code block (detect, AST and semantic extra
/graphify runbook no longer substitutes the scan path into Python code. Every generated code block (detect, AST and semantic extraction, build, diagnose, label, manifest, and --update) now reads the resolved scan root from the trusted graphify-out/.graphify_root sidecar that Step 1 writes through a quoted heredoc, instead of pasting the agent-supplied path into a string literal. A directory whose name carried a quote or $(...) could previously break out of Path('INPUT_PATH') and run as code; it is now read as inert data. Covers the assembled hosts and the Aider/Devin monoliths (#4762, thanks @danikdanik).IERC20 token; token.transfer(), IERC20(a).transfer(), token().balanceOf()) binds by name and arity through that type's linearization to the type's own declaration, instead of producing no edge; gated to a single visible contract/interface and fail-closed on an unknown or ambiguous type (#5060, thanks @rohit-jsfreaky).using A for T directive (using SafeCast for uint256; x.toUint48()) binds to the library or free function it attaches, matched by the receiver's type and an arity one greater than the call; fail-closed when the receiver type is unknown, the library is ambiguous, or two functions fit (#5062, thanks @rohit-jsfreaky)._ or by case (_grantRole / grantRole) get separate node ids, so the _ symbol no longer vanishes into its twin and its calls land on the right node (#5027, thanks @rohit-jsfreaky).: base(...)/: this(...) calls credited to it; new X(...), : base(...) and : this(...) additively link the arity-correct overload, and two fitting overloads or an unresolved base give no constructor edge (#5054, thanks @rohit-jsfreaky).this[] node and an operator a .operator +() node (#5056, thanks @rohit-jsfreaky).event_filter, so a large tree no longer drives watchdog into a self-sustaining queue-overflow loop; falls back with a warning on watchdog versions without event_filter support (#5033, thanks @Deepjyoti-Sarmah).\\?\ long-path spelling is kept out of cache identity, so the same file reached through \\?\C:\... and C:\... shares one entry; also fixes empty stat-index writes under UNC shares, a spurious "stat index switched" warning on Windows, and a junction/symlink alias wrongly sharing its target's digest (#5035, thanks @Bortlesboat).os_long_path, so the read-error/stale branch is actually exercised on Windows (#5065, thanks @ayushcodes10).Path objects so / and \ separators compare equal on Windows (#5039, thanks @Yi-111-a).!Ref, !GetAtt, !Sub) no longer fails to parse: a scoped permissive loader rebuilds each !-tagged node's shape without evaluating it, while !!python/... tags still raise and never execute (#5077, thanks @ayushcodes10).--watch incremental update rebuilds the full corpus when graph.json is missing, instead of writing a partial graph from the manifest alone (#5020, thanks @azizur100389).tsconfig.json, jsconfig.json, a lockfile) triggers a full rebuild so importers pick up the new resolution, instead of leaving stale imports_from edges (#5020, thanks @azizur100389).graphify add captures for the same URL no longer clobber each other: the capture file is created exclusively (O_EXCL) and a collision retries a fresh name, with the payload fetched once (#5020, thanks @azizur100389).extract --force): the legacy-id probe strips the .graphify_root offset before deriving file stems, and a genuine legacy graph is still caught (#5019, thanks @neumannpeter1231-lang).graphify export tree recognises the src node alias (and file/path/filepath) so a graph carrying those keys renders a populated tree instead of an empty one; a concept-only graph still reports empty (#5030, thanks @Adityakk9031).graphify provider add accepts --pricing-input=VALUE/--pricing-output=VALUE equals-syntax and rejects a non-numeric, non-finite or negative price with a clean error instead of a traceback or a poisoned cost estimate (#5031, thanks @Adityakk9031).The AST cache schema is bumped to 40; warm caches re-run the affected Solidity and C# extractions. The Python and YAML fixes above need no bump (placeholder ids are resolved after the per-file cache, and previously-failing YAML was never cached).
A broad correctness, performance and robustness release across the extractors, resolution, hooks, the query and update paths, install and the skill ru
A broad correctness, performance and robustness release across the extractors, resolution, hooks, the query and update paths, install and the skill runbook.
#if branches that derail tree-sitter are blanked before parsing (byte-length preserving), so a directive no longer closes a class early and drops later members or calls.Lib.f(), including aliased imports) and emit/revert/require naming a declared event or error now link to the member they name, gated to a unique visible type and member.<< merge sequence gives the earlier anchor precedence for a duplicated key, matching the spec and PyYAML.\Foo\Bar) or a type-qualified member (Type::member) resolves to the real node; a dotted mention whose method name is a language builtin is no longer dropped.raise NotImplementedError(...)) no longer binds to a same-named class in another module unless imported.def _main() is attributed to _main, not the public main it collides with after id normalization, without misattributing a class member's type reference.cat/head/sed -n) of an in-project code file gets the read nudge; a search whose every target is outside the project emits no project hint; the nudge budget is restored after a Claude Code compaction; and the toplevel anchor keeps working when CDPATH is exported.#3252 cross-file repoint; and the watch reconcile pass resolves AST ownership once per file instead of re-reading each header per node — all with identical graph output.graphify update re-extracts only the files whose content changed (identical to a full rebuild); a contended incremental request is recorded instead of dropped. The build write guard no longer counts intentional ghost/dedup folds as drops; cache keys keep their written case.query reads query_budget/query_depth from .graphifyrc and gains --depth. export tree caps directory children while reporting full totals..pi/skills; uninstall removes the global skill registration it wrote. The ambient scan root is held in a ContextVar so concurrent library callers extracting different roots do not clobber each other.The AST cache schema is bumped to 39; warm caches re-run the affected extractions.
Thanks to @rohit-jsfreaky, @Deepjyoti-Sarmah, @xiongjianxu, @nothariharan, @andrebrait, @ajbmachon, @Shubham-Padkonde, @madhusudanpatnaik, @pei711, @Mpasha17, @ayushcodes10, @gitmotion, @briascoi, @oleksii-tumanov, @rohit-jsfreaky, @viwe-monai, @WyattAu, @Vivek1898, @wanjinhao1, @PratikDhanave, @HhH666-ux, @sunhouy, @mathewgeejo, @jinsoo and @AndresDiagoM.
Fix: markdown a code span written as a backslash namespace (\Foo\Bar) or a type-qualified member (Type::member) is recognised as a symbol mention and resolves to the real node when one exists, instead of being silently dropped; an absent chain mints nothing (#4610, #4695, thanks @viwe-monai).
Fix: detect extract warns loudly when a large share of the corpus has no supported extractor (a 20-file floor and a 20% threshold), instead of only printing a bare unclassified count; a normal mixed project stays silent (#2942, #4646, thanks @ayushcodes10).
Fix: thread-safety the ambient scan root is held in a ContextVar instead of a module global, so concurrent library/async callers extracting different roots no longer clobber each other's root; the single-threaded CLI is unchanged (#4602, #4694, thanks @WyattAu).
Feat: tree graphify export tree caps how many children a directory lists (--max-children, default 200) while total_count still reports the full count, so a directory with thousands of entries no longer renders them all (#4766, #4768, thanks @oleksii-tumanov).
Fix: install the Pi project skill is written to .pi/skills, where Pi reads it, instead of a .pi/agent/skills path it never looks at; uninstall is symmetric (#5011, #5012, thanks @Vivek1898).
Internal: stage fake install bundles in a temp package root and fail loudly (not skip) on a wheel-build error, and serialise both wheel builders under a shared lock so concurrent runs on one checkout do not collide (#4603, #4664, thanks @wanjinhao1); characterize _is_stale across changed/unchanged/vanished sources (#4996, thanks @PratikDhanave); isolate the ambient venv/PATH in the _detect_run hook test (#4991, thanks @HhH666-ux).
Fix: solidity a library call (Lib.f(), including an aliased import) and an emit/revert/require naming a declared event or error now link to the member they name instead of producing no edge; resolution is gated to a single visible type whose unique name/arity member matches, so a builtin require or an ambiguous qualifier is left unresolved (#5001, #5005, thanks @rohit-jsfreaky).
Fix: csharp preprocessor directives and #if branches that derail tree-sitter are blanked before parsing (byte-length preserving, so line and column numbers do not move), so a directive no longer closes the enclosing class early and orphans later members or drops their calls; the first #if branch and distinct framework-fallback branches are kept (#5003, thanks @rohit-jsfreaky).
Fix: python a bare builtin-named call (raise NotImplementedError(...), list(...)) no longer binds to a same-named class in another module unless that caller imported the symbol; an imported homonym still resolves (#4989, #4999, thanks @Deepjyoti-Sarmah).
Fix: typescript a type-position import('mod') expression (a parameter/alias/typeof/generic-constraint annotation) no longer emits a spurious dynamic_import runtime edge; a real runtime import('mod') in the same file still does (#4992, #4998, thanks @mathewgeejo).
Fix: resolution a call inside a top-level def _main() is attributed to _main, not the public main it collides with after id normalization; the fix matches only the underscore-collision salt, so a class member's type reference is not misattributed to a sibling method (#4994, #4997, thanks @sunhouy).
Fix: yaml a << merge sequence gives the earlier anchor precedence for a duplicated key, matching the YAML merge spec and PyYAML, so the winning key carries its correct source line (#4995, thanks @PratikDhanave).
Fix: markdown a dotted mention whose method name is a language builtin (Repository.open) is no longer dropped; only a bare builtin name is skipped, and no spurious mention is minted (#4990, thanks @PratikDhanave).
Fix: hooks a Bash file read (cat, head, tail, sed -n, nl) of an in-project code file gets the same graph read-nudge a Read tool does (nudge-only, never a strict deny); writes, stdin, heredocs, docs and globs stay silent (#5010, thanks @rohit-jsfreaky).
Fix: hooks the once-per-session nudge budget is restored after a Claude Code compaction (a SessionStart with source=compact), so orientation can re-fire once the earlier nudges have left the model's context (#5008, thanks @rohit-jsfreaky).
Fix: hooks the toplevel-anchor logic keeps working when CDPATH is exported; an exported CDPATH was corrupting the relative .git capture and silently skipping the post-commit/checkout rebuild (#4977, #4988, thanks @HhH666-ux).
Perf: update the watch reconcile pass resolves AST ownership once per file instead of re-reading each header once per node, with identical graph output (#4978, #4986, thanks @Deepjyoti-Sarmah).
AST cache schema bumped to 39 for the C# (#5003), Solidity (#5001, #5005), YAML (#4995) and Markdown (#4695) extractor fixes; warm caches re-run the affected extractions.
A large correctness, performance and workflow release spanning the extractors, the query layer, incremental update, the hooks, the skill runbook and i
A large correctness, performance and workflow release spanning the extractors, the query layer, incremental update, the hooks, the skill runbook and install.
pkg.T receivers bind only via the file's import; interface method calls dispatch to implicit implementers (#4966, #4853, #4934).crate::b::helper()) resolve cross-file; calls inside expression-macro arguments are linked (#4944, #4945).init {}-block calls resolve; unreachable external-inherited calls are dropped (#4956).extends through a CommonJS require resolves; a typed tagged template and an import("mod").T<X> annotation no longer half-parse or mint a false dynamic_import edge; default-exported object methods resolve (#4700, #4976, #4967).../ imports resolve to the real file (#4985).graphify query reads query_budget/query_depth from .graphifyrc and gains a --depth flag (#4760).graphify update re-extracts only the files whose content changed, with a graph identical to a full rebuild; a contended incremental request is recorded instead of dropped (#4800, #4801, #4802).--update runbook re-queues partly-read docs instead of stamping them done; Step 4 threads --force; a hub-bypass report is added; uninstall removes the global skill registration (#4816, #4805, #4704, #4975).The AST cache schema is bumped to 37; warm caches re-run the affected extractions.
Thanks to @nothariharan, @Deepjyoti-Sarmah, @xiongjianxu, @andrebrait, @ajbmachon, @Shubham-Padkonde, @rohit-jsfreaky, @oleksii-tumanov, @madhusudanpatnaik, @pei711, @Mpasha17, @ayushcodes10, @gitmotion, @briascoi, @madhusudanpatnaik, @AndresDiagoM, @azizur100389, @Ethan-Ethan-Ethan, @jinsoo and @rohit-jsfreaky.
graphify update re-extracts only the files whose content changed since the last build (derived from the manifest inside the lock), instead of re-running the whole pipeline over the corpus for a single edit; the resulting graph is identical to a full rebuild, including cross-file edges from unchanged files into a changed one, and deletions (#4740, #4800, #4801, thanks @Deepjyoti-Sarmah).graphify query reads project query_budget and query_depth defaults from .graphifyrc (explicit CLI flags still win), and gains a --depth N flag; a malformed setting warns and falls back to the built-in defaults (#1654, #4760, thanks @oleksii-tumanov).graphify uninstall removes the global # graphify skill registration it wrote into ~/.claude/CLAUDE.md, instead of leaving a dangling pointer to the deleted skill; a hand-written # graphify section or another tool's registration is preserved (#4975, thanks @madhusudanpatnaik).extends through a CommonJS require binding (const Base = require('./base'); class D extends Base {}) resolves the inherits edge to the required file's class, matching the ESM import path; an external/unresolved require is left alone (#4688, #4700, thanks @Mpasha17).--update runbook passes partial_source_files to the manifest write and clears a stale .graphify_partial.txt at the start of the run, so a doc whose chunk was only partly read is re-queued on the next update instead of being stamped done forever (#4807, #4814, #4816, thanks @gitmotion).force=IS_FORCE into to_json, so a --force rebuild actually overwrites past the #479 shrink guard the runbook told the user to use --force for (#4777, #4805, thanks @pei711).graph.json but whose content is unchanged no longer weakens the strict read gate; the hook checks the file's extraction hash against the build manifest before declaring it stale, so a checkout that writes graph.json first does not force a re-read (#4974, thanks @andrebrait).grep/rg on a /tmp or sibling path) emits no project hint, so the graph nudge only fires for in-project searches (#4961, #4979, thanks @Shubham-Padkonde).graph.json rows are released as the graph is built (and repeated strings interned) so a load no longer holds both the parsed rows and the finished graph at peak, with identical output (#4960, thanks @ajbmachon).sql<{...}[]>`...`) and an import-qualified generic annotation (import("mod").T<X>) no longer leave the file half-parsed; the recovery runs only on files that already fail to parse, so a type-only import("mod").T stops minting a bogus module node and a false dynamic_import edge (#4976, thanks @briascoi).var fallback only applies to a genuinely unbound receiver (#4962, #4966, thanks @xiongjianxu).pkg.T, the usual shape of a dependency injected across packages) binds only to the T declared at the path the file imports pkg from, so two packages that both declare T are disambiguated by import evidence; an out-of-corpus qualifier stays unresolved (#3368, #4853, thanks @nothariharan).init {} block are attributed to the class, and a bare call no longer binds to a class the caller cannot reach through its type chain (#4935, #4956, thanks @Deepjyoti-Sarmah).g = Service() then g.method()) resolves its member calls through the instance's type, gated by an exact-spelling and lexical-shadow guard so rebinding, local shadowing or an ambiguous constructor leaves it unresolved (#4970, #4972, thanks @Shubham-Padkonde).import m from './x'; m.foo()) resolves to the static method, bound only on a single unambiguous target and suppressed by local shadowing, getters, spread or computed keys (#4963, #4967, thanks @xiongjianxu).import "../x/Y.sol" resolves the .. to the real file instead of a dangling id that kept the importer's own folder (#4984, #4985, thanks @rohit-jsfreaky).build_merge path; a genuine drop whose survivor is also gone is still refused (#4955, #4957, thanks @Deepjyoti-Sarmah).NotImplementedError, TimeoutError, ConnectionError, …) no longer links to a package class of the same name when the calling module never imports it; the edge is kept (and stays EXTRACTED) only when the caller imports that exact symbol, so a module-level import of some other name from the same file can no longer certify it (#4989).Resolution-accuracy and cache-correctness release across C++, Rust, Python, Go, the build write guard, and incremental rebuilds.
Resolution-accuracy and cache-correctness release across C++, Rust, Python, Go, the build write guard, and incremental rebuilds.
x.m() binds by the receiver's type, now typed from function parameters and class fields and not only locals (void render(Base* b){ b->draw(); } resolves to Base::draw); an untyped or ambiguous receiver keeps its in-file binding (#3215, #4946).std::function) is kept out of global call resolution by byte-range binding lifetimes, so it no longer mints a spurious INFERRED call to a same-named global; a later legitimate global call survives (#4917, #4921).using Foo = Bar; then Foo x;) binds by exact spelling and a salted alias keeps its own contains edge (#4951).crate::b::helper(), super::m::f()) resolves through qualifier-verified cross-file resolution, staying inside the caller's crate (#2135, #4944).println!("{}", f()), vec![g()]) is linked, gated to an allowlist so macro_rules! bodies and custom DSLs are left alone (#4945).src/ roots (#4929).indirect_call (#1566, #4931).var initialiser references the types it names (#2360, #4932).INFERRED mention ghosts still fold so graphs do not accumulate duplicates (#4896, #4927).README.md and readme.md no longer collide, and hashed/word-count files are opened through os_long_path (#4925, #4937).--code-only graph stays code-only across hook, update and watch rebuilds (#4923, #4939).msvcrt.locking is unsupported (#4924, #4926).The AST cache schema is bumped to 36; warm caches re-run the affected extractions.
Thanks to @nothariharan, @Deepjyoti-Sarmah, @azizur100389, @andrebrait, @ayushcodes10, @madhusudanpatnaik, @Ethan-Ethan-Ethan and @AndresDiagoM.
graph.json, including with --no-cluster. Fresh AST facts remain authoritative for same-source ids; full-build deduplication is unchanged.do_thing()) no longer wrongly self-binds to a same-named method on the class; it resolves to the imported or module-level function it actually names, and a bare call with no such target emits no edge (#4933, thanks @nothariharan).src/ roots (no __init__.py), while a module ambiguously provided by two roots stays unresolved and loose/stdlib-named modules are left alone (#4929, thanks @nothariharan).m.UseMiddleware(hs.handler.Middleware)) is linked as an indirect_call, extending the method-value-as-argument handling to field chains rooted at the method's own receiver (#1566, #4931, thanks @nothariharan).var initialiser references the types it names (var s = wire.NewSet(new(T), ...), composite literals, new(T)), the type-reference complement to crediting its calls to the file, so a wire-set file no longer extracts as no symbols (#2360, #4932, thanks @nothariharan).crate::b::helper(), super::m::f()) resolves to the function it names through qualifier-verified cross-file resolution, the dominant idiomatic call form that previously produced no edge; the resolver keeps the call inside the caller's crate and will not bind to a local name, preserving the historical false-positive guards (#2135, #4944, thanks @nothariharan).println!("{}", f()), vec![g()]) is linked instead of being lost, gated to an allowlist of expression macros so macro_rules! bodies and custom DSLs are left alone, and a normally parsed call still wins the dedupe (#4945, thanks @nothariharan).--code-only stays code-only across hook, update and watch rebuilds; the scope is recorded in .graphify_build.json, honoured by the rebuild path and the no-change skip key, and a later flagless extract that actually ingests docs clears the scope (#4923, #4939, thanks @Deepjyoti-Sarmah).msvcrt.locking is unsupported on the filesystem; an unexpected errno is treated as lock-unsupported and the rebuild proceeds unlocked with a warning, matching the existing no-fcntl/no-msvcrt fallback, while genuine contention still retries (#4924, #4926, thanks @AndresDiagoM).README.md and readme.md no longer collide on a case-sensitive filesystem, and hashed and word-count files are opened through os_long_path so a path folded by normcase can no longer raise IsADirectoryError; the digest salt is no longer lowercased, which also closes a latent same-digest collision on POSIX (#4925, #4937, thanks @Deepjyoti-Sarmah).rationale, source_url, author, contributor) is kept distinct instead of collapsing by label alone, so two docs describing the same file no longer lose one explanation. Ordinary INFERRED mention ghosts with only metadata/captured_at still fold, so graphs do not accumulate duplicates (#4896, #4927, thanks @Ethan-Ethan-Ethan).using Foo = Bar; then Foo x;) binds by exact spelling, so it no longer loses to a same-normalized function of the same name, and a salted alias node keeps its own contains edge (#4951, thanks @madhusudanpatnaik).x.m() binds by the receiver's type, now typed from function parameters and class fields and not only local variables (void render(Base* b){ b->draw(); } resolves to Base::draw), the dominant idiom of passing state by reference; an untyped or ambiguous receiver keeps its in-file binding rather than guessing (#3215, #4946, thanks @nothariharan)._cpp_qualified identity marker, instead of being file-contained or cross-binding to an unrelated same-named function in another file; an ambiguous or namespace-colliding owner fails closed with no edge (#4916, #4920, thanks @azizur100389).std::function assigned to a variable) is kept out of global call resolution by byte-range binding lifetimes, so it no longer mints a spurious INFERRED call to a same-named global; a later legitimate call to a real global of that name in the same function is preserved (#4917, #4921, thanks @azizur100389).Fix: ids a type and a function whose names differ only in case ( Foo the class, foo the function) get distinct node ids instead of colliding (which dr
Foo the class, foo the function) get distinct node ids instead of colliding (which dropped one node and minted a bogus self-loop) (#4904, #4908, thanks @bercedev).Scope::MEMBER access in a class-level initializer (a const value, a property default, or a parameter/promoted-constructor default) emits a references_constant edge; self::/static::/parent:: are skipped and unknown scopes mint no stub (#4648, #4895, thanks @Jitendarmahara).git rev-parse output is decoded as UTF-8, so a linked worktree under a non-ASCII path resolves correctly on Windows instead of mojibake (#4903, thanks @LukeTheoJohnson).video extra caps PyAV below 19 (av>=11,<19), because PyAV 19 removed the metadata_errors argument that faster-whisper passes unconditionally when opening audio; without the cap a fresh install on Python 3.12+ failed to transcribe (#4842, thanks @SyedFahad7).setClass/setRefClass S4/R5 inheritance declared with contains= now emits an inherits edge (previously only R6Class's inherit= was recognised) (#4902, thanks @ayushcodes10).on A, B clause resolves every superclass constraint, not just the first (#4899, thanks @ayushcodes10).extends(base) emits an inherits edge, bringing Fortran in line with the other OOP extractors (#4897, thanks @ayushcodes10).extension (x: T) def m is scoped to its receiver type T (a method edge to T) instead of leaking to file scope (#2044, #4856, thanks @divakantpandey).extends/implements and member calls resolve across files and across the two languages when a written FQN names exactly one sourced type (#4874, #4879, thanks @Deepjyoti-Sarmah).edge_datas), and a raw --no-cluster write marks the graph multigraph so parallel edges survive reload (#4794, thanks @ensell-yes).graphify affected (and query --seed) resolve the same path::Symbol and dotted reference forms explain accepts, reusing explain's resolver, and exit non-zero (3 ambiguous / 4 not-found) on a seed that does not resolve (#4792, #4797, thanks @dupeisen).graphify uninstall removes every platform's user-scope skill (13 were left behind) and the kilo global command; and graphify kilo uninstall removes the kilo skill's references/ sidecar (#4782, #4789, thanks @bercedev).cache_control, counting the cached tokens back into input_tokens, and GRAPHIFY_CLAUDE_PROMPT_CACHE=0 disables it for gateways that reject cache_control (#4835, #4855, #4880, thanks @Jvxoq and @1akashkalita).ids.py actually produces (word characters kept, non-ASCII letters/digits preserved, ASCII lowercased) instead of the stale "[a-z0-9_] only" wording (#4432, #4799, thanks @dupeisen).Feat: path when several routes tie on length, graphify path and the MCP shortest_path tool report the most conservative one: among all shortest paths,
graphify path and the MCP shortest_path tool report the most conservative one: among all shortest paths, the route whose weakest hop is weakest is chosen, and the summary notes it was the weakest of N equal-length routes. Previously an arbitrary equal-length route was returned, so the confidence could overstate how sure the connection is. This is the second half of #4881 (the first half, keeping a collapsed edge's weaker evidence in also_seen, shipped in 0.9.98 via #4891, thanks @SyedFahad7).var initialiser (including inside a func-literal closure, the common swappable-hook pattern) is credited to the file node instead of being dropped (#2360, #4867, thanks @nothariharan).Wrap(s.Health)) is linked as an indirect_call, bringing Go to parity with Python/JS for callback-by-method-value; conservatively guarded against field-access false positives (#1566, #4868, thanks @nothariharan).module.func values listed in a dispatch table ({"a": mod.func_a}, including nested collections) resolve to the referenced functions as indirect_calls instead of being dropped; non-callable, class, and local-receiver values are left alone (#1566, #4773, thanks @nothariharan).~/.gemini/skills/graphify) on Windows instead of colliding with the agents platform's dir; a pre-existing agents skill is noted, not deleted (#2800, #4770, thanks @nothariharan).~/.config/opencode (co-located with the global skill) instead of the current directory, with install/uninstall/refresh kept symmetric and legacy locations still cleaned up (#3398, #4771, thanks @nothariharan).path, explain and neighbors/get_neighbors print an edge's stored confidence_score alongside its tag ([INFERRED 0.75]); EXTRACTED stays bare (1.0 by definition) and a missing or non-finite score keeps the bare tag. Composes with the weakest-hop path summary and the also_seen evidence tags (#4882, #4888, thanks @SyedFahad7).Fix: build when duplicate same-relation edges collapse, the losing (weaker-confidence) copy's provenance is kept in an also_seen list on the surviving
also_seen list on the surviving edge instead of being discarded, so the weaker evidence is not silently lost; the field is serialized to graph.json and is idempotent across rebuilds (#4881, #4891, thanks @SyedFahad7).MyClass.Method) instead of a bare Method, so same-named methods across types are distinguishable; node ids and edges are unchanged (display label only) (#4883, #4889, thanks @SyedFahad7).graphify path and the MCP shortest-path output report the overall path confidence as the weakest hop (lowest confidence tier, then lowest score), with a summary line naming that hop (#4885, #4892, thanks @SyedFahad7).Type.Member resolves to the member node, not the containing type, so graphify path "Exporter.Run" "PdfReport.Build" finds the real call route; exact names and file names still win first, and a Type.Member whose member does not exist fails closed (#4884, #4893, thanks @SyedFahad7).class Js in a.js) is no longer silently dropped on an id collision; cross-file references bind to the declared id (#4854, #4857, thanks @Deepjyoti-Sarmah).?query or #fragment suffix (./mod.js?v=1) resolves to the real module instead of a phantom node; Node #subpath imports are left untouched (#4860, #4876, thanks @Jitendarmahara; duplicate approach in #4869 by @mirzasnowy).var x = T{} or var x = &T{} (a composite literal) is typed as T, matching the x := T{} form, so its member calls resolve (#4843, thanks @ayushcodes10).function new(...), which has no return type) gets its own node, method edge and parameter-type references (#4848, thanks @ayushcodes10).using module/using assembly drops a real file extension (Helpers.psm1 to helpers) but keeps a dotted module name with no extension intact (Az.Accounts) (#4847, thanks @ayushcodes10).using {a, b} for T set emits uses edges for each named function, not just the single-library using Lib for T form (#4846, thanks @ayushcodes10).defclass whose superclass is defined later in the same file binds to that local node instead of minting a sourceless stub (#4845, thanks @ayushcodes10).inherited and inline form component blocks (.lfm/.dfm) are recognised, so a later object block keeps its correct parent instead of being re-parented by a corrupted nesting stack (#4844, thanks @ayushcodes10).MERGE on the stable node id and sets the label separately, so re-importing after a label change updates the node instead of creating a duplicate (#4878, thanks @oleksii-tumanov).Security: deps anyio is floored to >=4.14.2 in the mcp extra, above CVE-2026-63374 (an IDNA 2003 vs 2008 hostname-validation bypass that let a MITM on…
_redact_rationale_labels inside _safe_extract), so no extractor can skip it, and it now covers more leak shapes: URL userinfo with an empty user or with //@ in the password, PEM private-key bodies, tokens glued to surrounding text by _ (for example ghp_...), Slack xoxe- refresh tokens, short JWTs, and Common Lisp docstrings that previously built labels without redacting. Benign strings (hashes, sk- prose, URLs without userinfo) are left alone (#4647, thanks @0xkaushik-ai).>=4.14.2 in the mcp extra, above CVE-2026-63374 (an IDNA 2003 vs 2008 hostname-validation bypass that let a MITM on a non-ASCII domain present a cert for a different ASCII host, CVSS 9.3). anyio is only a transitive dependency and the lockfile already resolves 4.15.1, so this is a floor to stop a future re-resolution from regressing.# is not part of the heading text (## Setup ## is "Setup"), up to three spaces of indent are allowed (four is an indented code block), and a hash-only line like ## ## mints no node (#4790, #4791, thanks @jaimemartinez).~~~ block that contains a ``` line is no longer lost (#4787, #4788, thanks @jaimemartinez).on/off/yes/no are no longer folded to booleans (a workflow on: block is extracted, not turned into a True node) (#4784, #4785, thanks @jaimemartinez).@implements interfaces are extracted as implements edges instead of being silently dropped (#4820, thanks @ayushcodes10).provider "aws" blocks no longer collapse into one and lose attributes), and a provider = aws.west reference resolves to it instead of dangling; a local literally named provider is no longer misread (#4819, thanks @ayushcodes10).END PROGRAM reattach to the enclosing program instead of sticking to the nested one, via a program stack (#4824, thanks @ayushcodes10).wire:click directive binds the bare method name: dotted modifiers (wire:click.prevent="submit") are matched, call arguments are trimmed from the name (deleteItem(5) binds deleteItem), and a $-prefixed magic action mints no fabricated edge (#4823, thanks @ayushcodes10).record is recognised as a type with its own methods in the regex fallback (the default path without the optional pascal extra), matching the tree-sitter path; operator members are extracted too (#4825, thanks @ayushcodes10).Operator declaration is extracted as an operator-kind member of its class and its body is walked for calls, so a helper call inside an operator no longer vanishes (#4821, thanks @ayushcodes10).call resolves to the subroutine it actually names instead of a target salted with the calling file's name (which never resolved), using the extractor's own cross-file stub idiom (#4795, thanks @ayushcodes10).graphify query --help/-h (and now graphify explain --help/-h) with nothing else prints usage instead of running a literal query for the text "--help"; a longer question that merely contains "--help" as a substring still runs as a query (#4830, thanks @curl-man).and-chained module ... and ... or class ... and ... is extracted, not just the first, so later bindings are no longer silently dropped; each carries its own source line (#4822, thanks @ayushcodes10).task method is modeled like a function one (its own node, method edge and parameter-type references), and a task-local variable no longer leaks as a false field reference on the class (#4774, thanks @ayushcodes10).relation is dropped instead of persisted, on both the build and the raw --no-cluster write paths, and alias folding (relationship to relation) runs before the check (#4810, thanks @legendteddy; reproducer also filed as #4826 by @sunhouy).Path.glob rejects (a ** component or an absolute pattern) is skipped with a warning instead of crashing the whole extract run (#4681, #4687, thanks @Deepjyoti-Sarmah).[[wikilink]] is slugged through the same export._obsidian_safe_stem the export uses, so the link matches the file the export actually writes instead of dangling (#4696, thanks @ayushcodes10).get/gets/got/getting are dropped from query terms (like the existing work/works), so a framework hub labelled "Get" is not pulled in as a BFS seed by an exact-match bonus; node lookups for a literal Get still resolve (#4686, thanks @AndresDiagoM).Security: deps the Pillow floor is raised to >=13.0.0 on Python 3.11+ (staying at >=12.3.0 on 3.10, which Pillow 13 no longer supports) and pypdf to >
>=13.0.0 on Python 3.11+ (staying at >=12.3.0 on 3.10, which Pillow 13 no longer supports) and pypdf to >=6.19.0, and the lockfile is refreshed to patched versions of transitive dependencies (pyjwt, cryptography, certifi, urllib3, anyio, fsspec, soupsieve, virtualenv). This clears the bulk of the open Dependabot advisories; the Pillow image-parsing CVEs are only patched upstream for Python 3.11+, so a 3.10 install keeps the newest 3.10-compatible Pillow.detect() classifies as a paper (arXiv markers, an Abstract) is included in the watch quick-scan rebuild instead of contributing zero nodes; a paper that already has a semantic layer is still excluded from the AST quick-scan (#4750, #4751, thanks @jaimemartinez; reported by @yeochul-jeon).WAITING, REQUESTED, PENDING, ...) counts as pending CI, so a PR gated on a deployment-protection job is no longer read as ready (#4730, thanks @rudycelekli).imports and calls) instead of only the first edge (#4731, thanks @rudycelekli).members/node_ids aliases has its numeric member ids coerced to strings like the canonical nodes list, so the hyperedge is no longer dropped (#4732, thanks @rudycelekli).extracted/Extracted) is still evidence-checked before it folds to the EXTRACTED enum, so an un-verified node is not presented as solid (#4733, thanks @rudycelekli).run() no longer resolves to _run()); a lone folded method still resolves, and a genuine collision fails closed (#4734, thanks @rudycelekli).extension on T { } declaration is detected and extracted (the name is optional), so its members attach to the extended type (#4741, thanks @ayushcodes10).max_tokens (which DeepSeek honours) rather than max_completion_tokens (which it ignores), so responses are no longer silently uncapped (#4739, #4753, thanks @Ethereal49; reported by @snapp-kenya).*.xaml to *.xaml.cs) resolves deterministically regardless of directory iteration order, so a graph built on a case-sensitive filesystem is stable (#4747, thanks @anishraja04).module/namespace no longer prints a spurious "minted by two different files" warning (#4756, thanks @idachev).graphify extract records each run's token usage to graphify-out/cost.json (the same ledger the skill writes), so a standalone extract refresh updates the cost history (#1769, #4765, thanks @smngvlkz).@(Link().toMany())) are recovered as a decorator reference, and a lossy-parse warning names the real error region (#4711, #4715, thanks @Deepjyoti-Sarmah).const X = require('pkg') binding for an external package keeps its node (with the package as source) so new X() still resolves, while a require of a corpus-local file still folds to the required module (#4688, #4702, thanks @ayushcodes10).obj/ and bin/ output is pruned only when build evidence is present (restore/runtime markers nearby), so a C# project scanned after a build no longer ingests generated sources while a real src/bin stays (#4742, thanks @Great-Peace).GRAPHIFY_REBUILD_TIMEOUT (default 600s, 0 disables), with a thread-Timer fallback where SIGALRM is unavailable or watch() runs off the main thread (a SIGALRM arm there raises ValueError and would tear the watcher down before the rebuild ran), so a hung rebuild no longer stalls the watcher (#2173, #4724, thanks @danieldutu).source_file sentinel like other languages, instead of a node that fails validation (#4725, #4728, thanks @madanlalit; reported by @alopezradicle).use is scoped to the crate it names, so use serde_json::Value no longer resolves to a same-named type in another crate; a named pub use re-export is followed and a manifest-less binding stays INFERRED (#4699, #4712, thanks @Deepjyoti-Sarmah).INFERRED); it requires a single unambiguous producer and class (#4726, thanks @keny11300).graphify update with no relevant input change skips the detect/extract/build pipeline and leaves the outputs untouched, keyed on the scan file-set, config, .graphifyrc, extractor epoch, and an output-completeness stamp; a scanned file with no manifest row (including one whose extraction previously failed) still forces a full rebuild so a later fix is never skipped (#4740, #4748, thanks @Deepjyoti-Sarmah; reported by @lavaxun).Twenty-one community pull requests. A security pass on install: the skill-install writes go through randomly-named temp files instead of predictable o
Twenty-one community pull requests. A security pass on install: the skill-install writes go through randomly-named temp files instead of predictable ones, so a pre-planted symlink can no longer redirect a write. Extraction: Python, Go, C++ and Rust explicit type aliases (and Rust union items) are extracted as type nodes so references resolve instead of minting sourceless stubs, each C# method overload gets its own node bound by argument count, and a package.json dependency's manifest entry links to the node that references it. Plus a one-root-per-repo tree on merged graphs, extended-length cache paths on Windows, and binary media no longer counted as text. The AST cache schema is bumped, so the first build after upgrading re-extracts.
SKILL.md, references) through a randomly-named mkstemp/mkdtemp file created with O_EXCL and restrictive mode instead of a predictable *.tmp name, so a local attacker who pre-creates a symlink at that path can no longer redirect the write to clobber an arbitrary file; the final move stays atomic (#4513, thanks @Mahdifotohi).X: TypeAlias = ..., type X = ..., NewType) is extracted as a type node, so a field or parameter typed by the alias resolves to it instead of minting a sourceless stub; an implicit assignment, a local alias, or a re-export is left alone (#4578, thanks @madhusudanpatnaik).type A = B alias is extracted as a type node (tree-sitter parses it as a type_alias, not a type_spec), so references resolve to it; a re-export (type Field = pkg.Field) mints no node (#4579, thanks @madhusudanpatnaik).using A = B; or typedef B A; alias is extracted as a type node so references resolve; a member alias inside a class and a same-name re-export are excluded (#4580, thanks @madhusudanpatnaik).type alias and a union item are extracted as type nodes (a union's fields reference their types like a struct), so references resolve instead of minting stubs; an impl-associated type is excluded (#4581, Refs #4285, thanks @madhusudanpatnaik; reported by @jonatasbcardio-boop).graphify export tree on a merged multi-repo graph gives each repo its own root (keyed by the repo tag) instead of conflating same-path files from different repos; untagged nodes are not counted as a repo (#4524, #4525, thanks @AromalBiju1).\\?\) paths, so a deep cache path over the 260-character limit no longer fails extraction with a FileNotFoundError; a no-op off Windows (#4542, thanks @omsenjalia).package.json dependency's manifest entry links (declares) to the ref node that importing code resolves to, so the manifest entry and its importers share one node instead of being orphaned; the entry is relabelled name@range (#4569, #4572, thanks @Deepjyoti-Sarmah; reported by @BiSide)..yaml/.yml files are now extracted structurally (a file node plus contains edges to keys) and classified as code rather than documents, so Helm charts, Kubernetes manifests, and CI pipelines contribute nodes to a code-only or --update run instead of nothing, matching how .json is handled. Multi-document streams (--- separators) are walked per document; a data array, an OpenAPI/Swagger spec, a JSON-schema-in-YAML, and a flat data bundle are skipped so data-heavy YAML does not mint orphan nodes; parsing uses safe_load so a !!python/... tag never executes; output is bounded (1 MiB, 500 pairs, depth 6). The AST cache schema is bumped, so the first build after upgrading re-extracts (#2214, #4706, thanks @nothariharan; reported by @dchavezf).from b import other, then a call to a _make_id defined in both a.py and b.py) is no longer promoted to EXTRACTED; the edge is still emitted for connectivity but stays INFERRED, so a symbol that was never imported is not falsely certified. A real symbol import (from a import _make_id) still resolves EXTRACTED (#2945, #4707, thanks @nothariharan; reported by @TotalUnitManagement).224.0.0.0/4, ff00::/8), closing a gap alongside the existing private/reserved/loopback/link-local checks (#4708, thanks @Dextheking1).tags, so a crafted value cannot break out of the YAML list into a sibling key, matching how community tags are already sanitized (#4709, thanks @Dextheking1).graphify affected <path> resolves a path whose file-node label was disambiguated by the shared-basename suffix pass (for example two hooks.py from different directories), reusing the canonical file-label predicate instead of a bare basename match (#4698, #4713, thanks @Deepjyoti-Sarmah; reported by @karsan8119).--no-cluster) build resolves an import endpoint through the same old-stem alias index the clustered build uses, and mints an external stub only after resolution, so the raw graph no longer freezes an import onto a stub when the clustered graph resolves it (#4670, #4676, thanks @nothariharan; reported by @xiongjianxu)..m binds a member call to the implementation, the cross-repo analog of the same-repo split-dir fix; two same-named classes that both define the selector stay ambiguous (#4690, #4691, thanks @xiongjianxu).--show-toplevel), so a stray graphify-out/ in a subdirectory can no longer root the rebuild at the wrong place and walk an enormous tree (#3258, #4689, thanks @jaimemartinez; reported by @dsfaccini).NS_CLOSED_ENUM declarations are extracted as enums with their cases, the same as NS_ENUM/NS_OPTIONS; the AST cache schema is bumped so the first build after upgrading re-extracts (#4705, thanks @Jvxoq).CREATE TABLE whose column default the SQL grammar cannot parse (for example MySQL/MariaDB DEFAULT current_timestamp()) is recovered from the ERROR node instead of being dropped, so the table and its foreign-key references still resolve; the AST cache schema is bumped (#4613, #4677, thanks @08raviyadav; reported by @AirRunner).Nineteen community pull requests. A security pass on ingestion: a fetched URL with no hostname, with a malformed or zero port, or with embedded user:p
Nineteen community pull requests. A security pass on ingestion: a fetched URL with no hostname, with a malformed or zero port, or with embedded user:pass@ credentials is now rejected before the request leaves, on the first fetch and on every redirect, and a text capture no longer follows a dangling symlink out of the corpus. Extraction and resolution: a Maven POM contributes only its own dependencies, a JS/TS member call on an untyped receiver stops guessing a same-named method in the same file, a CommonJS require binding no longer shadows the class the required file exports, and Objective-C category node ids stay repo-relative instead of embedding the absolute checkout path. SQL gets its own pass: T-SQL bracketed names are unbracketed, a GO batch separator ends the statement, cross-file table stubs fold onto their real definition, and a procedure emits reads_from/writes_to edges. Plus a markdown bare method only links when its class is cited, the MCP node lookup refuses a substring near-miss instead of answering with an unrelated node, a cross-repo edge points at the call site, Objective-C calls resolve across a split header/impl, an incremental build stops re-queuing files an extractor declined by design, a quoted Codex hook command for install paths with spaces, an IPv6 bracketed-Host serve fix, and a complete, drift-guarded --platform list in --help. The AST cache schema is bumped, so the first build after upgrading re-extracts.
validate_url rejects a fetched URL that has no hostname (http:///path), a non-numeric, out-of-range, or zero port, or embedded user:pass@ credentials, before the request is made and again on every redirect, so a malformed or credential-bearing URL is no longer fetched or persisted into the graph; a normal @ in a path or query and a valid high port still pass (#4643, #4644, #4645, thanks @cellrishi-code).pom.xml contributes only its own <dependencies> (including those under <profiles>), not the version pins under <dependencyManagement> or a build plugin's own <dependencies>, so a parent or BOM POM no longer emits dependency edges it only manages (#4596, thanks @jayhemnani9910).x.foo() where x has no known type) is deferred to receiver-typed resolution instead of binding to a same-named method elsewhere in the file, so a spurious self-loop or cross-call edge is no longer emitted; this.foo(), a typed receiver, and a locally instantiated receiver still resolve (#4598, #4605, thanks @ayushcodes10; reported by @SaschaAndresGrimm).const X = require('./m') binding no longer mints a module-scope node that shadows the class the required file exports, so new X() resolves to the required declaration; a real const x = factory() binding still keeps its node (#4621, #4634, thanks @lab1207; reported by @sub4biz).Foo+Cat.h yields portable ids that match across machines and merge cleanly; two same-named categories in different directories stay distinct (#4666, #4642, thanks @madhusudanpatnaik; reported by @xiongjianxu).Host header ([::1]:port), so a server bound to an IPv6 loopback no longer refuses every request with a 421 (#4656, thanks @zydo).lstat, so a name that is a dangling symlink is treated as occupied and the capture is diverted instead of following the link and writing outside the corpus (#4657, thanks @zydo).graphify --help lists every accepted --platform value (it had omitted amp, copilot, kilo, kimi, and antigravity-windows); the list is derived from the same source as the install usage so the two cannot drift, with a guard test (#4655, thanks @zydo).[dbo].[Orders]) are unbracketed so a name matches across styles, and a stored procedure's body emits reads_from/writes_to edges for the tables it reads and writes; aliases, variables, temp tables, strings, and comments never become targets (#4635, #4649, thanks @Deepjyoti-Sarmah; reported by @RuVl).GO batch separator (a client command, not a terminator) ends the statement, so a statement after a GO with no trailing ; parses on its own instead of merging into one malformed node; a GO inside a string, comment, or column name is left alone (#4651, #4652, thanks @Deepjyoti-Sarmah).CREATE TABLE is seen folds onto the real definition instead of staying a separate stub, and a schema-qualified name binds correctly, while two genuinely different tables in different schemas (dbo.Orders vs sales.Orders) stay distinct and a SQL stub no longer binds to a same-named class in another language (#4653, #4654, thanks @Deepjyoti-Sarmah).redis where only Cache.redis exists) only links to the method when the owning class is cited in the same document, so a plain word is no longer turned into a false references edge; a qualified Class.method or Class::method mention still resolves (#4609, #4617, thanks @nothariharan; reported by @saad-siddique).get_node and get_neighbors tools, and the explain command, refuse a substring-only near-miss with candidate suggestions instead of returning an unrelated node as the answer; an exact or prefix match still resolves (#3917, #4618, thanks @nothariharan; reported by @Alexandre-Aktisea).source_file and source_location name the line that makes the call (#4668, #4669, thanks @xiongjianxu).ast_empty and left alone, while a genuinely failed or transiently empty extraction is still retried (#2543, #4672, thanks @xiongjianxu).Twenty-two community pull requests. Extraction: a reference to a Kotlin type alias, C# delegate, Swift macro, Dart typedef, Python module function or
Twenty-two community pull requests. Extraction: a reference to a Kotlin type alias, C# delegate, Swift macro, Dart typedef, Python module function or Rust sibling-module use now resolves to its real declaration instead of minting a sourceless stub; Metal/CUDA GPU qualifiers no longer mint god nodes; extern "C" headers route to the C++ extractor; an extensionless script with a versioned-interpreter shebang is classified; and Obsidian vault-relative wikilinks resolve. Plus a credential-redaction pass on rationale labels, a node-confidence fold, a truncated-reply label decode, a .graphifyrc BOM fix, a GraphML multigraph export fix, two-repo file disambiguation in explain and path, a PDF-read warning, no skill writes on --version/--help, two PR-tooling fixes (slashed default branch, legacy CI statuses), and a skill partly-read-file recovery so a long file a subagent only skimmed is retried on the next --update instead of silently kept half-read. The AST cache schema is bumped, so the first build after upgrading re-extracts.
typealias declaration is extracted, so a field or parameter typed as the alias resolves to it instead of minting a sourceless cross-file stub (#4553, #4557, thanks @rajatnagda45).delegate declaration is extracted, so references resolve to it instead of a sourceless stub; built-in Func<>/Action<> stay external (#4552, #4556, thanks @rajatnagda45).macro declarations are extracted and a freestanding #macro(...) call resolves to the declaration; an unknown or standard-library macro stays unresolved rather than minting a stub (#4551, #4555, thanks @rajatnagda45).use rooted at a sibling mod (for example use item::Thing;) now reaches its declaration, while an external use serde::... still does not hijack a same-named local type (#4564, #4567, thanks @Deepjyoti-Sarmah; reported by @almothafar-maf).\", \n, \uXXXX, surrogate pairs) is no longer kept with literal backslash escapes (#4537, thanks @rudycelekli)..graphifyrc is read as utf-8-sig, so a file saved with a UTF-8 BOM no longer drops its first key (#4538, thanks @rudycelekli).typedef is extracted as a type alias on its own line, including the legacy typedef R name(args) form, instead of a bogus variable of type typedef; a field or parameter typed by the alias resolves to it rather than minting a sourceless typedef stub (#4582, thanks @madhusudanpatnaik).module.func() call resolves to the module child named exactly func, even when a same-key sibling (for example a FuncSchema class beside a func_schema function) previously made the lookup ambiguous and dropped the edge; it never binds to a same-named child of an unrelated module (#4577, thanks @madhusudanpatnaik).kernel, device, constant, __global__, __device__, ...) in a .metal/.cu file no longer mint sourceless god nodes; the kernel function still extracts and a <<<...>>> launch still resolves (#4550, #4554, thanks @rajatnagda45)..h header containing extern "C" is routed to the C++ extractor, so a C-API header the C grammar rejects extracts its symbols instead of nothing (#4526, thanks @bekzodibragimov2004-design).user:pass@ URLs) in a comment or docstring that becomes a rationale label is redacted before it reaches graph.json, the viz or exports; ordinary identifiers such as git SHAs and UUIDs are left intact (#4566, thanks @0xkaushik-ai).read_graphml (#4536, thanks @rudycelekli).refs/remotes/origin/ prefix, so a branch name that contains a slash (for example release/2.x) is kept whole and PRs against it are no longer all dropped as wrong-base (#4534, thanks @rudycelekli).StatusContext state in addition to check-run conclusions, so a PR whose only signal is an external status (Jenkins, CircleCI) is classified correctly, with a failing status taking precedence (#4533, thanks @rudycelekli).#!/usr/bin/env python3.11, #!/bin/bash5, ruby3.2, ...) is now classified to its language instead of being skipped (#4535, thanks @rudycelekli).[[wikilink]] whose target begins with one of the scan root's own folder names (a vault-relative path) now resolves to the real page instead of a ghost node, restoring intra-vault connectivity (#4559, thanks @bercedev; reported by @CryptoRMac4).graphify --version and --help no longer rewrite or back up an installed skill file; only a real command refreshes skills (the staleness warning still prints) (#4545, thanks @bercedev; reported by @EmanuelFaria)..nonce() method in two files) is refused with the candidates listed and the ambiguous exit code, matching explain and path; a keyword that only prefix- or substring-matches labels still runs a normal search (#4511, #4517, thanks @shivampal46011; reported by @kaka-in-home)..graphify_partial.txt, cached as partial (which the loader treats as a miss) and left unstamped in the manifest, so the next --update re-dispatches it and replace-on-re-extract swaps the half-read node set for a complete one. This mirrors the library path's truncated-reply recovery (#933, #1950); the already-extracted nodes are kept, and a file no subagent reported is not falsely flagged (#3987, #2225, thanks @nothariharan; reported by @Ryanm218).Twenty-three community pull requests: call-resolution and id-collision fixes across JS/TS, Python, Go, Rust and Solidity; graph round-trip, dedup and
Twenty-three community pull requests: call-resolution and id-collision fixes across JS/TS, Python, Go, Rust and Solidity; graph round-trip, dedup and confidence-folding fixes; skill code-only-update and dispatch fixes; and LLM/Ollama and detection fixes. The AST cache schema is bumped, so the first build after upgrading re-extracts.
_, $ or # are kept as separate nodes (#4475, #4479, thanks @Mpasha17).this.field is typed from an assignment in any method, including static and accessors (#4473, #4482, thanks @FolatheDuckofDuckingburg).exports points only into dist/ falls back to src/ (#4485, #4489, thanks @bercedev).super calls and modifiers resolve through C3 linearization (#4379, #4384, thanks @rohit-jsfreaky)..git is treated as a VCS root, so a stray home-dir .git no longer leaks its .gitignore (#4444, #4464, thanks @Mpasha17).pull --rebase (#4463, #4476; #4490, #4491, thanks @Deepjyoti-Sarmah).--update path materializes the extraction before the merge across all hosts (#4447, #4313, thanks @vibhanshu-mishra; aider/devin #4456, thanks @Deepjyoti-Sarmah).-c block no longer run a command mid-step (#4461, #4462, thanks @Deepjyoti-Sarmah).delegate agent (#4494, #4502, thanks @bercedev).GRAPHIFY_BACKEND, a disable switch, and an honest auto-detect (#4361, #4376, thanks @nothariharan).tree-sitter-dm <0.26 so a fresh install cannot pull the ABI-incompatible 0.26 grammar (#4044, thanks @safishamsi).Twenty-three community pull requests: call-resolution and id-collision fixes across JS/TS, Python, Go, Rust and Solidity; graph round-trip, dedup and confidence-folding fixes; skill code-only-update and dispatch fixes; and LLM/Ollama and detection fixes. The AST cache schema is bumped, so the first build after upgrading re-extracts.
_, $ or # are kept as separate nodes instead of collapsing one onto another (#4475, #4479, thanks @Mpasha17).this.field receiver is typed from an assignment in any method (including static and accessors), not just the constructor (#4473, #4482, thanks @FolatheDuckofDuckingburg).exports map points only into dist/ now falls back to the src/ source, so app-to-package edges resolve on a clean checkout (#4485, #4489, thanks @bercedev).super calls and modifiers from base contracts now resolve through the contract's C3 linearization (#4379, #4384, thanks @rohit-jsfreaky)."high", "confirmed") fold to a valid value before validation and dedup, clearing the permanent "invalid confidence" warning (#4495, #4501, thanks @ayushcodes10).graphify.extract, restoring the one-way import direction (#3666, #3758, thanks @abhay-codes07)..git (a real repository or a gitdir: worktree/submodule file) is treated as a VCS root, so a stray .git in a home directory no longer leaks its .gitignore into unrelated scans (#4444, #4464, thanks @Mpasha17).pull --rebase (#4463, #4476; #4490, #4491, thanks @Deepjyoti-Sarmah).--update path now materializes the extraction (empty semantic + Part C) before the merge across all hosts, so the merge no longer fails or silently drops the fresh AST (#4447, #4313, thanks @vibhanshu-mishra; aider/devin: #4456, thanks @Deepjyoti-Sarmah).-c block no longer let bash run a command (graphify update) mid-step (#4461, #4462, thanks @Deepjyoti-Sarmah).delegate agent instead of the non-existent general-purpose agent (#4494, #4502, thanks @bercedev).source_file to the dispatched file, so a document's entities are no longer attributed to a file it merely references (#3377, #2270, #4487, thanks @cornwe19).GRAPHIFY_BACKEND, a disable switch, and an auto-detect that names the env var it chose (#4361, #4376, thanks @nothariharan).tree-sitter-dm <0.26 so a fresh install cannot pull the ABI-incompatible 0.26 grammar (#4044, thanks @safishamsi).Eight community pull requests: a Windows MCP-stdio hang fix, Rust/JS/TS/extract call-resolution and id-collision fixes, an Ollama context-size fix, an
Eight community pull requests: a Windows MCP-stdio hang fix, Rust/JS/TS/extract call-resolution and id-collision fixes, an Ollama context-size fix, and a clustering label-retention fix. The AST cache schema is bumped, so the first build after upgrading re-extracts.
graph_stats no longer hangs under a stdio host on Windows (and no longer silently drops its built-at-commit staleness line): _git_head closes the git child's stdin so git does not block on the JSON-RPC pipe (#4440, #4441, thanks @bercedev).use crate::…::Name edge now lands on the declaration it imports rather than a bare name-folded target (#4439, #4443, thanks @bercedev).indirect_call edges (#4448, #4457, thanks @bercedev).const sql beside x.sql) is kept on its own node instead of being merged onto the sibling's file node and dropped (#4449, #4452, thanks @Deepjyoti-Sarmah).this.field.method() resolves to the right class when two classes share a field name (#4294, #4297, thanks @rohit-jsfreaky)./api/chat, so the derived num_ctx actually reaches the server and large prompts are no longer silently truncated; a server without /api/chat falls back to the OpenAI-compatible endpoint (#4413, #4414, thanks @smngvlkz).readlink returned, fixing a false failure on Windows (#4435, #4442, thanks @bercedev).Eight community pull requests: a Windows MCP-stdio hang fix, Rust/JS/TS/extract call-resolution and id-collision fixes, an Ollama context-size fix, and a clustering label-retention fix. The AST cache schema is bumped, so the first build after upgrading re-extracts.
graph_stats no longer hangs under a stdio host on Windows (and no longer silently drops its built-at-commit staleness line): _git_head closes the git child's stdin so git does not block on the JSON-RPC pipe (#4440, #4441, thanks @bercedev).use crate::…::Name edge now lands on the declaration it imports rather than a bare name-folded target, so explain/affected resolve the type even when it is only constructed; a cross-crate use std::…/use serde::… still does not hijack a same-named local declaration (#4439, #4443, thanks @bercedev).indirect_call edges to same-named functions elsewhere in the corpus (#4448, #4457, thanks @bercedev).const sql beside x.sql) is kept on its own node instead of being merged onto the sibling's file node and dropped; the file stays findable by label (#4449, #4452, thanks @Deepjyoti-Sarmah).this.field.method() resolves to the right class when two classes share a field name; a same-named local or parameter no longer borrows a field's type (#4294, #4297, thanks @rohit-jsfreaky)./api/chat, so the derived num_ctx actually reaches the server and large prompts are no longer silently truncated; a server without /api/chat (LM Studio, llama.cpp) falls back to the OpenAI-compatible endpoint (#4413, #4414, thanks @smngvlkz).readlink returned, fixing a false failure on Windows where readlink returns an extended-length path (#4435, #4442, thanks @bercedev).Fourteen community pull requests: C# call-resolution and id-collision fixes, Python/Go/dedup correctness, a hub-label sidecar, a post-merge heal hook,
Fourteen community pull requests: C# call-resolution and id-collision fixes, Python/Go/dedup correctness, a hub-label sidecar, a post-merge heal hook, and query/build fixes. The AST cache schema is bumped, so the first build after upgrading re-extracts.
run.Sequence.Apply(), Make().Apply()) no longer mis-binds to the caller's own same-named method; every C# member call defers and resolves only through a typed receiver (#4422, thanks @nixvideojuego-ui).new X() no longer binds to a method that shares the type's name, same-file or cross-file; a real same-named type still wins (#4428, thanks @nixvideojuego-ui).foreach loop variables are now typed from the collection's element type (arrays, known sequences, dictionary .Keys/.Values), so calls on the loop variable resolve; untypable iterables stay unresolved (#4423, thanks @nixvideojuego-ui)._ or by case apart (Action/_Action, Load/load, Token/TOKEN), in both ids and member-call resolution keys, instead of collapsing one onto the other (#4415, #4416, thanks @JensD-git).func (b *Box[T]) ...) is normalized before building its id, so a generic type's methods attach to the type node instead of a separate Box[T] node (#4438, thanks @Goodkamalpandey).mod.func()) now resolves when the caller is a method or nested function, by walking the enclosing scopes to the file node instead of reading only the immediate parent (#2447, #4437, thanks @SrijanSriv).source_file was not dispatched this run; it is kept as long as both endpoints are kept nodes (#2276, #4436, thanks @SrijanSriv).protocol.md beside docs/protocol.md and docs/firmware/protocol.md), path-qualifying the siblings instead of collapsing and losing one; a genuine reference still collapses onto the named file (#4281, #4410, thanks @Deepjyoti-Sarmah)..j2, .jinja, .jinja2) are now classified as documents instead of being dropped from the graph (#3427, #3455, thanks @nikhilsaxena04)..graphify_labels.pending.json sidecar, so the tracked .graphify_labels.json holds only curated (manual/LLM) names; a promoted name drops from the sidecar and an emptied sidecar is removed (#3334, #3551, thanks @ayushcodes10).graphify hook install now also installs a post-merge hook that runs an unscoped background rebuild after a merge, healing a symbol the graph.json union merge driver resurrected on one side (which nothing else would re-extract), so the phantom node no longer persists (#2418, #3556, thanks @ayushcodes10).Sixteen community pull requests: cross-repo member-call resolution (Go, PHP, TypeScript, Kotlin, Objective-C), generic/template type-parameter cleanup
Sixteen community pull requests: cross-repo member-call resolution (Go, PHP, TypeScript, Kotlin, Objective-C), generic/template type-parameter cleanup (Kotlin, Scala, C++, Swift), an Objective-C enum extractor, interface-dispatch fan-out, a native Pi guard extension, and several resolution/ingest fixes. The AST cache schema is bumped, so the first build after upgrading re-extracts.
merge-graphs/global add against a unique same-named exported type, fail-closed on ambiguity (#3152, #3388, #3393, #3385, #3387, #3389, #3391, #3395, thanks @xiongjianxu)._disambiguate_colliding_node_ids, so single-definition guards and receiver typing work (#3399, #3400, thanks @xiongjianxu).class Box<T>, [T], template<typename T>, struct Stack<Element>) no longer mint sourceless stub god-nodes; a real same-named type is still referenced (#4406, #4407, #4408, #4409, thanks @rajatnagda45).NS_ENUM and NS_OPTIONS declarations are now extracted as an enum type plus its members, with the macro forms validated and malformed macros rejected fail-closed (#4400, #4401, thanks @oleksii-tumanov).graphify hook-guard before Pi's tool calls and also loads under Oh My Pi, so the hook-guard policy reaches Pi; install/uninstall delegates to pi install/pi remove and the guard fails open (#4378, thanks @andrebrait)..js import now resolves to a .tsx source when no real .js file exists, matching TypeScript's NodeNext resolution; a real .js still wins (#3486, #4395, thanks @DevChiniwala).Twenty community pull requests: language-extraction and call-resolution fixes (Java, C/C++, Python, Swift, Go, PowerShell, C#, JS/EJS), dedup/shrink-g
Twenty community pull requests: language-extraction and call-resolution fixes (Java, C/C++, Python, Swift, Go, PowerShell, C#, JS/EJS), dedup/shrink-guard hardening, and query/graph.html ergonomics. The AST cache schema is bumped, so the first build after upgrading re-extracts.
new or cast receiver (factory.builder().size(3).build(), new Builder().size(1), ((Builder) o).build()) now resolves through the declared return types on the method chain, binding only on a single unambiguous target (#4306, #4307, thanks @rohit-jsfreaky).#include "../lib/foo.h", STM32 Core/Src to Core/Inc) now resolves to the right header by a unique longest-shared-directory-prefix match, fail-closed on ties and never guessing for ./, ../, absolute or angle-bracket includes (#4354, #4392, thanks @hopstreax).@name.setter/.getter/.deleter decorator no longer mints a sourceless stub node (#4380, #4385, thanks @rajatnagda45).Self (PEP 673) type annotation (-> Self, : Self, typing.Self) no longer mints a sourceless self stub (#4381, #4386, thanks @rajatnagda45).Self type annotation no longer mints a sourceless self stub (#4382, #4387, thanks @rajatnagda45).[T any]) in signatures, struct fields and interface methods no longer mint sourceless t/r stubs (#4383, #4388, thanks @rajatnagda45).$@"a""{e}"""), instead of silently dropping the rest of the file; the fix masks only the offending bytes and discards the rewrite unless it re-parses clean (#3376, #3612, thanks @rohit-jsfreaky).$PSScriptRoot paths now emit import edges, and script-scope commands (outside any function) are now collected as calls (#4356, #4369, thanks @FabioRueda).@scope-a/utils and @scope-b/utils stay distinct and lodash/fp/map collapses onto one lodash node (#3084, #3092, thanks @rohit-jsfreaky)..ejs) templates now have an extractor: scriptlet functions/classes, require/import edges, dynamic imports, and <%- include('partial') %> composition edges, instead of a single top-level parse error (#3811, #4338, thanks @nothariharan).pkg.mod.func, pkg.mod:func) now resolves to the symbol by module path, fail-closed on a same-file ambiguity, without regressing bare-name lookups (#4366, #4367, thanks @Mpasha17).a/x.md and b/x.md (both minting a bare x) stay distinct instead of collapsing and losing one node; a reference to the bare id from a third file is left unresolved with a warning rather than guessed (#4281, #4362, thanks @Deepjyoti-Sarmah).graphify update on a graph that had an LLM semantic ghost is no longer wrongly write-blocked; the exemption is scoped to a strict _origin=="ast" twin at the same path and label, so a genuine partial-build loss is still refused. LLM node/edge field aliases (file/filepath, relationship) are folded, with the canonical field always winning (#4389, #4391, thanks @AndresDiagoM).graphify install/uninstall now removes only graphify's own hook entries (keyed on the hook-guard/hook-check command, not a loose "graphify" substring), keeping co-located user hooks and other commands in the same group, and routes uninstall through a backup (#4359, #4373, thanks @nothariharan).--seed starts the traversal at given nodes (ids, labels, callable names or paths) so an external ranker can choose the start set; unresolved seeds are reported and skipped, and an all-unresolved set fails closed rather than falling back to keyword seeds (#4293, #4289, thanks @devkancheti4-design).textContent, preserving the embedded-JSON escaping (#4286, #4291, thanks @Hassannzidan).Eighteen community pull requests: language-extraction fixes (PHP, C#, Python, TypeScript, Julia), retrieval and watch hardening, and skill/benchmark c
Eighteen community pull requests: language-extraction fixes (PHP, C#, Python, TypeScript, Julia), retrieval and watch hardening, and skill/benchmark correctness.
Class::method() static call now resolves to the called method rather than binding to the class node, and no longer stalls at INFERRED confidence for a same-namespace call that needs no use import. self/static/parent and lowercase class receivers route through the PHP resolver, fail-closed on any ambiguous or off-corpus receiver (#3872, #3874, thanks @rikurunico).partial types now merge by their full type path (Outer\1.Inner), so a two-file nested partial is unified while FooandFoo<T>` stay distinct; a cross-file unqualified call binds to the caller's own merged type when it is the single own-type candidate, and a sourceless placeholder base is dropped when a real same-named base exists on the partial (#4363, #4364, thanks @JensD-git). (The AST cache schema is bumped, so the first build after upgrading re-extracts.)@property (obj.prop, including x.prop += v) now links to the property's getter, instead of being dropped as a bare attribute access (#4337, thanks @rohit-jsfreaky). (The AST cache schema is bumped, so the first build after upgrading re-extracts.)c.name() reaches a #name-labeled node only when the class declares a public name, and a public call keeps its edge when foo and #foo share one node (#4298, thanks @rohit-jsfreaky).var is typed from the called method's return type, so downstream member calls on it resolve (#4266, #4268, thanks @Mpasha17).graphify affected <PR> now scopes graph impact to the requested PR instead of the repository default branch, and PR default-branch detection is isolated under test (#3829, thanks @hopstreax).update refuses to drop a saved semantic node id when the node total grows (treating it as an incomplete re-extract), while still letting a removed import stub go; export keeps an integer node id that is still in the graph (#4115, thanks @SrijanSriv).query_graph seed order no longer lets a weak match on an early-alphabet term lead a specific term's exact match: the per-term guaranteed seeds (#1445) are ordered by match strength (#4357, #4358, thanks @devkancheti4-design)._origin on the semantic tier so an AST-only update cannot delete semantic nodes it did not re-extract (#2843, #3110, thanks @abhay-codes07)..inc, .h, TS-family) means via language.<ext>=<language|.ext> lines in .graphifyrc; the declaration flows through classification, extractor selection, imports, watch, and the AST cache, and default detection is byte-for-byte unchanged when absent (#2961, #3789, thanks @andrebrait and @abhay-codes07)..graphify_incremental.json, instead of dumping every file path into the agent context (#3952, thanks @mdshzb04).root= to extract(), so adapting the snippet to a relocated cache (--out) no longer renames every code node and blinds the node-count shrink guard (#3727, #3955, thanks @jnrod03-rgb).query_graph actually returns (calling the real budgeted query path) instead of a separate unbudgeted reimplementation (#4347, #4348, thanks @rohit-jsfreaky).GRAPHIFY_CLAUDE_CLI_MODEL), matching the extraction path, so labeling no longer silently falls back to the session default model (#3846, #3876, thanks @oleksii-tumanov).Eighteen community pull requests: language-extraction fixes, safety and determinism hardening, and CLI/query ergonomics.
Eighteen community pull requests: language-extraction fixes, safety and determinism hardening, and CLI/query ergonomics.
graphify uninstall --purge now refuses to delete the project (or home, or a filesystem root) when GRAPHIFY_OUT is empty or ., instead of silently removing the working tree (#4329, thanks @Hassannzidan).Base.show), operator (Base.:+) and functor (callable-struct) methods, and resolves broadcast (f.(xs)) and pipe (x |> f) calls (#4310, thanks @ayarodionov).use declarations (use a::{b, c::d}) now expand into one import binding per name, instead of a single edge to the common prefix (#4135, thanks @krishhgg). (The AST cache schema is bumped, so the first build after upgrading re-extracts.)class Foo derives Bar now links the class to each derived typeclass (#2048, #4173, thanks @Mpasha17).affected <Symbol> now also walks callers of the supertype member that an overriding method overrides, so a change to an override surfaces users of the base contract (#4330, #4331, thanks @rohit-jsfreaky).source_file against the scan root rather than the CWD, so building from a subdirectory no longer strands an extension-renamed node's edges on the survivor (#4281, #4326, thanks @Deepjyoti-Sarmah).global add, so path and other direction-aware readers no longer follow reversed arcs (#4066, #4138, thanks @e4c5).core.excludesFile), with git-faithful precedence and ~/XDG expansion (#4335, #4339, thanks @smngvlkz).TypeError (#4325, #4340, thanks @rtmalikian).explain refuses a name carried by several nodes of one file (ambiguous within a file) instead of silently picking one (#4320, thanks @alexwrite).explain/query tell you how to get the full answer (and add explain --all) when the output is truncated to the token budget (#4323, thanks @alexwrite).graph.json is now written as one line of compact JSON, so re-running a build produces a +1/-1 diff instead of a large whitespace churn (#3413, #4319, thanks @andrebrait).graph.json diffs in pull requests are expected (#4324, thanks @andrebrait), and the README distinguishes local CLI skill guidance from MCP instructions (#3925, #4292, thanks @Tivonsico).A language-extraction and tooling batch: six extractor/exporter fixes picked from open issues, plus fourteen community pull requests.
A language-extraction and tooling batch: six extractor/exporter fixes picked from open issues, plus fourteen community pull requests.
where clause (long and short form) and parametric type definitions (struct Box{T}, abstract type Shape{T}, struct Sq{T} <: Shape{T}) are now extracted. The name sat inside a where_expression / parametrized_type_expression wrapper that the name lookup skipped, so the whole method/type was dropped; a declared type parameter (value::T) no longer leaks as a phantom field-type node (#4126, #4128).interface now gets a callable node and a dispatches_to edge to each listed module procedure, so a call to the generic name resolves instead of dangling; unnamed and operator/assignment interfaces are unaffected (#4141, #4142, thanks @rajatnagda45).defdelegate is now extracted as a function definition, so the delegated function appears and same-module calls to it resolve (#4132).given ... with instance methods are scoped to the given instead of leaking to file scope (where they collided with the same-named trait type); an anonymous given Show[Int] with keeps its members under a synthesized name (#4130).<!-- then <script can no longer break out of the embedded data script and blank the page; every < in the embedded JSON is escaped (#4124).--token-budget is the lever) instead of always blaming truncation (#4101, #4280, thanks @ayushcodes10).export type * star re-exports no longer trip a spurious syntax-error flag that skewed the health report (#3942, #4303, thanks @ayushcodes10).x.py vs x.html) are kept as separate nodes instead of collapsing and losing one (#4281, #4282, thanks @bitwizard25).core.quotePath=false plus C-quote decoding) (#4278, #4279, thanks @smngvlkz).* no longer crosses / and negations behave like git) (#4242, #4251, thanks @Yyunozor)..ps1/.psm1/.psd1) (#4271, #4272, thanks @rtmalikian).graphify-out/ was written into your working tree, with how to gitignore or share it (#3941, #4308, thanks @eoinforker).graphify affected <Symbol> now reaches callers through the symbol's defining file, so Dart/Flutter (and other file-module languages) return results instead of nothing (#4288, #4290, thanks @dcaldr).export default with a huge base64 literal plus a tsconfig baseUrl no longer crashes extraction with "File name too long" (#4166, #4169, thanks @bastiennoel93).[x](<My Note.md>), [x](My%20Note.md)) now resolve to a references edge (#4177, #4178, thanks @Yyunozor).os.getcwd() in the path-memo key for absolute paths, and walk each JS/TS tree once when collecting symbol facts — both output-identical (#4301, #4302, thanks @pishuv).A correctness batch picked directly from open issues, plus an OpenCode plugin fix.
A correctness batch picked directly from open issues, plus an OpenCode plugin fix.
begin {} / process {} / end {} block are now extracted. These blocks parse as pseudo-commands rather than named blocks, so the walker returned before descending and dropped everything inside — the common [CmdletBinding()] advanced-function layout (#4270).`%foo%` (or an S3 method `[.cls`, or a dotted `my.op`) normalized to the same id as an ordinary identifier and was silently dropped on merge; such names now use the reserved operator namespace (#4253). (The separate infinite-loop reported in that issue was already fixed in 0.9.83.)graphify path and the MCP shortest_path tool now fail closed on a file::symbol endpoint whose file defines no such symbol, instead of falling back to scoring the bare name and answering from a same-named symbol in another file; the refusal lists the files that do define it (#4264).setup()) while keeping the v1 server() hook, and graphify install refreshes an already-installed v1-only copy, so the graph tools appear again for users upgraded past the v1 plugin contract (#3554, #3732, thanks @bercedev).import logging is no longer captured by a loose same-named module (scripts/logging.py) in a non-package directory — it resolves to the stdlib module. Guarded by a vendored, deterministic stdlib-name set across the module resolver, the sibling-repoint pass, and the build-time stem-alias index; a deliberate package shadow (logging/__init__.py) still resolves (#4261).httpx.Response) no longer binds to an unrelated private local class (_Response). The stub-rewire match key now preserves underscores, so _Response and Response are distinct identifiers (#4269).List<T>, System.Type, Unity's VisualElement) now gets one shared, name-keyed placeholder instead of a separate per-file stub (a_cs_list, b_cs_list), so a query returns one node and the files sharing the type connect through it (#4247).A correctness batch picked directly from open issues, plus an OpenCode plugin fix.
begin {} / process {} / end {} block are now extracted. These blocks parse as pseudo-commands rather than named blocks, so the walker returned before descending and dropped everything inside — the common [CmdletBinding()] advanced-function layout (#4270).`%foo%` (or an S3 method `[.cls`, or a dotted `my.op`) normalized to the same id as an ordinary identifier and was silently dropped on merge; such names now use the reserved operator namespace (#4253). (The separate infinite-loop reported in that issue was already fixed in 0.9.83.)graphify path and the MCP shortest_path tool now fail closed on a file::symbol endpoint whose file defines no such symbol, instead of falling back to scoring the bare name and answering from a same-named symbol in another file; the refusal lists the files that do define it (#4264).setup()) while keeping the v1 server() hook, and graphify install refreshes an already-installed v1-only copy, so the graph tools appear again for users upgraded past the v1 plugin contract (#3554, #3732, thanks @bercedev).import logging is no longer captured by a loose same-named module (scripts/logging.py) in a non-package directory — it resolves to the stdlib module. Guarded by a vendored, deterministic stdlib-name set across the module resolver, the sibling-repoint pass, and the build-time stem-alias index; a deliberate package shadow (logging/__init__.py) still resolves (#4261).httpx.Response) no longer binds to an unrelated private local class (_Response). The stub-rewire match key now preserves underscores, so _Response and Response are distinct identifiers (#4269).List<T>, System.Type, Unity's VisualElement) now gets one shared, name-keyed placeholder instead of a separate per-file stub (a_cs_list, b_cs_list), so a query returns one node and the files sharing the type connect through it (#4247).portal.py / portal.html) no longer collapse into one node. They derive the same extension-stripped id; the best-ranked file keeps it, the other gets an extension-qualified id (…_portal_html), and its edges follow it (matched by root-relative source_file, so absolute semantic paths work). A bare id shared across different paths still collapses with the warning (#4281).A C# resolution and determinism batch, plus Windows test-suite fixes.
A C# resolution and determinism batch, plus Windows test-suite fixes.
Effect vs Effect<T>) now get distinct node ids (arity folded into the id), so they no longer collapse into one node and Effect<T> : Effect no longer produces an inherits self-loop (#4255, #4249, thanks @ayushcodes10).a.b.C()), element access (xs[i].M()), or inside a constructor body now resolves to the right method, fail-closed to a single declared type per hop (collection element types only for T[]/List<T>), instead of being dropped (#4258, #4246, thanks @Mpasha17).Delegate(t) next to a Delegate case) no longer binds to the enum member; case members are excluded from both the per-file and cross-file call-resolution maps, fail-closed (#4254, #4245, thanks @ayushcodes10).method membership edge — an undirected collapse previously let the reverse calls edge overwrite it, hiding the member from every type walk (#4256, #4248, thanks @Mpasha17).graphify's own skill runbook now reuses the persisted scan options (excludes and the gitignore flag) a prior build wrote, so a skill-driven update no longer drops opted-in files or re-adds explicitly excluded ones versus a CLI rebuild (#4250, #4240, thanks @deepanshupal)._atomic_replace refuses a read-only destination there instead of silently clobbering it (nt-only guard, no POSIX change), plus encoding, path-shape, and non-regular-file test guards (#4260, thanks @SoloDrex52).using static now resolve (using static Demo.Layer; reaching Layer.Inner), fail-closed on ambiguity, complementing the enclosing-namespace resolution also in this release (#4235, #4216, thanks @hopstreax)....-g<fingerprint>), so upgrading a grammar within the same graphify release no longer serves stale or ABI-incompatible cached ASTs for unchanged files (#4239, #4236, thanks @nothariharan).Feature: after graphify extract builds a graph, the CLI prints a short one-time pointer to Graphify Cloud (faster indexing, fewer tokens, cross-repo s
graphify extract builds a graph, the CLI prints a short one-time pointer to Graphify Cloud (faster indexing, fewer tokens, cross-repo search, PR review, and an always-current view of your SDLC at app.graphify.com). It is shown only in an interactive terminal, once per project, and can be turned off with GRAPHIFY_NO_TIPS or GRAPHIFY_NO_CTA; CI, piped output, and the AI-assistant pipeline never see it.Type::new() / Self::f() / self.f() resolve through the owning impl (unique-owner only, fail-closed), instead of mis-binding to an unrelated fn with the same last segment (#4238, #4237, thanks @rohit-jsfreaky).graph.svg; valid whitespace and Unicode are preserved, and node identity is unchanged (#4244, thanks @Yyunozor).A large resolution-accuracy and determinism batch across Python, TypeScript, C#, Elixir, and PHP, plus analysis-quality fixes and a portability regres
A large resolution-accuracy and determinism batch across Python, TypeScript, C#, Elixir, and PHP, plus analysis-quality fixes and a portability regression guard.
class Outer: class Inner no longer collides with a different Outer2: Inner into one node (and their methods no longer collapse together) (#4228, thanks @xiehuanyi).self/cls/super() calls now resolve to a base-class method defined in another file, fail-closed on multiple/opaque/out-of-corpus bases, with super(Cls, obj) forms excluded (#4222, #4221, thanks @rohit-jsfreaky).self.x.m()/annotated-local call inside a nested def now resolves instead of failing the visibility check (#4227, #4226, thanks @rohit-jsfreaky).from werkzeug.wrappers import Request) no longer resolves onto a local same-named module (wrappers.py), which had rewired a class to inherit from itself; a same-named module in another package still resolves (#4225, #4224, thanks @rohit-jsfreaky).this.field receivers are typed from class field declarations (not only constructor-injected parameters), so a service's this.repo.find() resolves; fail-closed on static/array/union/generic field types (#4231, #4230, thanks @rohit-jsfreaky).#private method of the same name (#4233, #4232, thanks @rohit-jsfreaky).Demo.Inner referencing a type in Demo), innermost-wins, additive over the existing scope resolution (#4204, #4196, thanks @hopstreax).App.Accounts.get_user, alias App.Accounts; Accounts.get_user) resolve to the right module's function, and a member call never mis-binds to a same-named local; cross-file targets link only to the single corpus module that defines the function (#4213, #4206, thanks @Mpasha17).def f(x), do: g(x)) now have their calls extracted, not only the do/end block form (#4210, #4207, thanks @rtmalikian).(void) casts and a cast applied to a match expression are parsed via a fail-safe pre-processing pass, so calls behind them are no longer dropped to a syntax error (#4211, #4202, thanks @Mpasha17).contains from their file are no longer flagged as weakly-connected knowledge gaps in the analysis output and GRAPH_REPORT.md (#4212, #4205, thanks @nothariharan).GRAPHIFY_AMBIGUOUS_SCALE=1.0 restores the prior behavior (#4214, #4199, thanks @JunoLee1).graphify path's top-level help now states it defaults to a directed search and does not consult the JSON directed flag (#4229, #3712, thanks @wanjinhao1); CONTRIBUTING.md adds guidance for contributors using AI coding agents (#4219, thanks @adityatiwari101104).More clone-identical determinism, a large MCP retrieval speedup, and a batch of extractor and resolution fixes.
More clone-identical determinism, a large MCP retrieval speedup, and a batch of extractor and resolution fixes.
--no-cluster graph.json no longer ships extract()'s run-only absolute source paths or undeclared/dangling endpoints (#4189, #4183, thanks @rohit-jsfreaky).os.path.relpath in the partial-extraction warning path falls back to a portable display path on Windows cross-drive files, completing the 0.9.78 #4106 fix (#4149, thanks @xiehuanyi).self.<attr>.<method>() calls now resolve through the attribute's constructor/annotation type to the owning class, fail-closed on ambiguity (#4176, #2860, thanks @Mpasha17).obj.method() on a local or parameter whose class is known from an annotation (c: Client, including Optional/union/string forms) or a constructor/with binding now resolves to the owning class's method, fail-closed to a single in-file-or-imported class that owns it (#4198, thanks @rohit-jsfreaky).if TYPE_CHECKING: are marked type-only so they no longer form impossible runtime import cycles (#4179, #3159, thanks @Yyunozor).new Runnable() { public void run() {...} }) are now captured, mirroring the Kotlin object-literal handling (#4140, thanks @rajatnagda45).[x](<My Note.md>), [x](My%20Note.md)) resolve to the real file instead of a ghost target; wikilinks stay verbatim and external links stay excluded (#4178, thanks @Yyunozor).re_exports edge is kept for both files whose ids collide after separator normalization (a-b/x.ts and a/b/x.ts), removing an order-dependent dropped edge (#4143, thanks @Cintu07).graphify console script now uses the multi-core extraction pool instead of silently falling back to single-core, since a non-file __main__.__file__ no longer disables it (#4187, #4186, thanks @rohit-jsfreaky).query_graph, up to ~300x on shortest_path); the two cached path graphs add a bounded, LRU-capped memory cost (#4192, #4191, thanks @rohit-jsfreaky).Path.resolve() calls eliminated), with byte-identical graph.json output (#4195, thanks @rohit-jsfreaky).graph_stats (CLI and MCP) now reports the graph's build commit and whether it is behind the current HEAD (#4144, thanks @Mpasha17).tree-sitter runtime floor to >=0.25 so a resolver cannot pair a 0.23/0.24 runtime (ABI 14) with the ABI-15 grammars pinned here and fail every parse (#4148, thanks @JFWaskin).uv sync no longer reports failures for grammars and SDKs it never pulled (#4193, #4190, thanks @yatharth1706).Fix: incremental graphify update and watch no longer re-cluster and re-render on every run after an unchanged rebuild. The schema_version/graphify_ver
graphify update and watch no longer re-cluster and re-render on every run after an unchanged rebuild. The schema_version/graphify_version metadata added to graph.json in 0.9.78 (#4167) was being counted as a topology change by the watch unchanged-topology check, since the freshly-built candidate graph carries no such metadata; it is now excluded from the comparison.A determinism and portability batch: node ids no longer leak the checkout path, OS username, or line endings into graph.json, so a clone produces the
A determinism and portability batch: node ids no longer leak the checkout path, OS username, or line endings into graph.json, so a clone produces the same graph everywhere. Plus encoding, C#, PowerShell, C++, and watch-reconcile correctness fixes.
require('./x') (#4155, #4154), a missing Python relative import from .absent import x (#4157, #4156), and a .dmf element keyed on its window (#4153, #4152) now mint portable, clone-identical ids; all three thanks @rohit-jsfreaky.scope_chain metadata than an LF one (#4165, #4164, thanks @rohit-jsfreaky).`%||%`) no longer collapse onto the file node and spin resolve_local forever; they get a stable, collision-free id (#4171, #4162, thanks @xiehuanyi).CaféOrder is no longer truncated; valid UTF-8 files are byte-for-byte unchanged, non-UTF-8 falls back deterministically (#4146, #4145, thanks @rohit-jsfreaky).((IStore)x).Save(), (x as IStore).Save(), and a shadowed IStore Store => ...; Store.Save() bind to the interface's own method instead of being dropped or mis-bound to the concrete class (#4172, #3797, thanks @Mpasha17).$this.M() resolves to the enclosing class and [Type]::M() to a single unambiguous local class, fixing a same-name-method mis-bind; value, cast, dynamic, duplicate, and external receivers stay fail-closed (#4163, #4158, thanks @oleksii-tumanov).class MYLIB_EXPORT Foo : Base {}) are preserved — the ALL-CAPS macro is blanked before parsing (byte-length and newline preserving) so tree-sitter no longer error-recovers over the class and drops it (#3661, #3648, thanks @nikhilsaxena04).graphify update keeps placeholder nodes for never-scanned referenced files, so an unchanged referrer's cross-file edges to an unresolved import or a .csproj/.sln reference are no longer dropped as if the target were deleted; genuinely deleted files are still reaped (#4161, #4160, thanks @rohit-jsfreaky).graph_diff keeps edge direction, so a reversed edge (a→b becomes b→a) is reported as a change instead of cancelling out to "no changes"; the diff now loads the previous graph through the direction-preserving reader (#4170, #4067, thanks @Mpasha17).graph.json now carries schema_version and graphify_version metadata for downstream consumers, written additively so existing readers and older graphs are unaffected (#4167, #3638, thanks @smngvlkz).More community language-structure coverage, two reload/incremental correctness fixes, and a batch of extractor tests.
More community language-structure coverage, two reload/incremental correctness fixes, and a batch of extractor tests.
case_of instead of contains (#4090), PowerShell enum members likewise (which also stops a member named like a type binding as a constructor) (#4092), Objective-C C-style enum and typedef enum declarations are extracted with their members (#4096), and a SQL trigger is linked to the function it executes with an executes edge (#4094).class C[A: Ordering]) now resolve to references edges, mirroring the method-level handling from 0.9.75 (#4085, #4080, thanks @Mpasha17).// comment in one <script> block so it no longer swallows the next block on the same line; byte offsets and line numbers are preserved (#4083, #4072, thanks @Sourya-Prabaharan).__init__.py is still a real module without a misleading anchor (#4086, #4041, thanks @Mpasha17).$this->list(), $this->open()) now resolve against the caller's own class instead of being dropped, while non-$this receivers and bare construct names stay fail-closed (#4119, refines #3975 and #3381, thanks @xiehuanyi).res.format = function () {...}; module.exports = res) are now extracted as nodes, so calls inside them resolve across CommonJS/ESM module boundaries (#4121, #3778, thanks @harshaygadekar).graphify update on a subfolder no longer false-reports files in sibling folders as deleted; a shared single manifest now anchors stored paths to its base and scopes deletion detection to the scanned root (#4118, #3785, thanks @harshaygadekar).graph.json preserves stored edge direction across the HTML, Cypher, Neo4j, FalkorDB, and Obsidian-canvas exporters, the watch HTML re-render, and the merge driver, instead of reversing edges whose target precedes their source in the node list (#4088, #4066, thanks @e4c5).$this.Method() and [Type]::Method() resolve to the method node by name, keyed only on method-labelled targets so a free function sharing the name is never bound, and unresolved names stay fail-closed (#3995, thanks @rajatnagda45).const _: () = assert!(...)) no longer collapse onto the file node and emit a self-loop; the anonymous item is skipped while named consts and statics keep their nodes (#4108, #4064, thanks @xiehuanyi).--no-dedup now also disables the same-file ghost-merge pass in build_from_json, so two distinct non-AST nodes sharing a (source_file, label) are preserved when dedup is turned off; AST reconciliation and the default dedup path are unchanged (#4122, #4019, thanks @xiehuanyi)./graphify run on an unchanged mixed corpus no longer crashes with a missing .graphify_semantic.json; when every semantic file is cached the skill still runs Step B3's merge (and clears stale chunk files first) so Part C always has its input (#4117, #4116, thanks @brunovima83).this?.M() null-conditional self calls (#4105) and Zig tagged-union nested-struct payloads (#4107, thanks @Jarvis-J-Jacob), Kotlin annotation class-literal boundaries (#4112) and cross-language JVM inheritance (#4113) plus C++ union method-versus-field edges (#4114, thanks @xiehuanyi), Elixir defguardp private guards (#4084, thanks @ClockZW), and bash source/. imports plus merge-graphs --previous node pruning (#4097, #4081, #4078, thanks @akshitj11).More language-structure coverage, resolution/dedup correctness, and a security fix for the git-hook installer.
More language-structure coverage, resolution/dedup correctness, and a security fix for the git-hook installer.
union(enum)) emit a node per variant with a case_of edge (#4050), C++ union specifiers are extracted as class-like type nodes with their members (#4052), VB.NET enum members link via case_of instead of contains (which also stops a member named like a type binding as a constructor) (#4054), and Pascal enumerated types and their values are extracted (#4056).$schema declaration plus a structural marker ($defs/definitions/$id) so real manifests that merely reference a schema are unaffected (#4048, #2255).import/use call scoping is now per-module rather than per-file, so an unqualified call in one module no longer resolves against another module's imports in the same file (#4058, refines #4015).module.func() call to a plainly-imported dependency now records a calls edge to that module, fail-closed (receiver-shadowing and non-unique bindings are skipped, builtins and unresolved locals are never fabricated) (#4043, #3793, thanks @oleksii-tumanov).<script> blocks to the AST pass (masking the template and style, preserving line numbers), so the markup no longer produces a parse error that dropped every symbol (#3984, #3928, thanks @Agnik47).isset, empty, list, eval, ...) no longer bind as calls to a user method that happens to share the name (#3975, #3830, thanks @Cintu07).graphify path and the MCP shortest_path tool resolve a path::symbol or raw node-id endpoint to the exact node before falling back to fuzzy scoring, and refuse an ambiguous endpoint instead of silently picking one (#3935, #3913, thanks @bercedev).graphify no longer indexes its own installed skill folders and whole-written rule/hook files when scanning a project, keyed on the exact install locations so a user's own graphify-named folder is not skipped (#4062, #4057, thanks @Mpasha17).graphify hook install refuses a core.hooksPath that resolves outside the repository (resolving both sides, symlink-safe), falling back to the in-repo .git/hooks instead of writing an executable outside the checkout; legitimate in-repo custom hook paths, linked worktrees, and submodules still work (#3919, #3869, CWE-22, thanks @nothariharan).Intra-class call binding across five languages, new language-structure coverage, and a batch of resolution/build/cache fixes.
Intra-class call binding across five languages, new language-structure coverage, and a batch of resolution/build/cache fixes.
self/this/super member calls now bind to the caller's own class chain instead of the file-wide last-definition, across Python (self./cls./super(), nearest ancestor in the in-file MRO) (#4011), JavaScript/TypeScript (this.m() to the caller's own class; super.m() fails closed since the extends chain is not known at that pass) (#4012), Swift (self/super, class vs struct/extension aware) (#4030), and Ruby (self-sends within the class chain, complementing the paren-less self-send extraction from 0.9.74) (#4031) — all thanks @Cintu07. Multiple-inheritance ties and unknown/external ancestors fail closed (no fabricated edge).case_of) (#4025), PHP enum cases (pure and backed) with case_of edges (#4026), Elixir defmacro/defmacrop/defguard/defguardp definitions (#4027), and Rust macro_rules! definitions with local invocation resolution (std macros like println! fail closed, no fabrication) (#4028).val/var type annotations now emit references edges (#4036, #2054), type alias/definition right-hand sides are walked (including opaque type and match types) (#4037, #2049), and context bounds (def f[A: Ordering]) resolve to references edges (#4038, #2046).import/use, scoped per module and fail-closed when no in-scope module defines the name (fixes a large god-node from corpus-wide bare-name binding) (#4015, thanks @Ayushraj06-bit).python3 build.py, node build.js, "$PYTHON" stage.py) is now recorded as an invokes edge; a $VAR/path command word is not mistaken for an interpreter (#4007, thanks @ayushcodes10).part files keep their own file node linked to the library (#4013, #4008), and a configurable import/export (import 'a.dart' if (...) 'b.dart';) now links every URI branch, not just the default (#4003, #4002) — thanks @brlumen.calls edges; one split partial class anywhere in a repo used to erase every recursive self-loop graph-wide (#4017, thanks @rohit-jsfreaky).graphify path (CLI and the MCP shortest_path tool) now routes through a contains edge back out to a symbol's file, so a cross-file dependency that must pass through a shared symbol is found instead of reporting no path (#4004, #3878, thanks @ayushcodes10).stat-index.json with only its own files instead of pooling them into the first root's file (#4005, #3989, thanks @ayushcodes10).merge-graphs --previous <merged-graph.json> restores the previous merged community assignment by node id, so cluster/label reuse stays stable across re-merges; a malformed --previous file now errors cleanly instead of crashing (#4006, #3858, thanks @ayushcodes10).cluster-only/label no longer drop parallel edges (two different relations between the same pair) when reloading and rewriting a graph; preserved links track node-id remaps so none are silently dropped on a legacy graph (#4010, #3999, thanks @ayushcodes10).num_ctx setting is merged into extra_body instead of replacing it, so a GRAPHIFY_DISABLE_THINKING body set on the same backend is no longer silently clobbered (#4029, #3988, thanks @Agnik47).graph.json path when GRAPHIFY_OUT is customized, instead of always naming the default graphify-out/graph.json (#4042, #4040, thanks @DeepanshuPal).graphify extract refuses to overwrite an existing graph with a dedup-shrunk one unless --allow-dedup-shrink is passed; the refusal reports the actual number of nodes dedup merged (#4014, #3774, thanks @SrijanSriv).