I was planning sign-in for a small travel log app, the one I build in the course, and I had decided on magic links: you enter your email, you get a link, you tap it and you’re in. Then the agent asked me a question I hadn’t thought of.
The app is meant to sit on the iPhone home screen. A web app added to the home screen keeps its own cookies, separate from Safari. A link tapped in Mail opens in Safari. So the magic link would sign you into Safari, and the app on the home screen would still show the sign-in page.
We changed it to a six-digit code that you type into the app itself. If the agent hadn’t asked, I would have found out with the app on my phone and the sign-in already built.
That question came from an interview I asked for. This post is about how that interview works, what it produced, and where the answers go afterwards.
Two kinds of interview
When I plan with an agent I start loosely. I describe the product, let it research what similar apps do, and have it write a first plan. Then I ask it to interview me about everything that is still open. Claude Code has a question tool for this: it shows one question at a time with a few answers to choose from and its own recommendation, and I pick one or type something else.
The first round is broad. For the travel log it asked where the app will run once it leaves my laptop, which language the interface is in, how people write the text of an entry, and what happens to uploaded photos. I answered each in a few seconds: a rented server with Docker, English only, a rich text editor, photos only and only the downscaled copies.
The second kind is narrow and much more persistent. There is a skill for it called Grill Me, written by Matt Pocock, and I point it at one feature. For the travel log that was sign-in, because the plan said “use Better Auth” and nothing about how.
What it asked about sign-in
It started with ten questions. These are the ones I remember best:
- A trip page shows 60 thumbnails, and every photo request checks the session. That is 60 database lookups for one page. Should the session be cached in a signed cookie?
- How long does a session last before someone has to sign in again?
- Should households, roles and invitations be our own tables, or the organization plugin that Better Auth already has?
- Sign-up is by invitation only, but the plugin expects an account before an invitation can be accepted. Which side gives way?
- What happens to someone’s entries when an owner removes them from the household?
- Can a household have several owners, and what stops it from ending up with none?
- The endpoint that emails codes can be used to guess codes or to send spam through my mail server. How is it rate limited?
I could have answered none of these in a prompt, because I wouldn’t have thought to bring them up. Each has an obvious answer once it is asked. Yes, cache the session. Ninety days. Use the plugin. Remove the membership and keep the person’s name on what they wrote. Many owners, never zero.
Where the answers go
The answers are only useful if they outlive the conversation. I plan to let agents build parts of this app on their own, in a fresh session that has never seen this one. So the last step of every interview is the same: write the decisions into the plan.
My plan is one HTML file in the repository, docs/mvp-overview.html. I ask for HTML because I read a page with a screen map and a data model faster than I read the same thing as chat text.

It has nine sections, from the tech stack to a list of what is not in the first version. The interview answers are a table in the first section, one row per decision with its consequence next to it. This is the part on sign-in:

There are sixteen rows. The first one records the iPhone problem in one line: “No magic links: on iOS they sign in Safari, not the installed app.” An agent that builds sign-in next month reads that line and doesn’t suggest magic links again.
The decisions also changed the screens. The sign-in page in the plan now has six boxes for the code and a button for a passkey:

What it doesn’t do
An interview doesn’t check the plan for you. While taking the screenshots for this post I found a button in the same file, on the first-run setup screen, that still says “send sign-in link”. It is from before the interview, the decision table two sections above it says codes, and nobody noticed. A plan needs the same suspicion as code.
It also doesn’t end by itself. After ten questions on sign-in there were more rounds waiting, and I stopped answering. I use the narrow interview for the parts where a mistake is expensive, which for most products means sign-in, payments and anything that touches personal data. For the plan as a whole, the broad round is enough.
Sign-in isn’t built yet as I write this. The sixteen decisions are waiting in the plan.
The plan file is one of two places where I write things down for the agent. The other is the instructions file it reads at the start of every session, which I go through in A real CLAUDE.md, line by line. What an agent may do without asking, once it has both, is in What should a coding agent be allowed to do on its own?