@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.
Files changed (35) hide show
  1. package/README.md +22 -2
  2. package/dist/.tsbuildinfo +1 -1
  3. package/dist/bin/cli.js +6 -0
  4. package/dist/bin/cli.js.map +1 -1
  5. package/dist/cli/deliver.d.ts +12 -0
  6. package/dist/cli/deliver.d.ts.map +1 -1
  7. package/dist/cli/deliver.js +144 -9
  8. package/dist/cli/deliver.js.map +1 -1
  9. package/dist/coordination/deploy-batcher.d.ts.map +1 -1
  10. package/dist/coordination/deploy-batcher.js +9 -3
  11. package/dist/coordination/deploy-batcher.js.map +1 -1
  12. package/dist/delivery/applier.d.ts.map +1 -1
  13. package/dist/delivery/applier.js +4 -0
  14. package/dist/delivery/applier.js.map +1 -1
  15. package/dist/delivery/convergence-loop.d.ts +7 -0
  16. package/dist/delivery/convergence-loop.d.ts.map +1 -1
  17. package/dist/delivery/convergence-loop.js +42 -0
  18. package/dist/delivery/convergence-loop.js.map +1 -1
  19. package/dist/delivery/halo-trace.d.ts +29 -0
  20. package/dist/delivery/halo-trace.d.ts.map +1 -0
  21. package/dist/delivery/halo-trace.js +88 -0
  22. package/dist/delivery/halo-trace.js.map +1 -0
  23. package/dist/delivery/ideation.d.ts +36 -0
  24. package/dist/delivery/ideation.d.ts.map +1 -0
  25. package/dist/delivery/ideation.js +109 -0
  26. package/dist/delivery/ideation.js.map +1 -0
  27. package/dist/delivery/index.d.ts +4 -1
  28. package/dist/delivery/index.d.ts.map +1 -1
  29. package/dist/delivery/index.js +4 -1
  30. package/dist/delivery/index.js.map +1 -1
  31. package/dist/delivery/run-coordinator.d.ts +48 -0
  32. package/dist/delivery/run-coordinator.d.ts.map +1 -0
  33. package/dist/delivery/run-coordinator.js +132 -0
  34. package/dist/delivery/run-coordinator.js.map +1 -0
  35. 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 | 8 modules | `uap deliver`: convergence loop, best-of-N explorer, critic, practice recall, escalation |
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 (8 modules)
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