diff --git a/CHANGELOG.md b/CHANGELOG.md index 0904921..85df068 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to agentmemory will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [0.9.29] — 2026-08-15 +## [0.9.29] — 2026-08-16 Release wave in two parts. Recall quality: hybrid ranking reaches the primary recall path, lessons get a real index, every record learns where it came from, the knowledge graph populates keyless, and agent scoping threads through all save paths — plus connector parity for pi and Codex, a new DeepSeek Harness connector, current provider model defaults, and a viewer clarity pass. Foundation: the `.env` file now applies everywhere, imports become searchable, consolidation runs on session stop, twelve MCP-only agents get activated on connect, and every capture surface agrees on what "project" means. No breaking changes; read the upgrade notes for behavior changes you will notice. @@ -17,6 +17,10 @@ Release wave in two parts. Recall quality: hybrid ranking reaches the primary re ### Added +- **Two new skills (15 → 17).** `memory-discipline` (reference) codifies the session loop the memory model expects: recall before nontrivial work, save decisions with their reasons at the moment they settle, route corrections into lessons. `/lesson` (invocable) distills a correction into a confidence-weighted rule via `memory_lesson_save`, echoing the saved rule back for veto. + +- **Devin support.** New `agentmemory connect devin` adapter wires the MCP entry into Devin CLI's user config, and `--with-hooks` installs six native auto-capture hooks (`SessionStart`, `UserPromptSubmit`, `PreToolUse`, `PostToolUse`, `Stop`, `SessionEnd`) using Devin's lowercase tool matchers — the capitalized Claude Code matchers Devin also loads never match its tool names, so capture looked wired but never fired. A Devin plugin manifest at `plugin/.devin-plugin/plugin.json` registers all 17 skills as `/agentmemory:` slash commands plus the MCP server. Hook payloads now resolve the project from `DEVIN_PROJECT_DIR`, and session-start context injection answers each host in its own shape (Devin's `hookSpecificOutput.additionalContext`, Cursor's `additional_context`, Claude Code's raw stdout). Verified against Devin CLI 3000.1.23. + - **Cursor plugin.** Full Cursor Marketplace plugin (`.cursor-plugin/`): 7 native auto-capture hooks (`sessionStart`, `beforeSubmitPrompt`, `preToolUse`, `postToolUse`, `postToolUseFailure`, `stop`, `sessionEnd`), all 17 skills, and the MCP server, with `AGENTMEMORY_URL` / `AGENTMEMORY_SECRET` declared as dashboard-managed plugin variables. Hook scripts accept Cursor's payload dialect (`conversation_id` session fallback, `workspace_roots` project attribution) without changing Claude Code behavior, and context injection answers each host in its own output shape. Cursor's CLI print mode never dispatches `beforeSubmitPrompt`, so session end backfills user prompts from the session transcript; server-side dedup absorbs the re-post where a live hook already captured the prompt. Verified end to end against Cursor 3.13.25, GUI and `cursor-agent` CLI. - **Write-time provenance on every record.** Each observation and memory carries an immutable origin block (channel `user` / `agent` / `tool` / `import` / `shared`, detail, capturedAt) stamped at capture, save, and import, and inherited through both compression paths. The base for trust-aware retrieval and ingest screening. diff --git a/README.md b/README.md index 7fee006..6a6462d 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ 54 MCP tools 12 auto hooks 0 external DBs - 1,648+ tests passing + 1,674+ tests passing

@@ -1260,7 +1260,7 @@ Full registry: [workers.iii.dev](https://workers.iii.dev). Every worker there co | Prometheus / Grafana | iii OTEL + health monitor | | Custom plugin systems | `iii worker add ` | -**182 source files · ~41,600 LOC · 1,619 tests · 264 functions · 50 KV scopes**, all on three primitives. No `agentmemory plugin install`. The plugin system is iii itself. +**184 source files · ~42,200 LOC · 1,674 tests · 264 functions · 50 KV scopes**, all on three primitives. No `agentmemory plugin install`. The plugin system is iii itself. --- @@ -1593,7 +1593,7 @@ Full endpoint list: [`src/triggers/api.ts`](src/triggers/api.ts) ```bash npm run dev # Hot reload npm run build # Production build -npm test # 1,619 tests +npm test # 1,674 tests npm run test:integration # API tests (requires running services) ``` diff --git a/READMEs/README.de-DE.md b/READMEs/README.de-DE.md index 3a8edef..2f95ce6 100644 --- a/READMEs/README.de-DE.md +++ b/READMEs/README.de-DE.md @@ -50,7 +50,7 @@ 54 MCP tools 12 auto hooks 0 external DBs - 1,648+ tests passing + 1,674+ tests passing

@@ -1227,7 +1227,7 @@ Volle Registry: [workers.iii.dev](https://workers.iii.dev). Jeder Worker dort ko | Prometheus / Grafana | iii OTEL + Health-Monitor | | Eigene Plugin-Systeme | `iii worker add ` | -**182 Quelldateien · ~41.600 LOC · 1.619 Tests · 264 Funktionen · 50 KV-Scopes**, alles auf drei Primitiven. Kein `agentmemory plugin install`. Das Plugin-System ist iii selbst. +**182 Quelldateien · ~41.600 LOC · 1.674 Tests · 264 Funktionen · 50 KV-Scopes**, alles auf drei Primitiven. Kein `agentmemory plugin install`. Das Plugin-System ist iii selbst. --- @@ -1560,7 +1560,7 @@ Volle Endpunktliste: [`src/triggers/api.ts`](../src/triggers/api.ts) ```bash npm run dev # Hot reload npm run build # Production build -npm test # 1,619 tests +npm test # 1,674 tests npm run test:integration # API tests (requires running services) ``` diff --git a/READMEs/README.es-ES.md b/READMEs/README.es-ES.md index 5dc4254..88438e4 100644 --- a/READMEs/README.es-ES.md +++ b/READMEs/README.es-ES.md @@ -50,7 +50,7 @@ 54 MCP tools 12 auto hooks 0 external DBs - 1,648+ tests passing + 1,674+ tests passing

@@ -1220,7 +1220,7 @@ Registro completo: [workers.iii.dev](https://workers.iii.dev). Cada worker allí | Prometheus / Grafana | iii OTEL + monitor de salud | | Sistemas de plugins propios | `iii worker add ` | -**182 ficheros de código · ~41.600 LOC · 1.619 tests · 264 funciones · 50 scopes KV**, todo sobre tres primitivos. No hay `agentmemory plugin install`. El sistema de plugins es iii mismo. +**182 ficheros de código · ~41.600 LOC · 1.674 tests · 264 funciones · 50 scopes KV**, todo sobre tres primitivos. No hay `agentmemory plugin install`. El sistema de plugins es iii mismo. --- @@ -1553,7 +1553,7 @@ Lista completa de endpoints: [`src/triggers/api.ts`](../src/triggers/api.ts) ```bash npm run dev # Hot reload npm run build # Production build -npm test # 1,619 tests +npm test # 1,674 tests npm run test:integration # API tests (requires running services) ``` diff --git a/READMEs/README.fr-FR.md b/READMEs/README.fr-FR.md index fa50d1a..3b1cd8b 100644 --- a/READMEs/README.fr-FR.md +++ b/READMEs/README.fr-FR.md @@ -50,7 +50,7 @@ 54 MCP tools 12 auto hooks 0 external DBs - 1,648+ tests passing + 1,674+ tests passing

@@ -1560,7 +1560,7 @@ Liste complète des endpoints : [`src/triggers/api.ts`](../src/triggers/api.ts) ```bash npm run dev # Hot reload npm run build # Production build -npm test # 1,619 tests +npm test # 1,674 tests npm run test:integration # API tests (requires running services) ``` diff --git a/READMEs/README.hi-IN.md b/READMEs/README.hi-IN.md index 24809ae..47ee3b5 100644 --- a/READMEs/README.hi-IN.md +++ b/READMEs/README.hi-IN.md @@ -50,7 +50,7 @@ 54 MCP tools 12 auto hooks 0 external DBs - 1,648+ tests passing + 1,674+ tests passing

@@ -1209,7 +1209,7 @@ Full registry: [workers.iii.dev](https://workers.iii.dev)। वहाँ हर | Prometheus / Grafana | iii OTEL + health monitor | | Custom plugin systems | `iii worker add ` | -**182 source files · ~41,600 LOC · 1,619 tests · 264 functions · 50 KV scopes**, सब कुछ तीन primitives पर। कोई `agentmemory plugin install` नहीं। Plugin system iii स्वयं है। +**184 source files · ~42,200 LOC · 1,674 tests · 264 functions · 50 KV scopes**, सब कुछ तीन primitives पर। कोई `agentmemory plugin install` नहीं। Plugin system iii स्वयं है। --- @@ -1542,7 +1542,7 @@ Full endpoint list: [`src/triggers/api.ts`](../src/triggers/api.ts) ```bash npm run dev # Hot reload npm run build # Production build -npm test # 1,619 tests +npm test # 1,674 tests npm run test:integration # API tests (running services की आवश्यकता है) ``` diff --git a/READMEs/README.ja-JP.md b/READMEs/README.ja-JP.md index 5a2ed74..04bb829 100644 --- a/READMEs/README.ja-JP.md +++ b/READMEs/README.ja-JP.md @@ -50,7 +50,7 @@ 54 MCP tools 12 auto hooks 0 external DBs - 1,648+ tests passing + 1,674+ tests passing

diff --git a/READMEs/README.ko-KR.md b/READMEs/README.ko-KR.md index 9a9eade..b73fa49 100644 --- a/READMEs/README.ko-KR.md +++ b/READMEs/README.ko-KR.md @@ -50,7 +50,7 @@ 54 MCP tools 12 auto hooks 0 external DBs - 1,648+ tests passing + 1,674+ tests passing

@@ -1209,7 +1209,7 @@ iii worker add mcp # generic MCP host alongside the agentmemory | Prometheus / Grafana | iii OTEL + 헬스 모니터 | | 사용자 정의 플러그인 시스템 | `iii worker add ` | -**182개 소스 파일 · ~41,600 LOC · 1,619 tests · 264개 함수 · 50개 KV 스코프**, 모두 세 가지 프리미티브 위에. `agentmemory plugin install`이 없습니다. 플러그인 시스템은 iii 자체입니다. +**182개 소스 파일 · ~41,600 LOC · 1,674 tests · 264개 함수 · 50개 KV 스코프**, 모두 세 가지 프리미티브 위에. `agentmemory plugin install`이 없습니다. 플러그인 시스템은 iii 자체입니다. --- @@ -1542,7 +1542,7 @@ CONSOLIDATION_ENABLED=true ```bash npm run dev # Hot reload npm run build # Production build -npm test # 1,619 tests +npm test # 1,674 tests npm run test:integration # API tests (requires running services) ``` diff --git a/READMEs/README.pt-BR.md b/READMEs/README.pt-BR.md index f9b402a..fb245e9 100644 --- a/READMEs/README.pt-BR.md +++ b/READMEs/README.pt-BR.md @@ -50,7 +50,7 @@ 54 MCP tools 12 auto hooks 0 external DBs - 1,648+ tests passing + 1,674+ tests passing

@@ -1220,7 +1220,7 @@ Registry completo: [workers.iii.dev](https://workers.iii.dev). Todo worker lá s | Prometheus / Grafana | iii OTEL + monitor de saúde | | Sistemas de plugin customizados | `iii worker add ` | -**182 arquivos de código · ~41.600 LOC · 1.619 tests · 264 funções · 50 escopos KV**, tudo em cima de três primitivos. Sem `agentmemory plugin install`. O sistema de plugins é o próprio iii. +**182 arquivos de código · ~41.600 LOC · 1.674 tests · 264 funções · 50 escopos KV**, tudo em cima de três primitivos. Sem `agentmemory plugin install`. O sistema de plugins é o próprio iii. --- @@ -1553,7 +1553,7 @@ Lista completa de endpoints: [`src/triggers/api.ts`](../src/triggers/api.ts) ```bash npm run dev # Hot reload npm run build # Production build -npm test # 1,619 tests +npm test # 1,674 tests npm run test:integration # API tests (requires running services) ``` diff --git a/READMEs/README.ru-RU.md b/READMEs/README.ru-RU.md index 44e17ce..0e6f43d 100644 --- a/READMEs/README.ru-RU.md +++ b/READMEs/README.ru-RU.md @@ -50,7 +50,7 @@ 54 MCP tools 12 auto hooks 0 external DBs - 1,648+ tests passing + 1,674+ tests passing

@@ -1560,7 +1560,7 @@ CONSOLIDATION_ENABLED=true ```bash npm run dev # Hot reload npm run build # Production build -npm test # 1,619 tests +npm test # 1,674 tests npm run test:integration # API tests (requires running services) ``` diff --git a/READMEs/README.tr-TR.md b/READMEs/README.tr-TR.md index b9bbf90..90544a2 100644 --- a/READMEs/README.tr-TR.md +++ b/READMEs/README.tr-TR.md @@ -50,7 +50,7 @@ 54 MCP tools 12 auto hooks 0 external DBs - 1,648+ tests passing + 1,674+ tests passing

@@ -1562,7 +1562,7 @@ Tam endpoint listesi: [`src/triggers/api.ts`](../src/triggers/api.ts) ```bash npm run dev # Hot reload npm run build # Production build -npm test # 1,619 tests +npm test # 1,674 tests npm run test:integration # API testleri (çalışan servisler gerektirir) ``` diff --git a/READMEs/README.zh-CN.md b/READMEs/README.zh-CN.md index 83aa411..bac8158 100644 --- a/READMEs/README.zh-CN.md +++ b/READMEs/README.zh-CN.md @@ -50,7 +50,7 @@ 54 MCP tools 12 auto hooks 0 external DBs - 1,648+ tests passing + 1,674+ tests passing

diff --git a/READMEs/README.zh-TW.md b/READMEs/README.zh-TW.md index 93dfe14..9d89496 100644 --- a/READMEs/README.zh-TW.md +++ b/READMEs/README.zh-TW.md @@ -50,7 +50,7 @@ 54 MCP tools 12 auto hooks 0 external DBs - 1,648+ tests passing + 1,674+ tests passing