// Copyright (c) 2026 defconxt. All rights reserved.
// Licensed under AGPL-3.0 — see LICENSE file for details.
// NERF is a trademark of defconxt.

/**
 * NERF Memory Core — Tri-Stage Pipeline + Evolution Engine
 *
 * Public API surface for the memory module. All downstream consumers
 * (gateway, API, MCP) import from this barrel.
 */

// Core engine
export {
  NerfMemory,
  MemoryEntry,
  MemoryType,
  Confidence,
  SymbolicStore,
  MemoryConsolidator,
  reciprocalRankFusion,
} from './engine.js';

// Stage 1: Compressor
export {
  SemanticCompressor,
  DensityGate,
  DialogueTurn,
  CompressedEntry,
  extractSecurityEntities,
} from './compressor.js';

// Stage 2: Synthesizer
export {
  SemanticSynthesizer,
  SynthesisResult,
} from './synthesizer.js';

// Stage 3: Retriever
export {
  AdaptiveRetriever,
  IntentClassifier,
  QueryDecomposer,
  ContextBuilder,
  RetrievalPlan,
} from './retriever.js';

// Evolution
export {
  ResponseScorer,
  SkillEvolver,
  ScoredResponse,
} from './evolution.js';

// Orchestrator
export {
  NerfOrchestrator,
  createOrchestrator,
} from './orchestrator.js';
