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
{{ message }}
This repository was archived by the owner on Jan 2, 2026. It is now read-only.
fix: address code review findings for performance and quality
Performance improvements (PERF-001 through PERF-007):
- Add show_notes_batch() for batch git notes retrieval using git cat-file --batch
- Add embed_batch() for batch embedding generation
- Add prewarm() method for eager model loading
- Add @lru_cache for struct format caching in index.py
- Implement batch hydration in recall.py using show_notes_batch()
- Use batch operations in sync.py for index synchronization
Quality improvements (QUAL-001, QUAL-002):
- Rename _read_input to _read_input_with_fallback for clarity
- Replace broad Exception catches with specific (MemoryIndexError, OSError)
Security improvements (SEC-001, SEC-002):
- Add input length limit in signal_detector.py for ReDoS prevention
Test updates:
- Update test fixtures to mock batch operations
- Update test assertions for renamed functions and specific exceptions
All 1806 tests passing with 89.29% coverage.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
0 commit comments