Repository navigation
fix(tier3): align Anthropic endpoints and fail closed on judge errors - #56
Merged
Merged
Conversation
chrisknvidia
force-pushed
the
fix/christopherk/issue-55-anthropic-base-url
branch
3 times, most recently
from
August 20, 2026 07:04
ca8c056 to
2b833e9
Compare
chrisknvidia
marked this pull request as ready for review
August 20, 2026 07:10
chrisknvidia
requested review from
mosheabr,
rmalani-nv and
rng1995
as code owners
August 20, 2026 07:10
chrisknvidia
force-pushed
the
fix/christopherk/issue-55-anthropic-base-url
branch
from
August 20, 2026 10:32
2b833e9 to
f3093f9
Compare
Normalize Anthropic evaluator and Claude Code API roots so legacy terminal /v1 inputs and unversioned roots produce exactly one /v1/messages endpoint. Treat required Tier 3 judge transport, authentication, timeout, and exhausted parsing failures as unscoreable; suppress derived quality output for failed conditions while preserving bounded redacted diagnostics and safe result-directory reuse. Add URL, judge, collector, report, packaging, documentation, and end-to-end regression coverage. Fixes #55 Signed-off-by: Christopher Kevin <[email protected]>
chrisknvidia
force-pushed
the
fix/christopherk/issue-55-anthropic-base-url
branch
from
August 20, 2026 10:39
f3093f9 to
01a5612
Compare
rng1995
reviewed
Aug 20, 2026
rng1995
left a comment
Collaborator
There was a problem hiding this comment.
The focused judge/collector/report/security suites were clean apart from an unsupported host-interpreter mismatch; one root-artifact publication vulnerability reproduces on the supported Python runtime.
rng1995
enabled auto-merge
August 20, 2026 21:04
chrisknvidia
disabled auto-merge
August 20, 2026 23:16
Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
chrisknvidia
force-pushed
the
fix/christopherk/issue-55-anthropic-base-url
branch
from
August 21, 2026 00:02
33c89d2 to
84e0583
Compare
Signed-off-by: Christopher Kevin <[email protected]>
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.
Fixes #55
Summary
/v1roots produce exactly one/v1/messagessuffix while preserving path prefixes, ports, IPs, IDNs, internal hostnames, and safe percent escapes.default_plus_customcannot rescue a failed standard judge;custom_onlyremains independent.N/A/with-skill unavailable, while preserving a legitimate numeric0.0.idnadependency/license notice used to match Anthropic/httpx hostname behavior.This PR does not change agent-model defaults or the separate judge-model override behavior covered by #38 and #54.
Verification for
01a56124303 passed, 17 skipped, 5 deselectedin 3m14s. One explicit deselection is the occupied fixed-port bridge test described below; four are repository defaults. The exact final fixture file then passed93 passed, 4 skippedlocally.872 passed, 5 skipped; broader issue-specific suite before the final report-only guard:1197 passed, 5 skipped, 1 deselected.348 passed, 5 Windows-only skipped.1 passed; the CLI used the canonical prefixed/v1/messagesroute with no doubled/v1/v1.8 passed, covering ASCII/Unicode paths, IDNA, percent escapes, and scoped IPv6.git diff --check,uv lock --check, Fern (0 errors, one unauthenticated redirect warning), and 187 CI/OSS/package tests passed; wheel and sdist built successfully.End-to-end evidence and limits
defaultwith two cases/both arms, forced-401default_plus_custom, andcustom_only; every request used exactly/<prefix>/v1/messages, the 401 condition was failed/unscoreable, and custom-only issued zero standard-judge requests.01a5612: Docker Desktop is running locally, but its server API times out. The final-head real Claude loopback and SDK/verifier parity checks above did run; all collector/report/filesystem changes are covered by the full local suite.01a5612passed both the dedicated fail-closed gate and the broader 980-test Tier 2 matrix.tests/test_nvidia_build_bridge.py::test_dynamic_bridge_ignores_prebound_old_port_and_checker_authenticates_healthcannot bind127.0.0.1:18080because an unrelated existing process owns it. The process was not terminated.