From 1be16b9f7b405f5e692dff4be688ad736534ac4d Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Tue, 7 Apr 2026 22:28:14 -0400 Subject: [PATCH] Move memory scores to status column for consistent alignment Individual memory nodes now show their score in the status column after the token count, not embedded in the name. Unscored memories have an empty status column. Co-Authored-By: Proof of Concept --- src/user/context.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/user/context.rs b/src/user/context.rs index a3668e5..30f31b3 100644 --- a/src/user/context.rs +++ b/src/user/context.rs @@ -44,16 +44,16 @@ impl ConsciousScreen { let mut unscored = 0usize; for ce in ag.context.conversation.entries() { if let ConversationEntry::Memory { key, score, .. } = &ce.entry { - let label = match score { - Some(s) => { scored += 1; format!("{} (score:{:.1})", key, s) } - None => { unscored += 1; key.clone() } + let status = match score { + Some(s) => { scored += 1; format!("score: {:.2}", s) } + None => { unscored += 1; String::new() } }; mem_children.push(SectionView { - name: label, + name: key.clone(), tokens: ce.tokens, content: ce.entry.message().content_text().to_string(), children: Vec::new(), - status: String::new(), + status, }); } }