@brokkai/bug-bot 0.3.1 → 0.3.4

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.
Files changed (2) hide show
  1. package/README.md +37 -7
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -50,6 +50,7 @@ make build
50
50
  ./bin/bbb /path/to/your-repo --max-issues 2 --label bug
51
51
  ./bin/bbb /path/to/your-repo --model YOUR_MODEL_ID --effort low
52
52
  ./bin/bbb status /path/to/your-repo
53
+ ./bin/bbb report /path/to/your-repo --status dry_run > findings.md
53
54
  ./bin/bbb version
54
55
  ./bin/bbb retry /path/to/your-repo --once
55
56
  ```
@@ -108,7 +109,7 @@ details on exit.
108
109
 
109
110
  Piped input, redirected stderr, and `TERM=dumb` use scrolling output automatically.
110
111
  `--plain` and `--json` disable the dashboard and are mutually exclusive.
111
- `NO_COLOR` disables dashboard colors. `status`, `version`, and help keep their
112
+ `NO_COLOR` disables dashboard colors. `status`, `report`, `version`, and help keep their
112
113
  existing output and never open the dashboard.
113
114
 
114
115
  ## How it works
@@ -127,8 +128,10 @@ existing output and never open the dashboard.
127
128
  numbers it reviewed. A duplicate verdict links the existing report in local
128
129
  state. Uncertain and invalid findings are saved without filing.
129
130
  5. Refresh issues before publication. New or edited reports go back to the LLM
130
- for comparison. Recheck the source commit and tracked files. An optional
131
- operator verifier can provide an additional gate.
131
+ for comparison. Recheck the detached scan worktree and tracked files. The
132
+ remote branch may advance normally while the pinned commit is reviewed; each
133
+ report identifies that exact commit. An optional operator verifier can provide
134
+ an additional gate.
132
135
  6. Create issues sequentially, including reproduction, evidence, and the review
133
136
  explanation. Each newly created issue is available to the next candidate's
134
137
  LLM review, including candidates from the same scan.
@@ -142,9 +145,15 @@ and another scan **30 minutes after completion**, even if the commit is unchange
142
145
  Recent summaries guide exploration; this is not a claim of exhaustive coverage.
143
146
  `once` runs or resumes one scan and exits. Failed scans retain their candidates,
144
147
  workspace, and diagnostics; retries wait at least 15 minutes and run on the next
145
- poll, with three attempts before requiring `retry`. Agent setup errors stop the
146
- daemon without consuming an attempt. An advanced branch invalidates pending
147
- findings so the next eligible attempt scans the new commit.
148
+ poll, with three attempts before requiring `retry`. Agent startup failures are
149
+ retried in place three times within about a minute, since nothing has been
150
+ prompted yet; persistent setup errors then stop the daemon without consuming
151
+ an attempt. After reconciling any uncertain issue
152
+ publications, each poll or one-shot invocation checks for an advanced branch
153
+ before enforcing the saved revision’s attempt budget or retry delay. A new
154
+ revision archives pending findings as stale, retains their evidence and workspace,
155
+ and starts a separate scan with a fresh budget. An unchanged exhausted revision
156
+ remains blocked until `retry`.
148
157
 
149
158
  ## Duplicate handling and interrupted requests
150
159
 
@@ -199,7 +208,9 @@ TLS transport to be added later without changing worker semantics.
199
208
  ## Optional configuration
200
209
 
201
210
  `bbb --config bug-bot.json` loads a strict JSON object. No file is loaded or
202
- generated implicitly. Paths are resolved relative to the configuration file.
211
+ generated implicitly. Paths, including local mirror remotes such as
212
+ `./mirror.git` or `./published:mirror.git`, are resolved relative to the
213
+ configuration file.
203
214
  See [bug-bot.example.json](bug-bot.example.json).
204
215
 
205
216
  ```json
@@ -237,6 +248,25 @@ remote and branch. JSON state is replaced atomically with fsync; private session
237
248
  transcripts live under the state directory. `status` prints saved JSON without
238
249
  starting an agent. `--json` selects structured progress logs.
239
250
 
251
+ Export all retained findings as Markdown for later review or sharing:
252
+
253
+ ```sh
254
+ bbb report --config bug-bot.json > findings.md
255
+ bbb report --config bug-bot.json --status dry_run > dry-run.md
256
+ ```
257
+
258
+ `report` reads saved state without starting an agent or scan, or changing state.
259
+ A repository argument and `--branch` use the same selection as other commands;
260
+ `--config` avoids remote discovery and requires neither GitHub CLI nor an agent.
261
+ The report includes every completed and active finding (without the dashboard's
262
+ 200-entry limit), evidence, review, saved status, and any issue URL. Filter with
263
+ `--status pending|posting|submitted|duplicate|uncertain|invalid|dry_run|stale`
264
+ (select one value); omitting it includes all outcomes. Empty selections report
265
+ no saved findings. Active findings show the scan's known commit; completed
266
+ findings explicitly show commit unavailable because it is not retained. Internal
267
+ checkout/state paths and publication request markers are omitted from report
268
+ metadata; saved finding text is preserved.
269
+
240
270
  Scan worktrees and reproduction files are retained for inspection. Manage their
241
271
  retention along with transcripts externally. Agent instructions prohibit fixes,
242
272
  commits, pushes, and direct GitHub writes; tracked source changes or a changed
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.3.1",
2
+ "version": "0.3.4",
3
3
  "license": "Apache-2.0",
4
4
  "repository": {
5
5
  "type": "git",
@@ -25,9 +25,9 @@
25
25
  "arm64"
26
26
  ],
27
27
  "optionalDependencies": {
28
- "@brokkai/bug-bot-linux-x64": "0.3.1",
29
- "@brokkai/bug-bot-linux-arm64": "0.3.1",
30
- "@brokkai/bug-bot-darwin-x64": "0.3.1",
31
- "@brokkai/bug-bot-darwin-arm64": "0.3.1"
28
+ "@brokkai/bug-bot-linux-x64": "0.3.4",
29
+ "@brokkai/bug-bot-linux-arm64": "0.3.4",
30
+ "@brokkai/bug-bot-darwin-x64": "0.3.4",
31
+ "@brokkai/bug-bot-darwin-arm64": "0.3.4"
32
32
  }
33
33
  }