@evo-hq/pi-evo 0.5.0-alpha.3 → 0.5.0-alpha.5

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": "@evo-hq/pi-evo",
3
- "version": "0.5.0-alpha.3",
3
+ "version": "0.5.0-alpha.5",
4
4
  "description": "Evo plugin for pi-coding-agent: optimize/discover/subagent skills + mid-run inject extension.",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -2,7 +2,7 @@
2
2
  name: discover
3
3
  description: Initialize evo for the current repository by exploring the codebase, proposing unexplored optimization dimensions, constructing the benchmark inside a baseline worktree, and running the first experiment. Use when the user invokes /evo:discover, mentions setting up evo, wants to instrument a codebase for autonomous optimization, or asks to start a new evo run on a project.
4
4
  argument-hint: <optional context about what to optimize>
5
- evo_version: 0.5.0-alpha.3
5
+ evo_version: 0.5.0-alpha.5
6
6
  ---
7
7
 
8
8
  # Discover
@@ -40,20 +40,20 @@ evo --version
40
40
  The output must be exactly:
41
41
 
42
42
  ```
43
- evo-hq-cli 0.5.0-alpha.3
43
+ evo-hq-cli 0.5.0-alpha.5
44
44
  ```
45
45
 
46
46
  Three outcomes:
47
47
 
48
48
  1. **Matches exactly** — continue to step 1.
49
49
  2. **Reports a different version** (`evo-hq-cli 0.4.2`, etc.) — the host refetched a newer/older skill bundle than the CLI on PATH. Drift breaks skills silently. Stop and tell the user:
50
- > Your installed evo CLI is on a different version than this skill (`0.5.0-alpha.3`). Run:
50
+ > Your installed evo CLI is on a different version than this skill (`0.5.0-alpha.5`). Run:
51
51
  > ```
52
- > uv tool install --force evo-hq-cli==0.5.0-alpha.3
52
+ > uv tool install --force evo-hq-cli==0.5.0-alpha.5
53
53
  > ```
54
54
  > Then re-invoke this skill.
55
55
  3. **`command not found`, or reports a different package** (commonly `evo 1.x` — the unrelated SLAM tool) — the CLI isn't installed. Tell the user:
56
- > `evo-hq-cli` isn't on your PATH. Install it: `uv tool install evo-hq-cli==0.5.0-alpha.3` (or `pipx install evo-hq-cli==0.5.0-alpha.3`). Then re-invoke this skill.
56
+ > `evo-hq-cli` isn't on your PATH. Install it: `uv tool install evo-hq-cli==0.5.0-alpha.5` (or `pipx install evo-hq-cli==0.5.0-alpha.5`). Then re-invoke this skill.
57
57
 
58
58
  Do not try to auto-install. Host sandbox + network policy may block it; leaving the install as a user action keeps failure modes clear.
59
59
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: infra-setup
3
3
  description: Non-user-invocable provider/setup reference for evo backend switching, prerequisite checks, and auth/install guidance.
4
- evo_version: 0.5.0-alpha.3
4
+ evo_version: 0.5.0-alpha.5
5
5
  ---
6
6
 
7
7
  # Infra Setup
@@ -2,7 +2,7 @@
2
2
  name: optimize
3
3
  description: Run the evo optimization loop with parallel subagents until interrupted.
4
4
  argument-hint: "[subagents=N] [budget=N] [stall=N]"
5
- evo_version: 0.5.0-alpha.3
5
+ evo_version: 0.5.0-alpha.5
6
6
  ---
7
7
 
8
8
  Run the `evo` optimization loop. Each round, the orchestrator writes structured briefs and spawns subagents that execute within them. Each subagent is semi-autonomous: it reads the pointer traces, forms the concrete edit, runs experiments, and can iterate within its branch. Runs until interrupted or the stall limit is reached.
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: report
3
3
  description: Print the dashboard's dot chart (score over experiment order, status colors, best-path stair) inline in the terminal for every run in the workspace. Use when the user invokes /evo:report, asks for a quick score chart without opening the dashboard, or wants the scatter plot in chat output.
4
- evo_version: 0.5.0-alpha.3
4
+ evo_version: 0.5.0-alpha.5
5
5
  ---
6
6
 
7
7
  # Report
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: subagent
3
3
  description: Internal protocol for evo optimization subagents. Loaded by subagents spawned from /optimize via their host's skill loader. Not for orchestrator use.
4
- evo_version: 0.5.0-alpha.3
4
+ evo_version: 0.5.0-alpha.5
5
5
  ---
6
6
 
7
7
  # Evo Subagent Protocol
@@ -266,6 +266,12 @@ Trace quality is part of the benchmark contract. After a failed baseline or fail
266
266
 
267
267
  The trace format is forward-compatible -- extra fields are preserved. Do NOT change the score computation or gate logic -- only add observability.
268
268
 
269
+ ## Reuse expensive intermediates
270
+
271
+ If your experiment needs an artifact that is slow to produce and stable across sibling/descendant experiments -- curated/tokenized datasets, fine-tuned weights or adapters, embeddings, retrieval indexes, precomputed eval generations, large compiled assets -- check `.evo/cache/` (workspace-level, sibling to `run_<NNNN>/`) before recomputing. Write back what you compute, keyed by every input that changes the artifact (recipe version, source, parameters). The next experiment that asks for the same artifact reads from disk instead of rebuilding from scratch.
272
+
273
+ `.evo/cache/` is already gitignored via the workspace's `.evo/` exclude and is not touched by `evo new` / `evo run` / `evo reset`. Anti-pattern: writing the artifact inside your experiment's worktree -- it's worktree-local, doesn't propagate to descendants, and disappears on cleanup. The full read-or-compute pattern (workspace-root lookup, cache-key construction, deferring to the per-user HF cache where relevant) is in the **finetuning skill** under "Cache expensive intermediates." Apply it in any domain where the artifact shape fits.
274
+
269
275
  ## Rules
270
276
 
271
277
  - Do NOT run `evo init` or `evo reset`