Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
fc1eff7
docs(agents): add brainstorming design spec for settings conflict det…
Jul 15, 2026
10e5dbf
docs(agents): add implementation plan for settings conflict detection
Jul 15, 2026
86435ee
feat(agents): add detectSettingsConflict helper
Jul 15, 2026
826af22
feat(agents): warn on ANTHROPIC_BASE_URL override in settings.json
Jul 16, 2026
ff958a5
docs(agents): document ANTHROPIC_BASE_URL override behavior
Jul 16, 2026
1736d31
fix(agents): add path assertion, fix doc arrow and labels
Jul 16, 2026
9922962
fix(agents): harden settings-conflict detection (CR-001/002/003)
Jul 16, 2026
c8de6eb
docs(agents): correct design spec to match actual implementation
Jul 16, 2026
78c6a4f
docs(agents): mark EPMCDME-10988 ready for review
Jul 16, 2026
66d9a55
test(agents): add missing edge-case coverage for detectSettingsConflict
Jul 16, 2026
dca39da
docs(agents): fix manual-verification guide for fresh-clone users
Jul 16, 2026
6d85a6c
chore: untrack manual-verification.md (local sdlc artifact)
Jul 16, 2026
e71d40f
fix(agents): address CR-001 and CR-002 from code review
Jul 22, 2026
5ae7ac8
fix(agents): address CR-001 CR-002 CR-003 from tech lead review
Jul 22, 2026
4bf0fbe
fix(agents): harden safeUrl against DCS injection and URL userinfo sp…
Jul 23, 2026
950b3e7
fix(agents): fix em dash corruption in safeUrl fallback; add missing …
Jul 23, 2026
5b78112
fix(agents): strip query-string credentials from safeUrl output
Jul 27, 2026
5601c84
feat(agents): detect ANTHROPIC_MODEL override in settings.json; displ…
Jul 27, 2026
bd3655e
fix(agents): patch OSC C1-form, url.hash, and profileModel injection …
Jul 27, 2026
e7346fe
fix(tests): use path.join for SETTINGS_PATH to fix Windows CI
Jul 28, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .ai-run/guides/usage/project-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,31 @@ codemie profile delete <name> # Delete a profile

---

## Claude Code ANTHROPIC_BASE_URL Override

Claude Code reads `~/.claude/settings.json` at startup. If that file contains an
`ANTHROPIC_BASE_URL` key under the `env` block, Claude Code uses it instead of any
environment variable.

```json
{
"env": {
"ANTHROPIC_BASE_URL": "https://your-proxy.example.com"
}
}
```

`codemie-code` detects this at startup and prints a visible warning showing:
- **Profile URL** — the URL the active profile tried to inject
- **Active URL** — the settings.json URL that will actually be used

**Precedence chain (highest wins):**
`~/.claude/settings.json` > `env.ANTHROPIC_BASE_URL` (codemie-code profile)

To avoid silent overrides: remove `ANTHROPIC_BASE_URL` from `~/.claude/settings.json`.

---

## Troubleshooting

| Symptom | Cause | Fix |
Expand Down
Loading
Loading