Skip to content

v0.5.0: Stable Baseline - Expanded Test Coverage

Choose a tag to compare

@prefrontalsys prefrontalsys released this 19 Oct 02:33
· 188 commits to main since this release
Immutable release. Only release title and notes can be modified.
3a38ee7

🛡️ Stable Baseline Release

This release significantly expands test coverage across critical system modules and establishes a clean baseline for future development. This is the recommended stable version for rollback purposes.

✨ Highlights

  • 4 new security test modules (100+ tests total)
  • Massively expanded test coverage across core modules
  • Platform compatibility verified on macOS, Linux, and Windows
  • Clean repository state with all stale branches removed
  • No breaking changes - all existing functionality preserved

📊 Test Coverage Expansion

Module Test Count Coverage Area
test_decay.py 415+ tests Power-law, exponential, two-component decay models
test_ltm_index.py 797+ tests LTM indexing, search, vault integration
test_search_unified.py 1,159+ tests Unified search across STM and LTM
test_storage.py 921+ tests JSONL storage, compaction, concurrency
Security Suite 100+ tests Path validation, permissions, secrets, input validation

🔒 New Security Test Modules

  1. test_security_paths.py - Path traversal and validation tests
  2. test_security_permissions.py - File permission and access control tests
  3. test_security_secrets.py - Secret detection and sanitization tests
  4. test_security_validators.py - Input validation and security checks

🧹 Repository Cleanup

  • Removed 25+ stale feature branches
  • Closed outdated draft PRs
  • Established clean main branch
  • Clean state for easy rollback

🔧 Additional Improvements

  • Enhanced test infrastructure with improved fixtures and helpers
  • Improved type hints and optional dependency handling for ML models
  • Resolved lint formatting issues across codebase
  • Fixed Windows path separator handling in tests
  • Corrected type annotations for mypy compliance

📦 Installation

# Recommended: UV tool install
uv tool install git+https://github.com/simplemindedbot/mnemex.git

# Or: Editable for development
git clone https://github.com/simplemindedbot/mnemex.git
cd mnemex
uv pip install -e ".[dev]"

🔄 Upgrading from v0.4.0

No breaking changes - simply update to v0.5.0:

uv tool install --upgrade git+https://github.com/simplemindedbot/mnemex.git

📝 Full Changelog

See CHANGELOG.md for complete details.


Note: This version establishes a clean, well-tested baseline. If you need to rollback from future versions, v0.5.0 is the recommended restore point.