AlgoViz

Start with one working vertical slice

easy 12 min

Prove 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.

Follow receipt E7
  1. 1SubmitE7 · 1250 cents
  2. 2CommitInsert E7 into the store
  3. 3ReconnectClose the writer
  4. 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

SignalExample
WeakAsk for a scaffold with handlers, models, reports and dashboards.
CompetentSubmit a positive amount through the public handler and recover the same ID and amount through another connection.
StrongChoose 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.

Sources