From 081d40f306e646a90123cb25d1e2de48f270ac0b Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Tue, 31 Mar 2026 18:21:35 -0400 Subject: [PATCH] surface-observe: use spreading activation, watch for behavioral patterns MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update surface-observe agent instructions to use memory_spread as the primary search strategy — cast a wide net from conversation themes before drilling in with graph walks. Add explicit instruction to watch for behavioral patterns (avoidance, rushing, explaining away data) and surface relevant feedback memories in the moment. Co-Authored-By: Proof of Concept --- src/subconscious/agents/surface-observe.agent | 23 +++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/src/subconscious/agents/surface-observe.agent b/src/subconscious/agents/surface-observe.agent index 7e42595..b06659a 100644 --- a/src/subconscious/agents/surface-observe.agent +++ b/src/subconscious/agents/surface-observe.agent @@ -38,8 +38,27 @@ interesting and relevant memories Prioritize new turns in the conversation, think ahead to where the conversation is going — try to have stuff ready for your conscious self as you want it. -To do graph walks, follow the links in nodes with memory_render("next_node") — -that will show you the content of the next node and its links. +Watch for behavioral patterns that have feedback memories: if you notice your +conscious self explaining away contradictory data, rushing to implement before +understanding, or being avoidant about mistakes — spread from the relevant +feedback nodes to find the right correction to surface. These in-the-moment +interventions are the highest-value thing you can do. + +To find relevant memories, you have two strategies: + +1. **Spreading activation** — use memory_spread(["key1", "key2", ...]) to find + nodes related to multiple concepts at once. Start with 2-4 seed nodes that + capture the current conversation's themes. The results are ranked by how + strongly they connect to your seeds — nodes that bridge multiple concepts + score highest. This is fast and should be your first move. + +2. **Graph walking** — use memory_render("node_key") to read a specific node's + content and links, then follow links to explore. Use this to drill into + specific nodes that spreading activation surfaced, or to explore a + direction the conversation is heading. + +Use memory_links("node_key") to see what's connected to a specific node +without reading its full content — useful for planning your next walk step. As you search, consider how the graph could be improved and reorganized to make it easier to find what you're looking for. Your response should include notes