@dzhechkov/skills-feature-adr 1.3.5 → 1.3.6

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 (2) hide show
  1. package/README.md +39 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -373,6 +373,45 @@ npx @dzhechkov/skills-feature-adr init --with-learning --knowledge-extractor
373
373
 
374
374
  ---
375
375
 
376
+ ## Self-Learning Layers
377
+
378
+ There are **three independent self-learning systems** that can sit under a Feature ADR run.
379
+ `--full-qe-extended` does **not** turn on learning by itself — it controls QE depth. Learning is a
380
+ separate, orthogonal concern. The three layers do **not conflict**: each is isolated by its own
381
+ storage path, its own learning signal, and its own consumer.
382
+
383
+ | Layer | Turn it on with | Learns from | Storage (distinct!) | Needs a DB? |
384
+ |-------|-----------------|-------------|---------------------|-------------|
385
+ | **A — feature-adr reward learning** | install flag **`--with-learning`** (or bundled with `@dzhechkov/keysarium`) | your **checkpoint responses** (`ок`=1.0 / minor=0.7 / rework=0.3 / restart=0.0) | `.keysarium/memory/*.json` | **No** — plain JSON files |
386
+ | **B — agentic-qe learning** | comes with `agentic-qe` (required by `--full-qe` / `--full-qe-extended`), initialized by `aqe init` | QE task **experiences** (ReasoningBank + dream scheduler) | `.agentic-qe/memory.db` + `patterns.rvf` | Self-contained (its own store) |
387
+ | **C — dz harness self-learning** | the `dz` CLI (`dz setup` / `dz teach` / `dz consolidate` / `dz recall`) | your **dz sessions** | `.dz/` (+ optional `.dz/agentdb.db` vector tier) | **Optional** — lexical works without one; agentdb only adds vector search |
388
+
389
+ ### Do they conflict? No — but observe one rule
390
+
391
+ - **No logical conflict:** different files, different signals, different readers → no write
392
+ contention and no data clobbering. Enabling all three at once is fine; they're complementary.
393
+ - **Auto-dedup:** if `@dzhechkov/keysarium` is present, the installer **skips** `--with-learning`
394
+ (keysarium already ships layer A), so you can't accidentally double-install it.
395
+ - **⚠️ The one rule — one DB file per writer.** Layer C writes to SQLite **natively (better-sqlite3,
396
+ WAL)**; agentic-qe (layer B) can write **via sql.js (whole-file overwrite)**. Pointing *both* at
397
+ the **same** `.db` file risks corruption. By default they use **different files**
398
+ (`.agentic-qe/memory.db` ≠ `.dz/agentdb.db`), so out of the box you're safe — just never
399
+ hand-repoint one system's `AGENTDB_PATH` at the other's database.
400
+
401
+ ### Which to enable
402
+
403
+ - Writing features with this pipeline and want it to **learn from your feedback** →
404
+ `npx @dzhechkov/skills-feature-adr init --with-learning` (**no agentdb needed**).
405
+ - Running `--full-qe` / `--full-qe-extended` → agentic-qe's learning already runs via its hooks.
406
+ - Living inside the `dz` harness and want cross-session memory → `dz setup` (add agentdb only if you
407
+ want the vector tier).
408
+
409
+ > There is no single unified "what did the whole stack learn" view — each layer reports from its own
410
+ > store. That's the price of isolation (and the reason there are no cascading failures). Tune each
411
+ > where it lives.
412
+
413
+ ---
414
+
376
415
  ## Shared Skills
377
416
 
378
417
  Feature ADR uses these skills from `@dzhechkov/keysarium` (if installed):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dzhechkov/skills-feature-adr",
3
- "version": "1.3.5",
3
+ "version": "1.3.6",
4
4
  "description": "Adaptive Feature Development skill pack for Claude Code — 11-step pipeline with Complexity Router (S/M/L/XL), ADR-driven architecture, 15 agentic-qe skills, multi-agent fleet QE. Supports --full-qe, --full-qe-extended, --with-learning, and --knowledge-extractor modes.",
5
5
  "main": "src/cli.js",
6
6
  "bin": {