consciousness/poc-agent
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
..
.claude Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00
paper Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00
src memory: fix timestamp and provenance on agent writes 2026-03-20 12:16:45 -04:00
tests Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00
.gitignore Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00
Cargo.lock Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00
Cargo.toml tui: fix scroll by using Paragraph::line_count() 2026-03-20 12:16:35 -04:00
POC.md Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00
scratch.md Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00