consciousness/poc-agent/src/tools
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
..
bash.rs Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00
edit.rs Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00
glob_tool.rs Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00
grep.rs Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00
journal.rs Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00
memory.rs memory: fix timestamp and provenance on agent writes 2026-03-20 12:16:45 -04:00
mod.rs memory: fix timestamp and provenance on agent writes 2026-03-20 12:16:45 -04:00
read.rs Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00
vision.rs Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00
write.rs Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00