consciousness/poc-memory/src/agents
Kent Overstreet 53e6b32cb4 daemon: rework consolidation pipeline and add graph health metrics
Replace monolithic consolidate job with individual agent jobs
(replay, linker, separator, transfer, health) that run sequentially
and store reports. Multi-phase daily pipeline: agent runs → apply
actions → link orphans → cap degree → digest → digest links →
knowledge loop.

Add GraphHealth struct with graph metrics (alpha, gini, clustering
coefficient, episodic ratio) computed during health checks. Display
in `poc-memory daemon status`. Use cached metrics to build
consolidation plan without expensive O(n²) interference detection.

Add RPC consolidate command to trigger consolidation via socket.
Harden session watcher: skip transcripts with zero segments, improve
migration error handling.

Co-Authored-By: ProofOfConcept <poc@bcachefs.org>
2026-03-09 17:02:01 -04:00
..
audit.rs move LLM-dependent modules into agents/ subdir 2026-03-08 21:27:41 -04:00
consolidate.rs move LLM-dependent modules into agents/ subdir 2026-03-08 21:27:41 -04:00
daemon.rs daemon: rework consolidation pipeline and add graph health metrics 2026-03-09 17:02:01 -04:00
digest.rs move LLM-dependent modules into agents/ subdir 2026-03-08 21:27:41 -04:00
enrich.rs experience-mine: per-segment dedup keys, retry backoff 2026-03-09 02:27:51 -04:00
fact_mine.rs extract shared transcript parser and similarity matching helpers 2026-03-08 21:42:53 -04:00
knowledge.rs extract shared transcript parser and similarity matching helpers 2026-03-08 21:42:53 -04:00
llm.rs move LLM-dependent modules into agents/ subdir 2026-03-08 21:27:41 -04:00
mod.rs extract shared transcript parser and similarity matching helpers 2026-03-08 21:42:53 -04:00
prompts.rs move LLM-dependent modules into agents/ subdir 2026-03-08 21:27:41 -04:00
transcript.rs extract shared transcript parser and similarity matching helpers 2026-03-08 21:42:53 -04:00