claw-code/rust/crates/runtime/src
YeonGyu-Kim de7edd5bb1
fix: suppress config deprecation stderr in JSON mode globally (#824)
Add SUPPRESS_CONFIG_WARNINGS_STDERR AtomicBool flag in runtime/config.rs
and expose suppress_config_warnings_for_json_mode() via runtime crate.

In main.rs, scan raw argv for --output-format json before parse_args
and activate the flag so no settings-load warnings reach stderr on any
JSON-mode surface (status, sandbox, system-prompt, mcp list, skills list,
agents list, --resume /config*, etc.).

Text-mode surfaces are unaffected; prose deprecation warnings continue
to appear on stderr.

All 572+ tests pass (one pre-existing worker_boot failure unrelated).
2026-05-29 14:00:32 +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 feat: bash validation module + output truncation parity 2026-04-03 19:31:49 +09:00
bootstrap.rs feat(runtime): add tests and improve error handling across runtime crate 2026-04-02 18:10:12 +09:00
branch_lock.rs Close the clawability backlog with deterministic CLI output and lane lineage 2026-04-05 18:41:02 +00:00
compact.rs fix(test): update compact test to reflect flattened previous-context header 2026-05-25 12:49:34 +09:00
config.rs fix: suppress config deprecation stderr in JSON mode globally (#824) 2026-05-29 14:00:32 +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 feat: b5-git-aware — batch 5 wave 2 2026-04-07 15:19:45 +09:00
green_contract.rs require provenance for green contracts 2026-05-14 18:33:51 +09:00
hooks.rs Improve malformed hook failures so operators can diagnose broken JSON 2026-04-13 12:44:52 +00:00
json.rs fix: auto compaction threshold default 200k tokens 2026-04-01 03:55:00 +00:00
lane_events.rs omx(team): auto-checkpoint worker-1 [1] 2026-05-14 18:05:26 +09:00
lib.rs fix: suppress config deprecation stderr in JSON mode globally (#824) 2026-05-29 14:00:32 +09:00
lsp_client.rs Restore a fully green workspace verification baseline 2026-04-05 18:46:06 +00:00
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 Restore a fully green workspace verification baseline 2026-04-05 18:46:06 +00:00
mcp_server.rs style: cargo fmt — fix CI formatting failures 2026-04-08 11:21:13 +09:00
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 fix(startup): fall back to USERPROFILE when HOME is not set (Windows) 2026-04-10 08:33:35 +09:00
permission_enforcer.rs feat: ultraclaw droid batch — ROADMAP #41 test isolation + #50 PowerShell permissions 2026-04-12 03:06:24 +09:00
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 fix: auto compaction threshold default 200k tokens 2026-04-01 03:55:00 +00:00
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 feat(runtime): add tests and improve error handling across runtime crate 2026-04-02 18:10:12 +09:00
stale_base.rs feat: bridge directory metadata + stale-base preflight check 2026-04-07 15:55:38 +09:00
stale_branch.rs Restore a fully green workspace verification baseline 2026-04-05 18:46:06 +00:00
summary_compression.rs feat(runtime): actionable summary compression for lane event streams 2026-04-04 00:43:30 +09:00
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 Restore a fully green workspace verification baseline 2026-04-05 18:46:06 +00:00
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 docs: describe the runtime public API surface 2026-04-04 15:23:29 +00:00
worker_boot.rs Warn before unwritable git metadata blocks worker commits (#3112) 2026-05-26 05:01:39 +08:00