mirror of
https://github.com/hasso5703/alzeo.git
synced 2026-12-06 21:04:21 +01:00
v6.16 named WHO and admitted no one: the client's bearer went upstream verbatim and met the engine's own --api-key there, so every labeled request died with the engine's 401 past a wall that had correctly identified it. Found live on the reference box against the real engine, not in any test, because every fake engine in the suite lets everything through: that is the hole's whole biography, and the fix carries its own enforcing fake engine so it cannot reopen unnoticed. QWEN38_UPSTREAM_API_KEY names the engine's key to the proxy; when both halves are set, the client's bearer names them on the journal line and the engine's key admits them upstream, on relays and on abort calls alike (the abort path had the same verbatim habit). Without the upstream key the old verbatim behavior stays, for an engine with no check of its own or one shared key on purpose, and the banner warns loudly about the combination. Three new admission scenarios (substitution observed engine-side, verbatim pinned as the documented fallback, upstream key dormant with the wall off); root proxy coverage 78% over its 74% floor. Co-Authored-By: Qwen3.8-flash-next via opencode <noreply@opencode.ai>