@nanopm/cli 0.1.19 → 0.1.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nanopm/cli",
3
- "version": "0.1.19",
3
+ "version": "0.1.20",
4
4
  "description": "An autonomous product manager for builders who run several small products. Runs on your machine, drives your own coding harness.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -28,19 +28,30 @@ NanoPM commits each step for you and opens the pull request when you are done.
28
28
  language — the problem, what you will change, what you will not touch. The founder reads it
29
29
  before anything else; a misunderstanding must show there, not in the pull request. Then your
30
30
  plan, 1 to 8 steps, in order, each a change the founder can recognise, in their words. The last
31
- step is your check of the whole change.
31
+ step is your check of the whole change: the project's checks, then the app itself (step 5).
32
32
  4. Build one step at a time. After each: run its tests and the project's own checks (the ones
33
33
  CLAUDE.md, the README or `package.json` name), fix what they report, then `build_step` with the
34
34
  step's number and one line on what you did. NanoPM commits right then, so a step is committed
35
35
  only when it works. Never run `git commit`, `git push` or anything that rewrites history.
36
- 5. When every step is done, stop with a short report, in the founder's words, which becomes the
36
+ 5. **Check each acceptance criterion**, inside your last step: go through each one of
37
+ `.nanopm/SPEC.md` and check it as close to what the user sees as you can here — run the code
38
+ path it names (call the handler, run the script, render the component), and note what you saw.
39
+ Your sandbox cannot open a local port, so a running server, a browser or a device is out of
40
+ reach: say so for what needs one. Never touch a database, a service or a file outside your copy
41
+ to check something. Keep package caches in `$TMPDIR` (`npm install --cache "$TMPDIR/npm"`, a
42
+ pnpm store there): your home is outside the sandbox. Stop everything you started before you
43
+ finish.
44
+ 6. When every step is done, stop with a short report, in the founder's words, which becomes the
37
45
  pull request's description:
38
46
  - **What was built**: two or three sentences.
39
47
  - **Decisions I made**: each choice the spec left open, with its why.
40
48
  - **Differs from the spec**: or *Nothing*.
41
49
  - **Left to do**: or *Nothing*.
42
- - **How I checked it**: the commands you ran, and their result.
43
- 6. `log` one line: what you built.
50
+ - **How I checked it**: first one line per acceptance criterion, exactly `- AC1 — saw: what you
51
+ saw` or `- AC1 — could not: what, because why`. *Saw* is for what you saw happen when you ran
52
+ the code the criterion is about — say how (a handler called with what, a script's output);
53
+ what you could not reach is *could not*, with why. Never say you saw what you did not run. Then the commands you ran, and their result.
54
+ 7. `log` one line: what you built.
44
55
 
45
56
  ## When to ask the founder
46
57