Tech Stack
Overview
SwiPR / PRs on Edge captures two iterations of the same core idea: using AI to make pull request review faster, safer, and more context-aware.
SwiPR started as context infrastructure for the merge decision. PRs on Edge later focused on the interface layer, using generative UI to decide how PR review should look on mobile and edge devices.

Two Iterations
- SwiPR explored retrieval and memory for PR review using vector search over repo and pull request context.
- PRs on Edge focused on the interface layer: dynamically rendering SwipeStack, RiskMatrix, ContributorFocus, DependencyGraph, or CategoryGroup depending on repository state.
- Together, they explore the same core question: how can AI make PR review faster, safer, and more context-aware?
SwiPR
- Swipe review UI — a card-based interface for triaging open-source pull requests quickly.
- AI context panel — surfaces risk score, contributor history, similar past changes, and PR summaries alongside the diff.
- Repo memory — stores and embeds PR and file context so both humans and agents can retrieve related changes later.
- MCP server — exposes the same PR context layer to Claude Desktop, Cursor, and other MCP-compatible clients.
PRs on Edge
- Dynamic view selection — switches between SwipeStack, RiskMatrix, ContributorFocus, DependencyGraph, or CategoryGroup based on queue shape and repository state.
- Inline risk scoring — scores PRs using diff size, changed files, and sensitive path heuristics without requiring a separate ML model.
- Queue classification — groups pull requests by type, age, contributor concentration, and dependency chains before rendering.
- Generative UI focus — the main output is not a static dashboard or plain chat answer, but an interface the agent chooses at runtime.
Interface Modes
Swipe — a card-by-card review surface for fast triage when the queue is still small enough for direct approve, skip, or inspect actions.

Risk Matrix — a severity-oriented view that groups pull requests by runtime risk so the reviewer can attack the highest-signal items first.

Contributor Focus — a grouped view for author-heavy queues, useful when one contributor or one team owns a large share of open work.

Dependency Graph — a structure-aware view that surfaces merge ordering and cross-references so related pull requests do not get merged out of sequence.

Category Group — a batching view that clusters pull requests into feature, testing, maintenance, and similar classes to reduce queue noise.

Explore the Work
Open the SwiPR repo · Open the PRs on Edge repo · Read the article version