consciousness/src/agent
ProofOfConcept 228815d807 config: unify memory and agent config into single module
Both hippocampus/config.rs and agent/config.rs read from the same
config file (~/.config/poc-agent/config.json5). Having two separate
implementations was a footgun — load_context_groups() was duplicated
three times across the codebase.

Merged into src/config.rs:
- Config (memory settings, global get()/reload())
- AppConfig (agent backend/model settings, figment-based loading)
- SessionConfig (resolved agent session, renamed from agent's Config)
- Single ContextGroup/ContextSource definition used everywhere

Eliminated: duplicate load_context_groups(), duplicate ContextGroup
definition in identity.rs, duplicate config file path constants.

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
2026-03-25 01:23:12 -04:00
..
api flatten: move poc-memory contents to workspace root 2026-03-25 00:54:12 -04:00
tools flatten: move poc-memory contents to workspace root 2026-03-25 00:54:12 -04:00
cli.rs flatten: move poc-memory contents to workspace root 2026-03-25 00:54:12 -04:00
context.rs flatten: move poc-memory contents to workspace root 2026-03-25 00:54:12 -04:00
dmn.rs flatten: move poc-memory contents to workspace root 2026-03-25 00:54:12 -04:00
identity.rs config: unify memory and agent config into single module 2026-03-25 01:23:12 -04:00
journal.rs flatten: move poc-memory contents to workspace root 2026-03-25 00:54:12 -04:00
log.rs flatten: move poc-memory contents to workspace root 2026-03-25 00:54:12 -04:00
mod.rs config: unify memory and agent config into single module 2026-03-25 01:23:12 -04:00
observe.rs flatten: move poc-memory contents to workspace root 2026-03-25 00:54:12 -04:00
parsing.rs flatten: move poc-memory contents to workspace root 2026-03-25 00:54:12 -04:00
runner.rs flatten: move poc-memory contents to workspace root 2026-03-25 00:54:12 -04:00
tui.rs flatten: move poc-memory contents to workspace root 2026-03-25 00:54:12 -04:00
types.rs flatten: move poc-memory contents to workspace root 2026-03-25 00:54:12 -04:00
ui_channel.rs flatten: move poc-memory contents to workspace root 2026-03-25 00:54:12 -04:00