@sjawhar/claude-envoy 1.38.0 → 1.39.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/.omp-plugin/plugin.json
CHANGED
package/dist/dispatch.js
CHANGED
|
@@ -21322,7 +21322,16 @@ function renderAdvice(tool, key, advice, opts) {
|
|
|
21322
21322
|
}
|
|
21323
21323
|
const superseded = advice.superseded_approval;
|
|
21324
21324
|
if (superseded !== undefined && (tool === "dispatch_doc_edit" || tool === "dispatch_artifact")) {
|
|
21325
|
-
|
|
21325
|
+
const gates = Array.isArray(superseded.design_gates) ? superseded.design_gates : [];
|
|
21326
|
+
const parts = [
|
|
21327
|
+
`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.`
|
|
21328
|
+
];
|
|
21329
|
+
if (gates.length > 0) {
|
|
21330
|
+
const named = gates.map((gate) => `${gate.issue}, step ${gate.step}`).join("; ");
|
|
21331
|
+
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}.`);
|
|
21332
|
+
}
|
|
21333
|
+
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.");
|
|
21334
|
+
lines.push(parts.join(" "));
|
|
21326
21335
|
}
|
|
21327
21336
|
if (hasIssueAdvice && writesSinceHuman !== undefined && writesSinceHuman >= 3 && (tool === "dispatch_message" || tool === "dispatch_ask" || tool === "dispatch_comment" && opts.isAskReply !== true)) {
|
|
21328
21337
|
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-channel.js
CHANGED
|
@@ -48104,7 +48104,16 @@ function renderAdvice(tool, key, advice, opts) {
|
|
|
48104
48104
|
}
|
|
48105
48105
|
const superseded = advice.superseded_approval;
|
|
48106
48106
|
if (superseded !== undefined && (tool === "dispatch_doc_edit" || tool === "dispatch_artifact")) {
|
|
48107
|
-
|
|
48107
|
+
const gates = Array.isArray(superseded.design_gates) ? superseded.design_gates : [];
|
|
48108
|
+
const parts = [
|
|
48109
|
+
`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.`
|
|
48110
|
+
];
|
|
48111
|
+
if (gates.length > 0) {
|
|
48112
|
+
const named = gates.map((gate) => `${gate.issue}, step ${gate.step}`).join("; ");
|
|
48113
|
+
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}.`);
|
|
48114
|
+
}
|
|
48115
|
+
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.");
|
|
48116
|
+
lines.push(parts.join(" "));
|
|
48108
48117
|
}
|
|
48109
48118
|
if (hasIssueAdvice && writesSinceHuman !== undefined && writesSinceHuman >= 3 && (tool === "dispatch_message" || tool === "dispatch_ask" || tool === "dispatch_comment" && opts.isAskReply !== true)) {
|
|
48110
48119
|
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.";
|
|
@@ -55481,7 +55490,7 @@ var import_nats2 = __toESM(require_mod4(), 1);
|
|
|
55481
55490
|
|
|
55482
55491
|
// package.json
|
|
55483
55492
|
var name = "@sjawhar/claude-envoy";
|
|
55484
|
-
var version2 = "1.
|
|
55493
|
+
var version2 = "1.39.1";
|
|
55485
55494
|
var legion = {
|
|
55486
55495
|
daemonApiVersion: 68
|
|
55487
55496
|
};
|
package/dist/session-hook.js
CHANGED
|
@@ -20326,7 +20326,16 @@ function renderAdvice(tool, key, advice, opts) {
|
|
|
20326
20326
|
}
|
|
20327
20327
|
const superseded = advice.superseded_approval;
|
|
20328
20328
|
if (superseded !== undefined && (tool === "dispatch_doc_edit" || tool === "dispatch_artifact")) {
|
|
20329
|
-
|
|
20329
|
+
const gates = Array.isArray(superseded.design_gates) ? superseded.design_gates : [];
|
|
20330
|
+
const parts = [
|
|
20331
|
+
`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.`
|
|
20332
|
+
];
|
|
20333
|
+
if (gates.length > 0) {
|
|
20334
|
+
const named = gates.map((gate) => `${gate.issue}, step ${gate.step}`).join("; ");
|
|
20335
|
+
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}.`);
|
|
20336
|
+
}
|
|
20337
|
+
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.");
|
|
20338
|
+
lines.push(parts.join(" "));
|
|
20330
20339
|
}
|
|
20331
20340
|
if (hasIssueAdvice && writesSinceHuman !== undefined && writesSinceHuman >= 3 && (tool === "dispatch_message" || tool === "dispatch_ask" || tool === "dispatch_comment" && opts.isAskReply !== true)) {
|
|
20332
20341
|
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.";
|
|
@@ -135,8 +135,18 @@ issue pod, on the issue's own disk, by the issue's roles together.
|
|
|
135
135
|
|
|
136
136
|
**The worked case, and the one a role actually meets: the Dispatch e2e stack.** A change to
|
|
137
137
|
`packages/dispatch` is proved in the pod by driving the specs it touches, one spec a command
|
|
138
|
-
(`bun run e2e -- e2e/<one spec file>`)
|
|
139
|
-
|
|
138
|
+
(`bun run e2e -- e2e/<one spec file>`) — except a wall-clock spec, whose three projects are out
|
|
139
|
+
of the default selection, so its command names its project:
|
|
140
|
+
`bun run e2e -- --project=chromium-alone e2e/heavy-bodies.e2e.ts --workers=1`.
|
|
141
|
+
`packages/dispatch/AGENTS.md` carries both of those as the three commands to copy as they stand.
|
|
142
|
+
CI's `dispatch-browser` job runs one of two lanes, and neither is the whole suite on every pull
|
|
143
|
+
request. An unlabelled pull request gets the pull-request lane: `chromium`, `iphone`, `stub`
|
|
144
|
+
and `stub-phone`, held to the rows tagged `@pr`. The full lane - every project over every row,
|
|
145
|
+
the three `-alone` ones among them - runs on a pull request labelled `full-ci`, on the merge
|
|
146
|
+
queue and nightly, and the `alone` job that holds the wall-clock rows is gated on it
|
|
147
|
+
(`if: inputs.lane == 'full'` under `alone:` in `.github/workflows/dispatch-browser.yaml`), so no
|
|
148
|
+
unlabelled pull request runs a wall-clock row at all. One spec needs
|
|
149
|
+
the same stack as all of them: a Postgres with pgvector. On a digest
|
|
140
150
|
carrying `legion-testpg`, use the pod's own server
|
|
141
151
|
(`skill://legion-worker/references/tools.md#the-database-your-tests-use`) and
|
|
142
152
|
unpack nothing. On a digest without it, the way
|