|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## v0.11.2 — Post-audit follow-up: 4 residual precision fixes |
| 4 | + |
| 5 | +Follow-up audit on top of v0.11.1. All additive/tightening — no schema breakage. |
| 6 | + |
| 7 | +### Fixes |
| 8 | + |
| 9 | +1. **`module_overview` no longer leaks inline `#[cfg(test)]` test fns.** |
| 10 | + Name-heuristic `is_test_symbol` couldn't catch `#[cfg(test)] mod tests { #[test] fn anything_goes }` |
| 11 | + whose names don't prefix `test_`. Root fix: `get_module_exports` SQL now |
| 12 | + `WHERE n.is_test = 0` on both the explicit-exports (JS/TS) path and the |
| 13 | + fallback (Rust / Go / Python) path — AST-level flag propagates through. |
| 14 | + |
| 15 | +2. **Disambiguation suggestions carry `node_id` + `start_line`.** |
| 16 | + `resolve_fuzzy_name` and `disambiguate_symbol` suggestions now include |
| 17 | + both fields so callers can pick a specific definition when multiple |
| 18 | + same-name functions live in one file (e.g. two `fn new()` in different |
| 19 | + `impl` blocks of the same module). `disambiguate_symbol` also fires on |
| 20 | + same-file multi-def, not just cross-file collisions. |
| 21 | + |
| 22 | +3. **`find_references` gains `node_id` parameter.** Lets callers pass the |
| 23 | + `node_id` from a suggestion directly, skipping the ambiguous name-lookup |
| 24 | + step. When a name is ambiguous within one file, the tool now returns |
| 25 | + a per-definition suggestion list (with `start_line`) instead of silently |
| 26 | + merging refs across defs. |
| 27 | + |
| 28 | +4. **`find_dead_code` gets `ignore_paths` (MCP) / `--ignore` (CLI).** |
| 29 | + Shell-invoked plugin entry points (lifecycle/hook scripts in |
| 30 | + `claude-plugin/`) are not in the static AST call graph, so they surfaced |
| 31 | + as false-positive orphans. Added prefix-match exclusions with a sensible |
| 32 | + default (`["claude-plugin/"]`). Pass `ignore_paths: []` or |
| 33 | + `--no-ignore` to see the full list. Response carries `ignored_count`, |
| 34 | + `ignore_paths_applied`, `ignore_paths_defaulted` for transparency. |
| 35 | + |
| 36 | +### Docs |
| 37 | + |
| 38 | +- `plugin_code_graph_mcp.md`: hidden-5 tools now have an explicit |
| 39 | + required/optional parameter table (notably `trace_http_chain` takes |
| 40 | + `route_path`, not `route`) — users calling by name no longer need to |
| 41 | + trigger the error message to discover arg names. |
| 42 | + |
| 43 | +### Tests |
| 44 | + |
| 45 | ++4 new (+1 unit in `queries.rs`, +3 integration covering Bug #1 / Issue #3 / |
| 46 | +Bug #2). Full suite: **347 passed / 0 failed** default features, |
| 47 | +**340 passed / 0 failed** `--no-default-features`; clippy |
| 48 | +`-D warnings` clean under both feature configs. |
| 49 | + |
3 | 50 | ## v0.11.1 — 12-tool accuracy audit: 1 critical bugfix + 5 precision improvements |
4 | 51 |
|
5 | 52 | Post-audit fixes for tool output correctness. All changes are additive/tightening — |
|
0 commit comments