Pull Request Reviews
Topolix reviews GitHub pull requests as changes to your system architecture, not only as a text diff. Each review generates a focused architecture diagram of the affected components, pins findings to the components they impact, and publishes a summary and inline comments directly on the pull request.
Enable automatic reviews
Section titled “Enable automatic reviews”- Connect your GitHub account or organization under Sources → GitHub (see Connect GitHub).
- Open GitHub → repository → Settings as a workspace owner and turn on Automatic reviews.
- Reviews are off by default and do not require generating a full repository diagram first. Only one workspace can publish reviews for a given repository.
Once enabled, new pull requests (including drafts), new commits, and reopened pull requests queue a review automatically. Workspace editors can also trigger a review manually with Review now from the Pull Requests page.
What each review includes
Section titled “What each review includes”Each review is a cumulative snapshot of the full pull request against its merge base:
- Architecture diff diagram: A combined graph of the affected systems and their direct context. Added, modified, and removed components and connections are highlighted, and selecting a component shows its previous and new behavior with source evidence.
- Component-pinned findings: Each finding names the component it lives in with a badge on that node, states what breaks, explains the impact and cause in code, and includes a suggested fix when the change is straightforward.
- Merge confidence & summary: A 1–5 merge confidence score, headline, two-sentence summary, and file/line counts.
- GitHub comments & preview: Topolix posts one summary comment with a rendered architecture preview image and inline finding comments anchored to the changed lines.
Deciding findings and GitHub sync
Section titled “Deciding findings and GitHub sync”Workspace editors can mark any finding Fixed or Not an issue (or reopen it) from the review page or through a connected coding agent over MCP:
- Not an issue persists across subsequent commits on the pull request so the finding is not reported again.
- Fixed clears the finding unless a later commit still reproduces the issue.
- Decisions update the finding’s GitHub comment to show its resolved status, collapse the original block, and update the summary counts and GitHub check.
Topolix never requests Contents: write on your repositories, so it does not push code or auto-resolve GitHub review threads.
GitHub status check
Section titled “GitHub status check”Each review reports a Topolix check run on the pull request’s head commit:
- Shows progress while the review runs and completes with open finding counts and a Details link to the review page.
- By default, the check is informational and never blocks merging.
- Workspace owners can configure Fail the GitHub check on per repository (Never, P0, P1 or worse, or Any finding). Marking findings fixed or not an issue recomputes the check without requiring a full re-review.
To enforce the check as a merge gate, mark Topolix as a required status check in your GitHub branch protection rules.
Working through reviews with coding agents
Section titled “Working through reviews with coding agents”With the hosted MCP server, coding agents such as Claude Code and Codex can wait for a Topolix review, walk you through open findings one at a time with proposed fixes, record your decisions back to GitHub, and act on replies you leave on GitHub finding threads.
Security and permissions
Section titled “Security and permissions”- Analysis runs on read-only, filtered snapshots at the PR head and merge base; Topolix never executes repository code.
- Repository contents, pull request descriptions, and comments are treated as untrusted input.
- Analysis uses a contents-read-only token; publication uses a separate, repository-scoped pull request token that is never exposed to the review model.