@sjawhar/claude-envoy 5.23.5 → 5.23.7
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/.claude-plugin/plugin.json +1 -1
- package/.omp-plugin/plugin.json +1 -1
- package/dist/envoy-channel.js +6 -2
- package/legion/skills/legion-architect/references/wake-routing.md +1 -1
- package/legion/skills/legion-controller/references/admission.md +1 -1
- package/legion/skills/legion-retro/SKILL.md +2 -2
- package/legion/skills/legion-worker/SKILL.md +1 -1
- package/legion/skills/legion-worker/references/conflicts-and-rewrites.md +1 -1
- package/legion/skills/legion-worker/references/findings.md +1 -1
- package/package.json +2 -2
- package/skills/dispatch/SKILL.md +1 -1
package/.omp-plugin/plugin.json
CHANGED
package/dist/envoy-channel.js
CHANGED
|
@@ -62829,9 +62829,9 @@ var import_nats5 = __toESM(require_mod4(), 1);
|
|
|
62829
62829
|
|
|
62830
62830
|
// package.json
|
|
62831
62831
|
var name2 = "@sjawhar/claude-envoy";
|
|
62832
|
-
var version2 = "5.23.
|
|
62832
|
+
var version2 = "5.23.7";
|
|
62833
62833
|
var legion = {
|
|
62834
|
-
daemonApiVersion:
|
|
62834
|
+
daemonApiVersion: 256
|
|
62835
62835
|
};
|
|
62836
62836
|
var package_default = {
|
|
62837
62837
|
name: name2,
|
|
@@ -64460,7 +64460,9 @@ var legionClaimView = object({
|
|
|
64460
64460
|
lastTurnStart: timestamp.optional(),
|
|
64461
64461
|
lastTurnEnd: timestamp.optional(),
|
|
64462
64462
|
lastDeathCause: nonEmptyString2.optional(),
|
|
64463
|
+
lastDeathAt: timestamp.optional(),
|
|
64463
64464
|
lastStartFailure: nonEmptyString2.optional(),
|
|
64465
|
+
lastStartFailureAt: timestamp.optional(),
|
|
64464
64466
|
lastReady: timestamp.optional(),
|
|
64465
64467
|
step: legionStepView.optional(),
|
|
64466
64468
|
wake: object(legionPacedWake).optional(),
|
|
@@ -65040,7 +65042,9 @@ var LegionOperatorClaimResponse = object({
|
|
|
65040
65042
|
lastTurnStart: timestamp.optional(),
|
|
65041
65043
|
lastTurnEnd: timestamp.optional(),
|
|
65042
65044
|
lastDeathCause: nonEmptyString2.optional(),
|
|
65045
|
+
lastDeathAt: timestamp.optional(),
|
|
65043
65046
|
lastStartFailure: nonEmptyString2.optional(),
|
|
65047
|
+
lastStartFailureAt: timestamp.optional(),
|
|
65044
65048
|
lastReady: timestamp.optional(),
|
|
65045
65049
|
step: legionStepView.optional(),
|
|
65046
65050
|
failure: legionClaimFailureView.optional(),
|
|
@@ -13,7 +13,7 @@ Where a row says to ask a person, a child's own architect sends the question to
|
|
|
13
13
|
| `design-approved` | One gated step opened; `gatedSteps` in `read_record` says which. Once every step is `approved`, release the children (section 2). A task saying "this resume is your design-approved wake" is this wake. On a `handed_over` root, or a version a person's answer to a decision block wrote, start nothing. |
|
|
14
14
|
| `design-changes-requested` | Revise the document of the step whose `status` is `changes_requested` as the reason asks, then request approval again ("The armed gate" in `skill://legion-architect/references/design-gate.md`) and end your turn. One for an older version came late: answer its reason if the latest version does not. |
|
|
15
15
|
| `carried-gate-opened` | Start nothing and release nothing for it. |
|
|
16
|
-
| `phase-finished` | The next phase started, or `retro-held` came too. Read
|
|
16
|
+
| `phase-finished` | The next phase started, or `retro-held` came too. Read `dispatch results`, the pull request and its review, and tell the working role of any gap. A departure in `plan.md` under `## Departures from the spec`: keep the plan while the Summary, requirements, checks, scope and settled decisions hold, else change the spec ("After approval" in design-gate.md). When the step before `acceptance:owner` finishes, section 6 applies. A worker reporting that no surface reaches the changed path: build the surface in this tree, then tell it to continue. |
|
|
17
17
|
| `retro-held`, `task-stopped`, `plan-not-taken` | Act as "The notices" in `skill://legion-architect/references/plan-changes.md` says. |
|
|
18
18
|
| `pr-blocked` | The review round cap is reached: decide in this turn, as "A capped pull request" below says. |
|
|
19
19
|
| `checks-red` | The daemon asked the implementer, or in `merging` the merger, to merge the base forward; the issue stays in the phase the notice names. Start nothing ("A conflicting head" in `skill://legion-architect/references/acceptance.md`). |
|
|
@@ -44,7 +44,7 @@ Name them in the day's report and take nothing for them.
|
|
|
44
44
|
|
|
45
45
|
| Word | Meaning | What ends it |
|
|
46
46
|
|---|---|---|
|
|
47
|
-
| `tree_closed` | Its tree's root is `done`, or still lingering after it left the workflow | An architect's `release_children` of the live tree its Dispatch parent reaches, where that release is accepted, the end of the root's linger,
|
|
47
|
+
| `tree_closed` | Its tree's root is `done`, or still lingering after it left the workflow, or waiting in the line, its design gate open, for the promotion that opens its tree again | An architect's `release_children` of the live tree its Dispatch parent reaches, where that release is accepted, the end of the root's linger, a `todo` on the root, or the root's promotion from the waiting line |
|
|
48
48
|
| `tree_parked` | Its tree was parked and the linger ran out | A `todo` on the root; your own hold, the parked-root walk decides |
|
|
49
49
|
| `label_off` | A root whose `legion` label is off | A person's label |
|
|
50
50
|
| `ancestry` | Its Dispatch chain reaches another live root: that tree's unreleased work | That tree's architect releasing it or its parent, or the chain leaving that tree |
|
|
@@ -28,9 +28,9 @@ End each turn of that hold with a WAITING line naming the defect and the answer
|
|
|
28
28
|
|
|
29
29
|
## Steps
|
|
30
30
|
|
|
31
|
-
1. **Read the evidence**: the issue, `dispatch results --issue <issue>`, the pull request, and the
|
|
31
|
+
1. **Read the evidence**: the issue, `dispatch results --issue <issue>`, the pull request, and the thread of each plan task in `plan.md`.
|
|
32
32
|
Also read the tester's handoff (`dispatch handoff-read --issue <issue> --phase test`) where it has a tester step.
|
|
33
|
-
Read the review
|
|
33
|
+
Read the GitHub review of the last worker step's head where it has a reviewer step.
|
|
34
34
|
A pass must stand at the last worker step's head for every `before_merge` check, and the body's `Checks` block carries each.
|
|
35
35
|
|
|
36
36
|
- A check carrying `ci_check` is CI's: its derived result is the pass it needs (`skill://legion-worker/references/ci-checks.md`).
|
|
@@ -10,7 +10,7 @@ Your role prompt gives the workspace, the push, the handoff, `handoff_complete`,
|
|
|
10
10
|
## Every phase
|
|
11
11
|
|
|
12
12
|
1. Read the issue, then your task, then each earlier phase's handoff (`dispatch handoff-read --issue <issue> --phase <plan|implement|test|review>`).
|
|
13
|
-
Your architect's decisions for you come in your task and
|
|
13
|
+
Your architect's decisions for you come in your task, and in a reply in the thread of the plan task they concern, which its message links.
|
|
14
14
|
A record beats your memory.
|
|
15
15
|
|
|
16
16
|
2. Commit only your phase's paths: `jj -R "$LEGION_WORKSPACE" split -m "<message>" <paths…>`.
|
|
@@ -41,7 +41,7 @@ A head that conflicts with its base keeps the issue in its phase. The daemon rea
|
|
|
41
41
|
|
|
42
42
|
- Before `merging` the implementer gets a merge-forward message on its role topic, and in `merging` the merger does. Merge the base forward in `$LEGION_WORKSPACE`, the one workspace every role of the issue shares, as *Reintegrating the base* says, and push the issue branch, with no handoff and no completion for the merge. In `implementing` the phase is the implementer's, and its assignment and its completion stand.
|
|
43
43
|
- In `testing` and `reviewing`, the phase's worker is told to stop writing the workspace: stop at once, complete nothing at the old head, and keep your turn and its jobs. When the push lands you are told the new head: read the merge as above and go on at that head.
|
|
44
|
-
- `HANDOFF_HEAD_MERGED_FORWARD`: a merge forward the daemon asked for has landed above the head your completion names, or your completion names no head; nothing
|
|
44
|
+
- `HANDOFF_HEAD_MERGED_FORWARD`: a merge forward the daemon asked for has landed above the head your completion names, or your completion names no head; it moved nothing, and the daemon keeps the refusal, so the same call again is answered `HANDOFF_ALREADY_RECORDED`.
|
|
45
45
|
Read the merge (*Reading a merge of the base*, above), then complete again at the new head with a handoff that names it.
|
|
46
46
|
|
|
47
47
|
## A wrong pushed commit
|
|
@@ -6,7 +6,7 @@ Read it when you find a problem your issue does not cover (a defect in another c
|
|
|
6
6
|
|
|
7
7
|
A finding outside your issue never becomes a `dispatch issue` you file. Take the first step that fits:
|
|
8
8
|
|
|
9
|
-
1. **Fix it here.** A defect with a clear fix, in code your tree touches or depends on, goes into your tree's own pull request; say so in
|
|
9
|
+
1. **Fix it here.** A defect with a clear fix, in code your tree touches or depends on, goes into your tree's own pull request; say so in the PR body.
|
|
10
10
|
2. **Hand it over.** Any other clear defect goes to the controller with its evidence (*Send a finding to the controller*). It gives the work to the tree that owns the code, or files a Legion root when none does.
|
|
11
11
|
3. **Ask.** A finding that needs a person's authority, taste or risk appetite (whether it is wanted, which design, who owns it, a change of scope, cost or risk) is a `dispatch ask` with one recommendation (*What the ask says*).
|
|
12
12
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sjawhar/claude-envoy",
|
|
3
|
-
"version": "5.23.
|
|
3
|
+
"version": "5.23.7",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Claude Code plugin for Legion's Envoy bus",
|
|
6
6
|
"type": "module",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"AGENTS.md"
|
|
20
20
|
],
|
|
21
21
|
"legion": {
|
|
22
|
-
"daemonApiVersion":
|
|
22
|
+
"daemonApiVersion": 256
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|
package/skills/dispatch/SKILL.md
CHANGED
|
@@ -9,7 +9,7 @@ Dispatch is a record for the people who decide, never a log of your work.
|
|
|
9
9
|
|
|
10
10
|
- Use the `dispatch` command; the HTTP API only for what no command does. `dispatch <command> --help` gives its rules and an example.
|
|
11
11
|
- Put long text on stdin, one flag per call: `--<field>-file -` with `<<'EOF'`; objects and lists take JSON.
|
|
12
|
-
- Exit
|
|
12
|
+
- Exit 2 is a usage error: fix every problem it names before you call again. Exit 1 is any other failure: Dispatch's refusal, a Dispatch the command cannot reach, or `ANSWER_NOT_KEPT` for a call that wrote nothing, which you run again. `dispatch login` exits 1 when the broker cannot be reached or refuses, the person denies the login, or its code expires; its usage error names only the first bad argument.
|
|
13
13
|
- Never work around a hard-to-use command, or one storing or losing something wrongly: open an issue in the owning project and tell its controller. A Legion role tells its architect (`skill://legion-worker/references/findings.md`).
|
|
14
14
|
|
|
15
15
|
## Asks and ask blocks
|