From addd153e8f01f75605e07c705c2aaf744ab77b93 Mon Sep 17 00:00:00 2001 From: nanobot Date: Wed, 10 Jun 2026 08:34:08 +0200 Subject: [PATCH] dream: 2026-06-10 07:05, 2 change(s) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [MEMORY] User has a chicken coop (chlívek) with pending temperature sensor and MQTT display project [MEMORY] User has a basement (sklep) with pending key mapping project [MEMORY] User has recurring task to back up wood.hell to pivo.hell [MEMORY] User wants to plan Christmas vacation in Panama [MEMORY] remind skill SQLite redesign completed 2026-06-10, all 43 tests passing [MEMORY] remind skill: migration tested against 14 live reminders then rolled back, original YAML kept as .bak [MEMORY] remind skill: soft delete (deleted_at) for reminder removal instead of hard deletion [MEMORY] remind skill: REMIND_DB env var configures SQLite database path [MEMORY] remind skill: fixed cron due detection using croniter with ±1s tolerance around current time [MEMORY] remind skill: fixed enable/disable returning incorrect state by re-fetching reminder after UPDATE [MEMORY] remind skill: fixed test JSONDecodeError by clearing capsys buffer between consecutive CLI invocations in same test function [MEMORY-REMOVE] `/remind` critical issues line (one-time reminders fire repeatedly, non-atomic YAML writes, fragile YAML construction, missing list subcommand, no tests, race condition) — superseded by SQLite migration which resolved atomic writes, YAML fragility, race conditions, and added 43 tests [MEMORY-REMOVE] `/remind` fix priorities line (P0–P3) — superseded by completed SQLite redesign; P0/P2/P3 addressed, P1 YAML serialization replaced by SQLite --- memory/.dream_cursor | 2 +- memory/MEMORY.md | 13 +++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/memory/.dream_cursor b/memory/.dream_cursor index 9573848..e8a4e6b 100644 --- a/memory/.dream_cursor +++ b/memory/.dream_cursor @@ -1 +1 @@ -326 \ No newline at end of file +329 \ No newline at end of file diff --git a/memory/MEMORY.md b/memory/MEMORY.md index 1288f4b..b543cf9 100644 --- a/memory/MEMORY.md +++ b/memory/MEMORY.md @@ -92,8 +92,13 @@ This file stores important information that should persist across sessions. - Empty output → silent exit (no notification sent) - Each non-empty output line → forwarded as separate Telegram notification - `/remind` skill podporuje `at` parametr pro jednorázové a `random` pro náhodné časy v okně -- `/remind` critical issues: one-time `at` reminders fire repeatedly (60s tolerance window), non-atomic YAML writes, fragile manual YAML string construction, missing `list` subcommand, no tests for edit/send scripts, race condition between edit and send without file locking -- `/remind` fix priorities: P0 = atomic writes + deduplicate one-time reminders; P1 = `list` command + proper YAML serialization + validation; P2 = add tests; P3 = SQLite state tracking + edit command + cron step syntax +- `/remind` SQLite redesign completed 2026-06-10, all 43 tests passing +- `/remind` migration tested against 14 live reminders then rolled back, original YAML kept as .bak +- `/remind` soft delete (deleted_at) for reminder removal instead of hard deletion +- `/remind` REMIND_DB env var configures SQLite database path +- `/remind` fixed cron due detection using croniter with ±1s tolerance around current time +- `/remind` fixed enable/disable returning incorrect state by re-fetching reminder after UPDATE +- `/remind` fixed test JSONDecodeError by clearing capsys buffer between consecutive CLI invocations in same test function - Daily reminder at 19:00 to install pigeon spikes on the window to the shed - Weekday reminder at 9:30 to check notebook repair prices for Horáčková - Daily reminder at 9:10 to order xshoes @@ -109,6 +114,10 @@ This file stores important information that should persist across sessions. ## Personal Notes - Buy new merino shirt ("koupit nové merino triko") +- Chicken coop (chlívek): pending temperature sensor and MQTT display project +- Basement (sklep): pending key mapping project +- Recurring task: back up wood.hell to pivo.hell +- Plan Christmas vacation in Panama ---