@sjawhar/claude-envoy 4.22.4 → 5.0.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.
@@ -2,5 +2,5 @@
2
2
  "name": "claude-envoy",
3
3
  "description": "Put Envoy events into the Claude Code session's own conversation and expose Envoy MCP tools.",
4
4
  "mcpServers": "./.mcp.json",
5
- "version": "4.22.4"
5
+ "version": "5.0.0"
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-envoy",
3
- "version": "4.22.4",
3
+ "version": "5.0.0",
4
4
  "description": "Put Envoy events into the Claude Code session's own conversation and expose Envoy MCP tools.",
5
5
  "mcpServers": {}
6
6
  }
@@ -58683,9 +58683,9 @@ var import_nats5 = __toESM(require_mod4(), 1);
58683
58683
 
58684
58684
  // package.json
58685
58685
  var name2 = "@sjawhar/claude-envoy";
58686
- var version2 = "4.22.4";
58686
+ var version2 = "5.0.0";
58687
58687
  var legion = {
58688
- daemonApiVersion: 202
58688
+ daemonApiVersion: 205
58689
58689
  };
58690
58690
  var package_default = {
58691
58691
  name: name2,
@@ -61210,7 +61210,6 @@ function createLegionDaemonClient(baseUrl, options) {
61210
61210
  phaseRetry: (input) => post("/legion/v1/phase/retry", LegionPhaseRetryRequest, LegionEmptyResponse, input),
61211
61211
  signOff: (input) => post("/legion/v1/signoff", LegionSignOffRequest, LegionEmptyResponse, input),
61212
61212
  rootClose: (input) => post("/legion/v1/roots/close", LegionRootCloseRequest, LegionEmptyResponse, input),
61213
- childPark: (input) => post("/legion/v1/children/park", LegionChildRequest, LegionEmptyResponse, input),
61214
61213
  childRerun: (input) => post("/legion/v1/children/rerun", LegionChildRequest, LegionEmptyResponse, input)
61215
61214
  };
61216
61215
  }
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: legion-architect
3
- description: "Use when you are a Legion root or child architect, before any lifecycle action: decomposing or adopting children, the design gate, releasing or parking children, a delivered wake, a worker's escalation, or accepting a reviewed head."
3
+ description: "Use when you are a Legion root or child architect, before any lifecycle action: decomposing or adopting children, the design gate, releasing children, a delivered wake, a worker's escalation, or accepting a reviewed head."
4
4
  ---
5
5
 
6
6
  # Legion architect
@@ -62,11 +62,7 @@ skill the procedures. Where it disagrees with the code or a `--help`, follow tho
62
62
  `legion({ op: "release_children", issues: ["LEGION-41", "LEGION-42"] })`. Legion holds a child
63
63
  whose blockers are not `done`. Never hold a release back for a close: a child released after the
64
64
  root's merge runs as an orphan root. Never block a child on its own parent, which merges last.
65
- - On each `child-closed`, read the child's handoff, edit the specs of open children it changes,
66
- and `park_child` each child it makes unneeded.
67
- - Before you park a child for good, take it off each sibling's `--blocked-by` list
68
- (`--clear-blocked-by` where it was the only one), or park that sibling too: a parked child is
69
- not `done`, and its dependents stay held with no notice.
65
+ - On each `child-closed`, read the child's handoff, edit the specs of open children it changes.
70
66
 
71
67
  ## 3. Children complete
72
68
 
@@ -26,9 +26,8 @@ Read, against the goal, every check and every requirement:
26
26
  `handoff_complete` there is refused (`ACCEPTANCE_IS_SIGN_OFF`).
27
27
  - A `catch-up` whose `reason` names an issue waiting for your acceptance is its wake: the
28
28
  `phase-finished` may never have reached you.
29
- - `SIGNOFF_CHILD_IN_WORKFLOW` names each issue beneath still in the workflow: run each to done, or
30
- park it under the rule, and sign off again. Ask the person about one that can do neither, and
31
- hold the acceptance until they answer.
29
+ - `SIGNOFF_CHILD_IN_WORKFLOW` names each issue beneath still in the workflow: run each to done,
30
+ and sign off again.
32
31
  - A finding ask holds the acceptance: one a worker sent you, or one `dispatch read` lists under
33
32
  `Open asks:` whose question opens `Finding from ` or `Clear defect from `. Follow it
34
33
  (`dispatch follow --ask <id> --action follow`) and publish its reference to the controller topic.
@@ -46,9 +45,7 @@ on its default branch; a `default_branch` check, on the default branch. A criter
46
45
  deployed system is proven after that child's deploy, as the repository's deploy skill says. A
47
46
  child's result proves no check of the parent: a child carrying part of a parent's requirement
48
47
  proves it with a check of its own whose `serves` names it. Nothing builds on the parent's merge,
49
- which comes last. Until those children close, leave the issue in `accepting`; that wait is no
50
- reason to park a child. Before you park a child, move its criterion to the parent's own pull
51
- request or a released, open child; never downgrade it. Then, in one turn:
48
+ which comes last. Until those children close, leave the issue in `accepting`. Then, in one turn:
52
49
 
53
50
  1. `envoy_publish` to the tester's role topic: "The next round of <KEY> is its last round: a full
54
51
  test round of every check of the issue with no `ci_check`."
@@ -102,15 +99,10 @@ complete while it is open.
102
99
 
103
100
  ## The close
104
101
 
105
- The merge closes the issue (`done`). One whose merge lands while an issue beneath it is still in
106
- the workflow stays in `merging` until the last of them is done or parked; one `pr-merged` notice
107
- names what it waits for. The production check after the close is not yours. A root's close
108
- lingers the tree for `linger_hours`.
102
+ The merge closes the issue (`done`). The production check after the close is not yours. A root's
103
+ close lingers the tree for `linger_hours`.
109
104
 
110
105
  ## Hand-over at a root's linger
111
106
 
112
- A root a person closed that stays `done` through its linger hands each child still in the
113
- workflow, a child that never started included, to Legion as a root of its own; only a finished,
114
- parked or never-released child stays. Ask the person whether a child's work must end with the root.
115
- A parked root hands over only a child in `merging` whose pull request is open. Your role prompt
107
+ Ask the person whether a child's work must end with the root. Your role prompt
116
108
  says what a `handed_over` catch-up asks of you.
@@ -18,9 +18,9 @@ sends the question to the architect above it.
18
18
  | `checks-red` | The daemon asked the implementer to merge the base forward; the issue stays in the phase the notice names. Start nothing; in `accepting`, wait for the reviewer's approval of the new head ("A conflicting head" in `skill://legion-architect/references/acceptance.md`). |
19
19
  | `review-stuck` | No review decides the round, or the approval is of other code: tell the reviewer on the notice's `topic` to approve the head or request changes; ask a person when it answers again with no review. GitHub will not merge the head: no `topic`, and its `reason` names the merge state, each check run with its conclusion and each commit status with its state; sort it as your role prompt says. |
20
20
  | `pr-merged` | Merged, not closed: it waits to reach `merging`, or for the issues beneath it. Start nothing. |
21
- | `pr-closed-unmerged` | Decide whether the work reopens, restarts (`park_child` then `rerun_child`) or ends, and give the reason. A phase worker makes the repository change. |
21
+ | `pr-closed-unmerged` | Decide whether the work reopens, restarts or ends, and give the reason. A phase worker makes the repository change. |
22
22
  | `pull-request-missing` | Tell the implementer to open the pull request from the branch the reason names. |
23
- | `child-status` | A child left, re-entered, joined the tree or started. The daemon starts what runs. When a park leaves an issue in `accepting` waiting on no child, run its last round. |
23
+ | `child-status` | A child left, re-entered, joined the tree or started. The daemon starts what runs. |
24
24
  | `child-closed` | Section 2. File any new child it calls for after the red-team check, and release it at once. When it was the last child an issue in `accepting` waits on, run that issue's last round. |
25
25
  | `children-first` | Release every child that should run. Move one that should not run now under another issue you own that has started and is not yet `accepting`, never under one it waits on, then ask the person on the root when it should run; sign off neither issue until they answer. A `blocked_by` link up the parent chain: ask a person to remove it. |
26
26
  | `child-release-stalled` | Read the parent's record (`read_record`), release the parent first when the reason says so, then release the child again. Tell the controller if the parent never records. |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/claude-envoy",
3
- "version": "4.22.4",
3
+ "version": "5.0.0",
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": 202
22
+ "daemonApiVersion": 205
23
23
  },
24
24
  "repository": {
25
25
  "type": "git",