consciousness/src/subconscious
ProofOfConcept 24b211dc35 Feed observe agents their recent writes to prevent duplicate nodes
Observe was creating byte-identical nodes under slightly different names
(e.g. april-8-evening-folded-presence, -presence-2, -folded-state)
because it had no visibility into its own prior writes across runs.

Query recent writes by provenance in trigger(), pass through
run_forked_shared/resolve_prompt as {{recently_written}}, and include
the list in the observe phase prompts so the agent knows what it
already recorded.

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
2026-04-08 23:27:12 -04:00
..
agents Feed observe agents their recent writes to prevent duplicate nodes 2026-04-08 23:27:12 -04:00
audit.rs Kill log callback — use ConversationEntry::Log for debug traces 2026-04-07 01:23:22 -04:00
consolidate.rs Reduce pub visibility: hippocampus, subconscious internals 2026-04-07 17:29:12 -04:00
daemon.rs Kill log callback — use ConversationEntry::Log for debug traces 2026-04-07 01:23:22 -04:00
defs.rs Fix UTF-8 slicing panics: use floor_char_boundary for all truncation 2026-04-08 19:35:01 -04:00
digest.rs Output tool via Arc<Mutex<Subconscious>> closure — complete 2026-04-08 20:41:42 -04:00
learn.rs Clean up warnings: StreamToken pub, dead oneshot code, SkipIndex 2026-04-08 16:35:57 -04:00
mod.rs Fix: reap stale agent pid files in poc-hook 2026-04-07 13:27:59 -04:00
prompts.rs Reduce pub visibility: hippocampus, subconscious internals 2026-04-07 17:29:12 -04:00