@feigi/fleet-ctl 3.105.6 → 3.106.0

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.
@@ -10,6 +10,7 @@ Read `$(~/.fleet/bin/fleet-run --root)/commands/run-merge-bot.md` and run **one*
10
10
  pass — drain the queue, re-evaluating after each merge, hold a 15-minute grace
11
11
  for late labels, then report once and exit. The controller dispatched you, which
12
12
  is what makes you hold that grace instead of arming your own watcher.
13
+ The grace ends early, with the report and the exit, once no PR is open.
13
14
 
14
15
  Your scratch directory is `<scratch>/`; you write only under
15
16
  `<scratch>/pr<N>/merge-bot-<n>/`.
@@ -319,6 +319,7 @@ Three dots, never two: a two-dot diff on a stale branch renders `main`'s gains a
319
319
 
320
320
  - Grace starts once no labelled PR is actionable — every one merged, skipped or held. Seed the labelled set then, the way **Then stay armed** seeds its Monitor, so a PR you already handled does not re-fire.
321
321
  - Every 60s, poll `gh pr list --state open --label ready-to-merge --limit 200 --json number`. A number not in the seed → **re-run selection from the top**, hold rule included, drain what it makes actionable, and restart the grace after that drain. A failed poll is no reading: keep the seed and poll again. A poll that returns 200 numbers is not a whole reading either — gh stops at `--limit` with exit 0 and no warning, so a label past it is unseen: act on the numbers it did return, and name `poll-capped-at-200` in the report, so the controller knows the grace's silence covered only the first 200.
322
+ - At grace start and on every 60s poll after it, also read `gh pr list --state open --limit 1 --json number`. An empty list (no PR open at all, any author, labelled or not) ends the grace: report and exit now. A failed read is no reading: keep waiting. It applies draining or not, and again after a late-label drain restarts the grace.
322
323
  - 15 minutes with no new label → report and exit.
323
324
 
324
325
  The wait:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feigi/fleet-ctl",
3
- "version": "3.105.6",
3
+ "version": "3.106.0",
4
4
  "description": "Agent fleet: run-team controller, merge bot, PR reviewer, and the ticket pipeline they share",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {