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 }}
Repository navigation
fix(search): prevent cortex_search ANN/HNSW load panic on malformed index state #313
After rebuilding/installing current main locally (cortex 1.2.4), the same search path now behaves correctly:
emits bounded warning
rebuilds HNSW
returns results instead of panicking
So this issue should not be treated as a fresh large search-algorithm blocker unless current-main evidence shows a remaining panic. The follow-on hardening move is likely setup/doctor drift detection in #321, not a new emergency search epic.
Activity
hurttlocker commentedon Mar 11, 2026
Local operator re-check: the recurring panic was traced to deployment drift, not just missing repo-side hardening.
What we found live:
~/bin/cortexwas stale (cortex 1.2.3, mtime Mar 6)~/.cortex/hnsw.idxwas corruptAfter rebuilding/installing current main locally (
cortex 1.2.4), the same search path now behaves correctly:So this issue should not be treated as a fresh large search-algorithm blocker unless current-main evidence shows a remaining panic. The follow-on hardening move is likely setup/doctor drift detection in #321, not a new emergency search epic.
hurttlocker commentedon Mar 11, 2026
PR #327 is merged and the recall-lane transparency follow-up is closed. This makes #313 the best next bounded reliability take.
Recommended scope:
makeslice: len out of rangepanic on currentmain/ current DB shapeDo not widen into ranking/search-quality work in this lane.
hurttlocker commentedon Mar 11, 2026
Closing as shipped via PR #328.