Discovery for an AI Project: Running the First Conversation, Five Question Groups and Three Red Flags
An insurance company says 'we would like an AI assistant'. That one sentence could be three different projects. Five question groups, asked to the right people, turn it into a one-page problem statement, and three red flags show what still blocks the design.
What you will learn
- Turn a vague AI wish into five answers: problem, users, data, constraints and success
- Send each question group to the person who can really answer it
- Spot the three red flags that stop a design: no owner, no data access, no metric
- Write a one-page problem statement and see which design decision each line drives
Before you start
- Communicating AI value and limitations
- Basic Python (to run the project)
Picture the first meeting with a new customer, an insurance company. They say: we would like an AI assistant for our company. And that's the whole brief.
Think about what that sentence could mean. A customer chatbot that answers policy questions. A clause search that helps staff find policy clauses. A claims checker that flags suspicious claims. Same sentence, three different projects, with different users, different data and different risks. A wish isn't a problem yet. Build from it, and you may build the wrong thing, nicely.
So the architect's first question is simple: what is the problem?
Questions before prescriptions
Think of a doctor's first appointment. You say "I don't feel well." The doctor doesn't hand you medicine. First they ask where it hurts and since when, then they examine you, and only then they prescribe.
Discovery is the same appointment. You take the wish and ask until you have five things: the problem, the users, the data, the constraints and the success measure. Only then do you design.
The project for this lesson is plain Python and makes no model call. It's a question bank, sample meeting notes, a red-flag check and a one-page writer, and every number in it is an example.
Five groups, to the right people
Each group has two or three questions, and each group has someone who can really answer it. Ask the right person, not whoever happens to be in the room.
The sponsor knows the problem and why it matters to the business. The users know how the work happens today and what gets in the way. The data owner knows where the information lives and who can open it. Security and legal know the limits: privacy, region, regulation. Here's the bank, from question_bank.py:
QUESTION_BANK = {
"problem": ["What hurts today?",
"How often does it happen, and what does it cost?"],
"users": ["Who will use this every day?",
"What do they do right now, without AI?"],
"data": ["Where is the information kept?",
"Who owns it?",
"Can we actually get access to it?"],
"constraints": ["Privacy, region, regulation?",
"Is there a budget, a deadline?",
"Who must approve it before launch?"],
"success": ["What number should change if this works?",
"How will we measure it?"],
}
# Who in the room can answer each group.
ASK_WHO = {
"problem": "sponsor",
"users": "the users",
"data": "data owner",
"constraints": "security and legal",
"success": "sponsor",
}
if __name__ == "__main__":
for group, questions in QUESTION_BANK.items():
who = ASK_WHO[group]
print(f"{group:<12} | {len(questions)} questions | ask: {who}")
print("total:", sum(len(q) for q in QUESTION_BANK.values()))
problem | 2 questions | ask: sponsor
users | 2 questions | ask: the users
data | 3 questions | ask: data owner
constraints | 3 questions | ask: security and legal
success | 2 questions | ask: sponsor
total: 12
Twelve questions in total. Small enough to keep in your head during a meeting.
From messy notes to fields
After the first sentence, the notes hold one field: the wish. After the questions, notes.py holds the rest. The claims team is always searching policy PDFs (the problem). About 40 claims handlers in one office (the users). Legal owns the PDFs (the data), but Legal hasn't approved access yet, so data_access is None. Customer data must stay in the EU and a person approves every payout (the constraints). The head of claims owns it. Finding one clause takes about 20 minutes today, and the target is 5; those are example numbers.
A field that says None isn't a detail. It's an open question.
Three red flags
A red flag is a missing answer that stops a design before it begins: no owner, no data access, or no metric. In red_flags.py, each one is paired with the question that resolves it, and the check runs twice: on the first-call notes and on the notes after discovery.
from notes import FIRST_CALL, AFTER_DISCOVERY
# Each red flag: a missing answer and the question that resolves it.
CHECKS = {
"owner": "Who signs this off?",
"data_access": "Who can give us access, and by when?",
"metric": "What number moves if this works?",
}
def red_flags(notes):
return [(key, question) for key, question in CHECKS.items()
if not notes.get(key)]
for label, notes in [("first call", FIRST_CALL),
("after discovery", AFTER_DISCOVERY)]:
flags = red_flags(notes)
word = "red flag" if len(flags) == 1 else "red flags"
print(f"{label}: {len(flags)} {word}")
for key, question in flags:
print(f" no {key} -> ask: {question}")
first call: 3 red flags
no owner -> ask: Who signs this off?
no data_access -> ask: Who can give us access, and by when?
no metric -> ask: What number moves if this works?
after discovery: 1 red flag
no data_access -> ask: Who can give us access, and by when?
On the first call: nobody owns it, nobody can open the data, and nobody can say what better looks like. After discovery, the owner and the metric are answered, and one flag is left: data access. A red flag isn't a no. It's a question to settle before you start.
The one page
Discovery ends with one page, five lines, one per group. problem_statement.py writes it from the notes, and it keeps the open flag visible:
PROBLEM Claims handlers lose time finding the right policy clause
USERS About 40 claims handlers in one office
DATA Policy PDFs, owned by Legal (access to be approved)
CONSTRAINTS Customer data stays in the EU | A person approves every payout
SUCCESS minutes to find one clause: 20 -> under 5 (example target)
The wish has become a problem the team can design, build and measure.
What each line decides
Here's why discovery belongs to the architect and not to sales. Each line of the page drives a design decision:
| Line | What it decides |
|---|---|
| Problem | Whether AI fits at all, and which pattern: workflow, agent or augmented LLM |
| Users | Where a person steps in, and who sees what |
| Data | How answers are grounded, and who must grant access |
| Constraints | Where Claude runs and what must be controlled: region, platform path, compliance, approvals |
| Success | The target the build is judged against: a metric, a test set and a pass line |
The problem line connects directly to the workflow-or-agent decision. When the page is done, it becomes the first input to the architecture documents; see documenting the architecture for handoff.
Spot the promise the design can't keep
Discovery notes sometimes hold a line the architecture can't meet. Say the claims notes read: data stays in the EU, a person approves every payout, about 40 handlers, 20 minutes down to 5, and the assistant never returns a wrong clause.
That last line is the problem. No model can promise "never", so a service level built on it promises more than the design can keep. You resolve it one of two ways. Clarify the requirement: agree a pass line on a test set with the head of claims. Or change the design: each answer shows its source clause so a person can check it. The skill is to spot the commitment and name the clarification or change that fixes it. For how to explain these limits to a sponsor, see communicating AI value and limitations.
The trap: the design meeting in disguise
Someone says "let's use a vector database." Someone else wants an agent with five tools. A third person wants the biggest model. Everyone's busy, and it feels like progress. But look at the notes: nobody has said who owns the data, who can open it, or what number should move. All three red flags are still open.
The fix: park each idea on a separate design list so nothing is lost, go back to the five groups, and ask the question that's still open. Discovery collects answers. Design comes after the one page.
The assumption nobody wrote down
The one page above looks complete, but it quietly assumes every handler may read every policy. Some policies might be restricted to one region or one team, and the page doesn't say. So ask: who may read which policies, and who decides? The data owner knows, and so do security and legal. Then write the answer on the page, or as a red flag. An assumption nobody wrote down is a risk nobody owns.
Try it yourself
Pick an AI request from your own work, even a vague one. Answer the twelve questions, mark every None, and write the five-line page. Which red flag is still open? The project files for this lesson are in the community, free to join.
Recap
| Step | What you do |
|---|---|
| Ask first | Five groups, two or three questions each, to the person who can answer |
| Check | Three red flags: owner, data access, metric |
| Write down | Every assumption, as a line or a red flag |
| End with | One page everyone can read, before any design starts |
Related course on Udemy
Claude Certified Architect - Professional (CCAR-P) Exam Prep
Architecting with Claude: design, models, context, integration, evals, governance and stakeholders.View on Udemy ↗: Claude Certified Architect - Professional (CCAR-P) Exam Prep (paid course, opens in a new tab)Related posts
Reading a Business Requirement Like an Architect: Function, Quality, Constraints and Assumptions
One sentence from an insurer's claims director becomes four buckets (function, quality, constraints, assumptions), two testable targets and five questions back to the business, before any design starts.
Communicating AI Decisions, Trade-offs and Risk to Executives: The Decision Card, the Risk Matrix and One Ask
A week before launch the CEO asks: is it safe to launch? Answer with a decision card that says what each option costs, a risk matrix where controls move a risk but never erase it, a one-page brief that ends with one ask, and an honest answer to 'can you guarantee it?'.
Feedback Loops, Expectations and SLAs for an AI Service: Find the Promise the Architecture Can't Keep
Two weeks after launch, the head of claims says 'I thought it never makes mistakes'. A weekly feedback loop, expectation gaps closed in writing, and a review of the draft SLA find the one clause nothing can measure before anyone signs it.
Documenting an AI Architecture for Handoff: One Document per Reader, a Handoff Gate and Rules With a Reason
On handoff day the platform team asks how to run the clause search at night, and the builders have moved on. Write one document per reader, check the handoff package for five elements before the team takes over, and keep the reasons behind every rejected option.
