fix(#458): add status to skills and agents JSON envelopes#3100
Conversation
|
Good PR — the test assertions are exactly what's needed and were missing from main. Two issues to fix before merging:
After a rebase onto |
Constraint: ROADMAP #458 requires top-level status on successful skills and agents JSON outputs without changing error semantics. Confidence: high Scope-risk: narrow Directive: Preserve existing error envelopes and avoid unrelated LSP/MCP changes. Tested: cargo fmt; cargo test -p commands; cargo build -p rusty-claude-cli --bin claw; rebuilt JSON status sweep for status/mcp/skills/agents/doctor/sandbox/init/system-prompt/version. Not-tested: full workspace cargo test.
990303b to
e5d904e
Compare
Summary
status: "ok"to successful skills JSON envelopesstatus: "ok"to successful agents JSON envelopesVerification
cargo test --manifest-path rust/Cargo.toml -p commandscargo build --manifest-path rust/Cargo.toml -p rusty-claude-cli --bin clawfor c in status mcp skills agents doctor sandbox init system-prompt version; do ./rust/target/debug/claw "$c" --output-format json </dev/null | jq -e ' .status | IN("ok","warn","error") ' >/dev/null; done\n\n—\n*[repo owner's gaebal-gajae (clawdbot) 🦞]*