Part 14 — Examples
14.1 A real run (condensed)
A small project: a code library that understands date phrases written in Italian (such as “in 3 days”). This run used a pre-release version of the kit; the phases are the same.
- init. About nine questions. Result: the project is a library; the library rules apply; one command checks everything; accessibility and screens do not apply (written as exceptions with reasons).
- specify. Four rounds of review. Gaps found by a careful human read: what counts as a digit, what counts as a space, accents written in two ways, what happens if the wrong kind of value is passed, and two criteria that contradicted each other (one accepted the plural form with the number 1, as in “in 1 days”, another rejected it).
- plan. Decisions asked one by one (the shape of the result, the package name, how to check types, the order of cleaning the text, where documentation tests live). A table in the plan accepted a wrong phrase; found and fixed in review.
- tasks. Ten tasks; analysis found problems; fixed; run again.
- implement. Ten tasks, 112 tests, all checks passing from a clean start.
- Next feature. A second spec added more phrases (weeks, “the day after tomorrow”) and was built in five tasks, with 160 tests in total.
What the method prevented: a lookalike character being accepted as a weekday; a plural form accepting the number 1; a task too large to verify; a plan that quoted an outdated criterion.
14.2 What a first draft looks like, and how to review it
The examples/book-club/ folder of the NodFirst repository shows the files an agent wrote for an imaginary book club (profile, roadmap, first spec) exactly as drafted, with a review that points out what a careful reader should catch before approving: a criterion with no action, an edge case decided by the agent instead of asked, an assumption hidden in a sentence, a rule that only exists in an edge case. It is illustrative, not a real project. Read the draft first, try to find the problems yourself, then read the review.
14.3 A whole feature, from start to finish
The examples/shortz/ folder of the NodFirst repository has every document of one real feature: a small web app that shortens links, built in one day by an agent and deployed. You can follow it from the profile to the last verification: the check that added two missing criteria before any code, a security problem found by the independent check and fixed through the normal path, and how the owner closed the feature knowingly with fourteen problems accepted.