Commit 86e6647
release: v3.11.0 — consolidate batching + plasticity/CLS/cascade fixes
Highlights since v3.10.1:
- **Consolidate performance** (issue #13): set-based SQL batching on
decay/plasticity/pruning/cascade. Erlang predicts 100-500× speedup
on the decay stage alone on a 66K-memory store. Backed by
update_memories_heat_batch / update_entities_heat_batch /
update_relationships_weight_batch / delete_relationships_batch /
archive_entities_batch / insert_stage_transitions_batch.
- **Consolidation-scoped memory cache**: `get_all_memories_for_decay()`
now loads once per consolidate run instead of 6×.
- **Plasticity co-access fix**: window raised 50 → 2000; 99.95% LTD
distribution collapse was a sampling artefact, not plasticity.
- **CLS signal gate**: episodic sample 500 → 2000, early-exit when too
few entities clear the PC threshold, vocabulary restricted to
qualifying entities so the matrix is E_qualifying² not E_all².
- **Cascade heartbeat skip**: no-op |Δhours|<1 updates dropped;
stage_transitions batched; response payload capped at 50 + count.
- Added SQLite schema: stage_transitions table + stage_entered_at
column so cowork mode no longer crashes cascade silently.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 80ccc2f commit 86e6647
3 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments