@feigi/fleet-ctl 3.28.2 → 3.28.3

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/package.json +1 -1
  2. package/scripts/reap.sh +8 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feigi/fleet-ctl",
3
- "version": "3.28.2",
3
+ "version": "3.28.3",
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": {
package/scripts/reap.sh CHANGED
@@ -300,8 +300,8 @@ warnings=""
300
300
  # because none happened or because nothing reports them.
301
301
  removed=""
302
302
  # `jstr`'s output wrapped in the quotes JSON needs, or the literal `null` where
303
- # it could not render. `die` is the wrong answer at both call sites below: by
304
- # the time either accumulator is written this script may already have deleted
303
+ # it could not render. `die` is the wrong answer at every call site below: by
304
+ # the time any accumulator is written this script may already have deleted
305
305
  # branches, and the payload printed at the end is the caller's only record of
306
306
  # that — the same reason the printf runs ahead of the prune. Exiting here
307
307
  # would destroy the record of work that already happened. So an unrenderable
@@ -314,8 +314,9 @@ removed=""
314
314
  #
315
315
  # Five interpolations converge on this function: the branch name, `dirty
316
316
  # worktree $wt`, `ignored files present in $wt: $ignored`, `cherry probe
317
- # failed …: $cherry` (arbitrary git stderr) — the first four via `keep`, at
318
- # eleven call sites — and the `reaped` accumulator, which calls `jfield`
317
+ # failed …: $cherry` (arbitrary git stderr) — the first four via `keep`, whose
318
+ # own `jfield "$1"` / `jfield "$2"` every `keep` call carrying one of them
319
+ # reaches — and the `reaped` accumulator, which calls `jfield`
319
320
  # directly and never routes through `keep` at all. The branch name is the
320
321
  # demonstrated trigger — `git branch 'has"quote'` is a legal refname — and raw
321
322
  # it emitted a payload no parser accepts at exit 0, while the branch was
@@ -323,12 +324,10 @@ removed=""
323
324
  # operator, not JSON.
324
325
  #
325
326
  # A sixth joined the five above later: grep's own stderr, `$gq_err`,
326
- # surfaced through `gp_why "$gq_err"` in `keep`'s message at the two cherry
327
- # checks and the two registry re-reads —
327
+ # surfaced through `gp_why "$gq_err"` in `keep`'s message at the cherry
328
+ # checks and the registry re-reads —
328
329
  # arbitrary text on the same footing as `$cherry`, routed through the same
329
- # jfield/jstr escaping the paragraph above already covers. Left out of the
330
- # "eleven call sites" figure above, which still counts only the original
331
- # five; four more now carry grep's stderr specifically.
330
+ # jfield/jstr escaping the paragraph above already covers.
332
331
  jfield() {
333
332
  if jf=$(jstr "$1"); then
334
333
  printf '"%s"' "$jf"