You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Autonomous GitHub issue processor powered by any CLI tool. Watches repos for open issues, dispatches a command to resolve them, and pushes fixes or opens PRs.
6
6
7
7
## Install
8
8
9
-
Download a prebuilt binary from the [latest release](https://github.com/tinybluerobots/cq/releases/latest).
9
+
Download a prebuilt binary from the [latest release](https://github.com/tinybluerobots/issuebot/releases/latest).
10
10
11
11
Or via `go install`:
12
12
13
13
```bash
14
-
go install github.com/tinybluerobots/cq@latest
14
+
go install github.com/tinybluerobots/issuebot@latest
|`--strategy`|`pr`| Git strategy: `pr` (branch + PR) or `commit` (push to default branch) |
70
70
|`--interval`|`30s`| Polling interval |
71
71
|`--workers`|`5`| Max concurrent repo workers |
72
-
|`--workspace`|`~/.cq/repos`| Directory for cloned repos |
72
+
|`--workspace`|`~/.issuebot/repos`| Directory for cloned repos |
73
73
|`--local`|`false`| Use current directory instead of cloning |
74
74
|`--command`|**(required)**| Command to run (prompt via stdin or `{prompt}` placeholder) |
75
-
|`--prompt-file`|`~/.cq/prompt.tmpl`| Path to prompt template file |
75
+
|`--prompt-file`|`~/.issuebot/prompt.tmpl`| Path to prompt template file |
76
76
|`--dry-run`|`false`| Run command but skip push/PR (print diff instead) |
77
77
|`--max-retries`|`3`| Max retry attempts per issue |
78
78
|`--log-file`|| Log file path (defaults to stdout) |
@@ -86,15 +86,15 @@ Requires a GitHub token. Set `GITHUB_TOKEN` or run `gh auth login`.
86
86
87
87
1.**Polls** GitHub API for open issues (optionally filtered by label)
88
88
2.**Clones** the repo (or uses current dir with `--local`)
89
-
3.**Dispatches**a command (default: Claude CLI) with the issue as a prompt
89
+
3.**Dispatches**the configured command with the issue as a prompt
90
90
4.**Opens a PR** or pushes directly, depending on strategy
91
-
5.**Tracks state** in `~/.cq/state.json` to avoid re-processing
91
+
5.**Tracks state** in `~/.issuebot/state.json` to avoid re-processing
92
92
93
93
Each repo gets at most one concurrent worker to prevent conflicts. Failed issues are retried up to `--max-retries` times.
94
94
95
95
## Prompt Template
96
96
97
-
On first run, cq writes a default prompt template to `~/.cq/prompt.tmpl`. Edit it to customise how issues are presented to your command. Available template fields:
97
+
On first run, issuebot writes a default prompt template to `~/.issuebot/prompt.tmpl`. Edit it to customise how issues are presented to your command. Available template fields:
98
98
99
99
| Field | Description |
100
100
|-------|-------------|
@@ -112,24 +112,24 @@ The `--command` flag is required. By default, the prompt is passed via stdin. If
0 commit comments