mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 11:41:04 +00:00
fix(review): fix cross-repo mode and add documentation
SKILL.md: - Step 9 must use owner/repo from URL (not gh repo view) for cross-repo - Step 2 (project rules) skipped in cross-repo mode (no local files) User doc: add Cross-repo PR Review section with same-repo vs cross-repo capability comparison table. DESIGN.md: add "Why cross-repo uses lightweight mode" section explaining CLI tools are inherently repo-local and our approach is best available. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
0e78ced15a
commit
559f2efd42
3 changed files with 29 additions and 1 deletions
|
|
@ -110,6 +110,26 @@ When reviewing a PR, `/review` creates a temporary git worktree (`.qwen/tmp/revi
|
|||
- If a review is interrupted (Ctrl+C, crash), the next `/review` of the same PR automatically cleans up the stale worktree before starting fresh
|
||||
- Review reports and cache are saved to the main project directory (not the worktree)
|
||||
|
||||
## Cross-repo PR Review
|
||||
|
||||
You can review PRs from other repositories by passing the full URL:
|
||||
|
||||
```bash
|
||||
/review https://github.com/other-org/other-repo/pull/456
|
||||
```
|
||||
|
||||
This runs in **lightweight mode** — no worktree, no linter, no build/test, no autofix. The review is based on the diff text only (fetched via GitHub API). PR comments can still be posted if you have write access.
|
||||
|
||||
| Capability | Same-repo | Cross-repo |
|
||||
| ---------------------------------------------- | --------- | ----------------------------- |
|
||||
| LLM review (5 agents + verify + reverse audit) | ✅ | ✅ |
|
||||
| Deterministic analysis (linter/typecheck) | ✅ | ❌ |
|
||||
| Build & test | ✅ | ❌ |
|
||||
| Cross-file impact analysis | ✅ | ❌ |
|
||||
| Autofix | ✅ | ❌ |
|
||||
| PR inline comments | ✅ | ✅ (if you have write access) |
|
||||
| Incremental review cache | ✅ | ❌ |
|
||||
|
||||
## PR Inline Comments
|
||||
|
||||
Use `--comment` to post findings directly on the PR:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue