@feigi/fleet-ctl 3.30.0 → 3.30.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/scripts/reap.sh +12 -16
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feigi/fleet-ctl",
3
- "version": "3.30.0",
3
+ "version": "3.30.1",
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
@@ -312,22 +312,18 @@ removed=""
312
312
  # a substitution that failed would contribute an empty string and splice
313
313
  # `{"branch":,…}` — malformed JSON — with nothing to notice it.
314
314
  #
315
- # Five interpolations converge on this function: the branch name, `dirty
316
- # worktree $wt`, `ignored files present in $wt: $ignored`, `cherry probe
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`
320
- # directly and never routes through `keep` at all. The branch name is the
321
- # demonstrated trigger — `git branch 'has"quote'` is a legal refname — and raw
322
- # it emitted a payload no parser accepts at exit 0, while the branch was
323
- # correctly kept. The stderr lines stay raw: they are prose for an
324
- # operator, not JSON.
325
- #
326
- # A sixth joined the five above later: grep's own stderr, `$gq_err`,
327
- # surfaced through `gp_why "$gq_err"` in `keep`'s message at the cherry
328
- # checks and the registry re-reads —
329
- # arbitrary text on the same footing as `$cherry`, routed through the same
330
- # jfield/jstr escaping the paragraph above already covers.
315
+ # Arbitrary text reaches this function by many routes, and what follows names
316
+ # the kinds of it, not every caller: branch names; worktree paths; git's own
317
+ # stderr, surfaced through `gp_why` with no argument, which reads `$gp_err`;
318
+ # grep's own stderr, through `gp_why "$gq_err"`; the error text of `git
319
+ # worktree remove`, `git update-ref` and `git config --remove-section`; and
320
+ # scan output such as `$cherry` and the `$ignored` listing. Most of it arrives
321
+ # inside a `keep` message, through `keep`'s own `jfield "$1"` / `jfield "$2"`;
322
+ # the `reaped`, `removed` and `warnings` accumulators call `jfield` directly
323
+ # and never route through `keep` at all. The branch name is the demonstrated
324
+ # trigger — `git branch 'has"quote'` is a legal refname — and raw it emitted a
325
+ # payload no parser accepts at exit 0, while the branch was correctly kept.
326
+ # The stderr lines stay raw: they are prose for an operator, not JSON.
331
327
  jfield() {
332
328
  if jf=$(jstr "$1"); then
333
329
  printf '"%s"' "$jf"