opencode-agent-memory-001
Ensure OpenCode agents consistently initialize, log, and validate continuity memory across sessions.
- Install AgentMemory and confirm
memlogis available. - Run
memlog doctor --root ~/opencode --strictbefore action work. - Log action-phase events with
memlog log. - Run
memlog validate --root ~/opencode --strictbefore handoff. - Use
memlog loadto retrieve context for the next agent or session.
- Inputs:
agent_id,session_id, workspace root, event details - Outputs: linked markdown continuity artifacts and validation status
memlog doctorsucceedsmemlog validatesucceeds- Event records include wiki links to action artifacts