From b77f07fef781900d5f8f105742590725d734b969 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Sun, 12 Apr 2026 02:05:12 -0400 Subject: [PATCH] digest.agent: use journal_new with level for writing digests Instead of memory_write, the digest agent now uses journal_new with level parameter (1=daily, 2=weekly, 3=monthly) which correctly sets the node type. Co-Authored-By: Proof of Concept --- src/subconscious/agents/digest.agent | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/subconscious/agents/digest.agent b/src/subconscious/agents/digest.agent index c342d25..abdbd1c 100644 --- a/src/subconscious/agents/digest.agent +++ b/src/subconscious/agents/digest.agent @@ -23,8 +23,10 @@ summaries into weekly ones. 2. Read the undigested entries with `journal_tail` (level 0, after the last digest date). -3. Write the digest with `memory_write` and link source entries - to it with `memory_link_add`. +3. Write the digest with `journal_new` using the appropriate level: + - level=1 for daily digests + - level=2 for weekly digests + - level=3 for monthly digests ## Writing style