Star on GitHub

Changelog

All notable changes to PRSense.

The format is based on Keep a Changelog.

v2.0.0 Multi-Provider & Infrastructure Update

2026-03-29

New Features

  • Cross-Repo Radar: Detect duplicate pull requests and overlapping work across your entire organization's codebase.
  • Webhook Alerts: Real-time notification dispatching to Slack and Discord for detected duplicates and possible matches.
  • Multi-Provider Support: Full integration with GitLab alongside existing GitHub support.
  • Bring Your Own Key (BYOK): Configure your own OpenAI API key to bypass rate limits and control infrastructure costs.

Platform Updates

  • New Onboarding Flow: Streamlined setup process featuring the new 3-Month Free Trial model without credit card requirements.
  • Dashboard Analytics: Improved impact scoring and telemetry views in the web dashboard.

v1.1.0 Rules & Integrations Expansion

2026-03-09

Added

  • Custom Rules Engine: Programmable checks running locally without LLMs to block or warn on PRs automatically.
  • Provider Abstraction: Extracted GitHub logic and added full support for GitLab.
  • Knowledge Graph: Ingests files and authors over time, building an explorable relationship graph to query the history of files and authors.
  • AI-Powered PR Descriptions: Generates descriptions programmatically by fetching contextually similar historical PRs locally via embeddings.
  • Stale PR Detection: Flags old and inactive PRs based on customizable thresholds and suggests actions (close, merge, ping reviewers).
  • Smart Triage & Auto-Labeling: Classifies PRs into categories with confidence scores and suggests reviewers.
  • Impact Scoring: Calculates a PR risk score (0-100) based on blast radius and author experience.
  • Notification System: Real-time alerts to Slack and Discord for duplicates, high-risk PRs, and rule violations.
  • Zero-Click AI Descriptions: Auto-generates descriptions for empty PRs via webhook seamlessly.
  • Express API Endpoint Expansion: Added /api/rules/evaluate, /api/graph/query, /api/graph/history, /api/describe, and /api/stale.

Changed / Fixed

  • Infra (ESM Support): Added exports map to package.json for proper ./server and ./bot submodule resolution.
  • Infra (Dependencies): Moved heavy dependencies (express, cors, @actions/*) to optional peerDependencies to drastically reduce package size for library consumers.
  • Infra (Publishing): Created an exhaustive .npmignore to prevent source files, tests, and configuration from shipping to npm.
  • Infra (Config): Removed unnecessary React JSX configuration from tsconfig.json.

v1.0.2 Repository Memory Update

2026-02-04

Added

  • Semantic Search: New search(query) method to find PRs using natural language
  • Scalable Vector Search: Postgres storage now uses pgvector for scalable O(log n) similarity search
  • Documentation: New docs/api.md reference guide and updated README examples

Strategic Pivot

  • Mission Update: Renamed "Duplicate Detection" to "Repository Memory"
  • Problem Statement: Focus on "Repository Amnesia" and the "Context Switch Tax"
  • Architecture: Restructured into Memory, Recall, and Operations layers

v1.0.1

2026-01-13

Changed

  • CLI: Improved prsense command to support manual file checking (prsense check <file>) alongside auto-detection
  • Documentation: Updated CLI usage guide to prioritize npm install and added global installation instructions

Fixed

  • CLI: Merged manual file check logic into main binary for consistent behavior
  • Analytics: Confirmed production readiness of SQLite and Postgres storage drivers

v1.0.0 Major Release

2026-01-11

Core Features

  • Multi-Signal Duplicate Detection: Combines text similarity, diff similarity, and file overlap for 95% accuracy
  • Bloom Filter Fast Path: O(1) early rejection for obvious non-duplicates
  • Attribution Graph: Tracks original authorship to preserve contributor credit

Embedding Providers

  • OpenAI Embeddings: High-accuracy embeddings via text-embedding-3-small
  • ONNX Local Embeddings: 100% offline, privacy-first alternative (no API key required)
  • Embedding Cache: Reduces API costs by up to 90%

Storage Backends

  • In-Memory Storage: Zero-config default for development
  • SQLite Storage: Persistent local storage for small-medium repos
  • PostgreSQL + pgvector: Production-grade vector storage for scale

Interfaces

  • CLI Tool: prsense check — auto-detects git branch and checks for duplicates
  • GitHub Action: Drop-in CI/CD integration
  • REST API Server: Deploy as a microservice
  • Library: Import and use programmatically in Node.js

Advanced Features

  • Batch API: Check hundreds of PRs in a single call
  • Configurable Weights: Tune text vs diff vs file overlap scoring
  • Dry-Run Mode: Test without indexing
  • Cross-Repo Detection: Find duplicates across your entire org
  • Score Breakdown: Explainable "why" for every match

Documentation

  • Comprehensive guides: START_HERE.md, quick-start.md, install.md
  • Full API documentation in /docs
  • Security policy with data privacy details