GitHub personal access token or token from gh auth token
Fetch PRs closed without merge in the last N days.
Lookback window in days (default: 7)
Recently closed PRs
Fetch PRs merged in the last N days.
Lookback window in days (default: 7)
Recently merged PRs
Fetch metadata (star count and primary language) for a list of repositories.
Both fields come from the same repos.get() call — zero additional API cost.
Fetch closed-without-merge PR counts per repository for the configured user.
OptionalstarFilter: StarFilterOptional filter to exclude low-star repos
Per-repo closed counts with monthly breakdowns
Fetch merged PR counts and latest merge dates per repository for the configured user.
OptionalstarFilter: StarFilterOptional filter to exclude low-star repos
Per-repo merged counts with monthly breakdowns
Fetch all open PRs for the configured user fresh from GitHub. This is the main entry point for the v2 architecture.
All open PRs enriched with status, plus any failures
Generate a daily digest from fetched PRs.
All open PRs (active + shelved)
PRs closed without merge in the last 7 days
PRs merged in the last 7 days
Daily digest with categorized PRs and summary stats
Update repository scores based on observed PR (called when we detect merged/closed PRs).
Repository in "owner/repo" format
true if the PR was merged, false if closed without merge
Fetches and enriches open PRs from GitHub for the configured user.
In v2, all PR data is fetched fresh on each run — no local PR tracking. CI status, reviews, merge conflicts, and maintainer comments are enriched for each PR to compute a FetchedPRStatus.