Files
alzeo/tests
Hasan BasbunarandClaude Opus 5 e16960697c tests: the vocabulary probe's tests asserted the machine, not the guard
Two of them passed here and failed on CI. The probe reads the serving key
before it sends anything, and a runner has no key file: _api_key() raised
inside served_vocab(), the probe never left, and the tests that assert it
probes saw zero calls. They passed locally only because a developer's box
keeps that file.

The key is stubbed now, so they assert the guard. And the case CI exposed is
worth a test of its own rather than a fix: with no readable key the vocabulary
stays unknown, which stands the two id checks down and refuses nothing it
cannot judge, while a negative id is still refused because no vocabulary can
hold one.

Verified the way CI runs it, with the key file moved aside: all six proxy
suites green.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-22 10:44:44 +02:00
..