package com.correx.core.tasks

/**
 * Port for semantic enrichment of a task context bundle. Implemented in a higher layer
 * (apps/server bridges it to the L3 vector retriever) and injected into [TaskContextAssembler];
 * `core:tasks` stays decoupled from the retrieval stack. Implementations must be side-effect-free
 * and tolerate being called with an arbitrary natural-language query.
 */
interface TaskKnowledgeRetriever {
    suspend fun retrieve(query: String, limit: Int): List<KnowledgeHit>
}
