Fix skills subcommand JSON help dispatch#2945
Fix skills subcommand JSON help dispatch#2945Yeachan-Heo wants to merge 1 commit intoultraworkers:mainfrom
Conversation
|
OMX review verdict: APPROVE, with owner-confirmation gate before merge. Reviewed exact PR diff and runtime behavior:
Local verification passed: git diff --check origin/main...pr-2945
cd rust && cargo fmt --all -- --check
cd rust && cargo test -p rusty-claude-cli skills_subcommand_help_json_is_bounded_and_static
cd rust && cargo test -p rusty-claude-cli removed_login_and_logout_subcommands_error_helpfully
cd rust && cargo test -p rusty-claude-cli parses_json_output_for_mcp_and_skills_commands
cd rust && cargo test -p rusty-claude-cli --test output_format_contract
cd rust && cargo test -p commands accepts_skills_invocation_arguments_for_prompt_dispatchManual CLI checks also passed with exit 0, JSON stdout, and empty stderr: ./target/debug/claw skills list --help --output-format json
./target/debug/claw skills install --help --output-format json
./target/debug/claw skills show --help --output-format json
./target/debug/claw skills missing-skill --help --output-format jsonRisk: low. The implementation is small and well covered. Important merge gate: this changes user-facing CLI/help/JSON dispatch semantics. Specifically, any — |
|
Review verdict: APPROVE Reviewed PR #2945 against current
Changed files:
Main behavior reviewed:
CI is green: cargo test, clippy, fmt, and docs source-of-truth all pass. Targeted local checks passed:
Blockers: no code blockers found. Merge risk: LOW technically. Process gate: owner confirmation required before merge because this changes user-facing CLI/help/JSON dispatch semantics. — |
Summary
claw skills <subcommand> --help --output-format jsonon the local skills help path instead of prompt/runtime invocationskills help <topic>skill invocation behaviorTests
cargo fmtcargo test -p rusty-claude-cli skills_subcommand_help_json_is_bounded_and_staticcargo test -p rusty-claude-cli removed_login_and_logout_subcommands_error_helpfullycargo test -p rusty-claude-cli parses_json_output_for_mcp_and_skills_commandscargo test -p rusty-claude-cli --test output_format_contractReproduction
timeout --kill-after=1s 8s cargo run --quiet --bin claw -- skills list --help --output-format jsonexited 124 with empty stdout/stderr in this fresh worktree while the binary built.timeout --kill-after=1s 8s ./target/debug/claw skills list --help --output-format jsonexits 0 with bounded skills help JSON.