COREAI+0
Search Modes and Strategy Resolution
Make the cost of a search a per-request decision by its caller instead of a global boolean decided at boot. fast is the default and executes Core's own cheap path; balanced adds the query embedding and nothing else; deep buys LLM planning, embedding, reranking and optional retries. Anything that prevents the requested mode degrades to the next cheaper one that works, with a stated reason, rather than failing.
Tasks.
- Task 0: measure, before writing any of the rest3/3
- Task 1: the contract and Core's resolver7/7
- Task 2:
AdvancedSearchServiceasks per call4/4 - Task 3: AI decorates, and stops overriding5/5
- Task 4: retries, and retiring
IntelligentSearchAction5/5 - Task 5: the HTTP surface, with its cost controls6/6
- Task 6: documentation4/4
- Final verification3/3