Back to skills
SKILL.md
2671 Cli Json V01x 0ecd8a70
ASecurityThis document freezes the machine-readable payload contract returned by: - `mco review --json` - `mco run --json`
- 9 stars
- 0 votes
- 0 copies
- 0 views
- Added October 11, 2026
Works with
Security analysis
100/100npx -y skills add tools-only/X-Skills --skill 2671-cli-json-v01x_0ecd8a70 --agent claude-codeAre you the author of 2671 Cli Json V01x 0ecd8a70?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tools-only-2671-cli-json-v01x-0ecd8a70)# CLI JSON Contract (`v0.1.x`)
This document freezes the machine-readable payload contract returned by:
- `mco review --json`
- `mco run --json`
## Contract Version
- Scope: `v0.1.x`
- Compatibility rule: additive-only changes are allowed in `v0.1.x`; removal/rename/type change requires a new contract version.
## Payload Shape
Top-level JSON object with required fields:
```json
{
"command": "review|run",
"task_id": "string",
"artifact_root": "string",
"decision": "string",
"terminal_state": "string",
"provider_success_count": 0,
"provider_failure_count": 0,
"findings_count": 0,
"parse_success_count": 0,
"parse_failure_count": 0,
"schema_valid_count": 0,
"dropped_findings_count": 0,
"created_new_task": true
}
```
## Semantics
- `command`:
- `review` for review-specialized flow.
- `run` for generalized execution flow.
- `findings_count` is retained canonical findings count.
- `parse_success_count` / `parse_failure_count` are review parsing health counters.
- `created_new_task` indicates idempotency hit/miss at submit time.
## Exit Code Notes
- `mco run`:
- returns non-zero only when `decision == FAIL`.
- `mco review`:
- returns non-zero for `FAIL`.
- returns `3` for `INCONCLUSIVE`.
## Gate
Contract enforcement tests:
- `tests/test_cli_json_contract.py`
Attribution
Comments
Loading comments…