{"id":51198000,"url":"https://github.com/nabobery/signalpr","last_synced_at":"2026-06-27T22:03:44.255Z","repository":{"id":359180162,"uuid":"1193304023","full_name":"nabobery/SignalPR","owner":"nabobery","description":"Reviewer-first desktop app for AI-assisted GitHub PR review with multi-lane parallel analysis, interactive approval, and auto-fix","archived":false,"fork":false,"pushed_at":"2026-05-20T18:15:10.000Z","size":960,"stargazers_count":0,"open_issues_count":9,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-20T23:53:23.576Z","etag":null,"topics":["ai","code-review","desktop-app","github","react","rust","sqlite","tauri","typescript"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nabobery.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-03-27T04:40:26.000Z","updated_at":"2026-05-20T17:49:51.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/nabobery/SignalPR","commit_stats":null,"previous_names":["nabobery/signalpr"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/nabobery/SignalPR","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nabobery%2FSignalPR","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nabobery%2FSignalPR/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nabobery%2FSignalPR/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nabobery%2FSignalPR/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nabobery","download_url":"https://codeload.github.com/nabobery/SignalPR/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nabobery%2FSignalPR/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34869005,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-27T02:00:06.362Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","code-review","desktop-app","github","react","rust","sqlite","tauri","typescript"],"created_at":"2026-06-27T22:03:43.431Z","updated_at":"2026-06-27T22:03:44.242Z","avatar_url":"https://github.com/nabobery.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SignalPR\n\n**A reviewer-first desktop application that transforms noisy AI pull request analysis into compact, human-approved review drafts.**\n\n---\n\n## The Problem\n\nAI-powered code review tools create a new problem instead of solving one: they generate too much noise.\n\n- They repeat the same observation across every file it appears in\n- They surface weak, speculative, or irrelevant comments at the same priority as real issues\n- They post directly to GitHub without human oversight, polluting PR timelines\n- They lack architectural context, so findings are generic and shallow\n- They create a second filtering job on top of the review job\n\nThe result: \"AI-assisted review\" ends up slower than doing it yourself.\n\n## The Solution\n\nSignalPR sits between your AI tools and GitHub. It runs specialized analysis agents in parallel, passes raw findings through a multi-stage cleaner pipeline that deduplicates, ranks, and verifies them, and then opens an editable workspace so you can approve what gets posted.\n\n**Nothing is sent to GitHub without your sign-off.**\n\nThe core insight is that the problem isn't AI quality — it's the missing layer between raw AI output and the final review. SignalPR is that layer.\n\n### How it works\n\n```\nPaste PR URL\n     │\n     ▼\nFetch diff + metadata (via gh CLI)\n     │\n     ▼\n┌────────────────────────────────┐\n│  Parallel agent lanes          │\n│  ├── Security                  │\n│  ├── Architecture              │\n│  └── Performance               │\n└────────────────────────────────┘\n     │\n     ▼\n┌────────────────────────────────┐\n│  Cleaner pipeline              │\n│  1. Normalize                  │\n│  2. Deduplicate                │\n│  3. Rank by confidence         │\n│  4. Verify line anchors        │\n│  5. Remap to current diff      │\n│  6. Cluster + synthesize       │\n└────────────────────────────────┘\n     │\n     ▼\nReview workspace (edit, suppress, rewrite)\n     │\n     ▼\nSingle batched review posted to GitHub\n```\n\n---\n\n## Key Features\n\n**Multi-lane orchestration** — Security, architecture, and performance agents run in parallel with specialized prompts rather than a single generic \"review this\" instruction.\n\n**Cleaner pipeline** — The core differentiator. Raw findings go through six stages: normalization, deduplication, confidence ranking, diff anchor verification, anchor remapping, and semantic clustering. Fifty raw comments collapse to eight high-signal findings.\n\n**Human-in-the-loop workspace** — A full review workspace with a file tree, diff view, and Signal Board. Edit finding text, change severity, suppress noise, or rewrite comments before anything reaches GitHub.\n\n**Multi-provider support** — Works with Codex (CLI and App Server), GitHub Copilot, OpenCode, Claude, Gemini, Cursor, and PI. Providers stream findings to the UI in real time.\n\n**Local-first and private** — No SignalPR cloud backend. State is stored in local SQLite. Credentials stay in your OS keychain. The app only routes code to the providers you explicitly choose.\n\n**Repo-level config** — Drop a `.signalpr.yml` in any repo to configure which agents run, the deduplication threshold, the maximum surfaced findings, and more.\n\n---\n\n## Tech Stack\n\n| Layer | Technology |\n|---|---|\n| Desktop shell | Tauri v2 |\n| Frontend | React 19 + TypeScript + Vite |\n| Routing | React Router 7 |\n| Styling | Tailwind CSS v4 + Lucide React |\n| Backend | Rust (async with Tokio) |\n| IPC | Tauri commands + events |\n| Persistence | SQLite (rusqlite) |\n| Credentials | OS keychain (keyring) |\n| AI providers | Codex, GitHub Copilot, OpenCode, Claude, Gemini, Cursor, PI |\n| PR fetching | GitHub CLI (`gh`) |\n| Streaming | WebSocket (tokio-tungstenite) + SSE |\n| HTTP client | reqwest |\n| Testing | Vitest (frontend) + cargo test (backend) |\n\n---\n\n## Project Structure\n\n```\nsignalpr/\n├── src/                          # React frontend\n│   ├── App.tsx                   # Route definitions\n│   ├── features/\n│   │   ├── intake/               # PR URL input and session creation\n│   │   ├── onboarding/           # Tool detection and setup guidance\n│   │   ├── review/               # Main review workspace\n│   │   ├── settings/             # User preferences and agent config\n│   │   └── submission/           # Review submission UI\n│   ├── lib/\n│   │   ├── ipc.ts                # Typed Tauri invoke() wrappers\n│   │   ├── types.ts              # Shared TypeScript interfaces\n│   │   └── store.ts              # Review workspace state (React context)\n│   └── ui/                       # Shared UI components\n│\n└── src-tauri/                    # Rust backend\n    └── src/\n        ├── commands/             # Tauri IPC command handlers\n        ├── orchestration/        # Multi-lane review engine and state machine\n        │   ├── engine.rs         # Coordinates parallel agent execution\n        │   ├── lane.rs           # Per-lane status tracking\n        │   └── state.rs          # ReviewRun state machine\n        ├── cleaner/              # Six-stage finding post-processing\n        │   ├── dedup.rs\n        │   ├── normalize.rs\n        │   ├── rank.rs\n        │   ├── verify.rs\n        │   ├── remap.rs\n        │   └── synthesis.rs\n        ├── providers/            # AI provider adapters\n        │   ├── traits.rs         # ReviewProvider trait\n        │   ├── codex.rs          # Codex one-shot CLI\n        │   ├── codex_app_server/ # Persistent Codex via JSON-RPC\n        │   ├── claude.rs         # Anthropic API\n        │   ├── copilot/          # GitHub Copilot v3 JSON-RPC\n        │   ├── opencode/         # OpenCode HTTP + SSE\n        │   ├── gemini/           # Gemini CLI via ACP (JSON-RPC over stdio)\n        │   ├── cursor/           # Cursor CLI via ACP (JSON-RPC over stdio)\n        │   ├── pi/               # PI Agent SDK via pi --mode rpc (LF-JSONL)\n        │   └── github.rs         # PR metadata fetching\n        ├── storage/              # SQLite data layer\n        ├── config/               # Configuration loading (.signalpr.yml)\n        ├── channels/             # Slack/Discord notification integrations\n        └── agents/               # Custom agent registry\n```\n\n---\n\n## Prerequisites\n\n- **[Rust](https://rustup.rs/)** — stable toolchain\n- **[Node.js](https://nodejs.org/)** (18+) and **[pnpm](https://pnpm.io/)**\n- **[Tauri prerequisites](https://v2.tauri.app/start/prerequisites/)** for your OS (WebView2 on Windows, Xcode tools on macOS, webkit2gtk on Linux)\n- **[GitHub CLI](https://cli.github.com/)** (`gh`) — authenticated with `gh auth login`\n- At least one review provider:\n  - [Codex CLI](https://github.com/openai/codex) or Codex App Server\n  - [OpenCode](https://opencode.ai/)\n  - `ANTHROPIC_API_KEY` in your environment (for Claude)\n  - GitHub Copilot subscription (for Copilot provider)\n  - [Gemini CLI](https://github.com/google-gemini/gemini-cli) (`npm i -g @google/gemini-cli`) with `GEMINI_API_KEY` set (for Gemini; API key required — OAuth is not supported)\n  - [Cursor CLI](https://cursor.com/docs/cli) (`curl https://cursor.com/install -fsS | bash`) with `CURSOR_API_KEY` set (for Cursor; generate a key at Cloud Agents → User API Keys in the Cursor Dashboard)\n  - [PI Agent SDK](https://github.com/mariozechner/pi) (`npm i -g @mariozechner/pi-coding-agent`) for the PI provider\n\n---\n\n## Setup and Development\n\n```bash\n# Clone the repo\ngit clone git@github.com:nabobery/SignalPR.git\ncd SignalPR\n\n# Install frontend dependencies\npnpm install\n\n# Start the development build (Vite + Tauri hot reload)\npnpm tauri dev\n```\n\nThis starts the Vite dev server on `localhost:1420` and opens the Tauri window with hot module replacement on the frontend and auto-rebuild on Rust changes.\n\n---\n\n## Available Scripts\n\n| Command | Description |\n|---|---|\n| `pnpm tauri dev` | Start the full app in development mode |\n| `pnpm tauri build` | Build a production-ready native binary |\n| `pnpm test` | Run all tests (Rust + frontend) |\n| `pnpm test:frontend` | Run Vitest tests only |\n| `pnpm test:rust` | Run Rust tests only |\n| `pnpm check` | Full quality check (typecheck + lint + format + tests) |\n| `pnpm typecheck` | TypeScript type check |\n| `pnpm lint` | Oxlint |\n| `pnpm lint:fix` | Oxlint with auto-fix |\n| `pnpm lint:rust` | Cargo clippy |\n| `pnpm format` | Oxfmt (frontend TS/TSX/CSS) |\n\n---\n\n## Repo Configuration\n\nCreate a `.signalpr.yml` at the root of any repository to customize review behavior for that project:\n\n```yaml\nversion: 1\nagents:\n  security: true\n  architecture: true\n  performance: true\n  nitpick: false           # Off by default — too noisy\ncleaner:\n  similarity_threshold: 0.85\n  drop_nitpicks: true\n  max_surface_findings: 8  # Cap how many findings reach the workspace\nsubmission:\n  require_human_approval: true\n```\n\nConfiguration precedence: **repo config \u003e user config \u003e defaults**\n\n---\n\n## Architecture Notes\n\n**IPC boundary** — The frontend never calls `invoke()` directly. All Tauri commands are wrapped in typed functions in [src/lib/ipc.ts](src/lib/ipc.ts). Backend events (`review_progress`, `codex_lane_delta`, `codex_approval_requested`) are emitted to the frontend for real-time progress updates.\n\n**Provider adapter pattern** — Every review provider implements the `ReviewProvider` trait in [src-tauri/src/providers/traits.rs](src-tauri/src/providers/traits.rs). Adding a new provider means implementing that trait — the orchestration engine does not need to change.\n\n**Review run state machine** — A `ReviewRun` moves through: `Created → RunningAgents → Cleaning → ReadyForReview → Submitting → Submitted` (with `Failed` as a terminal error state from any stage). This makes recovery from restarts deterministic.\n\n**Credential storage** — Secrets are stored in the OS keychain via `keyring`. Nothing sensitive is written to SQLite or log files.\n\n---\n\n## Contributing\n\n1. Fork the repo and create a branch from `main`.\n2. Run `pnpm check` before opening a PR — this runs the full quality gate (typecheck, lint, format, tests).\n3. Keep frontend and backend concerns cleanly separated: React components talk to the backend exclusively through [src/lib/ipc.ts](src/lib/ipc.ts).\n4. New AI providers belong in `src-tauri/src/providers/` and must implement the `ReviewProvider` trait.\n5. New cleaner stages belong in `src-tauri/src/cleaner/` and should be independently testable with unit tests.\n6. The cleaner pipeline and orchestration engine have in-memory SQLite test fixtures — add tests there rather than mocking at the integration layer.\n7. Open an issue first for large changes so the direction can be agreed on before implementation.\n\n---\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnabobery%2Fsignalpr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnabobery%2Fsignalpr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnabobery%2Fsignalpr/lists"}