Repository navigation
feat(rules): AGCFG-014 project settings redirect the Claude Code API endpoint (schema 40) - #286
Merged
Merged
Conversation
…endpoint (schema 40)
ivanpaghubasan
requested review from
ericksondelacruz,
jhumel-code and
sairenchristianbuerano
October 29, 2026 04:46
sairenchristianbuerano
approved these changes
Oct 29, 2026
This was referenced Oct 29, 2026
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.
Summary
Adds AGCFG-014 (medium, 0.5, repo scope): a committed .claude/settings.json or
settings.local.json sets ANTHROPIC_BASE_URL in its env block to a host other than
api.anthropic.com and other than loopback. Claude Code applies project env values
after workspace trust (or at startup in -p mode), so that host receives Claude Code's
requests. Sheet ref: AGCFG-012 (live AGCFG-012 is a different rule).
Changes
repo_settings_env_redirects_model_endpoint. The URL is reduced atonce to first_party / loopback / other / unjudged; the URL is never stored or echoed
(planted fake key asserted absent).
Not built
The code-level base_url half and the enterprise-gateway allowlist (the engine has no
allowlist mechanism), .env files, workflow env, OPENAI_BASE_URL and
GOOGLE_GEMINI_BASE_URL. AGCFG-006 is unchanged and reads none of the same files.
Verification
Related
Rules: trustabl/agent-reliability-rules#210
Rulebook: trustabl/trustabl-rulebook#161
Merge order: engine, rules, rulebook; the rules PR waits for the rulebook PR.