v0.8.0 — Credibility Release
Highlights
- Configurable GroundTruthStore — no more hardcoded demo facts; pass
facts=to constructor or useSAMPLE_FACTSfor the original data - Real semantic retrieval —
ChromaBackendnow usesSentenceTransformerEmbeddingFunction(all-MiniLM-L6-v2) with graceful fallback - Streaming coherence fix —
process_streaming()evaluates accumulated text, not individual tokens - Bulk ingestion —
VectorGroundTruthStore.ingest(texts, metadatas)+ CLIdirector-ai ingestcommand (.txt/.jsonl) - Backfire Kernel — Rust safety gate: 6,429 LOC, 153 tests, 29 Criterion benchmarks, 7,609x gradient speedup via analytic Jacobian
- LangChain integration —
CoherenceCallbackHandler(optional[langchain]extra) - Consumer-focused README — "drop-in coherence guardrail" positioning; SCPN research in collapsible section
Breaking Changes
GroundTruthStore()now starts empty. UseGroundTruthStore(facts=SAMPLE_FACTS)for the old behaviour.
Install
pip install director-ai==0.8.0Stats
- 397 tests passing (Python 3.10–3.12)
- ruff + black + mypy clean
- ~6,429 Rust LOC in backfire-kernel (not included in PyPI wheel — separate release)
Full changelog: https://github.com/anulum/director-ai/blob/v0.8.0/CHANGELOG.md