agenr 0.9.40 → 0.9.42

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/CHANGELOG.md CHANGED
@@ -1,5 +1,46 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.9.42 (2026-03-02)
4
+
5
+ ### Features
6
+ - **Periodic reflection and synthesis** (#269): New `reflection` maintain task that
7
+ synthesizes clusters of related entries into higher-level reflections using
8
+ two-step LLM prompting (question generation + synthesis) with a verification pass.
9
+ Source entries are importance-demoted (not retired) so raw knowledge remains
10
+ accessible. Co-recall edges are transferred to reflection entries for graph
11
+ continuity.
12
+ - New entry type: `reflection` for synthesized knowledge
13
+ - New `reflections` table for process metadata
14
+ - Extended `entry_sources` with `action` column for unified provenance tracking
15
+ - New `--full` flag for full-brain reflection (ignores change detection)
16
+ - Configurable: reflection model, verification model, coverage threshold, demotion
17
+ amount, importance threshold, cluster size minimum
18
+ - Re-synthesis guards: minimum cumulative importance threshold for changed entries
19
+
20
+ ### Bug Fixes
21
+ - Fix parseSynthesisResponse bailing on first JSON candidate instead of trying alternatives
22
+ - Fix verification prompt missing explicit check instructions
23
+ - Fix demoteEntryImportance/retireReflectionEntry using wall clock instead of injected time
24
+ - Fix transferCoRecallEdges silently dropping stronger edges (now uses MAX weight)
25
+ - Fix verification ignoring the verified boolean (only checked coverage_score)
26
+ - Extract shared JSON parsing utilities to reduce duplication
27
+ - Add cluster churn detection for re-synthesis safety
28
+
29
+ ## 0.9.41 - 2026-03-01
30
+
31
+ ### Fixed
32
+ - Recall score saturation: sigmoid compression + multiplicative boosts preserve ranking discrimination (#341)
33
+ - Classifier now recognizes bare numbers, issue refs (#380), and version patterns (v0.9.22) as entities (#331)
34
+ - Skip expensive recall and context injection when session-start is triggered by heartbeat poll (#340)
35
+ - Extraction prompt now skips hypothetical examples, test data, and mock entities (#283)
36
+ - Extraction prompt now skips meta-conversation about the knowledge base itself (#248)
37
+
38
+ ### Tests
39
+ - Score saturation: ranking preservation tests, updated ratio assertions to ordering
40
+ - Classifier: numeric reference detection with positive and negative cases
41
+ - Heartbeat detection: pattern matching and session skip verification
42
+ - Extraction prompt: anti-pattern content validation
43
+
3
44
  ## 0.9.40 - 2026-03-01
4
45
 
5
46
  ### Fixed