@sjawhar/pi-envoy 16.47.0 → 16.48.0
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 +10 -1
- package/dist/envoy.js +1 -1
- package/package.json +1 -1
package/dist/dispatch.js
CHANGED
|
@@ -19676,7 +19676,16 @@ function renderAdvice(tool, key, advice, opts) {
|
|
|
19676
19676
|
}
|
|
19677
19677
|
const superseded = advice.superseded_approval;
|
|
19678
19678
|
if (superseded !== undefined && (tool === "dispatch_doc_edit" || tool === "dispatch_artifact")) {
|
|
19679
|
-
|
|
19679
|
+
const gates = Array.isArray(superseded.design_gates) ? superseded.design_gates : [];
|
|
19680
|
+
const parts = [
|
|
19681
|
+
`Stored version ${superseded.version}, superseding version ${superseded.approved_version}, which ${superseded.approved_by} approved. That approval is stale until someone approves version ${superseded.version} or a later write stores the text of version ${superseded.approved_version} again exactly, with no decision block in it decided since.`
|
|
19682
|
+
];
|
|
19683
|
+
if (gates.length > 0) {
|
|
19684
|
+
const named = gates.map((gate) => `${gate.issue}, step ${gate.step}`).join("; ");
|
|
19685
|
+
parts.push(`A Legion design gate records this document, so every READY in ${gates.length === 1 ? "its" : "each"} tree is refused until that approval comes back: ${named}.`);
|
|
19686
|
+
}
|
|
19687
|
+
parts.push("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.");
|
|
19688
|
+
lines.push(parts.join(" "));
|
|
19680
19689
|
}
|
|
19681
19690
|
if (hasIssueAdvice && writesSinceHuman !== undefined && writesSinceHuman >= 3 && (tool === "dispatch_message" || tool === "dispatch_ask" || tool === "dispatch_comment" && opts.isAskReply !== true)) {
|
|
19682
19691
|
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.";
|
package/dist/envoy.js
CHANGED
|
@@ -42718,7 +42718,7 @@ var import_nats2 = __toESM(require_mod4(), 1);
|
|
|
42718
42718
|
|
|
42719
42719
|
// package.json
|
|
42720
42720
|
var name = "@sjawhar/pi-envoy";
|
|
42721
|
-
var version2 = "16.
|
|
42721
|
+
var version2 = "16.48.0";
|
|
42722
42722
|
var package_default = {
|
|
42723
42723
|
name,
|
|
42724
42724
|
version: version2,
|