@sjawhar/claude-envoy 6.0.1 → 6.0.2

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": "6.0.1"
5
+ "version": "6.0.2"
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-envoy",
3
- "version": "6.0.1",
3
+ "version": "6.0.2",
4
4
  "description": "Put Envoy events into the Claude Code session's own conversation and expose Envoy MCP tools.",
5
5
  "mcpServers": {}
6
6
  }
@@ -65594,7 +65594,7 @@ var import_nats5 = __toESM(require_mod4(), 1);
65594
65594
 
65595
65595
  // package.json
65596
65596
  var name2 = "@sjawhar/claude-envoy";
65597
- var version2 = "6.0.1";
65597
+ var version2 = "6.0.2";
65598
65598
  var package_default = {
65599
65599
  name: name2,
65600
65600
  version: version2,
@@ -68,7 +68,7 @@ The daemon works only issues labelled `legion` (any case), and a labelled root i
68
68
 
69
69
  A free slot or a full cap is no reason to take, label, admit or park an issue: a labelled root in `todo` takes the next slot by itself.
70
70
 
71
- A slot is one issue the daemon started, a root or a child. Free slots are `admission.cap`, less every issue in `admission.active`, less each issue of `admission.waiting` in neither `admission.active` nor `admission.blocked`. A returned issue goes before an unstarted one whatever their ranks, by design ([Admission and the `legion` label](https://cybermonklabs.github.io/legion/legion/concepts/#admission-and-the-legion-label)). The lists and `admission.held` words: `skill://legion-controller/references/admission.md`.
71
+ A slot is one issue the daemon started, a root or a child. Free slots are `admission.cap`, less every issue in `admission.active`, less each issue of `admission.waiting` in neither `admission.active` nor `admission.blocked`. The line is ordered by Dispatch priority first; within one priority a returned issue goes before an unstarted one whatever their ranks, by design ([Admission and the `legion` label](https://cybermonklabs.github.io/legion/legion/concepts/#admission-and-the-legion-label)). The lists and `admission.held` words: `skill://legion-controller/references/admission.md`.
72
72
 
73
73
  Every move to `todo` you make is one of these:
74
74
 
@@ -15,14 +15,17 @@ The rules behind them: [Admission and the `legion` label](https://cybermonklabs.
15
15
  Use it, not `admission.active`, for which trees run.
16
16
 
17
17
  - `admission.waiting`: the line, in order.
18
- First the issues whose work came back, oldest first; then the issues whose first phase can start, by their root's Dispatch rank and then their own.
19
- `issues.<KEY>.waitingLine` says where one stands (`part`, `kind`, `holdsSlot`, `reason`): quote its `reason` before you call an order wrong.
18
+ It is ordered by Dispatch priority first: P0, P1, P2, P3, then the issues with no priority, each issue at its own priority, else at its tree root's.
19
+ Within one priority, first the issues whose work came back, oldest first; then the issues whose first phase can start, by their root's Dispatch rank and then their own.
20
+ A priority changed in Dispatch moves the issue at the next admission pass; priority takes no slot back from work that runs.
21
+ `issues.<KEY>.priority` is the issue's own priority (0 for P0 to 3 for P3, null for none), and `waitingLine.priority` the one it waits at (null for one that waits after P3).
22
+ `issues.<KEY>.waitingLine` says where one stands (`priority`, `part`, `kind`, `holdsSlot`, `reason`): quote its `reason` before you call an order wrong.
20
23
 
21
24
  - `admission.blocked`: issues waiting on an unfinished `blocked_by` issue, or a parent waiting for its open children.
22
25
  A started issue here gave its slot back and takes one again by itself; nothing of its work stops.
23
26
 
24
27
  - `phase: awaiting_person` with `waitingOn`: a root waiting on a person's answer or review keeps its slot and is in no line.
25
- `waitingOn.answeredAt` means the daemon has put it in `admission.waiting` as well, among the issues whose work came back, oldest first, where it stands until the pass that resumes it.
28
+ `waitingOn.answeredAt` means the daemon has put it in `admission.waiting` as well, within its priority, among the issues whose work came back, oldest first, where it stands until the pass that resumes it.
26
29
 
27
30
  - `phase: admitted`, in no list, with a `child_of` parent: a child that has not started.
28
31
  Leave it to its tree.
@@ -10,7 +10,7 @@ A `silent` entry is a phase worker nothing will prompt: the daemon sends its tas
10
10
 
11
11
  ## `awaiting-person`
12
12
 
13
- A root that waits only on a person keeps its slot: do not park it or take anything for its wait. The person's answer puts it in `admission.waiting` by itself, among the issues whose work came back, oldest first, and its promotion gives its architect the answer task.
13
+ A root that waits only on a person keeps its slot: do not park it or take anything for its wait. The person's answer puts it in `admission.waiting` by itself, within its priority, among the issues whose work came back, oldest first, and its promotion gives its architect the answer task.
14
14
 
15
15
  ## `tree-stalled`
16
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/claude-envoy",
3
- "version": "6.0.1",
3
+ "version": "6.0.2",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Claude Code plugin for Legion's Envoy bus",
6
6
  "type": "module",