Start with one working vertical slice
easy 12 minProve one user-visible operation crosses a real persistence boundary before expanding a greenfield project.
Theory
Read or listen first. About 1 min.
What it is
An expense demo returns a freshly constructed receipt. The page looks correct until finance reopens it in another process. The handler never wrote the expense.
Why it exists
Choose one vertical slice with a public input, a validation rule, a durable write and an independent read. A temporary file-backed SQLite database can prove that a later connection sees the row. A single in-memory object cannot demonstrate persistence across connections. Defer exports until submission and retrieval work end to end.
- 1SubmitE7 · 1250 cents
- 2CommitInsert E7 into the store
- 3ReconnectClose the writer
- 4Read E7Observe 1250 cents
Reconnecting removes the writer’s in-memory state from the demonstration.
Understand it
Work through the decision
A fake store gives fast feedback about handler validation. Use it while shaping the contract.
A disposable, file-backed store exercises schema and commit behavior. Use it for the end-to-end acceptance demonstration.
Give the agent a check
- Ask for one write/read path and a command that verifies it through a fresh connection. Restrict the first patch to that path.
The shortcut
- Ask for a scaffold with handlers, models, reports and dashboards.
What a reviewer can hear
| Signal | Example |
|---|---|
| Weak | Ask for a scaffold with handlers, models, reports and dashboards. |
| Competent | Submit a positive amount through the public handler and recover the same ID and amount through another connection. |
| Strong | Choose the next customer-visible risk, such as duplicate submission, and add one failing acceptance case. |
Summary
The whole topic in one minute.
Close the writer. Open a reader. Find the receipt.