feat: remove reasoning offload / CodeGraph AI managed reasoning feature

Strips the bring-your-own-model reasoning offload and managed CodeGraph AI
integration (login/logout/usage commands, offload config/credentials/reasoner
modules, and the synthesizeOffload call in codegraph_explore). The eval findings
showed raw source output outperformed the synthesized path on accuracy, so
codegraph_explore reverts to returning verbatim retrieved source exclusively.

CHANGELOG and README sections for reasoning offload are removed; test comments
and DEFAULT_MCP_TOOLS description are updated to drop offload references.
This commit is contained in:
Colby McHenry
2026-06-20 13:23:16 -05:00
parent e7d9f8c6fa
commit e5897d0334
5 changed files with 6 additions and 162 deletions
+3 -3
View File
@@ -20,9 +20,9 @@ describe('CODEGRAPH_MCP_TOOLS allowlist', () => {
it('exposes ONLY codegraph_explore by default when unset', () => {
delete process.env[ENV];
// The default set (see DEFAULT_MCP_TOOLS) is pared to explore alone — the one
// tool that earns its place (verbatim source grouped by file, plus the reasoned
// flow map under the offload). node/search/callers/callees/impact/files/status
// stay defined and executable but unlisted; CODEGRAPH_MCP_TOOLS re-enables them.
// tool that earns its place (verbatim source grouped by file).
// node/search/callers/callees/impact/files/status stay defined and executable
// but unlisted; CODEGRAPH_MCP_TOOLS re-enables them.
expect(listed()).toEqual(['codegraph_explore']);
});