-
released this
2026-03-27 23:15:18 +00:00 | 133 commits to main since this releaseWhat's changed
Raised test coverage from 76% to 90% with 131 new tests (286 → 417 total).
New test files
- test_core_coverage.py — validation edges, query-based deprioritise/archive/reinstate/forget, recall optional fields (tags, effort, breakthrough, contradictions, source_url, reinstate_candidate), recall_detail metadata, find_duplicates, contradiction warnings in
remember() - test_contradiction_coverage.py —
check_contradiction_apiwith mocked anthropic (no key, placeholder key, success, non-JSON response, exception),link_contradictionduplicate avoidance, malformed JSON handling - test_backup_coverage.py — path traversal, dump/restore error paths (exception, file write, file too large, invalid JSON, invalid format, invalid keys, OS errors), list_backups edge cases
- test_briefing_coverage.py — helper function None-data branches, project filtering, malformed JSON, experience parsing edge cases, auto-maintenance exception handling
- test_recall_coverage.py — comma-separated tags fallback, effort score parsing errors, contradiction JSON parsing, warn_if_abandoned scan cap (5000 keys), log_recall_event exception handling
Coverage highlights
Module Before After tools/core.py76% 100% memory/recall.py87% 100% memory/contradiction.py76% 100% tools/backup.py82% 97% tools/briefing.py86% 94% tools/contradiction.py80% 95% tools/experience.py89% 97% Bug fixes
- Fixed Bandit B310 annotation in
version_check.py— was using# noqa: S310(Ruff) instead of# nosec B310(Bandit) - Fixed version update indicator in web UI sidebar — warning triangle now red, tooltip text only appears on hover instead of rendering inline
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- test_core_coverage.py — validation edges, query-based deprioritise/archive/reinstate/forget, recall optional fields (tags, effort, breakthrough, contradictions, source_url, reinstate_candidate), recall_detail metadata, find_duplicates, contradiction warnings in