Loading...
Loading...
Compare original and translation side by side
gh pr reviewgh pr reviewfindings.jsonfindings.jsongh pr diff <N> > /tmp/pr-<N>.diff
gh pr view <N> --json title,headRefName,additions,deletions,filesgh pr diff <N> > /tmp/pr-<N>.diff
gh pr view <N> --json title,headRefName,additions,deletions,filesfindings.jsongeneralgeneralreferences/findings-schema.md{
"pr_number": 54,
"title": "feat(scripts): pnpm onboard:dev + onboarding docs (#48 phase 1)",
"branch": "48-onboard-dev-phase-1",
"github_url": "https://github.com/<owner>/<repo>/pull/54",
"files_stat": "10 files, +750 / −1",
"verdict": "One-sentence summary of the overall take.",
"test_commands": "pnpm test && pnpm typecheck",
"files": [
{
"path": "scripts/onboard-dev.ts",
"key": "orchestrator",
"additions": 188,
"deletions": 0,
"is_new": true,
"open_by_default": true,
"diff": "@@ -0,0 +1,188 @@\n+import { ... }\n...",
"annotations": [
{
"line": 165,
"sev": "major",
"title": "Manifest is mutated on `main` BEFORE the branch is created",
"body": "If <code>openManifestPr</code> fails partway, the user is left with a dirty working tree on main.",
"suggest": "Reorder so the branch is created first..."
}
]
}
],
"general_annotations": [
{
"sev": "praise",
"title": "Tests cover the surface area",
"body": "85/85 passing; the safety-property tests are particularly nice."
}
]
}diffdiff --git@@+-@@<code><em>test_commandsreferences/findings-schema.md{
"pr_number": 54,
"title": "feat(scripts): pnpm onboard:dev + onboarding docs (#48 phase 1)",
"branch": "48-onboard-dev-phase-1",
"github_url": "https://github.com/<owner>/<repo>/pull/54",
"files_stat": "10 files, +750 / −1",
"verdict": "对整体情况的一句话总结。",
"test_commands": "pnpm test && pnpm typecheck",
"files": [
{
"path": "scripts/onboard-dev.ts",
"key": "orchestrator",
"additions": 188,
"deletions": 0,
"is_new": true,
"open_by_default": true,
"diff": "@@ -0,0 +1,188 @@\n+import { ... }\n...",
"annotations": [
{
"line": 165,
"sev": "major",
"title": "Manifest is mutated on `main` BEFORE the branch is created",
"body": "If <code>openManifestPr</code> fails partway, the user is left with a dirty working tree on main.",
"suggest": "Reorder so the branch is created first..."
}
]
}
],
"general_annotations": [
{
"sev": "praise",
"title": "Tests cover the surface area",
"body": "85/85 passing; the safety-property tests are particularly nice."
}
]
}diff@@diff --git+-@@<code><em>test_commandspython "<plugin-root>/skills/pr-review-html/scripts/build_review.py" \
--findings /tmp/pr-<N>-findings.json \
--output plans/<unix-ts>--<m-d-h:mmam/pm>--pr-<N>-review.htmldate +%s
date "+%-m-%-d-%-I:%M%p" | tr 'A-Z' 'a-z'python "<plugin-root>/skills/pr-review-html/scripts/build_review.py" \
--findings /tmp/pr-<N>-findings.json \
--output plans/<unix-ts>--<m-d-h:mmam/pm>--pr-<N>-review.htmldate +%s
date "+%-m-%-d-%-I:%M%p" | tr 'A-Z' 'a-z'<details>+-@@<textarea><details>+-@@<textarea>