Skip to content

v5.11.1 — audit fixes: doctor honesty + model routing + freshness scope

Choose a tag to compare

@LARIkoz LARIkoz released this 22 Jun 03:08
· 185 commits to main since this release

Three correctness fixes from an adversarial code audit of v5.6.0–v5.11.0 (the releases that shipped without a review pass). Each is a case where a green check or a documented usage didn't match the code.

  • EIDETIC_SIGNAL_CLAUDE_MODEL=haiku now maps to the pinned id instead of leaking the bare alias. The README documents that override with a friendly name (=haiku), but the env path returned it verbatim — so the live Stop hook exported ANTHROPIC_MODEL=haiku, the exact bare-alias leak the module exists to prevent (a sonnet→Opus remap could re-route the background card-extraction onto a flagship and drain the shared quota). The env override now normalizes through the same NAMES map as the .signal_model file. +5 tests.
  • The translator canary (§3.6) now actually asserts the output is English. The doctor labeled an OK as 'changed, non-Cyrillic English' but the code only checked non-empty + changed — so a backend echoing a same-script paraphrase (Apple/opusmt returning Russian) passed as functional. It now fails when a non-Latin probe's output is still in the source script. +3 tests.
  • Doctor §3.5 freshness now covers all indexed source roots. v5.8.1 scoped it to projects/*/memory, leaving it blind to lag in agent-memory/, signals/, and skills/*/SKILL.md (177 paths). It now calls the indexer's own collect_files() + set-compares the FTS paths: 983 / 983 (Δ0).

+8 tests (146 total).