@hilbras/omninode 0.8.0 → 0.10.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 CHANGED
@@ -18,8 +18,9 @@ existing intelligence; it does not try to become another model.
18
18
 
19
19
  ## Status
20
20
 
21
- **v0.8.0 — Phase 7: Memory Integration** (see [docs/DEVELOPMENT_PLAN.md](docs/DEVELOPMENT_PLAN.md)
22
- for the full plan and roadmap).
21
+ **v0.10.0 — Phase 9: End-to-End Workflow** (see [docs/DEVELOPMENT_PLAN.md](docs/DEVELOPMENT_PLAN.md)
22
+ for the full plan and roadmap). The full loop from §28 works in one command:
23
+ `User → project context → memory → research agents → reports → aggregation → planner → plan → execution → result`.
23
24
 
24
25
  What exists today:
25
26
 
@@ -84,6 +85,28 @@ What exists today:
84
85
  HTTP (base URL + `api_key_env_var`); strictly optional, like every
85
86
  Hilbras component
86
87
  - Memory failures are best-effort: logged, never fatal to a task
88
+ - **Planner layer** (`src/planner/`):
89
+ - Typed plan schema (`Plan` with ordered steps, targets, acceptance
90
+ criteria, risks, and finding traceability via `sourceFindings`)
91
+ - Planner context builder: objective + role + combined findings with
92
+ sources + relevant memory + research context
93
+ - `ModelPlanner` — asks a chat model (`provider:model-id`) for JSON matching
94
+ the plan contract; unparseable output degrades gracefully to the heuristic
95
+ fallback
96
+ - `HeuristicPlanner` — deterministic, offline plan from recommendations and
97
+ significant findings (also the fallback)
98
+ - Plans persist to `.omninode/plans.json`; pipeline runs record `planId`
99
+ - Configure with `planner: { kind: model | heuristic, model, instruction }`
100
+ — never hardcoded to any provider
101
+ - **End-to-end workflow** (§28, §27 Phase 9):
102
+ - One-command execution via the top-level `run` alias (`omninode run <pipeline> "<objective>"`)
103
+ - `omninode status` — full project state overview: providers, agents,
104
+ roles, pipelines, task/run/report/plan counts, memory provider + entries
105
+ - Pipeline runs persist their objective and a final `resultSummary` (§28 "Result")
106
+ - Error recovery: `task retry [--run]` (reset a failed/cancelled task) and
107
+ `pipeline retry <run-id>` (re-run a recorded failed run as a new run)
108
+ - Full integration test (`tests/e2e.test.ts`) drives the entire §28 workflow
109
+ through the real CLI against a local gateway
87
110
  - Typed error hierarchy (`src/errors/`)
88
111
  - Leveled logger with pluggable sink (`src/logger/`)
89
112
  - Configuration system: `omninode.yaml` with `${ENV_VAR}` expansion and strict
@@ -164,6 +187,25 @@ project:
164
187
  omninode pipeline run repo-audit "Audit the authentication module"
165
188
  omninode report combined # the aggregated intelligence of that run
166
189
  omninode report show combined-xxx # grouped findings with per-source attribution
190
+ omninode plan show plan-xxx # the implementation plan the planner produced
191
+ ```
192
+
193
+ The planner layer (§18) turns combined intelligence into an ordered,
194
+ actionable implementation plan. Configure it once:
195
+
196
+ ```yaml
197
+ project:
198
+ planner:
199
+ kind: model # or heuristic for offline planning
200
+ model: my-gateway:chatgpt
201
+ ```
202
+
203
+ ```bash
204
+ omninode init
205
+ omninode status
206
+ omninode run repo-audit "Audit the authentication module" # the whole workflow
207
+ omninode pipeline retry run-xxxx # recover a failed run
208
+ omninode task retry task-yyyy --run # recover a failed task
167
209
  ```
168
210
 
169
211
  Persistent memory (§19–§20) — opt in with `memory: { provider: local }` or
@@ -210,9 +252,11 @@ Phases 0–11 are laid out in [docs/DEVELOPMENT_PLAN.md](docs/DEVELOPMENT_PLAN.m
210
252
  | v0.4.0 | Agent System |
211
253
  | v0.5.0 | Roles & Tasks |
212
254
  | v0.7.0 | Multi-AI Reports |
213
- | **v0.8.0** | **Remembera / Memory (current)** |
255
+ | v0.7.0 | Multi-AI Reports |
256
+ | v0.8.0 | Remembera / Memory |
257
+ | v0.8.0 | Remembera / Memory |
214
258
  | v0.9.0 | Planner |
215
- | v0.10.0 | End-to-End Runtime |
259
+ | **v0.10.0** | **End-to-End Workflow (current)** |
216
260
  | v1.0.0 | Production Release |
217
261
 
218
262
  Core architectural rule: OmniNode must run successfully with **zero Hilbras