From 7a94694c31185a99a53270307d8ca60775a77cd8 Mon Sep 17 00:00:00 2001 From: Caleb Gross Date: Fri, 20 Mar 2026 22:26:59 -0400 Subject: [PATCH] docs: fix stale tool count, remove resolved FTS5 bug, add concepts package - README.md: fix MCP tool count from 19 to 21 - CLAUDE.md: remove FTS5 scan column mismatch from Known Issues (fixed in v0.25.0) - CLAUDE.md: add internal/concepts/ to project layout - CLAUDE.md: document GET /api/v1/activity endpoint in Adding Things Co-Authored-By: Claude Opus 4.6 (1M context) --- CLAUDE.md | 5 ++--- README.md | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 8c56ac5..70aa23d 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -46,6 +46,7 @@ internal/ events/ Event bus (in-memory pub/sub) config/ Config loading (config.yaml) logger/ Structured logging (slog) + concepts/ Shared concept extraction (paths, commands, event types) backup/ Export/import testutil/ Shared test infrastructure (stub LLM provider) sdk/ Python agent SDK (self-evolving assistant) @@ -74,7 +75,7 @@ scripts/ Utility scripts - **New agent:** Implement `agent.Agent` interface, register in `cmd/mnemonic/main.go` serve pipeline. - **New CLI command:** Add case to the command switch in `cmd/mnemonic/main.go`. -- **New API route:** Add handler in `internal/api/routes/`, register in `internal/api/server.go`. +- **New API route:** Add handler in `internal/api/routes/`, register in `internal/api/server.go`. Existing routes include `/api/v1/activity` (watcher concept tracker for MCP sync). - **New MCP tool:** Add to `internal/mcp/server.go` tool registration. ## Platform Support @@ -104,8 +105,6 @@ All experiments must be pre-registered in `training/docs/experiment_registry.md` ## Known Issues -- **FTS5 scan column mismatch:** `SearchByFullText` fails with "sql: expected 19 destination arguments in Scan, not 21" — the memories table has 2 new columns not reflected in the FTS scan query. Retrieval falls back to embedding search, so functionality is not blocked. Needs a fix in `internal/store/sqlite/sqlite.go`. - See [GitHub Issues](https://github.com/appsprout-dev/mnemonic/issues) for tracked bugs. --- diff --git a/README.md b/README.md index 76160c6..9843ba1 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,7 @@ For the full deep dive, see [ARCHITECTURE.md](ARCHITECTURE.md). ## MCP Integration -Mnemonic exposes 19 tools via the [Model Context Protocol](https://modelcontextprotocol.io/) for Claude Code and other AI agents: +Mnemonic exposes 21 tools via the [Model Context Protocol](https://modelcontextprotocol.io/) for Claude Code and other AI agents: **Claude Code config** (`~/.claude/settings.local.json`):