Skip to content

Commit 96eef41

Browse files
prosdevclaude
andcommitted
chore: add changeset and release notes for reverse callee index
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 6daef1e commit 96eef41

File tree

3 files changed

+26
-5
lines changed

3 files changed

+26
-5
lines changed

.changeset/reverse-callee-index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@prosdevlab/dev-agent": patch
3+
---
4+
5+
Add reverse callee index to dev_refs — callers now work. Previously "No callers found" for every function because caller detection relied on semantic search (returned similar concepts, not call sites). Now uses a persisted reverse index with 4,000+ caller entries, compound keys for O(1) lookup, and class-level aggregation.

website/content/latest-version.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
*/
55

66
export const latestVersion = {
7-
version: '0.12.1',
8-
title: 'Cleaner Search Output + refs Fix',
9-
date: 'April 1, 2026',
7+
version: '0.12.2',
8+
title: 'Reverse Callee Index for dev_refs',
9+
date: 'April 2, 2026',
1010
summary:
11-
'MCP search results drop misleading scores, add result preamble, and fix dev_refs silently returning no results.',
12-
link: '/updates#v0121--cleaner-search-output--refs-fix',
11+
'dev_refs callers finally work — reverse callee index with 4,000+ entries, compound keys, class aggregation, and O(1) lookups.',
12+
link: '/updates#v0122--reverse-callee-index-for-dev_refs',
1313
} as const;

website/content/updates/index.mdx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,22 @@ What's new in dev-agent. We ship improvements regularly to help AI assistants un
99

1010
---
1111

12+
## v0.12.2 — Reverse Callee Index for dev_refs
13+
14+
*April 2, 2026*
15+
16+
**`dev_refs` callers finally work.**
17+
18+
- **Reverse callee index:** maps callee names to their callers, built at index time from scan data. 4,000+ caller entries on a typical codebase
19+
- **Compound keys:** `file:name` for TypeScript (O(1) exact match), bare names for Go/Rust/Python with secondary name index for O(1) resolution
20+
- **Single artifact:** persisted inside `dependency-graph.json` v2 — atomic write, no drift between graph and reverse index
21+
- **Class aggregation:** `dev refs "SearchAdapter"` aggregates callers across constructor + all methods
22+
- **Backward compatible:** v1 graph files load fine, callers return empty until re-indexed
23+
- Before: `dev refs "validateArgs"` → "No callers found"
24+
- After: `dev refs "validateArgs"` → 5 adapter callers listed with file paths and line numbers
25+
26+
---
27+
1228
## v0.12.1 — Cleaner Search Output + refs Fix
1329

1430
*April 1, 2026*

0 commit comments

Comments
 (0)