The base retrieval strategy.
Optional overrides: Partial<RetrievalPlan>Optional partial overrides to apply on top of defaults.
A complete RetrievalPlan.
// Simple plan with defaults
const plan = buildDefaultPlan('moderate');
// Complex plan with custom temporal preferences
const plan = buildDefaultPlan('complex', {
temporal: { preferRecent: true, recencyBoost: 1.5, maxAgeMs: 86_400_000 },
});
Creates a sensible default RetrievalPlan for a given strategy level.
This is the canonical way to construct a plan when the classifier does not produce a full plan (e.g., legacy tier-based classification, heuristic mode, or fallback scenarios).
Strategy defaults: