Kilo 7.8.1: semantic_search not registered even though indexing is complete and permission is allowed
Summary
In Kilo Code 7.8.1, Codebase Indexing completes successfully and semantic_search is explicitly allowed for the active code agent, but the tool is not registered in the agent's actual tool list.
This occurs both in the VS Code extension runtime and in the standalone Kilo TUI.
The model therefore cannot call semantic_search, even though indexing reports IDX Complete.
Environment
- Kilo Code: 7.8.1
- OS: Windows 10
- VS Code extension:
kilocode.kilo-code-7.8.1-win32-x64 - Model provider: custom OpenAI-compatible provider
- Model:
Qwen3.8 Flash Next - Vector store: LanceDB
- Embedding provider: OpenAI-compatible
- Workspace path:
<WORKSPACE_PATH>
Expected behavior
When Codebase Indexing is enabled and the workspace index reaches IDX Complete, the semantic_search tool should be registered and exposed to agents that have permission to use it.
The active code agent has:
{
"permission": "semantic_search",
"action": "allow",
"pattern": "*"
}I therefore expect semantic_search to appear in the agent's available tool list and be callable by the model.
Actual behavior
The workspace index reaches IDX Complete and Agent Manager shows semantic_search as allowed.
However, the model reports that semantic_search is not in its available tool list.
The resolved agent configuration confirms this. The permission exists, but semantic_search is absent from the resolved tools object. The resolved tools include read, glob, grep, edit, write, task, etc., but not semantic_search.
Reproduction steps
- Open a project in Kilo Code 7.8.1.
- Enable Codebase Indexing.
- Configure a working embedding provider.
- Use LanceDB as the vector store.
- Wait for the project status to reach
IDX Complete. - Ensure the
codeagent hassemantic_search * allow. - Start a new agent session and ask the model to list its available tools.
Result: semantic_search is not present.
- Run:
& "<KILO_EXTENSION_PATH>\bin\kilo.exe" debug agent codeThe resulting agent configuration contains the semantic_search permission, but the tool is absent from the "tools" object.
- Run:
& "<KILO_EXTENSION_PATH>\bin\kilo.exe" debug agent code --tool semantic_searchResult:
Tool semantic_search not found for agent code- Launch the standalone Kilo TUI from the same indexed project:
& "<KILO_EXTENSION_PATH>\bin\kilo.exe" .- Wait for the TUI to report
IDX Complete. - Ask the agent to list its available tools.
Result: semantic_search is still absent.
This suggests the issue is not specific to the VS Code UI/runtime.
Debug logging
Running:
& "<KILO_EXTENSION_PATH>\bin\kilo.exe" `
debug agent code `
--print-logs `
--log-level DEBUGshows project indexing being initialized:
service=kilocode-indexing workspacePath=<WORKSPACE_PATH> initializing project indexingThe project configuration is loaded correctly, and the same debug output again shows:
{
"permission": "semantic_search",
"action": "allow",
"pattern": "*"
}but semantic_search is still missing from the resolved tool list.
Additional observations
- This does not appear to be a permission problem.
- This does not appear to be specific to the VS Code extension, because the same behavior occurs in the standalone Kilo TUI.
- Indexing itself reports
IDX Complete. - The model is not merely failing to choose the tool; Kilo does not advertise/register the tool for the agent at all.
list_mcp_resourcesis unrelated here; this is the native Kilosemantic_searchtool, not an MCP resource.- Raw debug logs are intentionally not attached because they contain local filesystem paths; the relevant excerpts above have been anonymized.
Suspected issue
There may be a regression in 7.8.1 where the indexing subsystem reaches a ready/complete state but does not register semantic_search into the agent tool registry.
Alternatively, the tool-registration hook may not be firing when indexing becomes ready.
Relevant resolved agent details
"mode": "primary",
"native": true,
"model": {
"providerID": "<custom-provider>",
"modelID": "Qwen3.8 Flash Next"
}Request
Could you confirm whether semantic_search is expected to be registered for the code agent in 7.8.1 when Codebase Indexing is complete?
If so, is there a known regression or additional runtime condition required for the indexing subsystem to add the tool to the agent registry?
Source: Kilo-Org/kilocode