# Agent Memory Build Log

## [2026-04-29] setup | Initial memory scaffold

- Created shared memory schema and guarded prompt-evolution process.
- Added commands for manual capture, memory query, and prompt evolution.

## [2026-04-29] automation | Pi extension

- Added `.pi/extensions/agent-memory.ts`.
- Verified extension command `/memory-status` in Pi print mode.
- Metrics and raw snapshots are private runtime artifacts under `.agent-memory/raw/`.

## [2026-04-29] timing | Active work controls

- Added explicit active prompting/work commands: `/prompt-start`, `/prompt-pause`, `/prompt-resume`, `/prompt-stop`, and `/time-report`.
- Reports are written under `.agent-memory/reports/` and remain private/gitignored.
- This measures explicit work blocks and idle-capped gaps, not hidden keystroke-level activity.

## [2026-04-29] review | Automatic memory candidates

- Added automatic pending memory candidates under `.agent-memory/review/pending/` after each completed agent turn.
- Added `/memory-review`, `/memory-show`, `/memory-approve`, `/memory-discard`, and `/memory-clear`.
- Approval moves a candidate to `.agent-memory/review/approved/` and launches `/pi-evolve`.

## [2026-04-29] timing | Blocked user answers

- Added automatic blocked-on-user timing when the final assistant message looks like a direct question.
- Added `/answer-start`, `/answer-stop`, and `/blocked-status`.
- Time reports now separate active user work, active answer composition, and passive waiting for the user.
