RCP-001-001-003-AMBIGUITY-DETECT – Intelligent Ambiguity Detection and Resolution


Requirements
How To Start
- After hundreds (perhaps thousands) of hours of using these recipes, I rarely need to use any of the CORE Cookbook recipes aside from Recipes RCP-001-001-002-HANDOFF-SNAPSHOT and RCP-001-001-002-HANDOFF-SNAPSHOT, but when I do, they are essential to the functioning of CRAFT. Also, the A.I. reads all of these recipes at the start of each session. This happens quietly in the background. Even though you may never need to call the recipe, the A.I. will know all of them and it helps the A.I. to understand what CRAFT is and how it works. Even if you rarely need to use these recipes, they are still working for you and are essential to the CRAFT Framework.
- This recipe activates when a request contains HIGH ambiguity.The AI checks for these indicators: – Missing subject (what/who is being referenced) – Unclear scope (how much/which parts) – Vague metrics (better/faster without specifics) – Ambiguous pronouns (it/that/they without antecedent) – Undefined actions (fix/update/change without details)If 2+ indicators are present, the recipe proceeds.
- The AI searches recent conversation history for clues: – Recent topics discussed – Named entities (files, functions, concepts) – Ongoing tasks or projects – Previous similar requestsBy default, the AI searches the last 10 exchanges.
- Based on context, the AI forms a best guess: #AI->H::BestGuess::ConfidenceLevel:[X]%: ( I believe you are referring to [specific thing] )The AI clearly states its assumption so you can confirmor correct it.
- Based on the type of ambiguity detected, the AI asksfocused questions: FOR MISSING SUBJECT: "Which [type] are you referring to: [option 1], [option 2], or [option 3]?" FOR UNCLEAR SCOPE: "Should I include [related aspect] or focus only on [core aspect]?" FOR VAGUE METRICS: "What would 'better' mean here – [metric 1] or [metric 2]?" FOR AMBIGUOUS PRONOUNS: "When you say 'it', do you mean [most likely referent]?"
- After clarification or with stated assumption: #AI->H::Status: (Proceeding with assumption: [stated assumption]) #AI->H::Note: (Please correct me if I misunderstood)The AI executes based on best guess while remainingopen to correction.
When to Use This Recipe
Recipe FAQ
A: Two or more ambiguity indicators must be present. A
single unclear element is usually manageable. Q: How does confidence level work?
A: The AI assigns a percentage based on how much context
supports its guess. Higher = more supporting evidence. Q: What if the AI guesses wrong?
A: Simply correct it. The AI explicitly invites correction
and will adjust based on your feedback. Q: Can I increase the search depth?
A: Yes, specify a higher history_depth parameter to search
more previous exchanges for context. Q: Why does it ask focused questions instead of open ones?
A: Focused questions (with options) are faster to answer
and reduce the chance of further ambiguity.
