Repository navigation
Show additional repositories, reviews and findings in workspace views - #21
Conversation
No blocking issues foundCommit: ef94f8d The change adds supplemental repositories, saved review history and findings, Mermaid diagrams, and exports that tolerate missing historical metadata. No blocking issue was found in the supplied source. The prior history-polling issue is repaired. No embedded secrets were identified in the visible changes. The changed vendored archive was not available for source inspection. Change vs. PR intent: Aligned. The changed components merge supplemental repositories and reviews, render saved reports, and handle nullable historical metadata. Scores
Supplemental workspace reviews and report renderingflowchart TD
n0["Load native review history"]
n1["Load and poll supplemental history pages"]
n2["Deduplicate and sort history"]
n3["Select a review"]
n4{"Supplemental review?"}:::decision
n5["Open supplied detail view"]
n6["Load native report"]
n7["Render standard report tabs and SARIF export"]
n0 -->|"Native entries"| n2
n1 -->|"Supplemental entries"| n2
n2 -->|"Chronological history"| n3
n3 -->|"Selected entry"| n4
n4 -->|"Yes"| n5
n4 -->|"No"| n6
n6 -->|"Completed report"| n7
classDef decision fill:#fff1c2,stroke:#956300,color:#382600
No findings on the changed lines.
View the full report in Inkspect Reviewed by Inkspect · engine v0.0.71 |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 3 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 811616a. Configure here.
| } finally { | ||
| if (!controller.signal.aborted && extraPage === 1) timer = setTimeout(load, 30_000); |
There was a problem hiding this comment.
P2 · Keep polling recent reviews after loading older pages
The polling timer is scheduled only when extraPage is 1. Clicking Load more reviews increments extraPage and cleans up the existing first-page timer. The next page is fetched once, but no further polling occurs. New supplemental reviews and updates to existing entries therefore stop appearing until a manual refresh or repository change.
Suggested fix
Keep a separate first-page polling effect active while loading older pages on demand. Merge refreshed first-page entries with the loaded history without discarding older entries.
Verification
Render a supplemental feed with multiple pages, load page two, then update the feed's first-page response. Advance the polling interval and confirm that the first page is requested again and the updated entries appear while older entries remain available.
New pushes trigger an automatic review when enabled. To request another pass on the same commit, comment @inkspectsi review again.
There was a problem hiding this comment.
Verified in ef94f8dac219. The supplemental-history loader now schedules polling at every pagination depth and refreshes the loaded window from page one, so loading older pages no longer stops updates.

Include additional authorized repositories in the Ask AI picker. Display saved review runs in chronological history and render their findings, diagrams and SARIF exports with the standard report components. Reports with missing historical metadata remain readable.
Verification
Package audit, unit and rendering tests, and Next.js production build passed.
Note
Medium Risk
Touches findings resolution, merged review history, and client-side Mermaid rendering; incorrect host hooks could show wrong repos or stale history, but core auth paths appear unchanged.
Overview
This PR extends workspace views so hosts can surface extra authorized repositories and saved review runs alongside the native GitHub-connected flow, without duplicating report UI.
The reviews sidebar accepts an optional
additionalHistoryhook: extra repos appear in the picker, paginated external history merges with live jobs (newest-first, deduped by id), polls on a 30s cadence viareadHistoryPages, and deep links keep repository + job selection when the linked id is external. Detail panes render through the sameReviewReportViewpath for completed saved reports.Findings gain an optional
findingsEndpointand repository list from the caller; resolution controls are read-only whenfinding.readOnlyis set. Ask AI mergesadditionalChatRepositorieswith connected repos inWorkspaceLayout.Saved / legacy reports use a relaxed
SavedReportshape (nullable decision, coverage, finding locations, verification blocking). SARIF export and report tabs tolerate missing metadata. The behavior map adds Mermaid (mermaiddependency):PublishedReviewDiagramrenders diagrams from published markdown (with SVG fallback), including published flowchart extraction in tests.Changelog and tests cover diagram parsing, saved-report rendering, and pagination refresh behavior.
Reviewed by Cursor Bugbot for commit ef94f8d. Bugbot is set up for automated code reviews on this repo. Configure here.