@feigi/fleet-ctl 3.24.20 → 3.24.21

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/json.sh +7 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feigi/fleet-ctl",
3
- "version": "3.24.20",
3
+ "version": "3.24.21",
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/json.sh CHANGED
@@ -16,14 +16,15 @@
16
16
  # non-interactive shell outright, so `||` never runs. Measured on a missing
17
17
  # file with `set -e`: /bin/sh (macOS bash 3.2) and bash 3.2/`--posix` exit **1**
18
18
  # with the guard unfired, dash exits 2 unfired, and only Homebrew bash 5.3
19
- # reaches the `|| die`. Exit 1 is a VERDICT in FIVE of the eight callers here —
19
+ # reaches the `|| die`. Exit 1 is a VERDICT in every caller that defines one —
20
20
  # inflight.sh reads it as "ticket taken", verify-sha.sh as "not reachable",
21
21
  # prove-merge.sh as "not proved", no-undo-audit.sh as "REFUSED, the worktree is
22
- # dirty", release-ticket.sh as "NOT released, blocked" — so a lib that merely
23
- # went missing would fabricate one. claim-ticket.sh, reap.sh and
24
- # worktree-audit.sh define no exit 1 at all, which is not safety: a bare 1 out
25
- # of them is a code their caller has no reading for. The `[ -r ]` catches that
26
- # before `.` can kill the shell; the `|| die` stays for the case `[ -r ]`
22
+ # dirty", release-ticket.sh as "NOT released, blocked", delete-merged-branch.sh
23
+ # as "the branch is STILL on origin" — so a lib that merely went missing would
24
+ # fabricate one. claim-ticket.sh, reap.sh and worktree-audit.sh define no exit 1
25
+ # at all, which is not safety: a bare 1 out of them is a code their caller has
26
+ # no reading for. The `[ -r ]` catches that before `.` can kill the shell; the
27
+ # `|| die` stays for the case `[ -r ]`
27
28
  # cannot see, and that case is live rather than theoretical — a DIRECTORY at
28
29
  # this path passes `[ -r ]` and `.` returns 1 with the arm firing (measured,
29
30
  # /bin/sh and bash 5.3; dash sources a directory at exit 0 instead). A lib that