@sjawhar/pi-envoy 13.8.0 → 13.9.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/dispatch.js CHANGED
@@ -18050,8 +18050,12 @@ function renderAdvice(tool, key, advice, opts) {
18050
18050
  lines.push(`You still have an open ask on ${key}: "${ask.question.slice(0, 80)}" (${ask.id}). Still needed? See the \`dispatch\` skill, "Close what you opened".`);
18051
18051
  }
18052
18052
  }
18053
+ const superseded = advice.superseded_approval;
18054
+ if (superseded !== undefined && (tool === "dispatch_doc_edit" || tool === "dispatch_artifact")) {
18055
+ lines.push(`Stored version ${superseded.version}, superseding version ${superseded.approved_version}, which ${superseded.approved_by} approved. That approval is stale until someone approves version ${superseded.version}, and no undo restores it: a Legion design gate on this document is closed meanwhile, so every READY in its tree is refused. Meant to change the approved design? Request approval with \`dispatch request-approval\`. Meant a correction beside it? Tell the tree's architect, and keep the next one in a comment or in the plan.`);
18056
+ }
18053
18057
  if (hasIssueAdvice && writesSinceHuman !== undefined && writesSinceHuman >= 3 && (tool === "dispatch_message" || tool === "dispatch_ask" || tool === "dispatch_comment" && opts.isAskReply !== true)) {
18054
- const middle = writesSinceHuman >= 6 ? "Stop posting here until a human replies." : "Progress ledger or scratchpad? If so, stop.";
18058
+ const middle = writesSinceHuman >= 6 ? "Stop posting here until a human replies. Their reply ends this: post then what you held back." : "Progress ledger or scratchpad? If so, stop.";
18055
18059
  lines.push(`Posted. You've sent ${writesSinceHuman} messages on ${key} with no human response. ${middle} See the \`dispatch\` skill, "Structure over stream".`);
18056
18060
  }
18057
18061
  return lines;
package/dist/envoy.js CHANGED
@@ -37251,7 +37251,7 @@ var import_nats2 = __toESM(require_mod4(), 1);
37251
37251
 
37252
37252
  // package.json
37253
37253
  var name = "@sjawhar/pi-envoy";
37254
- var version2 = "13.8.0";
37254
+ var version2 = "13.9.1";
37255
37255
  var package_default = {
37256
37256
  name,
37257
37257
  version: version2,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/pi-envoy",
3
- "version": "13.8.0",
3
+ "version": "13.9.1",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "omp": {