Scope creep starts in the PRD: how to write boundaries your AI agent respects
Every project I have watched go sideways started the same way. Not with a bad developer, and not with a bad idea. With a sentence in the PRD that sounded generous and meant nothing: "The app should have user management."
Every project I have watched go sideways started the same way. Not with a bad developer, and not with a bad idea. With a sentence in the PRD that sounded generous and meant nothing: "The app should have user management." "Support notifications." "Make it easy to share."
A human reads "support notifications" and asks what kind. An AI coding agent reads it and builds all of them — email, SMS, push, in-app, a settings page, a digest — because nothing told it to stop. That is scope creep, and it does not start when the deadline slips. It starts the day the PRD leaves a boundary unwritten.
Here is how I write boundaries now, and why they belong in the PRD before a single file is generated.
1. Every feature needs an explicit out-of-scope list
The scope section of most PRDs is a list of what to build. The part that actually controls scope is the list of what NOT to build — and it is almost always missing.
In scope (P0): email notifications for order status changes
— order confirmed, shipped, delivered. One template each.
Out of scope (explicitly excluded):
— SMS or push notifications (no provider, no budget, v2 at earliest)
— a notification preferences page (users cannot toggle channels yet)
— a weekly digest email
— admin-side bulk messaging
Without that second list, "notifications" is a blank cheque. With it, the agent has a fence: build the three emails, and stop. When someone later asks "why no SMS?", the answer is already written down, dated, and deliberate — not a decision the agent made silently at 2 a.m. while generating code.
Rule: if a feature has no out-of-scope list, it has no boundary. Write three to five excluded items per major feature. The exclusions are the spec; the inclusions are the brochure.
2. "Support" is not a requirement — name the exact capability
Vague verbs are where scope hides. "Support payments." "Support search." "Support sharing." Each one can mean five different products.
Vague: "Support search."
Bounded: "Search covers product name and SKU only. Results are
ordered by relevance, capped at 20, and return in under 300ms.
No filters, no saved searches, no search history in v1."
Vague: "Support sharing."
Bounded: "Share means one thing in v1: copy a link to the order
page. No social posting, no email invite, no public pages."
The bounded version does two jobs the vague version cannot: it tells the agent what to build, and it tells the agent what to refuse to build. An agent given "support search" will helpfully add filters, facets, and a search-history table, because helpful is what it does. An agent given the bounded version builds the search box and moves on.
Every time you write a verb like support, handle, manage, or allow, stop and ask: which exact capability, on which exact data, with which exact limits? If you cannot answer in one sentence, the requirement is not written yet.
3. Put a number on everything the agent could overbuild
Agents overbuild in proportion to the numbers you leave out. No limit on upload size? The agent builds chunked resumable uploads with a progress bar. No limit on list size? It builds pagination, infinite scroll, and a virtualised table. No limit on retries? It builds exponential backoff with a queue.
- Image uploads: max 5 MB per file, JPG/PNG only, max 10 per product.
- Order history: show the latest 50 orders; older ones are available
through a date filter, not on the first screen.
- Admin dashboard: 1,000 rows max per table view, server-side
pagination, no export in v1.
- Invite codes: each code works 5 times, then expires.
None of these numbers is hard to choose. All of them are expensive to leave out, because the agent will choose them for you — and its choices will be generous, because generous looks like quality. A PRD with numbers in it reads boring. A PRD without them builds a product that is three times the size you planned.
4. Version the scope: v1, v2, never
Not every good idea belongs in v1. The PRD needs a place to put good ideas that are not being built yet, or they will leak into the build anyway — either the agent builds them, or the founder asks for them mid-build and the agent cannot say no.
v1 (this build): email notifications for three order events.
v2 (next release): SMS for delivery updates, behind a paid add-on.
Never (deliberate no): push notifications — no mobile app exists,
so there is nothing to push to. Revisit if a mobile app ships.
"Never" is the most useful word in a PRD. It is not pessimism; it is a decision with a reason attached, so nobody re-litigates it mid-sprint. When the agent's rules file says "do not build v2 or never items", the scope has a guard that works even when no human is watching the build.
I keep this table in PRODUCT_REQUIREMENTS.md, in the scope section, and I repeat the short version in AI_AGENT_IMPLEMENTATION.md as a rule: build v1 only; if a request matches a v2 or never item, stop and flag it instead of building it.
5. The boundary test: hand the PRD to a stranger
Before I hand a spec to an agent, I read each feature and ask one question: if a stranger built exactly what is written and nothing else, would the product still be the product I wanted?
If the answer is no, the PRD is relying on the builder's judgement — and an AI agent's judgement is generous, literal, and silent. It will not ask whether you wanted the settings page. It will build it, wire it into the navigation, and add it to the test suite, because the PRD said "user management" and a settings page is part of user management if you squint.
The fix is never "tell the agent to be careful". The fix is a boundary written as a fact: what is in, what is out, what the numbers are, and what version it belongs to. Write those four things and the agent's literal-mindedness becomes an asset — it builds exactly the fence you drew, and nothing outside it.
Where this lives in my specs
This is why the generator I built writes scope as a structure, not a paragraph. PRODUCT_REQUIREMENTS.md carries the in-scope list, the out-of-scope list, and the v1 / v2 / never table for every major feature. TECHNICAL_ARCHITECTURE.md carries the numbers — limits, caps, and constraints as column definitions and validation rules, so the boundary is enforced by the schema, not just the prose. AI_AGENT_IMPLEMENTATION.md carries the rule that makes it stick: build v1 only; flag v2 and never items instead of building them.
Scope creep is not a project-management failure. It is a specification failure — a boundary that was never written down, so nobody could defend it. Write the boundary first, and the build stays the size you planned.
The test
Take your PRD and circle every feature that has no out-of-scope list, no numbers, and no version label. Each one is a feature your agent is free to expand without asking. Add the three things — what is excluded, what the limits are, which version it belongs to — and the creep stops before the first file is written.
If you want the same starting point, the generator writes scope boundaries into every suite it produces — in-scope, out-of-scope, and v1 / v2 / never, with the numbers attached. You can try it free with 50 credits at webdevmehedi.com/ai-prd-generator — and the free template behind the format is in the ai-prd-template repo.
A PRD without boundaries is not a plan. It is permission to build everything, and everything is exactly what you will get.
Web Dev Mehedi turns an app idea into a build-ready PRD, UI/UX spec, database schema, API contracts, and Cursor/Claude Code rules in under 60 seconds. Free signup includes 50 credits; paid plans start at ৳99/month.
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.