Pr Sweep Config
@maphew/pr-sweep-configv2026.09.29.2
01README
PR sweep configuration — manages repository pairs (upstream/fork) and sweep settings.
02Models
@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
| Argument | Type | Description |
|---|---|---|
| name | string | Display name for this repo pair |
| upstreamRepo | string | Upstream GitHub repo as owner/name |
| forkRepo | string | Fork GitHub repo as owner/name |
| workdir | string | Local checkout directory for the upstream repo |
| agent? | enum | Headless agent |
| mainBranch? | string | Base branch |
| swampRepoDir? | string | Swamp repo path; defaults to the repo swamp runs from |
| enabled? | boolean | Whether to include in sweeps |
fn removeRepoPair(id: string)
Remove a repository pair from the sweep configuration
| Argument | Type | Description |
|---|---|---|
| id | string | ID of the repo pair to remove |
fn toggleRepoPair(id: string)
Toggle enabled/disabled state of a repository pair
| Argument | Type | Description |
|---|---|---|
| id | string | ID 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
| Argument | Type | Description |
|---|---|---|
| id | string | ID 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 Versions
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
Repository
https://github.com/maphew/myswamp.git05Platforms
06Labels