Repository navigation
hive-proxy.t27: who may spend a stored provider key over the Anthropic protocol; queen-contributor-keys v3 - #11253
Merged
Merged
Conversation
…hropic protocol and what the client is told; queen-contributor-keys v3 (Updates #10782) specs/automation/hive-proxy.t27 (new, REPO 999-multibots-telegraf, scalar fns so scripts/t27-logic.mjs lowers every body): the flag, the session-only owner rule, the request/rate/in-flight caps, which keys are usable, the round-robin pick, the upstream status/type/code table (402, 429, 529 pass; a refused stored key is a 502 api_error, never an authentication_error), and the Queen's own refusals. specs/automation/queen-contributor-keys.t27 v3 (extension, not a copy): the Z.ai Anthropic endpoint, the proxied-request cap and timeout, the upstream marker header, and proxy_may_open (the Queen opens one enabled key that has an Anthropic endpoint). gHashTag/999-multibots-telegraf#4024 is the feature issue; the render and Queen hosts vendor these two files in their own pull requests. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… it (Updates #10782) TRIOS_KEY_PROXY=on turns the Queen's proxied-call door on; anything else leaves it answering 503. proxy_flag_on is the rule, so no host spells the value "on" by hand. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…or code (Updates #10782) own_type maps the proxy's own refusal statuses to an Anthropic error type, and the codes for auth, body, content type, method and configuration are constants, so the render host spells none of them by hand. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…stants now run assertions (Closes #11238) "a probe waits long enough for a slow reasoning model" and "VERSION says what the header's last note says" passed with 0 runtime asserts (the compiler folds a constant-only comparison), so t27c test-report counted them vacuous. Each keeps its title and its original asserts and gains calls that execute: probe_waits(timeout_ms, answer_ms): the 90 s probe timeout outlasts the 87 s Z.ai and 46 s NVIDIA answers the header records, is not met by an answer exactly at the timeout, and the old 15 s timeout did cut a 20 s answer. header_names(version, last_note): VERSION is the v3 the header's last note names, and not v2. No constant, existing fn or other test changes; the two new fns are pure. t27c test-report: queen-contributor-keys 16 pass, vacuous 0; hive-proxy 17 pass, vacuous 0; t27b test --check exits 0 on both. Five mutants of the new assertions are caught. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…c protocol; queen-contributor-keys v3 (Closes #11238) Merge of master plus sealing, gates run on the merged tree with t27c from master: tests clean with vacuous passes 0, seal --verify MATCH, tri types ratchet CLEAN, dupe_scan failure set a subset of master's. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
gHashTag
enabled auto-merge (squash)
October 20, 2026 06:37
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #11238
hive-proxy.t27: who may spend a stored provider key over the Anthropic protocol; queen-contributor-keys v3
Gates run on the merged tree (t27c from master): 2 spec(s) with tests clean and vacuous passes 0, seal --verify MATCH, tri types ratchet CLEAN, dupe_scan failure set a subset of master's (inherited red).
TEST specs/automation/hive-proxy.t27 tests=[17] fail=[0] vacuous=[0]
TEST specs/automation/queen-contributor-keys.t27 tests=[16] fail=[0] vacuous=[0]
SEAL specs/automation/hive-proxy.t27 :: all hashes MATCH
SEAL specs/automation/queen-contributor-keys.t27 :: all hashes MATCH
TYPES RATCHET: CLEAN
DUPE failing=4 extra-vs-master=[]
🤖 Generated with Claude Code