@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 CHANGED
@@ -1 +1 @@
1
- {"commit": "e375e63f6fc592f6c0f0e35e268a46103027fd5c", "tag": "v0.2.1", "target": "darwin-amd64"}
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. It creates a managed clone and a separate
42
- Git worktree for each issue. Your source checkout and uncommitted edits are left
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 clone, issue worktrees and state together across restarts.
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
- Tag releases build four native archives with checksums and commit metadata.
192
- After the GitHub release finishes, run the **Publish packages** workflow from
193
- that same tag, supplying the tag as input. The default `publish=false` builds
194
- and tests the npm tarballs and saves them as a workflow artifact. Set
195
- `publish=true` to publish the four native packages followed by the launcher.
196
- Retries verify existing versions against the staged bytes and skip identical
197
- uploads; conflicting versions stop publication.
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
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.2.1",
2
+ "version": "0.3.1",
3
3
  "license": "Apache-2.0",
4
4
  "repository": {
5
5
  "type": "git",