Skip to content

The cross-harness, self-improving memory layer for AI agents. Join our community: https://discord.com/invite/zdNChS2fBu

Have the reviewer read the PR with gh pr view --json

Claude3a5223482b6e
diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml
index d07bbf97..10c12c0e 100644
--- a/.github/workflows/claude-code-review.yml
+++ b/.github/workflows/claude-code-review.yml
@@ -57,7 +57,9 @@ jobs:
the PR does. Report only issues you are confident are real, and say how each one is
triggered.
- Use `gh pr diff` and `gh pr view` to read the change.
+ Read the change with `gh pr diff ${{ github.event.pull_request.number }}` and
+ `gh pr view ${{ github.event.pull_request.number }} --json title,body,author,baseRefName,headRefName,files`.
+ Plain `gh pr view` fails here: this job can't read check statuses.
Post each issue as an inline comment on the relevant line with
`mcp__github_inline_comment__create_inline_comment` (with `confirmed: true`).
Then post one short summary with `gh pr comment`: the issues found, or one line saying