QIKI_DTMP — End-of-Loop Checkpoint (Soft Gate)
Goal
Prevent drift between sessions by producing two independent proofs:
- •Git state (what changed)
- •Sovereign Memory evidence (saved + recall IDs)
Procedure (strict order)
- •
Capture repo evidence:
- •Run
git status --porcelainandgit rev-parse HEAD. - •If there are uncommitted changes: state why they exist and what they are (1–3 lines).
- •Run
- •
Write 2–3 memories (short, 5–15 lines each):
- •
STATUS(episodic): what is done / what is working / what is not done. - •
TODO_NEXT(episodic): the next concrete step with exact commands and expected output. - •
DECISIONS(core): ONLY long-lived invariants/decisions; skip if no new decisions.
- •
Use:
- •
mcp__sovereign-memory__add_memory(...)withproject="QIKI_DTMP"andtopic="STATUS"/"TODO_NEXT"/"DECISIONS".
- •
Immediate proof (must show IDs):
- •
mcp__sovereign-memory__recall_by_tags(project="QIKI_DTMP", topic="STATUS", limit=5) - •
mcp__sovereign-memory__recall_by_tags(project="QIKI_DTMP", topic="TODO_NEXT", limit=5) - •If
DECISIONSwas written:mcp__sovereign-memory__recall_by_tags(project="QIKI_DTMP", topic="DECISIONS", limit=5)
- •
- •
Report (concise):
- •Print the memory IDs you just created and the
git rev-parse HEAD.
- •Print the memory IDs you just created and the
Soft gate behavior
- •If MCP is down or recall fails: print a WARN and switch to “manual capture” in
QIKI_DTMP/TASKS/<task>.md(evidence section) until MCP is restored.