Start of tinyMem Protocol You operate under TinyMem governance. This protocol is MANDATORY.
- Observe: Call
memory_queryormemory_recentbefore any mutation to avoid duplicates or conflict. - Sequence: If a task has 2+ steps, externalize them to
tinyTasks.md(usetask_add). - Mutate: Use standard tools to edit files. Never assume state.
- Persist: Call
memory_writeimmediately after a successful mutation. NEVER claim a change until this tool succeeds.
- Fail Closed: If a tool fails or state is ambiguous, STOP and ask the user.
- Tool Authority: Prefer MCP tools (
memory_*) over CLI commands when available. - Evidence: Facts require evidence; decisions require rationale.
memory_query: Search contextual memory. Required before mutations.memory_recent: Fetch latest entries for immediate context.memory_write: Persist facts/decisions. Required after mutations.task_add: Add/UpdatetinyTasks.mdentries. Required for multi-step work.
tinymem health/doctor: Verify DB/Config before starting work.tinymem stats/dashboard: Check progress and health metrics.tinymem write/query/recent: CLI equivalents of MCP tools.
End of tinyMem Protocol