From f5b4102c6f1979a2ffb9418ec3cda04921b17c30 Mon Sep 17 00:00:00 2001 From: Cal Corum Date: Fri, 20 Feb 2026 00:47:17 -0600 Subject: [PATCH] relate: 59268a95 --CAUSES--> b33e2316 --- ...CAUSES--systemd-oncalendarweekly-and-o-6f7d12.md | 13 +++++++++++++ ...cognitive-memory-save-state-loses-last-59268a.md | 8 +++++++- ...ly-and-oncalendardaily-fire-simultaneo-b33e23.md | 8 +++++++- 3 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 graph/edges/fix-race-condition-in-cognitiv--CAUSES--systemd-oncalendarweekly-and-o-6f7d12.md diff --git a/graph/edges/fix-race-condition-in-cognitiv--CAUSES--systemd-oncalendarweekly-and-o-6f7d12.md b/graph/edges/fix-race-condition-in-cognitiv--CAUSES--systemd-oncalendarweekly-and-o-6f7d12.md new file mode 100644 index 00000000000..42881ad586c --- /dev/null +++ b/graph/edges/fix-race-condition-in-cognitiv--CAUSES--systemd-oncalendarweekly-and-o-6f7d12.md @@ -0,0 +1,13 @@ +--- +id: 6f7d12e4-b494-4aea-9be9-f43a5492719c +type: CAUSES +from_id: 59268a95-4712-48b4-bccb-6171c7885301 +from_title: "Fix: Race condition in cognitive-memory _save_state loses last_reflection timestamp when daily+weekly timers collide" +to_id: b33e2316-6313-4ed9-b95a-3a469b820101 +to_title: "Systemd OnCalendar=weekly and OnCalendar=daily fire simultaneously on Sundays/Mondays - always stagger shared-state timers" +strength: 0.9 +created: "2026-02-20T06:47:17.701728+00:00" +updated: "2026-02-20T06:47:17.701728+00:00" +--- + +The systemd timer collision (insight) is the root cause of the _save_state race condition (fix) diff --git a/graph/fixes/fix-race-condition-in-cognitive-memory-save-state-loses-last-59268a.md b/graph/fixes/fix-race-condition-in-cognitive-memory-save-state-loses-last-59268a.md index 4c306045b60..06fe7d6ef15 100644 --- a/graph/fixes/fix-race-condition-in-cognitive-memory-save-state-loses-last-59268a.md +++ b/graph/fixes/fix-race-condition-in-cognitive-memory-save-state-loses-last-59268a.md @@ -6,7 +6,13 @@ tags: [cognitive-memory, fix, race-condition, systemd, state-management, atomici importance: 0.8 confidence: 0.8 created: "2026-02-20T06:47:07.701221+00:00" -updated: "2026-02-20T06:47:07.701221+00:00" +updated: "2026-02-20T06:47:17.701728+00:00" +relations: + - target: b33e2316-6313-4ed9-b95a-3a469b820101 + type: CAUSES + direction: outgoing + strength: 0.9 + edge_id: 6f7d12e4-b494-4aea-9be9-f43a5492719c --- # Race Condition in _save_state Corrupts last_reflection Timestamp diff --git a/graph/insights/systemd-oncalendarweekly-and-oncalendardaily-fire-simultaneo-b33e23.md b/graph/insights/systemd-oncalendarweekly-and-oncalendardaily-fire-simultaneo-b33e23.md index e4e8ef075c6..44c6d3fe936 100644 --- a/graph/insights/systemd-oncalendarweekly-and-oncalendardaily-fire-simultaneo-b33e23.md +++ b/graph/insights/systemd-oncalendarweekly-and-oncalendardaily-fire-simultaneo-b33e23.md @@ -6,7 +6,13 @@ tags: [systemd, timer, gotcha, race-condition, cognitive-memory, scheduling] importance: 0.5 confidence: 0.8 created: "2026-02-20T06:47:13.739265+00:00" -updated: "2026-02-20T06:47:13.739265+00:00" +updated: "2026-02-20T06:47:17.701728+00:00" +relations: + - target: 59268a95-4712-48b4-bccb-6171c7885301 + type: CAUSES + direction: incoming + strength: 0.9 + edge_id: 6f7d12e4-b494-4aea-9be9-f43a5492719c --- # Systemd Timer Collision Gotcha