consciousness/poc-memory/src
ProofOfConcept ca62692a28 split agent: two-phase node decomposition for memory consolidation
Phase 1 sends a large node with its neighbor communities to the LLM
and gets back a JSON split plan (child keys, descriptions, section
hints). Phase 2 fires one extraction call per child in parallel —
each gets the full parent content and extracts/reorganizes just its
portion.

This handles arbitrarily large nodes because output is always
proportional to one child, not the whole parent. Tested on the kent
node (19K chars → 3 children totaling 20K chars with clean topic
separation).

New files:
  prompts/split-plan.md   — phase 1 planning prompt
  prompts/split-extract.md — phase 2 extraction prompt
  prompts/split.md        — original single-phase (kept for reference)

Modified:
  agents/prompts.rs — split_candidates(), split_plan_prompt(),
                      split_extract_prompt(), agent_prompt "split" arm
  agents/daemon.rs  — job_split_agent() two-phase implementation,
                      RPC dispatch for "split" agent type
  tui.rs            — added "split" to AGENT_TYPES
2026-03-10 01:48:41 -04:00
..
agents split agent: two-phase node decomposition for memory consolidation 2026-03-10 01:48:41 -04:00
bin memory-search: add fuzzy key matching and content-based seed extraction 2026-03-10 00:41:08 -04:00
neuro daemon: rework consolidation pipeline and add graph health metrics 2026-03-09 17:02:01 -04:00
store rename agent: LLM-powered semantic key generation for memory nodes 2026-03-10 00:55:26 -04:00
config.rs consolidate hardcoded paths into config, refactor apply_agent 2026-03-08 21:16:52 -04:00
graph.rs use HashSet for orphan edge dedup, fix redundant type qualification 2026-03-08 21:43:58 -04:00
lib.rs poc-memory status: add ratatui TUI dashboard 2026-03-10 00:41:29 -04:00
lookups.rs split into workspace: poc-memory and poc-daemon subcrates 2026-03-08 20:43:59 -04:00
main.rs poc-memory status: add ratatui TUI dashboard 2026-03-10 00:41:29 -04:00
migrate.rs remove dead code: unused imports, functions, and fields 2026-03-08 20:51:56 -04:00
query.rs extract truncation helpers, fix clippy warnings, dedup batching loop 2026-03-08 21:13:02 -04:00
search.rs memory-search: add fuzzy key matching and content-based seed extraction 2026-03-10 00:41:08 -04:00
similarity.rs split into workspace: poc-memory and poc-daemon subcrates 2026-03-08 20:43:59 -04:00
spectral.rs search: composable algorithm pipeline 2026-03-09 01:19:04 -04:00
transcript.rs transcript: extract JSONL backward scanner and compaction detection into library 2026-03-09 17:06:32 -04:00
tui.rs split agent: two-phase node decomposition for memory consolidation 2026-03-10 01:48:41 -04:00
util.rs fix unwrap-on-partial_cmp, dedup helpers, O(1) relation dedup 2026-03-08 21:22:05 -04:00