@hilbras/omninode 0.7.0 → 0.9.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,7 +18,7 @@ existing intelligence; it does not try to become another model.
18
18
 
19
19
  ## Status
20
20
 
21
- **v0.7.0 — Phase 6: Multi-AI Report System** (see [docs/DEVELOPMENT_PLAN.md](docs/DEVELOPMENT_PLAN.md)
21
+ **v0.9.0 — Phase 8: Planner System** (see [docs/DEVELOPMENT_PLAN.md](docs/DEVELOPMENT_PLAN.md)
22
22
  for the full plan and roadmap).
23
23
 
24
24
  What exists today:
@@ -74,6 +74,29 @@ What exists today:
74
74
  - Aggregation (§17): duplicate/similar findings merged via deterministic
75
75
  token-set similarity, sources preserved, highest severity kept
76
76
  - Combined reports generated automatically at the end of every pipeline run
77
+ - **Memory** (`src/memory/`): the §20 loop — before a task runs, relevant
78
+ memory is gathered and injected into the agent's context; after it finishes,
79
+ the outcome is recorded back. High/critical findings are promoted to
80
+ project-level "known problems". Opt in via a `memory:` config section:
81
+ - `provider: local` (default) — JSON file at `.omninode/memory.json` with
82
+ deterministic keyword/tag relevance scoring, zero dependencies
83
+ - `provider: remembera` — the preferred Hilbras memory integration over
84
+ HTTP (base URL + `api_key_env_var`); strictly optional, like every
85
+ Hilbras component
86
+ - Memory failures are best-effort: logged, never fatal to a task
87
+ - **Planner layer** (`src/planner/`):
88
+ - Typed plan schema (`Plan` with ordered steps, targets, acceptance
89
+ criteria, risks, and finding traceability via `sourceFindings`)
90
+ - Planner context builder: objective + role + combined findings with
91
+ sources + relevant memory + research context
92
+ - `ModelPlanner` — asks a chat model (`provider:model-id`) for JSON matching
93
+ the plan contract; unparseable output degrades gracefully to the heuristic
94
+ fallback
95
+ - `HeuristicPlanner` — deterministic, offline plan from recommendations and
96
+ significant findings (also the fallback)
97
+ - Plans persist to `.omninode/plans.json`; pipeline runs record `planId`
98
+ - Configure with `planner: { kind: model | heuristic, model, instruction }`
99
+ — never hardcoded to any provider
77
100
  - Typed error hierarchy (`src/errors/`)
78
101
  - Leveled logger with pluggable sink (`src/logger/`)
79
102
  - Configuration system: `omninode.yaml` with `${ENV_VAR}` expansion and strict
@@ -154,6 +177,26 @@ project:
154
177
  omninode pipeline run repo-audit "Audit the authentication module"
155
178
  omninode report combined # the aggregated intelligence of that run
156
179
  omninode report show combined-xxx # grouped findings with per-source attribution
180
+ omninode plan show plan-xxx # the implementation plan the planner produced
181
+ ```
182
+
183
+ The planner layer (§18) turns combined intelligence into an ordered,
184
+ actionable implementation plan. Configure it once:
185
+
186
+ ```yaml
187
+ project:
188
+ planner:
189
+ kind: model # or heuristic for offline planning
190
+ model: my-gateway:chatgpt
191
+ ```
192
+
193
+ Persistent memory (§19–§20) — opt in with `memory: { provider: local }` or
194
+ `provider: remembera` in `omninode.yaml`:
195
+
196
+ ```bash
197
+ omninode memory status # provider + entry counts
198
+ omninode memory query "authentication jwt" # what the agents will see
199
+ omninode memory write "Decision: use rotating JWT secrets" --scope project --tags architecture
157
200
  ```
158
201
 
159
202
  See [omninode.yaml.example](omninode.yaml.example) for a full configuration.
@@ -190,9 +233,10 @@ Phases 0–11 are laid out in [docs/DEVELOPMENT_PLAN.md](docs/DEVELOPMENT_PLAN.m
190
233
  | v0.3.0 | OmniHilbras Integration (optional, like every provider) |
191
234
  | v0.4.0 | Agent System |
192
235
  | v0.5.0 | Roles & Tasks |
193
- | **v0.7.0** | **Multi-AI Reports (current)** |
194
- | v0.8.0 | Remembera (optional memory integration) |
195
- | v0.9.0 | Planner |
236
+ | v0.7.0 | Multi-AI Reports |
237
+ | v0.7.0 | Multi-AI Reports |
238
+ | v0.8.0 | Remembera / Memory |
239
+ | **v0.9.0** | **Planner (current)** |
196
240
  | v0.10.0 | End-to-End Runtime |
197
241
  | v1.0.0 | Production Release |
198
242