@feigi/fleet-ctl 3.136.10 → 3.136.12

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feigi/fleet-ctl",
3
- "version": "3.136.10",
3
+ "version": "3.136.12",
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": {
@@ -877,10 +877,14 @@ if (cmd === "read") {
877
877
  } else if (cmd === "ruled") {
878
878
  const [pr, ...decisionParts] = rest;
879
879
  if (!pr || decisionParts.length === 0) die("usage: ledger.mjs ruled <pr> <decision>");
880
- // Nothing reads this section back — save() is its only consumer — so the
881
- // harm here is the narrowest of the three: a permanently wrong decision
882
- // record in an append-only file, with no verdict riding on it. Guarded
883
- // anyway, because that record is what the subcommand exists to write.
880
+ // compute-board.mjs reads a `## Ruled` line led by `#<n>` as the
881
+ // controller's ruling on PR n, the last such line winning, and shows it on
882
+ // that PR's board card; `settle --from-report` reads the section to skip a
883
+ // line already there. So the `#<pr> <decision>` lead is a contract with the
884
+ // board, not free text. No verdict, label or row token depends on the
885
+ // section. A wrong id misattributes the ruling to another PR or hides it
886
+ // from the board, and leaves a permanently wrong record in an append-only
887
+ // file. Guarded because that record is what the subcommand exists to write.
884
888
  refuseStrayInId(pr, "a PR number");
885
889
  const decision = decisionParts.join(" ");
886
890
  data.ruled.push(`#${pr.replace(/^#/, "")} ${decision}`);
@@ -77,10 +77,12 @@
77
77
  // never fails the run.
78
78
  // recipe `derive-testcmd.sh . install`, `. check` and `. test`, each
79
79
  // `--at origin/main` (recipe-read.mjs, which the settle wakes of
80
- // fleet-event.mjs read the cache through as well). Any
80
+ // fleet-event.mjs read the cache through as well). Any read
81
+ // exiting neither 0 nor 1 — exit 3, a tool the reader could not
82
+ // run, or any other failure — fails the step whatever the other
83
+ // reads answered: deriving would not help. Otherwise any
81
84
  // exiting 1 is a cache with nothing valid in it: pending,
82
- // `NEED derive-recipe`. Exit 3 (a tool the reader could not run)
83
- // fails the step — deriving would not help.
85
+ // `NEED derive-recipe`.
84
86
  // fold-in every Owned PR (owned-pr.mjs: open, not a draft, authored by
85
87
  // the login `gh api user` answers to) that no carried ledger
86
88
  // row names gets a `#<pr>` row from `ledger.mjs row`, closing an