LogicTortoise

Memory Agent — Development skill for Claude Code

Development community

Local, file-backed personal memory agent — scans Claude Code / Codex sessions, extracts explicit user requirements with a conservative reconciler, serves them back through keyword or opt-in BM25 recal.

How to install Memory Agent

This entry records only its repository, not the path inside it, so there is no exact command to give. Open LogicTortoise/memory-agent and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Memory Agent does

Local, file-backed personal memory agent — scans Claude Code / Codex sessions, extracts explicit user requirements with a conservative reconciler, serves them back through keyword or opt-in BM25 recall. v1 ships T01–T17.

Alternatives in Development

  • Diagnose Seq Scans — Remedy high seq scans on a table 7.2k ★
  • Kb — Search the project knowledge base via GitMark (FTS5 bm25 + trigram/fuzzy) 75 ★
  • Route Work To Silo — Hand-pick which account silo serves a unit of work with farm route, bypassing the gateway's auto rota — for wh 67 ★

README

Memory Agent

**Status: v1 complete.** All of T01–T17 ships. v0.1 (the keyword recall + conservative reconcile baseline) is complete and stable.

**408 Python tests pass** (339 prior baseline + 69 P9/T17 incl. 3 packaging smoke + 10 privacy-HEAD durability / fail-closed restore + 12 privacy-ledger DB backstop) plus **15 Vitest** + **16 Playwright**.

Phase Package (summary) Acceptance
Phase A T09 query enhancement — opt-in BM25, typed rewrite provider, hard-refusal planner, stable cursor, trace artifact, audit row, scope-before-corpus, Chinese bigrams + English word tokenisation `docs/17`
Phase B T04 / T05 / T06 / T10 — bounded backfill, rotation / truncation / middle-rewrite handling, half-UTF-8 safe tail, long-turn fragmentation with deterministic text boundaries + condition-prefix carry, durable needs_context, branch / parent / turn identity; P0 source-integrity fix: consumed_prefix_sha256 covers every byte of the consumed prefix `docs/18`
Phase C + repair-2 T10 async call + jobs + project-owned worker with leases / schedules, T11 OS service-manager template, source-correction reconciliation queue with adopt_new / scope_split, inline discovery in scan, real opt-in Claude rewrite provider, review no longer UNSUPPORTED `docs/19`
P4 / T12 Project-owned Telegram Bot API adapter — durable update offset + dedupe, short-lived callback tokens bound to proposal + revision + action, allowed chat / user validation, durable outbox + decision ack, decisions through the same decide application service as the CLI, bot echo ignored, no Telegram configured ⇒ CLI fallback and zero network calls; fake-server acceptance only, no real token read or message sent `docs/20`
P5 / T13 + P6 / T14 Audit query service (metadata-first DTOs, server-side cur