You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Three correctness bugs hiding behind quiet metrics:
1. /api/v1/impact crashed on a fresh DB. ImpactEvent lives in
engine/impact.py, but init_db() only imports storage/models.py
before Base.metadata.create_all(). The impact_events table never
existed on a fresh DB and any code path that hit record_impact
died on `no such table`. Force-import memee.engine.impact inside
init_db() before create_all so the table is present everywhere.
2. MISTAKE_AVOIDED was being credited for warnings the agent
IGNORED, as long as outcome=success. The CLI hook line read
warnings_avoided=N over numbers that were always
warnings_violated. New ImpactType.WARNING_INEFFECTIVE for
violated-but-task-passed; MISTAKE_AVOIDED is now reserved for
evidence-backed behaviour change. CLI line renamed to
warnings_violated, which is what it always was.
3. get_impact_summary returned 8 keys when empty, 18 otherwise —
forced every caller into defensive .get() branching. Now: one
shape with zeros / {} / [] in the empty case.
Plus: doc drift — README, CLAUDE.md, launch-copy and the historical
review-fixes doc all claimed 24 MCP tools; the real number is 19
(the five research_* tools were removed in v2.0.0). hooks_config.py
comments described /dev/null redirect and stderr writes that the
commands don't actually do; comments rewritten to match the
commands.
Six new tests under test_v2_0_5_fixes.py cover the three correctness
fixes. Existing test_learn_auto updated for the renamed CLI field.
368/368 trimmed-suite tests pass; the v2.0.4 ledger guard confirms
the suite leaves ~/.memee/packs.json byte-identical.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CLAUDE.md
+12-11Lines changed: 12 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -181,8 +181,8 @@ Memee ships as two packages, with clear licence separation:
181
181
182
182
| Package | Licence | What it adds |
183
183
|---|---|---|
184
-
|**`memee`** (this repo) | MIT | Full single-user product: every engine module, MCP server, CLI, CMAM adapter, dashboard. No users, no teams, no scope enforcement. |
|**`memee`** (this repo) | MIT | Full single-user product: every engine module, MCP server, CLI, CMAM adapter. No users, no teams, no scope enforcement. |
An MCP server with 24 tools ships with the install. Drop this into `~/.claude/settings.json` — or the Cursor / Continue / any MCP-capable client equivalent:
128
+
An MCP server with 19 tools ships with the install. Drop this into `~/.claude/settings.json` — or the Cursor / Continue / any MCP-capable client equivalent:
Copy file name to clipboardExpand all lines: docs/review-fixes.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,13 @@
2
2
3
3
A thorough internal review (2026-04-24) measured Memee on impact tests, token calculations, OrgMemEval, large simulations, and a handcrafted 12-memory retrieval benchmark. The numbers confirmed the headline claims (71 % less time, 65 % fewer iterations, 96 % token reduction) but surfaced seven concrete problems. All seven were addressed in a single session using parallel fix-agents. This document records what changed, with before/after numbers, so future reviewers can see our work.
4
4
5
+
> **Historical note (v2.0.5):** the dashboard panels referenced below
6
+
> (`Retrieval health`, the impact-panel three-card layout) describe the
7
+
> v1.x web dashboard. That dashboard was removed in v2.0.0 along with the
8
+
> autoresearch engine. The same metrics still live in the underlying
9
+
> tables and are surfaced in `memee status` and the JSON API; the panels
0 commit comments