@dzhechkov/skills-feature-adr 1.3.14 → 1.3.16

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
@@ -422,9 +422,15 @@ Hooks and events only **collect** raw data — distilling it into reusable patte
422
422
  `aqe learning consolidate` periodically (e.g. weekly, or after a heavy QE run);
423
423
  `aqe learning stats` shows the experience backlog.
424
424
  - **C (dz harness)** — run `dz consolidate` to harvest session learnings into the lexical store
425
- (mirrored to the agentdb vector store if present); inspect the result with `dz recall`. The
426
- SessionEnd hook automates this **only on clean session ends** — crashed or killed sessions are
427
- missed.
425
+ (mirrored to the agentdb vector store if present); inspect the result with `dz recall`.
426
+ Consolidation now runs automatically on **PreCompact**Claude Code fires this before every
427
+ context compaction (both auto-compaction and manual `/compact`), so long or heavily-compacted
428
+ sessions consolidate at each compaction boundary rather than only at a clean end. It is
429
+ **throttled** (a `.dz/.last-consolidate` marker enforces a minimum of ~15 min between auto-runs)
430
+ so rapid compactions don't reload the embedding model repeatedly. **SessionEnd** remains as a
431
+ secondary trigger for clean exits, and you can still run `dz consolidate` manually anytime.
432
+ PreCompact is the primary reliable trigger — earlier the SessionEnd-only hook missed long,
433
+ compacted, or crashed sessions, which left consolidation effectively manual.
428
434
 
429
435
  **Degradation symptom:** patterns stop improving while raw logs keep growing. If recall/injection
430
436
  quality plateaus, you're collecting but not distilling — consolidate.
package/bin/cli.js CHANGED
File without changes
@@ -216,7 +216,13 @@ reusable patterns is a separate consolidation step:
216
216
  returns zero useful patterns. Run `aqe learning consolidate` periodically (weekly, or after a
217
217
  heavy QE run); `aqe learning stats` shows the backlog.
218
218
  - **C** — run `dz consolidate` (harvests session learnings into the lexical store, mirrored to the
219
- vector store if present); inspect with `dz recall`. The SessionEnd hook covers **clean exits only**.
219
+ vector store if present); inspect with `dz recall`. Consolidation now runs automatically on
220
+ **PreCompact** (Claude Code fires this before every context compaction — auto and manual
221
+ `/compact`), so long/compacted sessions consolidate at each compaction boundary, not only at a
222
+ clean end. It's **throttled** via a `.dz/.last-consolidate` marker (~15 min min between auto-runs).
223
+ SessionEnd remains a secondary trigger for clean exits; manual `dz consolidate` works anytime.
224
+ PreCompact is the primary reliable trigger (SessionEnd alone missed long/compacted/crashed
225
+ sessions).
220
226
 
221
227
  **Degradation symptom:** patterns stop improving while raw logs keep growing → you're collecting,
222
228
  not distilling. Consolidate.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dzhechkov/skills-feature-adr",
3
- "version": "1.3.14",
3
+ "version": "1.3.16",
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
  "bin": {
6
6
  "skills-feature-adr": "./bin/cli.js"
@@ -13,9 +13,6 @@
13
13
  "CHANGELOG.md",
14
14
  "docs/"
15
15
  ],
16
- "scripts": {
17
- "prepack": "node -e \"const fs=require('fs');const bad=['.claude','.skills-feature-adr.json'].filter(p=>fs.existsSync(p));if(bad.length){console.error('prepack guard: stray init artifacts in package dir: '+bad.join(', ')+' — remove before packing');process.exit(1)}\""
18
- },
19
16
  "keywords": [
20
17
  "claude",
21
18
  "claude-code",
@@ -60,5 +57,6 @@
60
57
  },
61
58
  "publishConfig": {
62
59
  "access": "public"
63
- }
64
- }
60
+ },
61
+ "scripts": {}
62
+ }