consciousness/poc-memory/src/agents
Kent Overstreet 5ef9098deb memory: fix timestamp and provenance on agent writes
Two bugs: upsert_provenance didn't update node.timestamp, so history
showed the original creation date for every version. And native memory
tools (poc-agent dispatch) didn't set POC_PROVENANCE, so all agent
writes showed provenance "manual" instead of "agent:organize" etc.

Fix: set node.timestamp = now_epoch() in upsert_provenance. Thread
provenance through memory::dispatch as Option<&str>, set it via
.env("POC_PROVENANCE") on each subprocess Command. api.rs passes
"agent:{name}" for daemon agent calls.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 12:16:45 -04:00
..
api.rs memory: fix timestamp and provenance on agent writes 2026-03-20 12:16:45 -04:00
audit.rs move LLM-dependent modules into agents/ subdir 2026-03-08 21:27:41 -04:00
consolidate.rs Remove dead action pipeline: parsing, depth tracking, knowledge loop, fact miner 2026-03-17 00:37:12 -04:00
daemon.rs config: hot-reload via RPC, Arc<Config> for cheap sharing 2026-03-19 13:41:13 -04:00
defs.rs Native memory tools + MCP server + distill agent improvements 2026-03-19 22:58:54 -04:00
digest.rs experience-mine: link at creation time, remove # from new keys 2026-03-14 16:25:31 -04:00
enrich.rs Remove experience_mine, journal_enrich, and old mining helpers 2026-03-17 00:54:12 -04:00
knowledge.rs Clean up unused imports, dead code, and compiler warnings 2026-03-17 00:47:52 -04:00
llm.rs daemon: verbose pool logging, DAEMON_POOL for run_job 2026-03-19 11:21:30 -04:00
mod.rs Add direct API backend for agent execution 2026-03-18 23:05:14 -04:00
prompts.rs Native memory tools + MCP server + distill agent improvements 2026-03-19 22:58:54 -04:00
transcript.rs extract shared transcript parser and similarity matching helpers 2026-03-08 21:42:53 -04:00