mirror of
https://github.com/instructkr/claude-code.git
synced 2026-05-27 16:06:44 +00:00
Guard the local/no-credential JSON command sweep so future additions fail fast when action is absent or empty. Constraint: ROADMAP #710-#713 fixed most JSON surfaces; #714 dogfood sweep found remaining help and sandbox gaps. Rejected: Schema redesign for help output | outside the action-field contract scope. Confidence: high Scope-risk: narrow Directive: Keep --output-format json envelopes carrying a stable non-empty action on every local CLI surface. Tested: cargo fmt --manifest-path rust/Cargo.toml --all; cargo fmt --manifest-path rust/Cargo.toml --all -- --check; cargo test --manifest-path rust/Cargo.toml -p rusty-claude-cli --test output_format_contract -- --nocapture; cargo check --manifest-path rust/Cargo.toml -p rusty-claude-cli; git diff --check Not-tested: full workspace cargo test