@sjawhar/claude-envoy 5.25.1 → 5.25.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": "5.25.1"
5
+ "version": "5.25.2"
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-envoy",
3
- "version": "5.25.1",
3
+ "version": "5.25.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
  }
@@ -63395,7 +63395,7 @@ var import_nats5 = __toESM(require_mod4(), 1);
63395
63395
 
63396
63396
  // package.json
63397
63397
  var name2 = "@sjawhar/claude-envoy";
63398
- var version2 = "5.25.1";
63398
+ var version2 = "5.25.2";
63399
63399
  var legion = {
63400
63400
  daemonApiVersion: 256
63401
63401
  };
@@ -97,7 +97,7 @@ read, against the goal, every check and requirement in `skill://legion-architect
97
97
  Run `task(agent="goal-red-team")` as your role prompt says, then `wait` for its report.
98
98
  Accept only when a pass stands for every `before_merge` check at the head the step before your acceptance passed, every requirement has a check (with no `before_merge` check, your comment says how each is proven), and none is unmet or read narrower than written:
99
99
  post a `dispatch comment` naming each check and its result, then `legion({ op: "sign_off", issue: "<KEY>" })`.
100
- Wait for a `ci_check` run still going; a name no run answers is yours to correct in the check.
100
+ Wait for a `ci_check` run still going; a name no run answers is yours to correct in the check, unless it names a job held back without its label, which has no pass standing until the implementer adds the label.
101
101
  Finding asks, refusals and what follows: `skill://legion-architect/references/acceptance.md`.
102
102
 
103
103
  ## 7. Close
@@ -23,18 +23,19 @@ Read this before you write a root spec, before any edit to an approved one, and
23
23
 
24
24
  ## A check CI proves
25
25
 
26
- A check carrying `ci_check` is CI's: `ci_check` names the GitHub check run that proves it at the
27
- head; it takes no `run`, its `when` is `before_merge`, and no role runs it or records its result
28
- (`skill://legion-worker/references/ci-checks.md`). Where a CI job that runs on an ordinary pull
29
- request already makes a check's proof, write that check as `ci_check` rather than as a command. A
30
- `run` that names tests names specific tests or files; a whole suite is the CI job that runs it.
26
+ A check carrying `ci_check` is CI's (`skill://legion-worker/references/ci-checks.md`): it names
27
+ the check run that proves it at the head, takes no `run`, its `when` is `before_merge`, and no
28
+ role runs or records it. Where a CI job already makes a check's proof, write that check as
29
+ `ci_check` rather than as a command. A `run` that names tests names specific tests or files; a
30
+ whole suite is the CI job that runs it.
31
31
 
32
32
  1. Name the check run of the job that runs the proof, never a roll-up. On cybermonklabs/legion
33
- never `ci-ok`, which passes when the jobs it did not select were skipped
33
+ never `ci-ok`, which passes when jobs it did not select were skipped
34
34
  (`.github/scripts/ci-ok.sh`).
35
- 2. A job held back from ordinary pull requests needs its label on the pull request for as long as
36
- a check names it (`full-ci` on cybermonklabs/legion); without it the job reads `skipped`.
37
- 3. Write in `negative_control` the case inside that job that fails when the property breaks: a
35
+ 2. Name it as GitHub writes it: `<caller> / <job>` for a job of a called workflow (`test / test`).
36
+ 3. A held-back job needs its label (`full-ci` or `lane:<output>`) on the pull request while a
37
+ check names it; without it the check reads `absent` or `skipped`.
38
+ 4. Write in `negative_control` the case inside that job that fails when the property breaks: a
38
39
  step with `continue-on-error` keeps its job green.
39
40
 
40
41
  ## Which steps are gated
@@ -34,10 +34,10 @@ End each turn of that hold with a WAITING line naming the defect and the answer
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`).
37
- A `ci_check` check has no pass standing at that head when its derived result is a fail, or its run concluded `skipped`, `neutral` or `cancelled`.
37
+ A `ci_check` check has no pass standing at that head when its derived result is a fail, its run concluded `skipped`, `neutral` or `cancelled`, or it names a job held back without its label, whose run is `absent` or `skipped` until the label is on.
38
38
  A run that has not concluded, or one GitHub could not be read for, is neither a pass nor a fail yet: never wait for, watch or poll it, as your role prompt says of CI.
39
39
  Name each run that has not concluded, with the time you read it, in step 5's `Runs still going` line, and go on; when CI settles, the daemon tells the architect and the worker of the phase the issue then stands in.
40
- Send a name that no run answers (`absent`) to the architect as a finding, since the check's words are wrong, and the same for a check whose `run` is a whole test suite.
40
+ Send any other name that no run answers (`absent`) to the architect as a finding, since the check's words are wrong, and the same for a check whose `run` is a whole test suite.
41
41
  Neither that run nor that finding moves the issue back.
42
42
 
43
43
  - A `ci_check` check whose derived result is a fail is the merger's: the change passed every step of its task, and the merger decides at the merge whether the base or the change broke it.
@@ -6,7 +6,7 @@ A repository can require body lines derived from the changed paths, read by a re
6
6
  the body written earlier may not cover every path the pull request now changes, and the merger reports a stale body rather than rewriting it.
7
7
  `<owner>/<repo>` and `<n>` are the pull request's repository and number.
8
8
 
9
- 1. Read your deployment instructions, the repository's agent guide (`AGENTS.md`, `CLAUDE.md`), its pull request template where it has one (`.github/pull_request_template.md` or `.github/PULL_REQUEST_TEMPLATE/`) and the workflow under `.github/workflows/` that reads the body, for lines they require per changed path.
9
+ 1. Read your deployment instructions, the repository's agent guide (`AGENTS.md`, `CLAUDE.md`), its contributing guide (`CONTRIBUTING.md`), its pull request template where it has one (`.github/pull_request_template.md` or `.github/PULL_REQUEST_TEMPLATE/`) and the workflow under `.github/workflows/` that reads the body, for lines they require per changed path.
10
10
  When they require none, skip step 2, and stop here unless the task has no reviewer step (step 4 of `skill://legion-retro`).
11
11
 
12
12
  2. List the paths the pull request changes at `<head>`, the head the task's last step passed (step 1 of `skill://legion-retro`):
@@ -4,7 +4,7 @@ Read it when a check of the issue's Verification document carries `ci_check`, be
4
4
 
5
5
  ## What it is
6
6
 
7
- `ci_check` names the GitHub check run that proves the check at the head.
7
+ `ci_check` names the GitHub check run that proves the check at the head, as GitHub writes it: Dispatch matches the name exactly, and a job of a called workflow writes its check run as `<caller> / <job>` (on cybermonklabs/legion, `test / test` or `dispatch-browser-pr / merge`).
8
8
  Such a check has no `run`, its `when` is `before_merge`, and it names its `negative_control`.
9
9
  The architect writes it as `skill://legion-architect/references/design-gate.md` says.
10
10
 
@@ -38,14 +38,17 @@ When the run gives no result, the line reads `CI run <name> has no result (<case
38
38
  The next role that writes the body reads `dispatch results` again and replaces a no-result line.
39
39
 
40
40
  - The tester runs and records only the checks with no `ci_check`.
41
- A `ci_check` check goes in `failures` only when its derived result is a fail, or its run concluded `skipped`, `neutral` or `cancelled`.
41
+ A `ci_check` check goes in `failures` only when its derived result is a fail, its run concluded `skipped`, `neutral` or `cancelled`, or it names a job held back without its label, whose run is `absent` until the label is on (the last bullet below).
42
42
  A run still going fails no round: say so in `implementerProof.how`.
43
43
 
44
44
  - The reviewer waits for a run still going by its name, and neither approves nor requests changes for that check until it concludes.
45
45
 
46
- - A job the repository runs on a pull request only under the label `full-ci` (on cybermonklabs/legion, the slow suites and the full browser lane) reads `skipped` without it.
47
- The implementer adds the label, then pushes, because the workflow starts on a push and not on a label.
46
+ - A job the repository runs on a pull request only under a label (on cybermonklabs/legion, the slow suites) does not run without it.
47
+ A job that holds its own steps then has a run concluded `skipped`; a job that calls a workflow, as each such job on cybermonklabs/legion does, has only its own run, under its bare name (`test`), concluded `skipped`, and no job of the called file starts, so the run a check names (`test / test`) is `absent`.
48
+ The implementer adds the label, `full-ci` or that job's own `lane:<output>`, then pushes, because the workflow starts on a push and not on a label.
48
49
  The label stays on while a `ci_check` of the issue names such a job.
50
+ No job runs on a pull request in part: on cybermonklabs/legion test, pi-legion and envoy-infra-go are held back, while tooling-checks, pi-legion-build and envoy-infra-build, their builds and checks, run on every pull request, each job's check named `<job> / <job>` (`test / test`, `tooling-checks / tooling-checks`); the browser suite's pull-request lane is dispatch-browser-pr, whose checks are named `dispatch-browser-pr / <job>`, and its full lane, dispatch-browser, is held back (`lane:dispatch_browser`).
51
+ On cybermonklabs/legion a check of the edited-migrations, gofmt, OpenAPI or pmdoc steps names `envoy-go-build / envoy-go-build`, which every pull request runs; envoy-go-checks is envoy's script tests, a held-back slow suite, and a check naming it for those steps passes under its label with none of them run.
49
52
 
50
53
  ## A name that no run answers
51
54
 
@@ -53,9 +56,10 @@ When the head's checks have settled and no run of the name answers:
53
56
 
54
57
  1. Read the merge state first (`gh pr view <n> --json mergeStateStatus`): a `DIRTY` head gets no `pull_request` run, and the forward merge cures it.
55
58
 
56
- 2. A held-back job reads `skipped`, not absent: the label cures it.
59
+ 2. A held-back job's check is `absent`, not `skipped`, on a pull request without the job's label when the job calls a workflow, as each held-back job on cybermonklabs/legion does (`test / test`, `dispatch-browser / merge`): the calling job concludes `skipped` under its bare name, and no job of the called file starts.
60
+ The check's words are right: the implementer adds the label and pushes, and each other role sends the issue back to the implementer for it, as for any check with no pass.
57
61
 
58
- 3. Otherwise the check's words are wrong.
62
+ 3. Otherwise the check's words are wrong, as a called workflow's job named without its caller is (`test` for `test / test`).
59
63
  Each tester and reviewer step sends it to the architect as a finding with `envoy_publish`; with neither step, the implementer sends it during retro.
60
64
  No role fails the round or requests changes for it.
61
65
 
@@ -18,4 +18,4 @@ An install of your own (an interpreter, a browser, a second toolchain, an extrac
18
18
 
19
19
  ## The Dispatch browser suite
20
20
 
21
- A spec you add or change in `packages/dispatch` runs in the pod one spec a command (`bun run e2e -- e2e/<spec file>`), against the pod's own Postgres (*The database your tests use* in `skill://legion-worker/references/tools.md`). The change's proof is CI's `dispatch-browser` run at the head: an unlabelled pull request runs only the rows tagged `@pr`, and every other row runs under the label `full-ci`.
21
+ A spec you add or change in `packages/dispatch` runs in the pod one spec a command (`bun run e2e -- e2e/<spec file>`), against the pod's own Postgres (*The database your tests use* in `skill://legion-worker/references/tools.md`). The change's proof is CI at the head: a pull request runs the rows tagged `@pr` in the `dispatch-browser-pr` checks, and every other row runs in the `dispatch-browser` checks, which the merge queue runs and a pull request runs only under the label `full-ci` or `lane:dispatch_browser`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/claude-envoy",
3
- "version": "5.25.1",
3
+ "version": "5.25.2",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Claude Code plugin for Legion's Envoy bus",
6
6
  "type": "module",