Implements 260526-kpoimj
Layers
- code:
agentdb/src/core/AgentDB.ts:78, agentdb/src/mcp/agentdb-mcp-server.ts:268
- tests:
agentdb/tests/unit/, agentdb/tests/regression/attention-regression.test.ts, new cold-start benchmark
Acceptance Criteria
See docs/plans/260526-kpoimj-gnn-enablement-spec.md §5 (A1-A12) and §1 MUSTs (M1-M10).
Summary: inject concrete LearningBackend at both shipped instantiation sites so the existing enhanceQueryWithGNN / trainGNN paths stop early-returning. No algorithm change, no new MCP tools, no schema migration. Opt-out via disableGnn constructor flag + AGENTDB_DISABLE_GNN=1 env. Backward compat with all 15 existing test files.
Dependencies
None — Issue [260526-ologpp] is logically independent; sequence #1 → #2 recommended for clean rebase per spec §7.
Out-of-scope
Per spec §3: no new MCP tools, no algorithm change to enhanceQueryWithGNN, no GUI/observability.
Source artifacts
- Spec:
docs/plans/260526-kpoimj-gnn-enablement-spec.md
- ADR (correction context):
docs/adr/ADR-038-reflexion-memory-correction.md
Implements 260526-kpoimj
Layers
agentdb/src/core/AgentDB.ts:78,agentdb/src/mcp/agentdb-mcp-server.ts:268agentdb/tests/unit/,agentdb/tests/regression/attention-regression.test.ts, new cold-start benchmarkAcceptance Criteria
See
docs/plans/260526-kpoimj-gnn-enablement-spec.md§5 (A1-A12) and §1 MUSTs (M1-M10).Summary: inject concrete
LearningBackendat both shipped instantiation sites so the existingenhanceQueryWithGNN/trainGNNpaths stop early-returning. No algorithm change, no new MCP tools, no schema migration. Opt-out viadisableGnnconstructor flag +AGENTDB_DISABLE_GNN=1env. Backward compat with all 15 existing test files.Dependencies
None — Issue [260526-ologpp] is logically independent; sequence #1 → #2 recommended for clean rebase per spec §7.
Out-of-scope
Per spec §3: no new MCP tools, no algorithm change to
enhanceQueryWithGNN, no GUI/observability.Source artifacts
docs/plans/260526-kpoimj-gnn-enablement-spec.mddocs/adr/ADR-038-reflexion-memory-correction.md