# NousResearch/hermes-agent · Desktop Review pane shows no diffs outside git repos

## Open now

- 1 issue, 3 PRs open on GitHub.
- #86334: Bug: Desktop "N files changed" card opens an empty Review pane (NO DIFFS) when session cwd is not a git repo
- PR #106001: fix(desktop): Review pane resolves the changed file's own repo instead of NO DIFFS (#86334, #81722)
- PR #127803: fix(desktop): show a changed file's diff even when git can't diff it
- PR #130029: fix(desktop): review pane uses the changed file's own repo and tool diffs when git at the session cwd has none

These issues and fixes address a bug where the Desktop Review pane displays no diffs when the working directory or changed file is outside a git repository. The fixes correct how the review tool resolves repository context and retrieves diffs in non-git environments.

## TL;DR

- 5 member(s): 1 open issue(s), 0 closed issue(s), 3 open PR(s), 0 merged PR(s), 1 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.70`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Open related issues

- #86334: Bug: Desktop "N files changed" card opens an empty Review pane (NO DIFFS) when session cwd is not a git repo

## Prior & competing PRs

- **#96866: fix(desktop): review tool diffs outside git repos**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`
- **#106001: fix(desktop): Review pane resolves the changed file's own repo instead of NO DIFFS (#86334, #81722)**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `apps/desktop/e2e/review-tool-diff-fallback.spec.ts`, `apps/desktop/src/app/right-sidebar/review/file-tree.test.tsx`, `apps/desktop/src/app/right-sidebar/review/file-tree.tsx`, `apps/desktop/src/app/right-sidebar/review/index.test.tsx`, `apps/desktop/src/app/right-sidebar/review/index.tsx`, `apps/desktop/src/components/assistant-ui/thread/changed-files-card.test.tsx`, `apps/desktop/src/components/assistant-ui/thread/changed-files-card.tsx`, `apps/desktop/src/components/assistant-ui/thread/changed-files.test.ts`, `apps/desktop/src/components/assistant-ui/thread/changed-files.ts`, `apps/desktop/src/components/assistant-ui/tool/fallback-model.test.ts`, `apps/desktop/src/components/assistant-ui/tool/fallback-model/index.ts`, `apps/desktop/src/components/chat/diff-lines.test.tsx`, `apps/desktop/src/components/chat/diff-lines.tsx`, `apps/desktop/src/store/review.test.ts`, `apps/desktop/src/store/review.ts`, `tests-js/scripts/mock-server.ts`
- **#127803: fix(desktop): show a changed file's diff even when git can't diff it**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `apps/desktop/src/app/right-sidebar/review/index.tsx`, `apps/desktop/src/components/assistant-ui/thread/changed-files-card.tsx`, `apps/desktop/src/components/assistant-ui/thread/changed-files.test.ts`, `apps/desktop/src/components/assistant-ui/thread/changed-files.ts`, `apps/desktop/src/lib/chat-messages/d1-consumers.test.ts`, `apps/desktop/src/store/review.test.ts`, `apps/desktop/src/store/review.ts`
- **#130029: fix(desktop): review pane uses the changed file's own repo and tool diffs when git at the session cwd has none**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `38ab47ce8e`, `#127200`
  - files: `apps/desktop/e2e/review-tool-diff-fallback.spec.ts`, `apps/desktop/src/app/right-sidebar/review/file-tree.test.tsx`, `apps/desktop/src/app/right-sidebar/review/file-tree.tsx`, `apps/desktop/src/app/right-sidebar/review/index.fallback.test.tsx`, `apps/desktop/src/app/right-sidebar/review/index.tsx`, `apps/desktop/src/components/assistant-ui/thread/changed-files-card.test.tsx`, `apps/desktop/src/components/assistant-ui/thread/changed-files-card.tsx`, `apps/desktop/src/components/assistant-ui/thread/changed-files.test.ts`, `apps/desktop/src/components/assistant-ui/thread/changed-files.ts`, `apps/desktop/src/components/assistant-ui/tool/fallback-model.test.ts`, `apps/desktop/src/components/assistant-ui/tool/fallback-model/index.ts`, `apps/desktop/src/components/chat/diff-lines.test.tsx`, `apps/desktop/src/components/chat/diff-lines.tsx`, `apps/desktop/src/lib/chat-messages/d1-consumers.test.ts`, `apps/desktop/src/store/review.test.ts`, `apps/desktop/src/store/review.ts`, `contributors/emails/[redacted:email]`, `tests-js/scripts/mock-server.ts`

## Fix status

- No merged fix on record.
- Subsystem: `apps/desktop`
