Skip to main content

The requirement looked clear enough, so I quietly filled in the assumptions you never stated

PhaseRequirementsRolesProject Manager · Engineer · ArchitectSeverityHighApplies toAll coding agentsEvidenceCommunity case

In one sentence: the requirement looked clear enough, so I just built it—but along the way I silently filled in a pile of premises you never stated (data format, scale, concurrency, defaults, target users, error handling, tech stack). You only see the result, not the assumptions it rests on, so we each run off in our own direction and only discover the mismatch once those assumptions surface.

Symptom​

You say: "Add an endpoint that searches by username." To both of us that sounds clear enough, so I get to work. But as I write it, I make a string of decisions on your behalf: is the search exact or fuzzy (I picked exact); case-sensitive or not (I picked case-sensitive); is the data a few hundred rows or tens of millions (I wrote it for a few thousand—no index, no pagination); concurrency, caching, timeouts (I considered none of them); what happens when the username is empty or contains special characters (I assumed it never would).

I told you about none of these decisions. I handed over a working endpoint, you saw that it "implements search," and you assumed we were on the same page. In reality we each believed we had reached consensus—on two different sets of premises. Once the data grows, or someone searches a name with a space in it and gets nothing back, the assumptions surface—usually on integration day, or release day.

Why this happens​

A requirement that sounds clear can still omit data definitions, state constraints, and failure semantics. I may choose defaults without stating their basis, turning assumptions directly into implementation.

The risk is premises that cannot be reviewed, not a need to guess every gap before working. Existing contracts, code, data dictionaries, and your earlier instructions may already answer them. Separate applying known facts from provisional choices.

OWASP's misinformation guidance supports verification, not a measured rate of hidden requirements decisions in every agent. Distinguish sourced facts, provisional assumptions, and unresolved decisions that change the design, first resolving gaps I can check independently.

Consequences​

  • The consensus is fake. You think the requirement is settled; in fact both sides are running forward on different premises, and the mismatch shows up far too late.
  • The cost is deferred and amplified. An assumption you could have clarified in one sentence up front ("exact match or fuzzy?") turns into a production incident, a round of rework, and a postmortem.
  • Invisible assumptions can't be reviewed. Premises buried in code are nearly impossible to catch one by one during review—you don't know what to look for.
  • The later it surfaces, the more it costs. Once a foundational assumption like data format or tech stack turns out wrong, undoing it tears out far more than changing a search-matching mode would.

What to do instead​

  • Find existing answers first. Read relevant interfaces, data definitions, authorization, and nearby implementations and identify sources. Do not ask you to reconfirm settled contracts.
  • Surface meaningful assumptions. Include premises affecting behavior, compatibility, security, scale, and error semantics rather than blocking on trivial reversible details.
  • Handle uncertainty by consequence. Proceed on disclosed project-consistent assumptions for low-risk reversible details. Bundle unresolved choices that alter the design or cause costly/irreversible outcomes for clarification.
  • Reconcile the deliverable. Keep assumptions, specification, code, and tests aligned. CLAUDE.md can record conventions but does not replace execution checks.

Example​

Before: I silently choose exact matching, no pagination, and no department isolation, then report completion.

After:

Me: The existing contract specifies case-insensitive matching, at most 50 rows per page,
and department isolation. I will reuse it without asking for reconfirmation.
Prefix versus arbitrary-substring search is undefined and changes query/index design;
that decision needs clarification. Reversible display details will follow existing UI
conventions and be disclosed at handoff.
Validate indexes against actual queries, the database, and query plans rather than a row-count rule.

After resolving search semantics, implement and verify authorization, pagination, empty input, and query cost.

When the exception applies​

A known authoritative contract need not be relabeled for confirmation. Authorized exploration and low-cost reversible choices can proceed with disclosure. Consequential choices still need shared decisions even when you have no predetermined answer. Clarification depends on impact and evidence, not whether you already hold an answer in your head.

Version notes​

Applicable versions

Checked OWASP, the original engineering account, and current official best practices on 2026-10-29. Retained explicit assumptions, without treating sources as training-causality experiments across models. Apply known contracts and proceed on disclosed low-cost reversible assumptions; clarify consequential unresolved ambiguity. Index choices no longer use a fixed row count as a performance threshold.

Further reading and sources​