You ask an AI assistant to add an export endpoint for invoices. The code it returns looks clean, has a test and even handles pagination. What it doesn't say: it assumed the endpoint is internal only, that the caller is already logged in, that the query is already filtered by tenant, and that your test fixture looks like production data. None of those guesses is strange. That's exactly why they slip through review, and why you want them written down.
This post is about one small habit: asking the model to list its assumptions as part of the answer. Why models guess without saying so, a prompt you can reuse, where assumptions usually hide in code, and what to do with the list once you have it.
Why models fill gaps without telling you
Filling gaps is part of what makes these tools useful. Your question is never complete, and the model keeps going anyway. The trouble starts when a guess looks like knowledge.
There's a structural reason it happens. In a 2025 paper, researchers at OpenAI and Georgia Tech argue that models "sometimes guess when uncertain" because "the training and evaluation procedures reward guessing over acknowledging uncertainty." Like a student on a multiple-choice exam, a model that always answers scores better than one that says "I'm not sure" (Kalai et al., Why Language Models Hallucinate).
Models are also weak at noticing that a question is ambiguous in the first place. The CLAMBER benchmark (ACL 2024) found current LLMs of limited practical use at identifying and clarifying ambiguous queries, and short of the mark at writing good clarifying questions. Chain-of-thought and few-shot prompting helped only a little and could make the models overconfident (Zhang et al., CLAMBER).
So by default you get an answer, and the guesses stay inside it. You have to ask for them.
A prompt that brings the guesses out
Ask for assumptions before or alongside the answer, not as an afterthought. Something like:
Before you answer, list what you're assuming about:
- where this code runs and who calls it
- whether the input can be trusted
- auth, tenancy and permissions
- retries, concurrency and uniqueness in the data
Mark each one "from what I gave you" or "guessed".
If a guess would change your answer, ask me first.
Anthropic's own docs back the last line from a different angle: explicitly giving the model permission to admit uncertainty "can drastically reduce false information," though the same page warns these techniques don't eliminate hallucinations and critical information still needs checking (Claude docs, Reduce hallucinations, checked November 2026).
Two things make the list more honest. Ask it to separate what came from your files from what it guessed. And ask which assumptions would change the answer if they were wrong. Those are the load-bearing ones.
Where assumptions usually hide in code
Back to the invoice export. Here's what each silent guess could cost, and the fastest way to check it:
| Assumption | If it's wrong | Quick check |
|---|---|---|
| The endpoint is internal only | It needs auth and rate limits it doesn't have | Read the route and gateway config |
| The caller is already logged in | Anyone with the URL can download invoices | Find the middleware on this exact route |
| The query is already filtered by tenant | One customer sees another customer's data | Read the repository query, look for the tenant filter |
| The job runs once | A retry sends the export twice | Check the queue's retry policy and whether there's an idempotency key |
| The fixture looks like production | Tests pass, production fails on nulls or odd formats | Compare the fixture with a real, anonymized row |
Writing tasks have their own hidden guesses: who the reader is, whether you're trying to explain, persuade or warn, and how formal it should sound. A draft can be fine in every sentence and still be wrong for the reader.
Sort the list, then verify the load-bearing ones
Once the assumptions are visible, you decide. Most lists sort into four piles:
- Safe: true, and you know it. Move on.
- Needs a source check: probably true, but you've never looked. Open the file.
- Wrong: fix the prompt or the code, then ask again.
- Missing context: the guess shows your request left out something important. That's often the most useful find of all.
If an assumption touches security, money or someone else's data, it goes in the "needs a source check" pile even when it feels obviously true.
It changes team conversations, too. Arguing with a polished AI answer goes nowhere. Pointing at assumption number three and saying "this isn't true for our public API" gets a fix in two minutes. The question moves from "is the model smart?" to "do these assumptions match our system?"
Try this week
- Save the prompt above as a snippet and add it to your next AI coding request.
- Sort the list into safe, check, wrong and missing context.
- Verify every assumption that touches auth, tenancy, money or retries before you merge.
- Paste the checked list into the PR description so reviewers see it too.
The answer may still need editing. With the assumptions on the table, it's much clearer what you checked and what you're trusting. The next step is asking which files the answer actually came from, covered in asking AI to show its working context. And for the facts no prompt can carry, see what AI cannot know from the prompt alone.