Skip to content

[260526-kpoimj] enable GNN attention by default in AgentDB factory and MCP bootstrap #35

@DarkCodePE

Description

@DarkCodePE

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-afkIssue is fully specified and ready for autonomous agent execution

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions