This release fixes issues for SREs watching stability and regressions.
✓ No known CVEs patched in this version
Topics
+4 more
Affected surfaces
Summary
AI summary--mine-all is now functional and no longer a no‑op for historical sessions.
Full changelog
Six more bugs found in a second code review. Five are pre-existing (not introduced by v0.10.0) but one — --mine-all being silently broken — means our v0.10.0 migration advice to "run --rebuild-playbooks" mined nothing at all for affected users.
High severity
--mine-allwas a no-op for historical sessions.cli.pycleared the install-time gate marker, then_get_installed_atlazily recreated it with the current timestamp, re-blocking all pre-install sessions. Fixed:_get_installed_atis now read-only;_ensure_installed_atis the only creator, called explicitly byminer_daemon._run_loopon first boot.find_settled_sessionstakesbypass_gateparameter,mine_alldefaults it to True.- Topic-shift silent starvation after transient Haiku failure.
auto-recall.shwrote.last-brief.jsonBEFORE attempting assembly, so any transient failure would leave stale keywords that suppressed future recall. Write moved to AFTER successful assembly. - Merge
TransientMiningErrorsilently dropped + session marked complete. Now propagates out so the session finishesSTATUS_FAILEDand gets retried.ValueError(genuine junk) still dropped — not retryable.
Medium severity
context_assembledropped memories+transcripts on Haiku failure. Returned onlyplaybook_content or "". Now returns rawmaterials(playbook + memories + transcript).smart_recall(scope_id=...)leaked cross-project memories. Haiku path loaded the global index without applying scope filter. Now filterspicked_filesby scope.
Low severity
auto-recall.shpassed message as argv — ARG_MAX exposure. Large pasted prompts could hit the ~2 MB limit. Now writes stdin to tempfile, matching the pattern insession-start.shandpre-tool-use.sh.
Tests
Six new regression tests in tests/test_v010_fixes.py — one per bug, each failing before the fix and passing after. Total suite: 79 tests, ruff clean.
User impact
If you ran --mine-all on v0.10.0 expecting historical sessions to be processed, run it again on v0.10.2 — this time it will actually work. Your vault's existing memories are not affected; the re-run just fills in what was silently skipped.
Upgrade
/plugin update memem
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About TT-Wang/cortex-plugin
Persistent, self-evolving memory plugin for Claude Code. Background miner extracts durable lessons (decisions, conventions, bug fixes)
Related context
Beta — feedback welcome: [email protected]