@brokkai/issue-bot-darwin-x64 0.2.1 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BUILD.json +1 -1
- package/README.md +33 -10
- package/bin/bib +0 -0
- package/package.json +1 -1
package/BUILD.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"commit": "
|
|
1
|
+
{"commit": "77aa637c93df32b4af99f497e167c4b759c40196", "tag": "v0.3.1", "target": "darwin-amd64"}
|
package/README.md
CHANGED
|
@@ -38,8 +38,8 @@ and an authenticated ACP agent. The default is `codex-acp`; if it is missing,
|
|
|
38
38
|
download the adapter). Explicit agent commands are used exactly as supplied.
|
|
39
39
|
|
|
40
40
|
No configuration file is needed. The bot discovers `origin` (or the only remote)
|
|
41
|
-
and the repository's default branch.
|
|
42
|
-
|
|
41
|
+
and the repository's default branch. New workspaces use a private bare Git
|
|
42
|
+
repository and a separate persistent worktree for each issue. Your source checkout and uncommitted edits are left
|
|
43
43
|
alone. Starting it authorizes unattended edits, command execution, commits,
|
|
44
44
|
branch pushes, claim/status comments and PR creation for the configured repository.
|
|
45
45
|
|
|
@@ -53,6 +53,7 @@ bib --agent your-acp-agent --agent-arg=--stdio
|
|
|
53
53
|
bib --claim-timeout 15m
|
|
54
54
|
bib --draft=false
|
|
55
55
|
bib status
|
|
56
|
+
bib version
|
|
56
57
|
bib retry --issue 123 --once
|
|
57
58
|
```
|
|
58
59
|
|
|
@@ -62,6 +63,8 @@ prints saved JSON without starting an agent. `retry` resets pending/blocked
|
|
|
62
63
|
attempt budgets and resumes work; `--issue` restricts it to that issue. Run
|
|
63
64
|
`bib --help` for all flags.
|
|
64
65
|
|
|
66
|
+
`bib version` prints the embedded release tag. Local builds report `dev`; binaries installed with `go install ...@version` report the module version.
|
|
67
|
+
|
|
65
68
|
## How it works
|
|
66
69
|
|
|
67
70
|
1. Walk all open, unlocked issues, oldest first, with pagination. No label
|
|
@@ -177,7 +180,24 @@ Default state lives below `$XDG_STATE_HOME/issue-bot` or
|
|
|
177
180
|
`~/.local/state/issue-bot`, keyed by remote and base branch. Startup logs the paths.
|
|
178
181
|
State writes use atomic replacement and fsync. Private JSONL transcripts live in
|
|
179
182
|
`state/sessions`; readable live output goes to stderr. Use `--json` for structured
|
|
180
|
-
logs. Retain the managed
|
|
183
|
+
logs. Retain the managed workspace, issue worktrees and state together across restarts.
|
|
184
|
+
|
|
185
|
+
New workspaces keep Git storage in `state/repository.git`, a detached management
|
|
186
|
+
worktree in `checkout`, and each issue's worktree in `checkout-issues/<number>`.
|
|
187
|
+
The management and issue worktrees share only this bot's private repository;
|
|
188
|
+
your checkout, release-bot and other bots have independent Git metadata.
|
|
189
|
+
Existing managed clones and their unfinished issue worktrees continue in place.
|
|
190
|
+
A manually configured checkout must be a standalone clone or this bot's private
|
|
191
|
+
worktree; a linked worktree sharing another repository's Git metadata is rejected.
|
|
192
|
+
|
|
193
|
+
Each attempt fetches the watched branch. The agent merges current remote changes
|
|
194
|
+
into its assigned issue branch, resolves conflicts, and reruns affected checks
|
|
195
|
+
before returning a fix. Retries retain the same branch, staged/unstaged edits,
|
|
196
|
+
and unfinished merges. Other issue worktrees and the local `master`/`main` branch
|
|
197
|
+
are left alone. Overlapping code changes can still need conflict resolution or
|
|
198
|
+
review; worktree isolation prevents local interference. Existing claim comments
|
|
199
|
+
coordinate separate issue-bot instances, and local locks prevent duplicate daemons
|
|
200
|
+
from using the same workspace.
|
|
181
201
|
|
|
182
202
|
ACP permission requests are automatically approved. Client filesystem callbacks
|
|
183
203
|
are confined by `os.Root`; agents and terminal commands inherit the bot account's
|
|
@@ -188,13 +208,16 @@ data in the agent instructions, not as permission to broaden the task.
|
|
|
188
208
|
|
|
189
209
|
## Publishing npm packages
|
|
190
210
|
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
211
|
+
Pushing a `v*` version tag automatically runs CI, publishes the native GitHub
|
|
212
|
+
release, and uploads the four npm platform packages followed by the launcher.
|
|
213
|
+
Follow the **Publish packages** workflow for the complete pipeline; it keeps all
|
|
214
|
+
artifacts tied to the same tag and commit. No separate manual dispatch is needed.
|
|
215
|
+
|
|
216
|
+
The manual workflow remains available for recovery: dispatch from the existing
|
|
217
|
+
tag with its tag input and `publish=true`, or use `publish=false` for validation
|
|
218
|
+
only. Existing package bytes are checked for conflicts before uploading.
|
|
219
|
+
Successful uploads do not wait for npm's public version index or run immediate
|
|
220
|
+
public-install checks. Use the explicit registry `verify` command later if needed.
|
|
198
221
|
|
|
199
222
|
The workflow uses the `packages-publish` environment. Configure npm trusted
|
|
200
223
|
publishing for each of the five `@brokkai/issue-bot*` packages with repository
|
package/bin/bib
CHANGED
|
Binary file
|
package/package.json
CHANGED