orch-review
Run the orch-review native Workflow over a diff (local changes or a GitHub PR) and report blocking vs advisory findings. Surface for the orch-review workflow.
- Kind
- Prompt
- Works with
- Claude Code, Codex
- Source
- affaan-m/ECC @ d3b8a3e90890
- Path
- commands/orch-review.md
- License
- MIT
- Jobs
- Review, Git workflow, Guardrails
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
# /orch-review Surface for `workflows/orch-review.workflow.js` — the native Workflow port of orch-pipeline Phase 5 (Review). This command computes a diff, hands it to the workflow, and presents the result. The workflow owns the fan-out (one reviewer per dimension, dedup, adversarial verify); this command owns input and output. **Input**: $ARGUMENTS --- ## Mode Selection | Input | Mode | |---|---| | Blank | **Local Mode** — review uncommitted changes | | Number (e.g. `42`) or PR URL | **PR Mode** — review a GitHub PR | --- ## Phase 1 — GATHER Build the unified diff and the metadata the workflow needs. **Local Mode:** ```bash git diff --name-only HEAD # changedFiles git diff HEAD # diff text ``` If the diff is empty, stop: "Nothing to review." **PR Mode:** First derive a **safe numeric PR id** from `$ARGUMENTS` — never pass the raw argument to the shell. Accept either a bare integer, or the trailing number of a `https://github.com/<owner>/<repo>/pull/<N>` URL. Reject anything else (extra text, shell metacharacters, a non-PR URL) and stop with an error. Use only the extracted integer `<NUMBER>` below: ```bash …