You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/design-docs/working-memory-triage.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,8 +23,8 @@ Findings from CodeRabbit review + bug reports. Tracking resolution before merge.
23
23
-[ ]**R5 — Dirty flag only bumps on merges** (`src/agent/cortex.rs:1958`)
24
24
Prunes and decays also change the memory set but don't trigger knowledge synthesis re-gen. Add `report.pruned > 0 || report.decayed > 0`. **Partial in PR #570:** prunes and merges now dirty synthesis; decay remains intentionally importance-only and needs a follow-up decision.
25
25
26
-
-[]**R6 — Dirty-flag synthesis not mutex-guarded** (`src/agent/cortex.rs:2106`)
27
-
Can race with warmup synthesis path. Should acquire the same synthesis mutex. **Still open:**PR #570 single-flights background refresh tasks, but lock parity with warmup still needs a focused verify/fix pass.
26
+
-[x]**R6 — Dirty-flag synthesis not mutex-guarded** (`src/agent/cortex.rs:2106`)
27
+
Can race with warmup synthesis path. **Fixed in this slice:**dirty-triggered synthesis now acquires the warmup/synthesis mutex and re-checks the dirty version after the lock is held.
28
28
29
29
-[x]**R7 — Intraday/daily synthesis blocks main cortex loop** (`src/agent/cortex.rs:2166`)
30
30
LLM calls awaited inline inside `tokio::select!`; events stop draining during synthesis. **Fixed in PR #570:** intraday and daily synthesis now run as background tasks with single-flight scheduling and failure backoff.
0 commit comments