Skip to main content

Pr Sweep Config

@maphew/pr-sweep-configv2026.09.29.2· 8d agoMODELS
01README

PR sweep configuration — manages repository pairs (upstream/fork) and sweep settings.

02Models1
@maphew/pr-sweep-configv2026.09.18.1pr_sweep_config.ts
fn discover()
Load the current PR sweep configuration
fn addRepoPair(name: string, upstreamRepo: string, forkRepo: string, workdir: string, agent?: enum, mainBranch?: string, swampRepoDir?: string, enabled?: boolean)
Add a new repository pair to the sweep configuration
ArgumentTypeDescription
namestringDisplay name for this repo pair
upstreamRepostringUpstream GitHub repo as owner/name
forkRepostringFork GitHub repo as owner/name
workdirstringLocal checkout directory for the upstream repo
agent?enumHeadless agent
mainBranch?stringBase branch
swampRepoDir?stringSwamp repo path; defaults to the repo swamp runs from
enabled?booleanWhether to include in sweeps
fn removeRepoPair(id: string)
Remove a repository pair from the sweep configuration
ArgumentTypeDescription
idstringID of the repo pair to remove
fn toggleRepoPair(id: string)
Toggle enabled/disabled state of a repository pair
ArgumentTypeDescription
idstringID of the repo pair to toggle
fn updateRepoPair(id: string, name?: string, upstreamRepo?: string, forkRepo?: string, workdir?: string, agent?: enum, mainBranch?: string, swampRepoDir?: string)
Update a repository pair's settings
ArgumentTypeDescription
idstringID of the repo pair to update
name?string
upstreamRepo?string
forkRepo?string
workdir?string
agent?enum
mainBranch?string
swampRepoDir?string

Resources

config(365d)— PR sweep repository pair configuration

Files

summary(text/markdown)— Markdown summary of the PR sweep configuration
03Previous Versions1
2026.09.29.1
04Stats
D
50 / 100
Downloads
14
Archive size
3.3 KB
  • Has README or module doc0/2missing
  • README has a code example0/1missing
  • README is substantive0/1pending
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared0/1missing
  • Verified public repository0/2missing
05Platforms
06Labels