|
| 1 | +# TODO List - sqlite-vec-client |
| 2 | + |
| 3 | +## 🔴 Critical Priority (Security & Stability) |
| 4 | + |
| 5 | +### Security |
| 6 | +- [ ] Fix SQL injection vulnerability (table name sanitization) |
| 7 | +- [ ] Add table name validation (alphanumeric and underscore only) |
| 8 | +- [ ] Add input validation (dim, top_k, limit, etc.) |
| 9 | + |
| 10 | +### Error Handling |
| 11 | +- [ ] Create custom exception classes (VecClientError, TableNotFoundError, etc.) |
| 12 | +- [ ] Add exception handling to all public methods |
| 13 | +- [ ] Write user-friendly error messages |
| 14 | +- [ ] Improve connection error handling |
| 15 | + |
| 16 | +## 🟡 High Priority (Quality & Reliability) |
| 17 | + |
| 18 | +### Test Suite |
| 19 | +- [ ] Setup pytest and configuration |
| 20 | +- [ ] Unit tests (utils, types) |
| 21 | +- [ ] Integration tests (SQLiteVecClient) |
| 22 | +- [ ] Edge case tests |
| 23 | +- [ ] Create fixtures |
| 24 | +- [ ] Target 80%+ test coverage |
| 25 | +- [ ] Mock tests (sqlite-vec extension) |
| 26 | + |
| 27 | +### Examples |
| 28 | +- [ ] examples/basic_usage.py |
| 29 | +- [ ] examples/metadata_filtering.py |
| 30 | +- [ ] examples/batch_operations.py |
| 31 | +- [ ] examples/context_manager.py |
| 32 | +- [ ] examples/real_world_scenario.py |
| 33 | + |
| 34 | +### Documentation |
| 35 | +- [ ] Create CONTRIBUTING.md |
| 36 | +- [ ] Start CHANGELOG.md |
| 37 | +- [ ] API reference documentation (Sphinx or MkDocs) |
| 38 | +- [ ] Migration guide (for version updates) |
| 39 | +- [ ] Add troubleshooting section |
| 40 | + |
| 41 | +## 🟢 Medium Priority (Development & Tooling) |
| 42 | + |
| 43 | +### Packaging & Tooling |
| 44 | +- [ ] Migrate from setup.py to pyproject.toml |
| 45 | +- [x] Add mypy configuration |
| 46 | +- [x] Add ruff or black formatter |
| 47 | +- [x] Configure pre-commit hooks |
| 48 | +- [x] Create requirements-dev.txt |
| 49 | + |
| 50 | +### CI/CD |
| 51 | +- [ ] GitHub Actions workflow (.github/workflows/test.yml) |
| 52 | +- [ ] Automated test execution |
| 53 | +- [ ] Code coverage reporting |
| 54 | +- [ ] Automated PyPI publishing |
| 55 | +- [ ] Linting and type checking |
| 56 | + |
| 57 | +### Logging |
| 58 | +- [ ] Python logging module integration |
| 59 | +- [ ] Log level configuration |
| 60 | +- [ ] Debug mode support |
| 61 | +- [ ] Query logging (optional) |
| 62 | + |
| 63 | +## 🔵 Low Priority (New Features) |
| 64 | + |
| 65 | +### Performance |
| 66 | +- [ ] Connection pooling support |
| 67 | +- [ ] Batch update operation |
| 68 | +- [ ] Lazy loading option |
| 69 | +- [ ] Index strategy documentation |
| 70 | +- [ ] Benchmark tests |
| 71 | + |
| 72 | +### New Features |
| 73 | +- [ ] Partial search on JSON metadata (JSON_EXTRACT) |
| 74 | +- [ ] Metadata field filtering (key-value based) |
| 75 | +- [ ] Transaction context manager |
| 76 | +- [ ] Async/await support (aiosqlite) |
| 77 | +- [ ] Export/import functions (JSON, CSV) |
| 78 | +- [ ] Table migration utilities |
| 79 | +- [ ] Backup/restore functions |
| 80 | + |
| 81 | +### API Improvements |
| 82 | +- [ ] Optimized methods for bulk operations |
| 83 | +- [ ] Streaming results (generator pattern) |
| 84 | +- [ ] Custom distance metric support |
| 85 | +- [ ] Multi-vector support (multiple embedding fields) |
| 86 | +- [ ] Soft delete support |
| 87 | + |
| 88 | +## 📝 Documentation Improvements |
| 89 | + |
| 90 | +- [ ] Add badges to README (PyPI, tests, coverage, license) |
| 91 | +- [ ] Publish performance benchmarks |
| 92 | +- [ ] Comparison with alternatives (Chroma, Qdrant, etc.) |
| 93 | +- [ ] Add architecture diagram |
| 94 | +- [ ] Video tutorial or blog post |
| 95 | + |
| 96 | +## 🔧 Technical Debt |
| 97 | + |
| 98 | +- [ ] Make type hints more specific (Generic types) |
| 99 | +- [ ] Warning system for deprecated methods |
| 100 | +- [ ] Define versioning strategy (semantic versioning) |
| 101 | +- [ ] Migration path for breaking changes |
| 102 | +- [ ] Create code review checklist |
| 103 | + |
| 104 | +## 📊 Metrics & Monitoring |
| 105 | + |
| 106 | +- [ ] Code coverage tracking |
| 107 | +- [ ] Performance metrics |
| 108 | +- [ ] Download statistics (PyPI) |
| 109 | +- [ ] Issue response time tracking |
| 110 | +- [ ] Community engagement metrics |
| 111 | + |
| 112 | +--- |
| 113 | + |
| 114 | +## Notes |
| 115 | + |
| 116 | +- Mark tasks with [x] when completed |
| 117 | +- New tasks can be added |
| 118 | +- Priorities may change |
| 119 | +- Create separate branch for each major task |
| 120 | +- Update this file in PRs |
0 commit comments