claudecode/crates
Yeachan-Heo 5cc13d3e6e Honor Claude config defaults across runtime sessions
The runtime now discovers both legacy and current Claude config files at
user and project scope, merges them in precedence order, and carries the
resolved model, permission mode, instruction files, and MCP server
configuration into session startup.

This keeps CLI defaults aligned with project policy and exposes configured
MCP tools without requiring manual flags.

Constraint: Must support both legacy .claude.json and current .claude/settings.json layouts
Constraint: Session startup must preserve CLI flag precedence over config defaults
Rejected: Read only project settings files | would ignore user-scoped defaults and MCP servers
Rejected: Delay MCP tool discovery until first tool call | model would not see configured MCP tools during planning
Confidence: high
Scope-risk: moderate
Reversibility: clean
Directive: Keep config precedence synchronized between prompt loading, session startup, and status reporting
Tested: cargo fmt --all --check; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo test --workspace --all-features
Not-tested: Live remote MCP servers and interactive REPL session startup against external services
2026-04-01 00:36:32 +00:00
..
api Enable Claude OAuth login without requiring API keys 2026-03-31 23:38:05 +00:00
commands Finish the Rust CLI command surface for everyday session workflows 2026-03-31 22:49:50 +00:00
compat-harness Merge remote-tracking branch 'origin/rcc/cli' into dev/rust 2026-03-31 20:46:07 +00:00
runtime Honor Claude config defaults across runtime sessions 2026-04-01 00:36:32 +00:00
rusty-claude-cli Honor Claude config defaults across runtime sessions 2026-04-01 00:36:32 +00:00
tools Prevent tool regressions by locking down dispatch-level edge cases 2026-03-31 23:33:05 +00:00