• v0.6.0 354513796a

    v0.6.0 Stable

    pyr0ball released this 2026-06-02 02:02:56 -07:00 | 32 commits to main since this release

    Changes

    • #60 Split incidents, received_bundles, sent_bundles to dedicated turnstone-incidents.db — eliminates FTS5 write lock starvation during high-volume log bursts. One-shot migration on first start copies existing data automatically.
    • #41 Hybrid-BERT label mapping shim — 7-class vocabulary (normal/security_anomaly/system_failure/performance_issue/network_anomaly/config_error/hardware_issue) now translates correctly to Turnstone severity labels via _HYBRID_BERT_LABEL_MAP.
    • #15 Hybrid BM25 + vector re-ranking — late-fusion semantic search (alpha=0.6/beta=0.4). Diagnose stream uses semantic=True by default; /api/search exposes ?semantic=true. Graceful fallback to pure BM25 when embedder unavailable.
    • #32 Domain-view mapping — all 42 patterns annotated across 10 domains (service_health, networking, auth, storage, memory, kernel, power, web_proxy, media, gpu). Diagnose summary includes by_domain counts; /api/search adds ?domain= filter.

    Upgrade notes

    • New DB file turnstone-incidents.db created automatically on first start alongside turnstone.db
    • Existing incident data migrated automatically (idempotent)
    • No manual schema changes required
    • Set TURNSTONE_INCIDENTS_DB to override the incidents DB path

    Test coverage

    394 tests passing (up from 372 in v0.5.0)

    Downloads