@sjawhar/pi-legion 18.50.0 → 18.50.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.
package/dist/legion.js CHANGED
@@ -8062,7 +8062,7 @@ function imagesArgument(z, owner) {
8062
8062
  var ASK_URGENCIES = ["low", "med", "high", "blocking"];
8063
8063
  var DISPATCH_BLOCK_UNITS = 32000;
8064
8064
  var DISPATCH_ITEM_BLOCKS = 32768;
8065
- var BODY_BLOCK_RULE = `Each block (a paragraph, list, quote, table or code block) holds at most ${DISPATCH_BLOCK_UNITS} ` + `characters and a body at most ${DISPATCH_ITEM_BLOCKS} blocks; Dispatch refuses a longer one and ` + "names it, and `dispatch limits` prints the bounds.";
8065
+ var BODY_BLOCK_RULE = `Each block (a paragraph, list, quote, table or code block) holds at most ${DISPATCH_BLOCK_UNITS} ` + `characters and a body at most ${DISPATCH_ITEM_BLOCKS} blocks; Dispatch refuses a longer one and ` + "names it, and `dispatch limits` prints the bounds. A body holding a decision block (`:::ask`) " + "is refused however short it is, since nobody can answer a question put in a comment or a " + "message: ask the question in the issue's own document, as a decision block there, or open an " + "ask with `dispatch ask`.";
8066
8066
  var ASK_BOUND_RULE = "Dispatch bounds an ask's question and its options together, refuses a longer one and names " + "the bound, and `dispatch limits` prints it. An ask is short and asks one thing; its reasoning " + "goes in the document, not in the question.";
8067
8067
  var DISPATCH_HANDOFF_BODY_MAX = 262144;
8068
8068
  var HANDOFF_PHASE_PATTERN = /^[a-z][a-z0-9-]{0,31}$/;
@@ -14337,7 +14337,7 @@ import { logger as logger3 } from "@oh-my-pi/pi-utils";
14337
14337
  // package.json
14338
14338
  var package_default = {
14339
14339
  name: "@sjawhar/pi-legion",
14340
- version: "18.50.0",
14340
+ version: "18.50.1",
14341
14341
  license: "Apache-2.0",
14342
14342
  type: "module",
14343
14343
  omp: {
@@ -81,6 +81,12 @@ carries them — `close_root` answers `CLOSE_REASON_TOO_LONG` and `handoff_compl
81
81
  `READY_PACKET_TOO_LONG`, each naming the bound and how far over the text is — so this notice is a
82
82
  refusal those checks did not predict.
83
83
 
84
+ Those two calls also answer `CLOSE_REASON_DECISION_BLOCK` and `READY_PACKET_DECISION_BLOCK` for a
85
+ text holding a decision block (`:::ask{…}`). Such a text is refused however short it is, because
86
+ a question put in a message is one nobody can answer where it stands. The question belongs in the
87
+ issue's own document, as a decision block there, or in an ask opened with `dispatch ask`; the
88
+ close reason or the packet then goes again with the decision stated.
89
+
84
90
  On a status write the daemon writes the status all the same, retrying it on the row's backoff
85
91
  until Dispatch takes it, so the status is set unless Dispatch refused the status itself — the
86
92
  reason says which. With the status set, only the reason beside it is on no issue: the issue's
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/pi-legion",
3
- "version": "18.50.0",
3
+ "version": "18.50.1",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "omp": {