Skip to content

fix: harden knowledge base phase-1 index safety - #18

Merged
knqiufan merged 1 commit into
mainfrom
codex/fix-knowledge-base-phase-1
Aug 11, 2026
Merged

fix: harden knowledge base phase-1 index safety#18
knqiufan merged 1 commit into
mainfrom
codex/fix-knowledge-base-phase-1

Conversation

@knqiufan

Copy link
Copy Markdown
Owner

Summary

Closes #17.

Implements the knowledge-base audit's phase-one remediation:

  • versioned copy-on-write vector index activation
  • durable KB jobs, cancellation/waiting, and cleanup retries
  • actual active-index reconciliation for statistics and chat selection
  • PyInstaller RAG dependencies and frozen smoke coverage
  • audit report remediation status and implementation log

Verification

  • pytest -q — 614 passed
  • ruff check misaka/
  • mypy misaka/
  • pip check
  • source RAG smoke (sqlite-vec load/write/search + BM25 fusion)

The PR CI additionally builds the Windows frozen artifact and runs Misaka.exe --rag-smoke.

@knqiufan
knqiufan force-pushed the codex/fix-knowledge-base-phase-1 branch from f29ca95 to 3765f43 Compare August 11, 2026 07:38
@knqiufan
knqiufan merged commit 30c01e3 into main Aug 11, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: harden knowledge base phase-1 index safety

1 participant