@feigi/fleet-ctl 3.136.11 → 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.11",
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}`);