@miller-tech/uap 1.108.1 → 1.109.0

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.
@@ -60,9 +60,10 @@ mine→propose→validate→accept and persists results. Humans do both today.
60
60
  key=(model_family, failure_sig) (env + scaffold snapshot)
61
61
  ```
62
62
 
63
- New code lives under `src/self-harness/`: `orchestrator.ts`, `mine.ts`, `propose.ts`, `mods.ts` (the
64
- DSL), `apply.ts`, `transfer.ts`, plus `uap self-harness` CLI. It **reuses** `benchmarks/paired/` for
65
- validation and the HALO exporter for mining no reimplementation.
63
+ New code lives under `src/self-harness/`: `orchestrator.ts` (one iteration), `validate.ts` (the real
64
+ paired-bench validator), `run.ts` (the committing loop + versioned snapshot), `mine.ts`, `propose.ts`,
65
+ `mods.ts` (the DSL), `transfer.ts`, plus the `uap self-harness` CLI. It **reuses** `benchmarks/paired/`
66
+ for validation and the HALO exporter for mining — no reimplementation.
66
67
 
67
68
  ## 4. The Modification DSL — bounded, typed, reversible
68
69
 
@@ -171,9 +172,15 @@ Controls:
171
172
  - **P0 — Plumbing (small).** Promote the failure-mode logs to structured HALO spans; add the held-out
172
173
  regression suite; pin a stable `signature` hashing. *Exit:* `uap harness analyze` emits a typed
173
174
  `WeaknessReport`.
174
- - **P1 — Closed loop, env+scaffold DSL (Option A).** `uap self-harness run` orchestrating
175
- mine→propose→validate→accept over `env`+`scaffold` Mods, reusing `benchmarks/paired/`. *Exit:* one
176
- autonomous iteration that accepts a real Mod (e.g. re-discovers `LLAMA_N_PREDICT=4096`) with stats.
175
+ - **P1 — Closed loop, env DSL (Option A). [BUILT]** `uap self-harness run` orchestrates
176
+ mine→propose→validate→decide over `env` Mods, reusing `benchmarks/paired/`. The real validator
177
+ (`validate.ts`) runs a baseline arm, physically toggles the env knob + restarts the server, runs a
178
+ candidate arm, reverts, and pairs the two into a `Comparison`; held-out runs the same way. `--apply`
179
+ commits accepted Mods to the env file, restarts once, and writes a **versioned profile snapshot**
180
+ (`run.ts`, `profile.ts`) + append-only history; without it the run is a pure dry-run that touches
181
+ nothing. *Exit met:* one autonomous iteration accepts a real env Mod (e.g. re-discovers
182
+ `LLAMA_N_PREDICT=4096`) with paired stats. `scaffold`/`middleware` Mods are not auto-validated here —
183
+ they route through the human-gated pending queue (§9).
177
184
  - **P2 — Middleware Mods (Option B).** Add the `middleware` Mod class + the `toolcall-path-normalizer`.
178
185
  *Exit:* the loop proposes+validates the normalizer and measurably cuts path-garbling on the medium
179
186
  suite (the ceiling manual fixes couldn't crack).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miller-tech/uap",
3
- "version": "1.108.1",
3
+ "version": "1.109.0",
4
4
  "description": "Autonomous AI agent memory system with CLAUDE.md protocol enforcement",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",