claw-code/rust/crates/runtime/src
Bellman 89e7f415a9
Avoid duplicate config warnings for JSON consumers (#3190)
JSON config output already carries collected config diagnostics in warnings[], so prose stderr emission must be reserved for text/local paths. Lazy permission-mode default resolution prevents an earlier config load from leaking the same deprecation before the JSON renderer runs.\n\nConstraint: ROADMAP #815 requires text mode to keep human stderr warnings while JSON config/list suppresses duplicate app-level config prose.\nRejected: Filtering all stderr in JSON mode | would hide cargo/compiler or unrelated diagnostics outside the app config warning path.\nConfidence: high\nScope-risk: narrow\nDirective: Keep load_collecting_warnings side-effect-free; use load() for human stderr emission.\nTested: cargo fmt; cargo test -p rusty-claude-cli --test output_format_contract config_json_reports_deprecations_structurally_without_stderr_duplicate_815; cargo test -p rusty-claude-cli --test output_format_contract; manual target/debug/claw JSON config fixture.\nNot-tested: cargo clippy -p rusty-claude-cli --all-targets -- -D warnings is blocked by pre-existing runtime dead_code/trident warnings.
2026-05-28 18:09:59 +09:00
..
approval_tokens.rs task: approval token chain 2026-05-14 18:07:03 +09:00
bash.rs omx(team): auto-checkpoint worker-1 [1] 2026-05-14 18:28:21 +09:00
bash_validation.rs
…
bootstrap.rs
…
branch_lock.rs
…
compact.rs fix(test): update compact test to reflect flattened previous-context header 2026-05-25 12:49:34 +09:00
config.rs Avoid duplicate config warnings for JSON consumers (#3190) 2026-05-28 18:09:59 +09:00
config_validate.rs fix: remove stale retry_after field, Team variant, config_load_error_kind, denied_tools initializer errors 2026-05-25 12:01:09 +09:00
conversation.rs fix: auto_compact runs before every iteration break, including terminal no-tool turns; closes #3106 2026-05-25 23:59:04 +09:00
file_ops.rs omx(team): auto-checkpoint worker-1 [1] 2026-05-14 18:11:53 +09:00
g004_conformance.rs Prove G004 contract bundles are machine-checkable 2026-05-14 18:07:11 +09:00
git_context.rs
…
green_contract.rs require provenance for green contracts 2026-05-14 18:33:51 +09:00
hooks.rs
…
json.rs
…
lane_events.rs omx(team): auto-checkpoint worker-1 [1] 2026-05-14 18:05:26 +09:00
lib.rs chore: fix conflict markers and cargo fmt drift in main (commands, openai_compat, trident, config, tools) 2026-05-25 11:51:44 +09:00
lsp_client.rs
…
mcp.rs omx(team): auto-checkpoint worker-1 [1] 2026-05-15 10:05:42 +09:00
mcp_client.rs omx(team): auto-checkpoint worker-1 [1] 2026-05-15 10:00:40 +09:00
mcp_lifecycle_hardened.rs
…
mcp_server.rs
…
mcp_stdio.rs surface required MCP server semantics 2026-05-15 10:06:39 +09:00
mcp_tool_bridge.rs omx(team): auto-checkpoint worker-1 [1] 2026-05-15 10:00:40 +09:00
oauth.rs
…
permission_enforcer.rs
…
permissions.rs fix: remove stale retry_after field, Team variant, config_load_error_kind, denied_tools initializer errors 2026-05-25 12:01:09 +09:00
plugin_lifecycle.rs omx(team): auto-checkpoint worker-2 [2] 2026-05-15 09:45:29 +09:00
policy_engine.rs Stabilize final gate before release checkpoint 2026-05-15 13:34:57 +09:00
prompt.rs feat: truncate oversized git diff in system prompt 2026-05-25 11:21:30 +09:00
recovery_recipes.rs omx(team): auto-checkpoint worker-1 [1] 2026-05-14 18:28:21 +09:00
remote.rs
…
report_schema.rs harden report contract projection identity 2026-05-14 18:09:36 +09:00
sandbox.rs omx(team): auto-checkpoint worker-1 [1] 2026-05-14 18:11:53 +09:00
session.rs Expose creation time in session list metadata 2026-05-25 17:06:08 +00:00
session_control.rs Expose creation time in session list metadata 2026-05-25 17:06:08 +00:00
sse.rs
…
stale_base.rs
…
stale_branch.rs
…
summary_compression.rs
…
task_packet.rs Keep G006 packet regressions aligned with shipped schema 2026-05-15 09:41:38 +09:00
task_registry.rs Make G006 task policy state machine executable 2026-05-15 09:29:26 +09:00
team_cron_registry.rs
…
trident.rs chore: cargo fmt --all on fix-160 branch 2026-05-25 12:49:36 +09:00
trust_resolver.rs feat: sweep 2026-05-25 04:36:30 +00:00
usage.rs
…
worker_boot.rs Warn before unwritable git metadata blocks worker commits (#3112) 2026-05-26 05:01:39 +08:00