Download Latest Version director_ai-3.11.1.tar.gz (511.8 kB)
Email in envelope

Get an email when there's a new version of director-ai

Home / v2.0.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-03-02 1.3 kB
v2.0.0 -- Deep Hardening Sprint source code.tar.gz 2026-03-02 1.5 MB
v2.0.0 -- Deep Hardening Sprint source code.zip 2026-03-02 1.6 MB
Totals: 3 Items   3.1 MB 0

What's New

Director-AI v2.0.0 is a hardening release focused on correctness, test reliability, and repo hygiene.

Fixed

  • Case-sensitivity bug in GroundTruthStore.retrieve_context() — mixed-case keys now match lowercase queries
  • LLM judge error handling: bare except (ImportError, Exception) replaced with structured try/except
  • SafetyKernel validates hard_limit in [0, 1] on construction
  • setup_otel() thread-safe via threading.Lock
  • case-studies.md — all 5 phantom symbols fixed (wrong constructors, nonexistent methods)
  • docs-site/changelog.md synced (was frozen at v1.2.0, missing 17 releases)

Added

  • Named constants for LLM judge blending formula (LLM_JUDGE_*)
  • .editorconfig, .pre-commit-config.yaml, py.typed PEP 561 marker
  • Non-root appuser in Dockerfiles
  • New tests: test_kernel_validation.py, test_ingest.py, expanded test_knowledge.py and test_cache.py
  • Histogram bucket_counts() optimized O(n·b) → O(n log n) via bisect

Changed

  • 12 fragile inspect.getsource tests replaced with behavioral equivalents
  • Version bump: 1.9.0 → 2.0.0

Install

:::bash
pip install director-ai==2.0.0

Full Changelog: https://github.com/anulum/director-ai/compare/v1.9.0...v2.0.0

Source: README.md, updated 2026-03-02