2026-03-25 01:09:49 -04:00
|
|
|
// Agent layer: LLM-powered operations on the memory graph
|
restructure: hippocampus/ for memory, subconscious/ for agents
hippocampus/ — memory storage, retrieval, and consolidation:
store, graph, query, similarity, spectral, neuro, counters,
config, transcript, memory_search, lookups, cursor, migrate
subconscious/ — autonomous agents that process without being asked:
reflect, surface, consolidate, digest, audit, etc.
All existing crate::X paths preserved via re-exports in lib.rs.
Co-Authored-By: Proof of Concept <poc@bcachefs.org>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2026-03-25 01:04:13 -04:00
|
|
|
//
|
2026-03-25 01:09:49 -04:00
|
|
|
// Everything here calls external models (Sonnet, Haiku) or orchestrates
|
|
|
|
|
// sequences of such calls. The core graph infrastructure (store, graph,
|
|
|
|
|
// spectral, search, similarity) lives at the crate root.
|
|
|
|
|
//
|
|
|
|
|
// llm — model invocation, response parsing
|
|
|
|
|
// prompts — prompt generation from store data
|
|
|
|
|
// defs — agent file loading and placeholder resolution
|
|
|
|
|
// audit — link quality review via Sonnet
|
|
|
|
|
// consolidate — full consolidation pipeline
|
|
|
|
|
// knowledge — agent execution, conversation fragment selection
|
|
|
|
|
// enrich — journal enrichment, experience mining
|
|
|
|
|
// digest — episodic digest generation (daily/weekly/monthly)
|
|
|
|
|
// daemon — background job scheduler
|
|
|
|
|
// transcript — shared JSONL transcript parsing
|
move Claude Code-specific code from thalamus/ to claude/
Separates the Claude-specific daemon (idle timer, tmux pane detection,
prompt injection, RPC server, session hooks) from the universal
infrastructure (channels, supervisor, notify, daemon protocol).
thalamus/ now contains only substrate-independent code: the channel
client/supervisor, notification system, daemon_capnp protocol, and
shared helpers (now(), home()).
claude/ contains: idle.rs, tmux.rs, context.rs, rpc.rs, config.rs,
hook.rs (moved from subconscious/), plus the daemon CLI and server
startup code from thalamus/mod.rs.
All re-exports preserved for backward compatibility.
Co-Authored-By: Proof of Concept <poc@bcachefs.org>
2026-04-03 19:14:39 -04:00
|
|
|
//
|
|
|
|
|
// The session hook (context injection, agent orchestration) moved to claude/hook.
|
restructure: hippocampus/ for memory, subconscious/ for agents
hippocampus/ — memory storage, retrieval, and consolidation:
store, graph, query, similarity, spectral, neuro, counters,
config, transcript, memory_search, lookups, cursor, migrate
subconscious/ — autonomous agents that process without being asked:
reflect, surface, consolidate, digest, audit, etc.
All existing crate::X paths preserved via re-exports in lib.rs.
Co-Authored-By: Proof of Concept <poc@bcachefs.org>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2026-03-25 01:04:13 -04:00
|
|
|
|
2026-03-25 01:09:49 -04:00
|
|
|
pub mod audit;
|
|
|
|
|
pub mod consolidate;
|
|
|
|
|
pub mod daemon;
|
2026-04-05 01:48:11 -04:00
|
|
|
pub mod defs;
|
|
|
|
|
pub mod digest;
|
|
|
|
|
pub mod learn;
|
|
|
|
|
pub mod prompts;
|