Repository navigation
Commit 3e0e222
fix(memory-core): drop dreaming theme echoes from promotion candidates
Light Sleep and Deep Sleep phases write
- Theme: `X` kept surfacing across N memories.
into daily notes. The next dreaming cycle re-ingests just the first
line as a fresh candidate before its indented status:staged and
recalls fields land. The 5-field contamination check then misses it,
so the theme echo gets promoted into MEMORY.md and the cycle keeps
recursing. Real workspaces accumulate dozens of these per agent.
Match the unique "kept surfacing across N memories" signature when a
narrative lead is present, even without status/recalls. Add a
regression test covering both the line-prefixed and bare-Reflections
variants observed in production daily notes.
Thanks @keane-7518921 parent 82ca6ec commit 3e0e222
2 files changed
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1101 | 1101 | | |
1102 | 1102 | | |
1103 | 1103 | | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
1104 | 1117 | | |
1105 | 1118 | | |
1106 | 1119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
43 | 50 | | |
44 | 51 | | |
45 | 52 | | |
| |||
285 | 292 | | |
286 | 293 | | |
287 | 294 | | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
288 | 298 | | |
289 | 299 | | |
290 | 300 | | |
| |||
0 commit comments