@gonrocca/zero-pi 0.1.46 → 0.1.48

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/README.md CHANGED
@@ -92,6 +92,12 @@ zero-pi keeps its state in `~/.pi/zero.json` (per-phase models + autotune mode)
92
92
  and `~/.pi/zero-runs.jsonl` (the run-metrics log); per-project artifacts live
93
93
  under `.sdd/`. Set `ZERO_RESUME=off` to disable the conversation-resume note.
94
94
 
95
+ ## Continuous integration
96
+
97
+ The `.github/workflows/zero-pi-ci.yml` workflow runs on every push to `main` and
98
+ on every pull request that touches `packages/zero-pi/**`. It enforces `npm test`
99
+ and `npm run pack-check` for the package.
100
+
95
101
  ## 🔗 Relationship to `zero`
96
102
 
97
103
  zero-pi is the pi layer of the **zero** integrator. The `zero` CLI installs it
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gonrocca/zero-pi",
3
- "version": "0.1.46",
3
+ "version": "0.1.48",
4
4
  "description": "zero-pi — an installable layer for pi (pi.dev): the zero spec-driven development workflow (explore → plan → build → veredicto) with per-phase model autotune and token-efficient batched builds. Adds capability to pi without modifying pi.",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -60,7 +60,8 @@
60
60
  ],
61
61
  "scripts": {
62
62
  "test": "node --test --experimental-strip-types",
63
- "prepublishOnly": "node --test --experimental-strip-types"
63
+ "prepublishOnly": "node --test --experimental-strip-types",
64
+ "pack-check": "npm pack --dry-run"
64
65
  },
65
66
  "engines": {
66
67
  "node": ">=20.6.0"
@@ -13,6 +13,17 @@ orchestrator's existing run-trace machinery — the Cortex `zero-run/<slug>` sav
13
13
  and the `~/.pi/zero-runs.jsonl` append. Do not write a separate verdict file;
14
14
  `.sdd/` artifacts stay plan state only.
15
15
 
16
+ **Locating the code — read, do not search.** To check the build against the
17
+ plan, read the `## Code roots` section in `design.md` (or the explore findings)
18
+ for the absolute paths this feature touches, and read the build result for the
19
+ files it changed — go straight to those paths to inspect the changes and run the
20
+ tests. Do **not** run a filesystem-wide `find`/`grep` to rediscover where the
21
+ code lives, and do **not** re-read a file you have already read this review
22
+ unless it changed since; repeated re-reading is the main avoidable token cost on
23
+ the review's model, which is often the most expensive in the pipeline. A single
24
+ targeted search to fill a genuine gap is fine; a full-tree scan is not. This
25
+ bounds cost only — it never lowers the bar for the verdict.
26
+
16
27
  Review the build adversarially, with a fresh perspective. Check it against the
17
28
  plan's requirements, run the tests yourself, and look for gaps, regressions,
18
29
  and unmet acceptance criteria.