#1690: the installed skill tells an agent to pass its absolute working * directory (or the list_projects name whose root_path contains it) as * `project`, never a guessed repo or folder name. A path-shaped project used to * be turned into the path-DERIVED name only, so it missed a checkout indexed * under an explicit name and every directory below an indexed root: the agent * got "project not
| 9357 | * called; the deepest owning root wins, and two owners of one root are never |
| 9358 | * guessed between. */ |
| 9359 | static char *i1690_search(cbm_mcp_server_t *srv, const char *project) { |
| 9360 | char args[CBM_SZ_4K]; |
| 9361 | snprintf(args, sizeof(args), "{\"project\":\"%s\",\"name_pattern\":\".*_fn_1690\"}", project); |
| 9362 | return cbm_mcp_handle_tool(srv, "search_graph", args); |
| 9363 | } |
| 9364 | |
| 9365 | static char *i1690_index(cbm_mcp_server_t *srv, const char *repo, const char *name) { |
| 9366 | char args[CBM_SZ_4K]; |
no test coverage detected