OpenCodeReview Version
open-code-review v1.8.10 (4bcc95a)
Operating System
Linux (x86_64)
Installation Method
npm (global)
LLM Provider
Other OpenAI-compatible endpoint
Bug Description
Commit b1c7c6a updated open-code-review-delegate/SKILL.md to instruct host agents to execute ocr delegate preview --format json. However, the CLI binary's command parser for delegate preview does not accept --format. Either --format needs to be implemented in the CLI binary for delegate preview, or --format json should be removed from SKILL.md.
Steps to Reproduce
- Install the latest
open-code-review CLI tool and install/enable the open-code-review-delegate skill in a coding agent (e.g., QwenCode).
- Prompt the agent to run a code review using delegation mode.
- The host agent reads
SKILL.md and attempts to execute: ocr delegate preview --format json
- Observe the command failure due to an un-recognized
--format flag.
Expected Behavior
Either:
ocr delegate preview should accept the --format json flag and return machine-readable JSON output as documented/instructed in skills/open-code-review-delegate/SKILL.md.
OR
- If
--format is not intended for ocr delegate preview, skills/open-code-review-delegate/SKILL.md should be updated to remove --format json so agents do not invoke invalid CLI arguments.
Logs / Error Output
Command: ocr delegate preview --format json
Directory: (root)
Output: Error: unknown flag: --format
Error: (none)
Exit Code: 1
Additional Context
- PR / Commit reference: Commit b1c7c6a updated
SKILL.md and QCA templates to explicitly instruct host agents to pass --format json.
- Agent impact: When host agents run into this error, they are forced to catch the non-zero exit code, fall back to executing
ocr delegate preview --help, and re-run the command without --format json.
OpenCodeReview Version
open-code-review v1.8.10 (4bcc95a)
Operating System
Linux (x86_64)
Installation Method
npm (global)
LLM Provider
Other OpenAI-compatible endpoint
Bug Description
Commit b1c7c6a updated open-code-review-delegate/SKILL.md to instruct host agents to execute ocr delegate preview --format json. However, the CLI binary's command parser for delegate preview does not accept --format. Either --format needs to be implemented in the CLI binary for delegate preview, or --format json should be removed from SKILL.md.
Steps to Reproduce
open-code-reviewCLI tool and install/enable theopen-code-review-delegateskill in a coding agent (e.g., QwenCode).SKILL.mdand attempts to execute:ocr delegate preview --format json--formatflag.Expected Behavior
Either:
ocr delegate previewshould accept the--format jsonflag and return machine-readable JSON output as documented/instructed inskills/open-code-review-delegate/SKILL.md.OR
--formatis not intended forocr delegate preview,skills/open-code-review-delegate/SKILL.mdshould be updated to remove--format jsonso agents do not invoke invalid CLI arguments.Logs / Error Output
Additional Context
SKILL.mdand QCA templates to explicitly instruct host agents to pass--format json.ocr delegate preview --help, and re-run the command without--format json.