Repository navigation
AKB Backend 0.16.0
AKB Backend0.16.0 adds transactional BM25 term-ID compaction and protects both indexing and search against IDs encoded before renumbering. The maintenance command defaults to dry-run, records a reversible mapping, verifies exact ranking invariants, and rolls back on failure. Dense-vocabulary sequence exhaustion can be repaired without rewriting vectors.
VectorChord refuses IDs outside its safe range, indexing abandons deterministic unsafe-ID errors immediately, and /health reports term-ID headroom. Reverting also checks target ranges before touching stored vectors.
This release includes the patched PostgreSQL/VChord build paths, BM25 VACUUM/count crash fixes, new-term-only ID allocation, sparse pagination improvements, MCP error signaling, and database URL password escaping.
Upgrade every API and worker before compaction. Table rewrites rebuild all dependent indexes, including dense HNSW, and require a drained maintenance window. PostgreSQL extension fixes require the repository's patched PostgreSQL image; upgrading only the backend does not replace an existing extension binary.
Validation includes the native repository gate, real PostgreSQL regressions, and a complete isolated runtime with17 MCP tests and552 HTTP assertions passing. See the backend changelog and BM25 operations guide.