@gonrocca/zero-pi 0.1.45 → 0.1.47
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 +1 -1
- package/prompts/phases/explore.md +10 -0
- package/prompts/phases/veredicto.md +11 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gonrocca/zero-pi",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.47",
|
|
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": [
|
|
@@ -14,6 +14,16 @@ Investigate the codebase and the feature request read-only. Do not modify any
|
|
|
14
14
|
files. Map the relevant modules, the existing patterns and conventions, the
|
|
15
15
|
integration points, and the constraints. Identify the risks and the unknowns.
|
|
16
16
|
|
|
17
|
+
**Size exploration to the request.** Match breadth to what the change actually
|
|
18
|
+
needs. A localized change — copy/text, one component, a config value, a single
|
|
19
|
+
endpoint — needs only the files that render or define it plus their immediate
|
|
20
|
+
wiring; do not map the full permission/billing model or unrelated subsystems
|
|
21
|
+
unless the request touches them. A cross-cutting or architectural change earns
|
|
22
|
+
full breadth. Stop once you can name the exact files to change and their
|
|
23
|
+
constraints — reading past that point burns tokens without improving the plan.
|
|
24
|
+
As a rough gauge, a localized change rarely needs more than ~20 tool calls; if
|
|
25
|
+
you blow past that on a small request, you are over-exploring.
|
|
26
|
+
|
|
17
27
|
Produce a concise findings report the **plan** phase can build on: what exists,
|
|
18
28
|
what is relevant to the request, and what to watch out for.
|
|
19
29
|
|
|
@@ -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.
|