You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rename feign_client role to client and add http_client capability (#33)
Switch Feign role inference and flow/ranking role literals to CLIENT, add HTTP_CLIENT capability detection for @FeignClient, and update docs/tool enums to reflect ontology version 9 vocabulary. Add focused rename regression coverage for graph role/capability behavior and brownfield warn-and-drop/acceptance paths.
Co-authored-by: Cursor <cursoragent@cursor.com>
> `cross_service_resolution` in `.lancedb-mcp.yml`) — rebuild the Kuzu graph
105
105
> (`build_ast_graph.py` or `refresh_code_index`) after upgrading.
106
+
> 6.**`ontology_version` 9** renames role `FEIGN_CLIENT` to `CLIENT` and adds
107
+
> capability `HTTP_CLIENT` for `@FeignClient` interfaces — rebuild to refresh
108
+
> stored role/capability literals.
106
109
>
107
110
> Any index built before these changes must be rebuilt via
108
111
> `cocoindex update ... --full-reprocess -f` or `refresh_code_index`. Until
@@ -134,7 +137,7 @@ The DB is dropped and rebuilt from scratch on each run (Phase 1 is a full rebuil
134
137
| Tool | Purpose |
135
138
|------|---------|
136
139
|`codebase_search`| Vector / hybrid / graph-expanded search. Supports `role`, `module`, `microservice`, `package_prefix` filters, `graph_expand=true` + `expand_depth=1..3` for Kuzu-BFS fusion (RRF), and `context_neighbors=1..2` to attach adjacent chunks as `context_before`/`context_after`. Java hits return `score_components` (`distance`, `hybrid_rrf`, `role_weight`, `symbol_bonus`, `import_penalty`) so callers can see why a row ranked where it did. |
137
-
|`trace_flow`| Behavioural trace from a natural-language query. Seeds via vector search, then walks CONTROLLER -> SERVICE/COMPONENT -> FEIGN_CLIENT/REPOSITORY/MAPPER in the Kuzu graph and returns staged chains. Defaults to `follow_calls=true` (merges DECLARES+CALLS paths with INJECTS/EXTENDS/IMPLEMENTS — structural edges fill `stage_limit` first per hop, CALLS tops up the remainder); set `follow_calls=false` for type-only wiring. Defaults to `exclude_external=true` on that CALLS hop (same external FQN prefixes as `find_callees` / `expand_methods`: discovered types reached via CALLS, not the caller-only filter used by `find_callers`). |
140
+
|`trace_flow`| Behavioural trace from a natural-language query. Seeds via vector search, then walks CONTROLLER -> SERVICE/COMPONENT -> CLIENT/REPOSITORY/MAPPER in the Kuzu graph and returns staged chains. Defaults to `follow_calls=true` (merges DECLARES+CALLS paths with INJECTS/EXTENDS/IMPLEMENTS — structural edges fill `stage_limit` first per hop, CALLS tops up the remainder); set `follow_calls=false` for type-only wiring. Defaults to `exclude_external=true` on that CALLS hop (same external FQN prefixes as `find_callees` / `expand_methods`: discovered types reached via CALLS, not the caller-only filter used by `find_callers`). |
0 commit comments