@sjawhar/claude-envoy 4.14.0 → 4.14.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.
@@ -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.14.0"
5
+ "version": "4.14.1"
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-envoy",
3
- "version": "4.14.0",
3
+ "version": "4.14.1",
4
4
  "description": "Put Envoy events into the Claude Code session's own conversation and expose Envoy MCP tools.",
5
5
  "mcpServers": {}
6
6
  }
package/AGENTS.md CHANGED
@@ -4,7 +4,7 @@
4
4
  One MCP stdio server (`src/envoy-channel-server.ts`) is the session's Envoy ingress and serves the `envoy_*` tools; the mod (`hooks/mod.ts`) writes into a terminal session; `bin/dispatch` puts the `dispatch` command on the Bash tool's `PATH`.
5
5
  In a pane `legion claude-bridge` launched, the server also runs the Legion phase worker (`src/legion-*.ts`).
6
6
  `codex/` and `src/codex/` are the Codex CLI plugin, `@sjawhar/codex-envoy`, built from this source.
7
- `README.md` has the architecture, the bundle and release, and the manual smokes.
7
+ `README.md` has the architecture, the bundle and release, and the smokes.
8
8
 
9
9
  ## Commands
10
10
 
@@ -58530,7 +58530,7 @@ var import_nats2 = __toESM(require_mod4(), 1);
58530
58530
 
58531
58531
  // package.json
58532
58532
  var name2 = "@sjawhar/claude-envoy";
58533
- var version2 = "4.14.0";
58533
+ var version2 = "4.14.1";
58534
58534
  var legion = {
58535
58535
  daemonApiVersion: 178
58536
58536
  };
@@ -70,7 +70,6 @@ Each step records one document of the root issue:
70
70
 
71
71
  | Step | Document |
72
72
  | --- | --- |
73
- | `decisions` | the decisions document (`decisions.md`) |
74
73
  | `criteria` | the Verification document (`verification.md`) |
75
74
  | `spec` | the primary document |
76
75
 
@@ -87,8 +86,7 @@ For each gated step, once every child is filed:
87
86
  told it is a spec, for each factual claim. `wait` for each, resolve every finding, and check
88
87
  each unverified claim with a command or take it out.
89
88
  4. Request approval only once the person has agreed to every point; a new point gets its own
90
- decision block first. `--include-verification` covers `spec` and `criteria` in one request;
91
- `decisions` takes its own (`--artifact decisions.md`):
89
+ decision block first. `--include-verification` covers `spec` and `criteria` in one request:
92
90
 
93
91
  ```bash
94
92
  dispatch request-approval --issue <root> --include-verification --summary '<what they approve> Reviews: <gap result>, <claim result>; <what they do not show>.'
@@ -31,8 +31,9 @@ exist. Each `task` runs as a job of its own: `wait` for each result and answer f
31
31
 
32
32
  Before you rely on a step 1 hit, `grep` `docs/solutions/` for its path. If another file lists that
33
33
  path under its front-matter `supersedes:` key, use that file instead; if one has a line
34
- `Extends docs/solutions/<hit path>`, read both. For a hit on a page the "Documentation" section of
35
- the repository's `AGENTS.md` names as replaced, follow the rule that section names.
34
+ `Extends docs/solutions/<hit path>`, read both. For a hit that tells a worker to check the GitHub
35
+ App of a commit's author or committer, follow the trailer rule of
36
+ `skill://legion-worker/references/default-branch-check.md` instead.
36
37
 
37
38
  ## Output
38
39
 
@@ -70,11 +70,11 @@ with a WAITING line naming the defect and the answer you wait on.
70
70
  **Production check:** <the command or user action that will show the change working in production>
71
71
  **Carried by:** <the deploy or restart that carries the merge there>
72
72
  **Run by:** <the agent or role your system prompt's deployment instructions name; when none, the person to ask>
73
-
74
- <!-- legion: {"session":"<session-id>","phase":"retro"} -->
75
73
  EOF
76
74
  ```
77
75
 
76
+ A Dispatch comment or message never carries the `<!-- legion: … -->` footer. Dispatch records the session that wrote it, and only a pull-request comment or review needs the footer.
77
+
78
78
  6. **Complete** with the `legion` tool's `handoff_complete`, its summary two sentences for the
79
79
  architect. In the same call, rate the plan the issue ran (its steps and the role that worked
80
80
  each, not the planner's `plan.md`): send both `plan_rating`, a whole number from 1 (the plan
@@ -42,7 +42,5 @@ dispatch comment --issue '<KEY>' --body-file - <<'EOF'
42
42
  Evidence: <file and symbol, or text quoted from it, of this pull request, and what went wrong>.
43
43
  Belongs in: <the skill, prompt or guide>.
44
44
  Replaces: <the instruction and its path>, or nothing.
45
-
46
- <!-- legion: {"session":"<session-id>","phase":"retro"} -->
47
45
  EOF
48
46
  ```
@@ -46,6 +46,7 @@ Your role prompt gives the workspace, the push, the handoff, `handoff_complete`,
46
46
  - No deferrals. A finding that changes behaviour, hides an error, or breaks a gate is fixed in this pull request. So is a wording nit or any clear fix in a file it touches: a later round costs a CI pass and a review. `Fast-follow:` reads `none` or names cleanup in files the pull request does not touch.
47
47
  - The merge gate, in order: the tester's evidence green → the reviewer's approval of the head → the architect's acceptance → retro, which commits nothing → the merger's merge of the head it read, which closes the issue → the production check after the close, the tester's unless the project's `production_check` is `off`. Only the merger runs `gh pr merge`; nobody turns auto-merge on.
48
48
  - End every pull-request comment you post with `<!-- legion: {"session":"<session-id>","phase":"<phase>"} -->`.
49
+ - A Dispatch comment or message never carries the `<!-- legion: … -->` footer. Dispatch records the session that wrote it, and only a pull-request comment or review needs the footer.
49
50
  - Never run `gh config set` or `gh alias set`, and leave `GH_TOKEN`, `GITHUB_TOKEN` and `GH_HOST` unset: a set variable outranks the gh directory the daemon refreshes.
50
51
  - Before you report a resource unreachable, or read a GitHub `404` as no access, try the call through `skill://agent-secrets` and read the profiles in `AWS_CONFIG_FILE`. Request a secret only for your issue's work.
51
52
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/claude-envoy",
3
- "version": "4.14.0",
3
+ "version": "4.14.1",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Claude Code plugin for Legion's Envoy bus",
6
6
  "type": "module",
@@ -26,7 +26,7 @@ Part | Content
26
26
  `Requirements` | a `:::requirement` block each, `**R1.**` on, its source (`From:`)
27
27
  `Verification` | the issue's `verification.md`, a `:::check` block each: `serves`, `surface`, `run` (where it names tests, specific ones), `when`, `negative_control`. For a whole test suite, name its CI job in `ci_check`: a check carrying `ci_check` is CI's and takes no `run`
28
28
  `Design` | How it meets them; a value and its reason for each limit, size and time
29
- `Decisions` | One line: `The decisions are in dispatch://KEY/artifact/decisions-md.`
29
+ `Decisions` | The choices the spec rests on (Decisions below)
30
30
 
31
31
  `serves` and `needs` name a block of this issue or an ancestor. Another agent can build and check the work from these alone. A small change gets a few sentences per part, no matrix; split a large design into children.
32
32
 
@@ -61,12 +61,7 @@ For each spec, ask, comment and message:
61
61
 
62
62
  ## Decisions
63
63
 
64
- Choices—answered asks included—earn `decisions.md` `##` sections only if a disagreeing reader would act differently; keep others to one spec line each.
65
-
66
- - The heading names the choice; the text gives the reason and options weighed.
67
- - Link each spec block it shaped, `dispatch://KEY/spec#b-<id>`, and a person's decision its ask, `dispatch://KEY/ask/<id>`.
68
- - An unsure section adds an `Unsure:` paragraph: what would change your mind.
69
- - A replaced section moves under a final `## Replaced` as a `###`.
64
+ A choice earns an entry in the spec's `## Decisions` part only if a disagreeing reader would act differently; keep others to one spec line each. Write it in the spec, never in a separate document: the choice first, then the reason and the options weighed, as a `:::decision` block once the server's block types include `decision`. A person's answered ask is their decision: it stays in the spec where it was asked.
70
65
 
71
66
  ## Old specs
72
67