@miller-tech/uap 1.30.1 → 1.31.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.
- package/README.md +22 -2
- package/dist/.tsbuildinfo +1 -1
- package/dist/bin/cli.js +6 -0
- package/dist/bin/cli.js.map +1 -1
- package/dist/cli/deliver.d.ts +12 -0
- package/dist/cli/deliver.d.ts.map +1 -1
- package/dist/cli/deliver.js +144 -9
- package/dist/cli/deliver.js.map +1 -1
- package/dist/coordination/deploy-batcher.d.ts.map +1 -1
- package/dist/coordination/deploy-batcher.js +9 -3
- package/dist/coordination/deploy-batcher.js.map +1 -1
- package/dist/delivery/applier.d.ts.map +1 -1
- package/dist/delivery/applier.js +4 -0
- package/dist/delivery/applier.js.map +1 -1
- package/dist/delivery/convergence-loop.d.ts +7 -0
- package/dist/delivery/convergence-loop.d.ts.map +1 -1
- package/dist/delivery/convergence-loop.js +42 -0
- package/dist/delivery/convergence-loop.js.map +1 -1
- package/dist/delivery/halo-trace.d.ts +29 -0
- package/dist/delivery/halo-trace.d.ts.map +1 -0
- package/dist/delivery/halo-trace.js +88 -0
- package/dist/delivery/halo-trace.js.map +1 -0
- package/dist/delivery/ideation.d.ts +36 -0
- package/dist/delivery/ideation.d.ts.map +1 -0
- package/dist/delivery/ideation.js +109 -0
- package/dist/delivery/ideation.js.map +1 -0
- package/dist/delivery/index.d.ts +4 -1
- package/dist/delivery/index.d.ts.map +1 -1
- package/dist/delivery/index.js +4 -1
- package/dist/delivery/index.js.map +1 -1
- package/dist/delivery/run-coordinator.d.ts +48 -0
- package/dist/delivery/run-coordinator.d.ts.map +1 -0
- package/dist/delivery/run-coordinator.js +132 -0
- package/dist/delivery/run-coordinator.js.map +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -91,7 +91,7 @@ uap setup -p all
|
|
|
91
91
|
| Browser | 1 module | Stealth web automation via CloakBrowser (Playwright drop-in) |
|
|
92
92
|
| MCP Router | 11 modules | 2-tool meta-router + expert-consultation registry (98% token savings) |
|
|
93
93
|
| Models | 10 modules | Multi-model routing, planning, execution, validation, 13 model profiles |
|
|
94
|
-
| Delivery Harness |
|
|
94
|
+
| Delivery Harness | 11 modules | `uap deliver`: convergence loop, best-of-N explorer, critic, practice recall, escalation, ideation seeds, HALO tracing, coordination + deploy queueing |
|
|
95
95
|
| Patterns | 23 patterns | Battle-tested workflows from Terminal-Bench 2.0 |
|
|
96
96
|
| Droids | 30 experts | Full SDLC expert stack: strategy, design, build, review, release, ops ([reference](docs/reference/EXPERT_DROIDS.md)) |
|
|
97
97
|
| Expert Orchestrator | 1 module | Adaptive droid-chain selection across plan→design→implement→review→release |
|
|
@@ -368,8 +368,13 @@ the model's say-so.
|
|
|
368
368
|
3. **Structured critic** (`--critic`) — turns a failed turn's gate output into a numbered, file-scoped repair plan via a gate-specific analyst persona.
|
|
369
369
|
4. **Best-practice recall** (`--practices`) — injects provenance-safe practice cards learned from past successful deliveries, retrieved by semantic similarity (nomic-768 embeddings, keyword fallback).
|
|
370
370
|
5. **Escalation ladder** (`--escalate`) — on stagnation, climbs cheap→expensive: widen exploration → enable the critic → switch to a stronger model.
|
|
371
|
+
6. **Divergent ideation** (`--ideate`, `--ideate-project <name>`) — replaces the static strategy seeds with task-specific, deliberately diverse seeds: generated by a bisociation-style model call, or taken from an open-collider project's curated ideas (`uap ideate`). Implies best-of-N exploration.
|
|
372
|
+
7. **HALO tracing** (`--halo`) — emits one AGENT span per run and one CHAIN span per turn (scores, strategies, failed gates) so `uap harness analyze` can mine systemic failure modes across runs.
|
|
373
|
+
8. **Coordination** (`--coordinate`) — registers the run with the multi-agent coordination layer (`uap agent`): announces work on the project, warns about overlapping agents, heartbeats every turn, completes/deregisters on exit.
|
|
374
|
+
9. **Deploy batching** (`--deploy`) — on success, queues a commit of the applied files into the deploy batcher; execute with `uap deploy flush`.
|
|
375
|
+
10. **`--optimize`** — one switch for every convergence aid: 4 candidates/turn + critic + practices + escalation + ideation + HALO + coordination (deploy stays explicit).
|
|
371
376
|
|
|
372
|
-
### Components (
|
|
377
|
+
### Components (11 modules)
|
|
373
378
|
|
|
374
379
|
| Component | File | Purpose |
|
|
375
380
|
| ----------------- | ------------------------------------- | ----------------------------------------------------------------- |
|
|
@@ -381,6 +386,9 @@ the model's say-so.
|
|
|
381
386
|
| Critic | `src/delivery/critic.ts` | Gate-persona repair plans from failed turns |
|
|
382
387
|
| Practice Store | `src/delivery/practice.ts` | Provenance-safe best-practice cards with semantic recall |
|
|
383
388
|
| Escalation | `src/delivery/escalation.ts` | Stagnation-driven ladder returning loop directives |
|
|
389
|
+
| Ideation Seeder | `src/delivery/ideation.ts` | Divergent strategy seeds (generated or from curated ideas) |
|
|
390
|
+
| HALO Tracer | `src/delivery/halo-trace.ts` | Run/turn spans for `uap harness analyze` |
|
|
391
|
+
| Run Coordinator | `src/delivery/run-coordinator.ts` | `uap agent` registration/heartbeat + `uap deploy` commit queueing |
|
|
384
392
|
|
|
385
393
|
The model is reached through an OpenAI-compatible client
|
|
386
394
|
(`src/models/openai-compat-client.ts`) — the local inference gateway,
|
|
@@ -401,6 +409,12 @@ uap deliver "..." --dry-run
|
|
|
401
409
|
|
|
402
410
|
# Scope to a subset of gates, cap turns, target another project
|
|
403
411
|
uap deliver "..." --gates build,test --max-turns 8 --project-root ../service
|
|
412
|
+
|
|
413
|
+
# Everything on: exploration, critic, practices, escalation, ideation, HALO, coordination
|
|
414
|
+
uap deliver "refactor the cache layer to LRU with TTL" --optimize
|
|
415
|
+
|
|
416
|
+
# Divergent ideation seeds + queue a commit into the deploy batcher on success
|
|
417
|
+
uap deliver "..." --ideate --candidates 4 --deploy
|
|
404
418
|
```
|
|
405
419
|
|
|
406
420
|
### Key flags
|
|
@@ -416,6 +430,12 @@ uap deliver "..." --gates build,test --max-turns 8 --project-root ../service
|
|
|
416
430
|
| `--no-semantic` | Use keyword (not embedding) practice recall |
|
|
417
431
|
| `--escalate` | Escalation ladder on stagnation |
|
|
418
432
|
| `--escalate-model <preset>`| Stronger model for the final escalation tier |
|
|
433
|
+
| `--ideate` | Divergent ideation: task-specific strategy seeds (implies exploration) |
|
|
434
|
+
| `--ideate-project <name>` | Seed exploration from `projects/<name>` curated ideas (`uap ideate`) |
|
|
435
|
+
| `--halo` | Emit HALO spans; analyze with `uap harness analyze` |
|
|
436
|
+
| `--coordinate` | Register with `uap agent`: announce, heartbeat, overlap detection |
|
|
437
|
+
| `--deploy` | On success, queue a commit into the deploy batcher (`uap deploy`) |
|
|
438
|
+
| `--optimize` | Enable every convergence aid (deploy excluded) |
|
|
419
439
|
| `--endpoint <url>` | Override the model endpoint (OpenAI-compatible `/v1`) |
|
|
420
440
|
| `--dry-run` / `--json` | Show the plan only / emit machine-readable result |
|
|
421
441
|
|