Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1295 commits
Select commit Hold shift + click to select a range
60b0d7a
fix(affected): a --filter glob matches whole names, from any folder b…
colbymchenry Oct 29, 2026
9f379af
fix(node): every language and folder of an overloaded name shows in c…
colbymchenry Oct 30, 2026
c12a7b6
fix(explore): Chinese, Japanese and Korean names reach explore, its F…
colbymchenry Oct 30, 2026
37052b1
fix(go): a package-level var or const named in uppercase is exported …
colbymchenry Oct 30, 2026
407ec4f
chore: keep the kernel's vendored grammars out of GitHub's language s…
colbymchenry Oct 30, 2026
b700a3e
fix(python): a parameter or local named like an imported module is no…
colbymchenry Oct 30, 2026
3a4cd3b
fix(ruby): calls to `!`/`?` methods and calls on what `.new` made lin…
colbymchenry Oct 30, 2026
4e7a221
chore(deps): take the security fixes for devalue and postcss, drop an…
colbymchenry Oct 30, 2026
1941caf
fix(add-lang): the extraction check finds codegraph's npm shim on Win…
colbymchenry Oct 30, 2026
2514467
fix(jvm): a dotted supertype names its nested type, and a Kotlin obje…
colbymchenry Oct 30, 2026
19b74d1
fix(deps): read .gitignore rules the way git does, with ignore 7.0.14…
colbymchenry Oct 30, 2026
6d3804c
fix(resolution): C, C++ and Objective-C rank as one language, and a l…
colbymchenry Oct 30, 2026
cdfa31b
fix(ruby): a call on an instance variable that initialize types links…
colbymchenry Oct 30, 2026
7021de5
fix(rust): calls through a type a path or a use names reach that type…
colbymchenry Oct 30, 2026
bc9291a
fix(java): a call on a value a type holds in a static field reaches t…
colbymchenry Oct 30, 2026
29ce014
fix(lock): only one process takes over a stale write lock (#3056)
colbymchenry Oct 30, 2026
80f6b50
fix(sync): a tsconfig, jsconfig or go.mod change re-resolves the impo…
Oct 30, 2026
d139865
fix(db): processes opening an index that needs a migration all open i…
colbymchenry Oct 30, 2026
6644925
fix(sync): a barrel whose re-export points elsewhere re-links its imp…
Oct 30, 2026
e431491
fix(mcp): a session whose host stops reading its output shuts down cl…
colbymchenry Oct 30, 2026
2d98c1b
fix(sync): a call left with one candidate links after a delete or a r…
inth3shadows Oct 30, 2026
4b0f72b
fix(sync): a skipped file that now indexes re-links its importers
inth3shadows Oct 30, 2026
6177692
fix(astro,svelte): a self-closing <script /> no longer swallows the n…
maxmilian Oct 30, 2026
ed6b88e
fix(js): an export default line inside a template literal no longer n…
colbymchenry Oct 30, 2026
cc17978
fix(rust): a module a #[path] attribute loads is the module that decl…
colbymchenry Oct 30, 2026
f67eafc
fix(search): a pasted call like leaf(entry) finds both names instead …
colbymchenry Oct 30, 2026
cb7fb61
fix(docs): agent and command lists match the code; worktree warning d…
colbymchenry Oct 30, 2026
de0a4eb
fix(vue): a self-closing <script /> no longer swallows the next scrip…
colbymchenry Oct 30, 2026
fd57eaa
fix(mcp): a tools/call whose arguments aren't an object gets invalid …
colbymchenry Oct 30, 2026
063708b
fix(pascal): Delphi chained calls and method pointers follow declared…
colbymchenry Oct 30, 2026
5526e33
fix(status): recommend a re-index when package.json alone adds or dro…
inth3shadows Oct 30, 2026
1c40e34
fix(mcp): a projectPath naming a file resolves through its directory
maxmilian Oct 30, 2026
59eb0d2
fix(resolution): an import no longer lands on a same-named method of …
inth3shadows Oct 30, 2026
fa03fa6
fix(callers): list every call site of a caller, and a function that c…
colbymchenry Oct 30, 2026
0d7480f
fix(cpp): an overload chosen by arguments that call it again no longe…
JosefAschauer Oct 30, 2026
03c10ad
ci(site): move the site deploy off the Node 20 action runtime (#3048)
colbymchenry Oct 30, 2026
910e9bd
fix(site): agent lists include GitHub Copilot, and Codex notes its ID…
colbymchenry Oct 30, 2026
a3e9e76
fix(explore): Flow reaches a named symbol a shorter route gets to fir…
colbymchenry Oct 30, 2026
a0c6c1b
fix(liquid): a variable named with a hyphen is indexed under its whol…
colbymchenry Oct 30, 2026
3f66df3
docs: add a contributing guide and a documentation index (#3081)
colbymchenry Oct 30, 2026
cd04b21
fix(python): a base's type argument is no supertype, so Repo.save() i…
JosefAschauer Oct 30, 2026
17d5426
feat(files): list a project's files by the package that owns them (#3…
colbymchenry Oct 30, 2026
22cf7d3
fix(watch): a watch callback that throws no longer ends the host's pr…
colbymchenry Oct 30, 2026
f4c4dae
feat(mcp): the server gives hosts its title and icon (#3095)
colbymchenry Oct 30, 2026
7889da6
feat(status): show files parsed beside files found, and add --strict …
colbymchenry Oct 30, 2026
47526d2
feat(serve): --no-telemetry turns telemetry off for one MCP server entry
Oct 30, 2026
9bfdd09
feat(cli): codegraph cycles lists the files that import each other in…
colbymchenry Oct 30, 2026
3fca009
fix(python): a parameterized base links its class, like class Leaf(Ba…
JosefAschauer Oct 30, 2026
08b187a
feat(cli): codegraph implementations <name> lists the types that impl…
Oct 30, 2026
27c904b
fix(python): a base list wrapped over several lines is read whole
JosefAschauer Oct 30, 2026
fb71a9f
feat(init): --local-only keeps .codegraph/ out of git entirely (#3104)
colbymchenry Oct 30, 2026
1739538
feat(sync): CODEGRAPH_SYNTH_MIN_INTERVAL_MS bounds how often live syn…
Oct 30, 2026
274b43c
fix(python): a base imported from outside the project is not a projec…
colbymchenry Oct 30, 2026
b1e6c97
test: move the test workspace to Vitest 4 and align the Vite toolchain
danusha2345 Oct 30, 2026
bea5e20
fix(python): a class with PEP 695 type parameters reads its base list
JosefAschauer Oct 30, 2026
002dd4d
feat(frameworks): CodeIgniter 3 routes, and calls through what $this-…
colbymchenry Oct 30, 2026
61e1621
feat(installer): nine more agents: Bob, Droid, Windsurf, Qwen, dsh, G…
colbymchenry Oct 30, 2026
c0b4906
fix(python): a class-name call doesn't follow a base imported from ou…
colbymchenry Oct 30, 2026
d494e43
fix(graph): a path search keeps one predecessor per node, so it stays…
Oct 30, 2026
a287056
feat(drupal): services, plugin definitions and #[Hook] methods are pa…
colbymchenry Oct 30, 2026
446d08c
feat(nextjs): a route links to the proxy that runs before it (#3119)
colbymchenry Oct 30, 2026
0603ad9
fix(cli): sync warns about an index from an older engine, and still runs
bompus Oct 30, 2026
737ee96
feat(mcp): warn once when a project's index predates the running engine
cbeaulieu-gt Oct 30, 2026
0410b31
fix(cli): after an upgrade, status and the reminder name only codegra…
colbymchenry Oct 31, 2026
b6ea617
feat(cli): files --json marks test files, with --tests and --no-tests…
maxmilian Oct 30, 2026
cc86361
fix(graph): impact stops at a safety budget and says it was truncated
Oct 30, 2026
f92bdca
fix(mcp): idle query workers are recycled, so a burst's memory is giv…
Oct 30, 2026
84c7fba
feat(csharp): MediatR reaches a handler behind any interface, with no…
colbymchenry Oct 31, 2026
9749205
feat(razor): a view's inline script links to the JavaScript it calls …
colbymchenry Oct 31, 2026
2008e2f
feat(tauri): a frontend's invoke and events link across to the Rust t…
colbymchenry Oct 31, 2026
0f93575
fix(python): a script's import of a module in a folder above it links…
colbymchenry Oct 31, 2026
9d3abb8
fix(resolution): a flow carries on through a const that hands a funct…
colbymchenry Oct 31, 2026
6ad8bec
perf(cli): read commands no longer load the indexing code, and start …
colbymchenry Oct 31, 2026
a0174ce
fix(c,cpp): a struct links the types its members are declared with (#…
colbymchenry Oct 31, 2026
d087b94
perf(resolution): read C++ names and receiver types with one pattern …
colbymchenry Oct 31, 2026
aaba929
perf(resolution): read a Rust or Java reference's line once, not once…
colbymchenry Oct 31, 2026
f76b468
perf(resolution): strip comments by slices, not an array of character…
colbymchenry Oct 31, 2026
d54fc43
perf(resolution): a cache hit moves one entry, without touching the M…
colbymchenry Oct 31, 2026
fc7dd0d
perf(resolution): look for a JS binding only where a mention of the n…
colbymchenry Oct 31, 2026
195faa9
perf(resolution): resolver workers keep their young generation to 48 …
colbymchenry Oct 31, 2026
1b0e351
perf(resolution): a full index detects frameworks once, and remembers…
colbymchenry Oct 31, 2026
fe783cb
fix(cli): a temp folder on a missing drive no longer hangs every comm…
colbymchenry Oct 31, 2026
d87ec36
build: the built JavaScript carries no comments (#3153)
colbymchenry Oct 31, 2026
0576044
fix(python): a script's import of a module beside it in a package fol…
colbymchenry Oct 31, 2026
4499d00
fix(js,ts): a declare module answers its own package, behind a real m…
colbymchenry Oct 31, 2026
3ea6d23
fix(mcp): a quiet pool keeps one trimmed worker, so the next call sta…
colbymchenry Nov 1, 2026
9c5cf97
fix(js,ts): a function inside an object literal's method is a local, …
colbymchenry Nov 1, 2026
39fc083
fix(js,ts): a member of a required or default-imported module is that…
colbymchenry Nov 1, 2026
206449b
fix(python): a dotted chain through an imported class links its last …
colbymchenry Nov 1, 2026
2393ea2
fix(ts): a receiver typed by a type alias calls the class the alias n…
colbymchenry Nov 1, 2026
6473f60
fix(flow): a Flow library's declarations are globals of the files Flo…
colbymchenry Nov 1, 2026
3bd9949
fix(js,ts): a package import follows the page, and stops at a monorep…
colbymchenry Nov 1, 2026
14c25e3
fix(php): a receiver reaches the class PHP means, through its real pa…
colbymchenry Nov 1, 2026
087de4c
fix(ruby): a call follows a class's real ancestors, in Ruby's order (…
colbymchenry Nov 1, 2026
b23c880
fix(c): a function that writes a macro before a block still uses the …
colbymchenry Nov 1, 2026
cb1e13d
fix(c,cpp): a member whose type a macro renames links what the macro …
colbymchenry Nov 1, 2026
79c25b7
fix(objc): a struct links the types its members are declared with (#3…
colbymchenry Nov 1, 2026
9191ab6
fix(python): a call on an element of a collection links to the projec…
colbymchenry Nov 1, 2026
e651b87
fix(index): a sparse checkout no longer reads the files it leaves out…
colbymchenry Nov 1, 2026
092e6cf
fix(csharp): type arguments and keyword types decide what a name mean…
colbymchenry Nov 1, 2026
5cd8a9a
fix(js): a file that gives an object a method itself takes no lone gu…
colbymchenry Nov 1, 2026
d2e0389
fix(status): a widened or narrowed sparse checkout shows in status (#…
colbymchenry Nov 1, 2026
4b5cb19
perf(cli): V8's new space stays at 16 MB a side, so a sync peaks wher…
colbymchenry Nov 1, 2026
3b37fb0
perf(index): start the parse workers a project needs, and let them pa…
colbymchenry Nov 1, 2026
3ee5994
perf(db): read node rows as arrays, and a source file through one ope…
colbymchenry Nov 1, 2026
1f188da
perf(cpp): read C and C++ text by char codes, and ask each question o…
colbymchenry Nov 1, 2026
221d80c
fix(rust): a use through a module with a file per cfg reaches the ite…
colbymchenry Nov 1, 2026
608487e
fix(go): an implementer's methods must take and return the interface'…
colbymchenry Nov 1, 2026
45ea680
fix(swift): a closure reaches the overload that takes a function, a v…
colbymchenry Nov 1, 2026
be06c5e
fix(java): a call's arguments pick its overload, and a lambda's param…
colbymchenry Nov 1, 2026
fab65e9
fix(java): what a class inherits doesn't depend on resolve order, or …
colbymchenry Nov 1, 2026
c344366
fix(java): reading another class's constant doesn't read the file's o…
colbymchenry Nov 1, 2026
41587d3
fix(kotlin): a chain reads through a holder of its type argument (#3190)
colbymchenry Nov 1, 2026
59bfe6d
fix(kotlin): a Multiplatform import reaches what the caller compiles …
colbymchenry Nov 1, 2026
afa1e14
perf(resolution): resolver workers take the main thread's C++ project…
colbymchenry Nov 1, 2026
1548371
perf(resolution): run the resolver workers the main thread can keep b…
colbymchenry Nov 1, 2026
4e96d75
fix(resolution): a large run waits for its pool, so the main thread d…
colbymchenry Nov 1, 2026
6aa358c
fix(java): a lambda or method reference reaches the overload that tak…
colbymchenry Nov 1, 2026
47a9c7d
fix(python): whether a name is a local goes by the line reading it, n…
colbymchenry Nov 1, 2026
483a098
fix(ruby): a call on a parameter takes its class from the method's ca…
colbymchenry Nov 1, 2026
f72c9d2
fix(resolution): what a resolver keeps goes when what it was read fro…
colbymchenry Nov 1, 2026
01a4931
fix(cpp): a call through a template parameter links to each class wri…
colbymchenry Nov 15, 2026
329dd12
fix(resolution): what a walk answers doesn't depend on who asked firs…
colbymchenry Nov 16, 2026
9bc50cf
fix(release): notes too long for a GitHub release are cut with a link…
colbymchenry Nov 16, 2026
b300cce
docs(changelog): 1.6.3's notes, condensed to fit a GitHub release, wi…
colbymchenry Nov 16, 2026
22c1104
perf(resolution): blank string contents by slices, not an array of ch…
colbymchenry Nov 16, 2026
73d5795
fix(csharp): an extension method's overload is the one its arguments …
colbymchenry Nov 16, 2026
b0779f7
fix(php): anonymous classes, imported class names and Eloquent locals…
colbymchenry Nov 16, 2026
2b5adb3
fix(rust): a call through a Pin onto a type parameter reaches its bou…
colbymchenry Nov 16, 2026
932a7fa
fix(ruby): a class name is the class Ruby's lookup finds, as the call…
colbymchenry Nov 16, 2026
94c1c0e
fix(sync): a sync where git shows no package manifest came or went sk…
colbymchenry Nov 16, 2026
1f569a6
fix(sync): a one-off sync no longer keeps every file framework detect…
colbymchenry Nov 16, 2026
147fe29
fix(ts): callback parameters, call results and type guards type the r…
colbymchenry Nov 16, 2026
3212a99
release: 1.6.3 (#3323)
colbymchenry Nov 17, 2026
d19748f
ci(release): build the macOS kernel on macos-15 (#3324)
colbymchenry Nov 17, 2026
44098de
docs(readme): cover what 1.6.3 adds (#3325)
colbymchenry Nov 17, 2026
ef4bd05
docs(changelog): promote [Unreleased] into [1.6.3]
github-actions[bot] Nov 17, 2026
f8b3681
docs(site): document what 1.6.3 adds (#3326)
colbymchenry Nov 17, 2026
e2af414
ci(release): wait up to 30 minutes for npm to show the packages (#3328)
colbymchenry Nov 17, 2026
ffaaf6f
fix(python): import time no longer links a project function named tim…
colbymchenry Nov 17, 2026
1ddbe69
fix(rust): a call through a module that a glob use brings in links ag…
colbymchenry Nov 17, 2026
5ea5aeb
fix(sync): change detection no longer takes git's index lock (#3338)
colbymchenry Nov 18, 2026
7f6e434
fix(graph): impact reads a node's edges in one unlimited query again …
inth3shadows Nov 5, 2026
21cb169
fix(mcp): a catch-up the WAL valve stops waits before it starts again…
colbymchenry Nov 18, 2026
70853c0
fix(mcp): a direct session starts its watchdog when it first does wor…
colbymchenry Nov 18, 2026
96abf09
fix(daemon): a daemon exits once the project it serves is gone (#3356)
colbymchenry Nov 18, 2026
34ce0f4
fix(js,ts): this.m() and a local that shadows an import no longer lin…
colbymchenry Nov 18, 2026
a7fb6d8
fix(js,ts): a bare call links the declaration in scope, in a callback…
colbymchenry Nov 18, 2026
bff60e8
fix(js,ts): a namespace handed on by name, and an export * barrel, re…
colbymchenry Nov 18, 2026
8184f02
fix(ts): a local's call result and an interface's property decide its…
colbymchenry Nov 18, 2026
ac6149c
fix(js,ts): a call two fields deep from this links no property or bui…
colbymchenry Nov 18, 2026
e10d392
fix(install): upgrade from the home folder no longer rewrites agents'…
colbymchenry Nov 18, 2026
fd2c36b
fix(cli): init says when the last index run didn't finish, instead of…
colbymchenry Nov 18, 2026
619b5a6
fix(cli): callers, callees and impact warn when a file's lines change…
colbymchenry Nov 18, 2026
d2facd7
fix(js,ts): a workspaces entry outside the project no longer names a …
colbymchenry Nov 18, 2026
e4cc966
fix(status): report changes to gitignored source that include brings …
colbymchenry Nov 18, 2026
460b4f2
fix(cli): a run killed by a signal names it and exits like a shell, n…
colbymchenry Nov 18, 2026
0ae7639
fix(synthesis): a test's request reaches only its own app's routes (#…
colbymchenry Nov 18, 2026
bbaf718
fix(sync): a call through an imported object follows an edit to its m…
colbymchenry Nov 18, 2026
adad315
fix(php): a call on a new object, like (new Foo())->bar(), links that…
colbymchenry Nov 18, 2026
8fb8b91
fix(laravel): a route's controller is the class the routes file impor…
colbymchenry Nov 18, 2026
bc81faa
fix(java): a call reaches the same-named class the calling file can s…
colbymchenry Nov 18, 2026
3e4d869
fix(kotlin): an extension on an aliased library type links from its c…
colbymchenry Nov 18, 2026
7e57aa1
fix(php): a method called in another letter case links to its declara…
colbymchenry Nov 18, 2026
b4be1c7
fix(php): a $str{0} string offset no longer drops the function around…
colbymchenry Nov 18, 2026
1e590ea
fix(php): a require or include inside a function links the function t…
colbymchenry Nov 18, 2026
98d722a
fix(mcp): count Rust #[cfg(test)] and tests.rs callers as tests in bl…
maxmilian Nov 11, 2026
d5f883c
fix(mcp): read a Rust file as a declared module only by a name Rust c…
colbymchenry Nov 18, 2026
b286279
fix(rust): a method passed as a value through its path references it
inth3shadows Nov 17, 2026
723781d
fix(rust): the native kernel keeps a function passed through its path…
colbymchenry Nov 18, 2026
be3a0e0
fix(rust): a call no longer links a same-named method its name alone …
colbymchenry Nov 18, 2026
4fb11bc
fix(rust): a call written inside format!, assert_eq! or vec! links (#…
colbymchenry Nov 18, 2026
0ac95cb
fix(python): a call to an overloaded function reaches the def that ru…
colbymchenry Nov 18, 2026
905b1fd
fix(python): self.x() on an attribute no longer links another file's …
colbymchenry Nov 18, 2026
962e879
fix(python): a builtin like TimeoutError no longer links a project na…
colbymchenry Nov 18, 2026
195462e
fix(python): a call of a name the code around it binds links no modul…
colbymchenry Nov 18, 2026
5969542
fix(python): a local built through its module or bound by with has it…
colbymchenry Nov 18, 2026
6f0fa22
fix(python): a local bound from a call is typed by what the callee re…
colbymchenry Nov 18, 2026
d2f3f07
fix(python): a from-import inside a function applies to that function…
colbymchenry Nov 18, 2026
ddac122
fix(js): an emitted event links only to handlers on the same emitter …
colbymchenry Nov 18, 2026
bb0f254
fix(js): a constructor's prototype and static functions are its metho…
colbymchenry Nov 18, 2026
3b86072
fix(js,ts): a call written on this never links a const, a require or …
colbymchenry Nov 18, 2026
99014e2
fix(swift): read a type's inheritance from its own header, not a nest…
colbymchenry Nov 18, 2026
d509d2f
fix(csharp): link a call on what a bare method call returns (#3388)
colbymchenry Nov 18, 2026
1a161dc
fix(aspnet): name attribute routes the way ASP.NET Core serves them (…
colbymchenry Nov 18, 2026
70decd1
fix(csharp): match an extension method by the type its this parameter…
colbymchenry Nov 18, 2026
dc53ff3
fix(go): link a method called on new(T) or make(T) to T's method (#3385)
colbymchenry Nov 18, 2026
da7089d
fix(csharp): link calls made through ?. and !. receivers (#3387)
colbymchenry Nov 18, 2026
9253fea
fix(csharp): count a method group through a receiver as a use of the …
colbymchenry Nov 18, 2026
7efa65b
fix(swift): read Swift with tree-sitter-swift 0.7.4 (#3392)
colbymchenry Nov 18, 2026
46450bc
fix(js,ts): a local declared after a comma or beside a default shadow…
colbymchenry Nov 18, 2026
b2858dd
fix(js): a member a required project module doesn't have links no oth…
colbymchenry Nov 18, 2026
3d27a98
fix(tier): a call to another host's URL links none of the project's o…
colbymchenry Nov 18, 2026
6e03cda
fix(js,ts): a standard global a module doesn't import links no other …
colbymchenry Nov 18, 2026
5fd2d01
fix(resolution): a relative require of a folder loads its package.jso…
maxmilian Oct 31, 2026
19f906a
fix(js): a variable holding a required module's call result is not th…
colbymchenry Nov 18, 2026
df20853
fix(resolution): an undeclared package that is installed is the packa…
inth3shadows Nov 12, 2026
cc17b69
fix(extraction): a parse that never ends is cancelled, so init exits …
colbymchenry Nov 18, 2026
f2fad8c
fix(resolution): a folder's package.json main is read only for JS/TS,…
maxmilian Nov 18, 2026
6e4fd76
feat(prompt-hook): the hook asks the project's running daemon for its…
Nov 18, 2026
5a8f672
fix(prompt-hook): a daemon that can't start the explore at once says …
colbymchenry Nov 18, 2026
584c03f
fix(prompt-hook): the daemon proves it runs as this user before the h…
colbymchenry Nov 18, 2026
101059a
docs(changelog): the prompt hook entry for the daemon path, with credit
colbymchenry Nov 18, 2026
ff5e73a
fix(mcp): a session attaches only to a daemon that proves it runs as …
colbymchenry Nov 18, 2026
51747b1
test(installer): temp folders by their real path, so the installer te…
colbymchenry Nov 18, 2026
b66de29
fix(js,ts): index the functions of a default-exported object, like a …
colbymchenry Nov 18, 2026
c12cf61
fix(extraction): read declaration-only C++ .h headers as C++ (#3401)
colbymchenry Nov 18, 2026
532a365
fix(cli): affected stops at a process boundary unless asked with --cr…
colbymchenry Nov 18, 2026
c4ecf34
fix(mcp): OpenCode's instructions name the tools the way OpenCode lis…
colbymchenry Nov 18, 2026
8e38e7c
fix(php): an include built from __DIR__ or dirname(__FILE__) links it…
inth3shadows Nov 17, 2026
6dea2fb
fix(php): the native kernel links includes built from __DIR__ or dirn…
colbymchenry Nov 18, 2026
e879216
feat(frameworks): Elysia (Bun) routes, with prefixes composed across …
colbymchenry Nov 19, 2026
9f0ed70
fix(dart): index classes with Dart 3.13 primary constructors, on a ne…
colbymchenry Nov 19, 2026
1f1bfaa
chore(extraction): bump EXTRACTION_VERSION to 29 (#3411)
colbymchenry Nov 19, 2026
67178d8
feat(php): link includes built from $_SERVER['DOCUMENT_ROOT'] under a…
colbymchenry Nov 19, 2026
eb992b5
feat(php): work out the web root from the project's own includes when…
colbymchenry Nov 19, 2026
69bbb38
fix(kotlin): read calls named after a modifier keyword, on a newer gr…
colbymchenry Nov 19, 2026
337a41f
feat(explore): answer a one-symbol question with its definition and e…
colbymchenry Nov 20, 2026
ee73cec
release: 1.6.4 (#3424)
colbymchenry Nov 20, 2026
20d6e93
docs: the one-symbol explore answer in the README, and a command name…
colbymchenry Nov 20, 2026
b439257
docs(site): document what 1.6.4 adds (#3425)
colbymchenry Nov 20, 2026
461a5d8
docs(changelog): promote [Unreleased] into [1.6.4]
github-actions[bot] Nov 20, 2026
d8b7434
fix(bundle): the Git Bash launcher hands node.exe a Windows path (#34…
colbymchenry Nov 23, 2026
e54fad7
fix(mcp): an explicit CODEGRAPH_MCP_TOOLS allowlist lists every named…
nchrisr Nov 23, 2026
6c5366d
fix(callers): callers outside tests come before tests, so the limit n…
blairjordan Nov 23, 2026
ec32c76
feat(mcp): codegraph_callers and codegraph_callees page past limit wi…
blairjordan Nov 23, 2026
50587b1
fix(go): a local given a chain that starts with new(T) or a literal h…
maxmilian Nov 23, 2026
b550b65
fix(go): resolve local types from multiline method chains (#3455) (#3…
zhangkom Nov 23, 2026
66d42a5
fix(go): a chain broken after its `.`s that starts with new(T) or a l…
colbymchenry Nov 23, 2026
06803b2
fix(pascal): show implementation bodies for declared routines (#3453)…
yang0228 Nov 23, 2026
f5a2cd7
fix(pascal): calls reach the overload their arguments fit; more imple…
colbymchenry Nov 23, 2026
358c273
fix(kotlin): calls written in a bodied class's header link from the c…
colbymchenry Nov 23, 2026
1037821
perf(resolution): start the resolver pool sooner near the gate, and i…
colbymchenry Nov 23, 2026
8763586
fix(pascal): a bare call links only what its scope declares, a with s…
colbymchenry Nov 23, 2026
0442e32
fix(kotlin): a class implements the interface it delegates `by`; supe…
colbymchenry Nov 23, 2026
7fbc66b
fix(pascal): index class and record helpers as types with methods (#3…
colbymchenry Nov 23, 2026
f4c37e4
fix(pascal): a bare call links what its scope declares, across a unit…
colbymchenry Nov 23, 2026
b9285eb
fix(pascal): an inherited call links the ancestor method it runs (#3477)
colbymchenry Nov 23, 2026
73c6cff
fix(pascal): a routine whose {$ifdef} branches each open a block ends…
colbymchenry Nov 23, 2026
3c23086
fix(rust): a call on a closure's parameter links the method of the ty…
colbymchenry Nov 27, 2026
d1679fe
fix(index): say which source files were left out for their size (#3503)
colbymchenry Nov 27, 2026
03383f9
perf(index): a large file indexes in the time its size asks for; inde…
colbymchenry Nov 28, 2026
f84c70a
fix(objc): read a React Native extern shim as the implementation it e…
colbymchenry Nov 28, 2026
2ac6a59
fix(tanstack): read the root of a code-based route tree in each form …
colbymchenry Nov 28, 2026
688385a
release: 1.6.5 (#3508)
colbymchenry Nov 28, 2026
aedff9a
docs(changelog): promote [Unreleased] into [1.6.5]
github-actions[bot] Nov 28, 2026
c876ec8
chore(upstream): merge upstream CodeGraph v1.6.5 into the VBA fork
ardelperal Nov 29, 2026
e4ecff6
chore(release): prepare 3.1.0
ardelperal Nov 29, 2026
40e4603
test(upstream): pin fork database migration and kernel kind order; re…
ardelperal Nov 29, 2026
5be5bcc
fix(bundle): keep the bundle symlink-free and align bundle tests with…
ardelperal Nov 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 7 additions & 4 deletions .claude/skills/add-lang/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,14 @@ still be unusable:**
```bash
node scripts/add-lang/check-grammar.mjs <lang> path/to/valid-sample.<ext>
```
It prints the grammar's ABI version and parses a valid sample many times in a
multi-grammar runtime. If it **FAILs** (ERROR trees on valid code — an old ABI
It prints the grammar's ABI version and runs it the way indexing does: in a
child process with indexing's V8 flags, beside the vendored grammars, parsing a
valid sample many times and once at the 1 MiB file-size limit. If it **FAILs**
(ERROR trees, or later parses giving a different tree, on valid code — an old ABI
corrupting the shared WASM heap, which silently drops nested calls/imports on
every file after the first; e.g. the tree-sitter-wasms **Lua** grammar is ABI 13
and fails), do NOT use that wasm. **Vendor a newer (ABI 14/15) build instead:**
and fails — or the process running it crashing or hanging, even after every
parse finished), do NOT use that wasm. **Vendor a newer (ABI 14/15) build instead:**
```bash
npm pack @tree-sitter-grammars/tree-sitter-<lang> # often ships a prebuilt *.wasm
# or build one: npx tree-sitter build --wasm (needs Docker/emscripten)
Expand Down Expand Up @@ -131,7 +134,7 @@ npm run build # tsc + copy-assets (copies any vendored *.wasm into di
```
Index a small sample repo and check extraction:
```bash
( cd <sample-repo> && codegraph init -i )
( cd <sample-repo> && codegraph init )
node scripts/add-lang/verify-extraction.mjs <sample-repo> <lang>
```
`verify-extraction.mjs` fails (exit 1) if the language isn't detected or only
Expand Down
6 changes: 6 additions & 0 deletions .claude/skills/agent-eval/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ scripts/agent-eval/audit.sh <VERSION> <repo-name> <repo-url> "<question>" <MODE>
codegraph-tool calls, duration, **total cost**.
- Interactive (`parse-session.mjs`): the `VERDICT: codegraph_explore used Nx |
Read N | Grep/Bash N` and `TOKENS:` lines.
- Both paths also print the three feedback metrics — residual context occupancy,
explore sufficiency, allocation efficiency — and a headless A/B ends with a
side-by-side `ARM COMPARISON` table. Report that table, and check its
contamination row first: `CLI calls that RETURNED output` > 0 means the arm
reached codegraph through Bash and its numbers are void. How to read the rest:
`docs/benchmarks/agent-eval-feedback-metrics.md`.

Lead with cost + tool/Read counts — they are the reliable signals; raw token
in/out are confounded by subagent delegation and prompt caching. State whether
Expand Down
2 changes: 1 addition & 1 deletion .cursor/rules/codegraph.mdc
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ Reach for `codegraph_explore` before grep/find or Read for any **structural** qu

### If `.codegraph/` doesn't exist

The MCP server returns "not initialized." Ask the user: *"I notice this project doesn't have CodeGraph-VBA initialized. Want me to run `codegraph-vba init` to build the index?"*
The MCP tools say the project isn't indexed. Indexing is the user's decision: tell them they can run `codegraph-vba init` to build the index, but don't run it yourself.
<!-- CODEGRAPH_END -->
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ dist
.kommandr
docs
assets
codegraph-kernel/target
codegraph-kernel/prebuilds
release
9 changes: 9 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Third-party tree-sitter grammars that the native kernel compiles from source
# (codegraph-kernel/build.rs). Keep all of them out of GitHub's language
# statistics, and collapse only the generated parser.c files in pull-request
# diffs. The hand-written scanner.c files are where C gets patched or added,
# so they stay expanded for review.
# The /** is needed: an attributes pattern that names a directory does not
# reach the files inside it.
codegraph-kernel/grammars/** linguist-vendored
codegraph-kernel/grammars/**/parser.c linguist-generated
6 changes: 3 additions & 3 deletions .github/workflows/deploy-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Build with Astro
uses: withastro/action@v3
uses: withastro/action@v6
with:
path: site
node-version: 22
Expand All @@ -40,4 +40,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v5
107 changes: 102 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,63 @@ name: Release
# GitHub Releases is the required channel: install.sh / install.ps1 and
# `codegraph-vba upgrade` only need the release assets. Step 5 runs only when the
# NPM_TOKEN secret is set, and an npm failure never fails the release (#326).
# (Upstream CodeGraph moved to OIDC trusted publishing; this fork keeps the
# optional NPM_TOKEN channel, plus npm provenance via the id-token permission.)
#
# Since the v1.6.5 upstream sync the native extraction kernel is built by the
# `kernel` job below and shipped inside every bundle; the viewer (`ui`
# workspace) is installed by `pnpm install` and built by `npm run build`.
on:
workflow_dispatch: {}

permissions:
contents: write # create the GitHub Release + tag, push the CHANGELOG promote
contents: write # create the GitHub Release + tag, push the CHANGELOG promote
id-token: write # OIDC token for npm --provenance and Sigstore signing
attestations: write # store the GitHub artifact attestations for the bundles

jobs:
# Native extraction-kernel prebuilds (docs/design/rust-kernel-migration-plan.md).
# As of 1.5.0 the kernel is the release's HEADLINE, not an optional extra, so
# this matrix is REQUIRED: a failed kernel build blocks the release instead of
# silently shipping wasm-only bundles under a Rust-engine banner. Per-file
# wasm fallback still exists at runtime for erroring files and unsupported
# platforms — but every published bundle must carry its .node. Note the
# vendored-grammar-C languages (kotlin/lua/scala/dart) compile parser.c via
# the cc crate, so each leg needs its platform C toolchain (runner images
# ship one). (Runner images ship rustup; build-kernel.sh
# adds each cross target itself.)
kernel:
strategy:
fail-fast: false
matrix:
include:
- runner: macos-15
targets: aarch64-apple-darwin x86_64-apple-darwin
- runner: ubuntu-22.04 # oldest glibc runner → widest compatibility
targets: x86_64-unknown-linux-gnu
- runner: ubuntu-22.04-arm
targets: aarch64-unknown-linux-gnu
- runner: windows-latest
targets: x86_64-pc-windows-msvc aarch64-pc-windows-msvc
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v6
- name: Build kernel prebuilds
shell: bash
run: |
for t in ${{ matrix.targets }}; do
bash scripts/build-kernel.sh --target "$t"
done
ls -R codegraph-kernel/prebuilds
- uses: actions/upload-artifact@v4
with:
name: kernel-${{ matrix.runner }}
path: codegraph-kernel/prebuilds/
if-no-files-found: error

release:
runs-on: ubuntu-latest
needs: kernel
steps:
- name: Refuse to release from a non-default branch
# The promote step below pushes the CHANGELOG back to the branch
Expand Down Expand Up @@ -66,6 +114,8 @@ jobs:
- uses: actions/setup-node@v6
with:
node-version: 22
# Writes the .npmrc that reads NODE_AUTH_TOKEN (the optional
# NPM_TOKEN channel, #326). Upstream dropped it for OIDC.
registry-url: https://registry.npmjs.org

- name: Install pnpm
Expand Down Expand Up @@ -116,6 +166,33 @@ jobs:
git push origin "HEAD:${GITHUB_REF#refs/heads/}"
fi

- name: Download kernel prebuilds
# All legs are required (see the kernel job), so every target's
# <target>/codegraph-kernel.node must be present in release/kernel/.
uses: actions/download-artifact@v4
with:
pattern: kernel-*
merge-multiple: true
path: release/kernel/

- name: Kernel contract + full walker-parity gate
# Runs EVERY kernel suite (__tests__/kernel-*.test.ts — the wire
# contract, the grammar-source parity table checks, and all 20
# languages' walker byte-parity suites incl. torture/CRLF/defer pins)
# against the freshly built linux-x64 .node. The glob keeps this gate
# current as languages are added. CODEGRAPH_KERNEL_EXPECT=1 turns a
# missing binary into a FAILURE, and a missing prebuild fails outright
# — the matrix is required, so absence here means a wiring bug.
run: |
if [ -f release/kernel/linux-x64/codegraph-kernel.node ]; then
mkdir -p codegraph-kernel/prebuilds/linux-x64
cp release/kernel/linux-x64/codegraph-kernel.node codegraph-kernel/prebuilds/linux-x64/
CODEGRAPH_KERNEL_EXPECT=1 npx vitest run __tests__/kernel-*.test.ts
else
echo "::error::linux-x64 kernel prebuild missing despite required matrix"
exit 1
fi

- name: Build all platform bundles
run: |
for t in darwin-arm64 darwin-x64 linux-x64 linux-arm64 win32-x64 win32-arm64; do
Expand All @@ -130,6 +207,18 @@ jobs:
( cd release && sha256sum codegraph-vba-* > SHA256SUMS )
cat release/SHA256SUMS

- name: Attest build provenance for release bundles
# Signed, publicly-verifiable proof that each bundle (and SHA256SUMS)
# was built by this workflow from this repo — SHA256SUMS alone only
# proves integrity, not origin, since it ships next to the bundles.
# Verify any downloaded artifact with:
# gh attestation verify <file> -R ardelperal/codegraph-vba
uses: actions/attest-build-provenance@v4
with:
subject-path: |
release/codegraph-vba-*
release/SHA256SUMS

- name: Release notes from CHANGELOG.md
# The [<version>] block was guaranteed-populated by the
# "Promote" step above, so the [Unreleased] fallback should
Expand Down Expand Up @@ -195,7 +284,10 @@ jobs:
echo "skip $name@$V (already published)"
else
echo "publishing $name@$V"
( cd "$dir" && npm publish --access public )
# --provenance: publish with an npm provenance attestation
# (needs the id-token: write permission above and the
# repository field pack-npm.sh writes into each package.json).
( cd "$dir" && npm publish --access public --provenance )
fi
done < <(find release/npm -name 'package.json' -not -path '*/node_modules/*' -not -path '*/lib/*' -not -path '*/bin/*' -exec dirname {} \; | sort -u)

Expand All @@ -211,25 +303,30 @@ jobs:
# release that had in fact shipped correctly. Only whichever package
# was published last tends to lag, so the worst case is one wait, not
# six. Do not trim this back without re-reading that run.
VERIFY_ATTEMPTS: 60
VERIFY_ATTEMPTS: 180
VERIFY_INTERVAL_SECONDS: 10
run: |
V="${{ steps.ver.outputs.version }}"
# npm publish can print success without persisting; confirm against the
# registry (with retries for propagation) so green means really shipped.
# Upstream saw npm take ~13 minutes to show an accepted package
# ("Your package is being processed"), so the per-package budget
# (VERIFY_ATTEMPTS x VERIFY_INTERVAL_SECONDS) covers 30 minutes, and
# each check uses --prefer-online so a copy in npm's local cache can't
# hide a version that's there.
while IFS= read -r dir; do
[ -d "$dir" ] || continue
name=$(node -p "require('./$dir/package.json').name")
ok=
for i in $(seq 1 "$VERIFY_ATTEMPTS"); do
if npm view "$name@$V" version >/dev/null 2>&1; then ok=1; break; fi
if npm view "$name@$V" version --prefer-online >/dev/null 2>&1; then ok=1; break; fi
echo "waiting for $name@$V to appear ($i/$VERIFY_ATTEMPTS)…"
sleep "$VERIFY_INTERVAL_SECONDS"
done
# The loop sleeps AFTER its last failed check, so without this the
# final wait is thrown away and a package that appears during it is
# reported missing — which is exactly how #307 went red.
if [ -z "$ok" ] && npm view "$name@$V" version >/dev/null 2>&1; then ok=1; fi
if [ -z "$ok" ] && npm view "$name@$V" version --prefer-online >/dev/null 2>&1; then ok=1; fi
[ -n "$ok" ] || { echo "::error::$name@$V never appeared on the registry"; exit 1; }
echo "verified $name@$V"
done < <(find release/npm -name 'package.json' -not -path '*/node_modules/*' -not -path '*/lib/*' -not -path '*/bin/*' -exec dirname {} \; | sort -u)
Expand Down
17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ dist/
.atl/
.atl-*/

# svelte-package's scratch dir (ui/ library build)
.svelte-kit/

.cmem

# IDE
Expand Down Expand Up @@ -85,3 +88,17 @@ assets/__pycache__/
assets/generate-waitlist.py

.kommandr/

# Local scratch tests (never commit)
__tests__/zz-scratch*

# linux-arm64 kernel cross-build cache (rust:1-bookworm builder)
target-linux/
.kommandr/kommandr.db
.kommandr/kommandr.db-wal
.kommandr/kommandr.db-shm

# Stray git bundles from the Windows VM transfer (a lost `:` in an scp target
# once committed three of these, 7.9 MB, into a feature branch).
*.bundle
*.gitbundle
Binary file removed .kommandr/kommandr.db
Binary file not shown.
Loading