Guide
- Published 22 November 2026
- Last reviewed 22 November 2026
- 7 min read
Discovery phase: what to have before any code is written
Discovery should leave you holding ten documents you own: the problem and its cost, the process, the users, the scope, the rules, the systems and data, data protection, risky tests, measures and a priced plan.

A discovery that ends in a slide deck has not finished. A useful test is whether a developer who never attended the sessions could estimate and build from what you were handed. This piece gives you the ten items, the check for each, and a score for deciding whether to start building.
What is a discovery phase, and when do you need one?
A discovery phase is the short, paid piece of work that comes before a build. It finds out what the problem is, who has it and what the right size of solution would be. You need one when the build will run for months, touches several people or systems, or holds personal data.
You do not need a full discovery for a small tool with one user group. A well-made brief a developer can price is enough. The price of discovery, and how to check a quote for it, is covered in what a software project should cost to scope. This article is about what you should get for it. How to write the scope item is compared in user stories or a plain spec.
What should exist at the end of discovery?
Ten items. The first six describe the work, the next three manage risk and success, and the last turns it into a decision.
| Item | What good looks like | A check you can run in ten minutes |
|---|---|---|
| 1. Problem and cost today | One paragraph on the problem, with a figure for what it costs each month. | Can the finance lead check the figure from records? |
| 2. Current process | The path as it is, step by step, with owner, tool and wait. | Does the person who does the work say it is true? |
| 3. Users and roles | Each role, how many people, what each sees and does. | Is every role in the pack named on your staff list? |
| 4. Scope | What release one includes, what it leaves out, and what comes later. | Is the left-out list as concrete as the included list? |
| 5. Rules and exceptions | Each rule as a testable sentence, including limits and awkward cases. | Could a stranger apply each rule to a real job and get your answer? |
| 6. Systems and data | Each connected system, what passes between them, and a reviewed sample of old data. | Is there a list of known data problems, not only a row count? |
| 7. Data protection | Personal data held, who sees it, how long it is kept, and a screening for a DPIA. | Is the DPIA decision written down, with the reason? |
| 8. Risky tests | The one or two assumptions most likely to sink the job, tested with a prototype or a trial. | Does each have a result, and did anything change as a result? |
| 9. Success measures | Two or three numbers with a starting value and a target. | Can you measure each today, before the build? |
| 10. Priced plan | A price or range for release one, its assumptions, and a decision: build, buy or stop. | Is it written so another supplier could quote from it? |
Every item should be yours to keep, in a format you can open without the supplier’s software.
How do you score the pack before paying for the build?
Give each item one point if it passes its check and none if it does not. A total of 9 or 10 is ready to price. A total of 6 to 8 needs the named gaps closed first. Below 6, extend discovery.
Worked example (illustrative, an invented pack): items 5 and 7 fail, because three exceptions are described as “usually” and nobody has screened for a DPIA. The other eight pass. The total is 10 - 2 = 8, so the two failed items are the work to finish before anyone fixes a price.
What does the data protection part involve?
Item 7 records what personal data the system will hold, who sees it, and how long it stays, and decides whether a data protection impact assessment is needed. It belongs in discovery because the answer changes the design.
- The ICO says data protection by design and by default starts at the initial planning stages of any system.
- Its guidance on when a DPIA is needed says the assessment must happen before the processing begins, and that if you are in any doubt, it recommends doing one.
- That page notes that it is under review because of the Data (Use and Access) Act, so check it again before you rely on it.
What should the risky tests look like?
Small, throwaway and aimed at the assumption most likely to fail. A prototype is there to answer a question, not to become the product.
The GOV.UK alpha guidance says to identify and test the riskiest assumptions, using code that is not production quality, and to expect to throw away any code at the end. For a business system, the equivalent is a prototype of the one hard screen or the one awkward connection. Check the old data against the new structure before anyone promises a migration. The same guidance says alphas tend to last 6 to 8 weeks.
What should the final decision look like?
It should be one page that says build, buy or stop, with the reasons, the price for release one and what you give up by choosing it.
- Build, when the pack passes, no product covers the core job with settings alone, and the priced plan fits what the problem costs.
- Buy, when a product does the job and your data can move into it. Say which product, and what you would configure.
- Stop, when the cost outweighs the improvement, or a hard constraint stops you improving on what you have.
How to pay for the build once you choose it is the subject of fixed price or time and materials. A pack that scores well makes a fixed price per release much easier to agree.
Who should be involved, and how long should it take?
The people who do the work, the person who pays for it and someone who knows the data. The GOV.UK guidance advises involving a variety of disciplines. On length, the purpose should set it; the published ranges and what to make of them are compared in what a software project should cost to scope.
What turns discovery into theatre?
- Workshops with the owner only, so item 5 holds the owner’s view of the rules and not the staff’s.
- Mock-ups that look finished, before the rules and data have been tested.
- A pack in the supplier’s own tool, so it cannot be handed to anyone else.
- No recorded decision, so the build starts on momentum.
- Skipping item 8, then finding out in month three that the awkward connection will not work.
Questions people ask
A requirements document is one output of discovery. Discovery also covers the problem and its cost, the users, the risky tests, data protection and the decision to build, buy or stop. A requirements document written without those tends to describe a solution to a problem that nobody has measured, which is how builds end up solving the wrong thing.
Parts of it, yes. Your own staff can write the problem, the current process and the rules better than any outsider. The data review, the risky tests and the priced plan usually need technical skill. If you do it in-house, use the same ten items and the same score, and have someone outside the team read the pack cold.
No, and the contract should say so. Discovery should be on its own paper, with the pack yours to keep and share. A supplier that is confident in its plan will not mind a second quote against it. If the pack cannot be used by anyone else, that is a signal about how portable the build will be.
The signs are a pack that only the supplier can read, a price that arrives with no assumptions, rules described with words such as usually or normally, and no recorded decision at the end. Any of these is a reason to ask for the missing item before the build is priced, not after it starts.
Further reading
- GOV.UK Service Manual: How the discovery phase works
Typical length, problem statement, users, cost of the problem, measures, and stopping. Last updated 21 June 2021. Free.
- GOV.UK Service Manual: How the alpha phase works
Prototypes to test the riskiest assumptions, throwaway code, 6 to 8 weeks. Last updated 8 May 2019. Free.
- ICO: When do we need to do a DPIA?
A DPIA before processing begins, and when in doubt do one. Page dated 13 October 2025, under review for the Data (Use and Access) Act. Free.
- ICO: Data protection by design and by default
Starts at the initial planning stages of any system. Page dated 20 February 2026. Free.
- Kolonell: Discovery phase cost for a custom business app (8 October 2026)
A supplier’s list of outputs and the test that a developer who never attended can estimate and build. Supplier view. Free.
- Leanware: Project discovery phase cost (updated 15 September 2026)
A supplier’s list of deliverables, said to be portable to another vendor. Supplier view. Free.
AIforCompanies · https://aiforcompanies.co.uk/insights/discovery-phase-what-to-have-before-any-code
Have a problem this does not solve?
Book a discovery call. Tell us what is slowing the business down, and we will say what we would build and whether it is worth doing.