@sjawhar/claude-envoy 6.18.0 → 6.19.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.
- package/.claude-plugin/plugin.json +1 -1
- package/.omp-plugin/plugin.json +1 -1
- package/dist/codex-hook.js +20 -0
- package/dist/dispatch.js +20 -0
- package/dist/envoy-channel.js +21 -1
- package/dist/session-hook.js +20 -0
- package/legion/skills/legion-architect/references/design-gate.md +3 -2
- package/legion/skills/legion-worker/references/ci-checks.md +2 -2
- package/legion/skills/legion-worker/references/results.md +1 -1
- package/legion/skills/legion-worker/references/withheld-capability.md +1 -1
- package/package.json +1 -1
package/.omp-plugin/plugin.json
CHANGED
package/dist/codex-hook.js
CHANGED
|
@@ -16477,6 +16477,26 @@ var DISPATCH_BLOCK_POINTER_VALUES = [
|
|
|
16477
16477
|
ok: false,
|
|
16478
16478
|
why: "a document's block, then an issue message's",
|
|
16479
16479
|
problem: "is a block of a message: a block[] attribute points only at a block of a document"
|
|
16480
|
+
},
|
|
16481
|
+
{
|
|
16482
|
+
attribute: "parent",
|
|
16483
|
+
value: "dispatch://CORE-1/spec#b-x",
|
|
16484
|
+
ok: true,
|
|
16485
|
+
why: "a parent of one block"
|
|
16486
|
+
},
|
|
16487
|
+
{ attribute: "parent", value: "", ok: true, why: "no parent" },
|
|
16488
|
+
{
|
|
16489
|
+
attribute: "parent",
|
|
16490
|
+
value: "dispatch://CORE-1/spec#b-x dispatch://CORE/artifact/handbook-md#b-y",
|
|
16491
|
+
ok: false,
|
|
16492
|
+
why: "a parent of two blocks",
|
|
16493
|
+
problem: "holds 2 references; a block has one parent, so it holds at most one"
|
|
16494
|
+
},
|
|
16495
|
+
{
|
|
16496
|
+
attribute: "needs",
|
|
16497
|
+
value: "dispatch://CORE-1/spec#b-x dispatch://CORE/artifact/handbook-md#b-y",
|
|
16498
|
+
ok: true,
|
|
16499
|
+
why: "a needs of two blocks, which only the parent's rule would refuse"
|
|
16480
16500
|
}
|
|
16481
16501
|
];
|
|
16482
16502
|
var TYPED_BLOCK_ID_SHORTCUT_EXCLUDED = `
|
package/dist/dispatch.js
CHANGED
|
@@ -17077,6 +17077,26 @@ var DISPATCH_BLOCK_POINTER_VALUES = [
|
|
|
17077
17077
|
ok: false,
|
|
17078
17078
|
why: "a document's block, then an issue message's",
|
|
17079
17079
|
problem: "is a block of a message: a block[] attribute points only at a block of a document"
|
|
17080
|
+
},
|
|
17081
|
+
{
|
|
17082
|
+
attribute: "parent",
|
|
17083
|
+
value: "dispatch://CORE-1/spec#b-x",
|
|
17084
|
+
ok: true,
|
|
17085
|
+
why: "a parent of one block"
|
|
17086
|
+
},
|
|
17087
|
+
{ attribute: "parent", value: "", ok: true, why: "no parent" },
|
|
17088
|
+
{
|
|
17089
|
+
attribute: "parent",
|
|
17090
|
+
value: "dispatch://CORE-1/spec#b-x dispatch://CORE/artifact/handbook-md#b-y",
|
|
17091
|
+
ok: false,
|
|
17092
|
+
why: "a parent of two blocks",
|
|
17093
|
+
problem: "holds 2 references; a block has one parent, so it holds at most one"
|
|
17094
|
+
},
|
|
17095
|
+
{
|
|
17096
|
+
attribute: "needs",
|
|
17097
|
+
value: "dispatch://CORE-1/spec#b-x dispatch://CORE/artifact/handbook-md#b-y",
|
|
17098
|
+
ok: true,
|
|
17099
|
+
why: "a needs of two blocks, which only the parent's rule would refuse"
|
|
17080
17100
|
}
|
|
17081
17101
|
];
|
|
17082
17102
|
var TYPED_BLOCK_ID_SHORTCUT_EXCLUDED = `
|
package/dist/envoy-channel.js
CHANGED
|
@@ -39277,6 +39277,26 @@ var DISPATCH_BLOCK_POINTER_VALUES = [
|
|
|
39277
39277
|
ok: false,
|
|
39278
39278
|
why: "a document's block, then an issue message's",
|
|
39279
39279
|
problem: "is a block of a message: a block[] attribute points only at a block of a document"
|
|
39280
|
+
},
|
|
39281
|
+
{
|
|
39282
|
+
attribute: "parent",
|
|
39283
|
+
value: "dispatch://CORE-1/spec#b-x",
|
|
39284
|
+
ok: true,
|
|
39285
|
+
why: "a parent of one block"
|
|
39286
|
+
},
|
|
39287
|
+
{ attribute: "parent", value: "", ok: true, why: "no parent" },
|
|
39288
|
+
{
|
|
39289
|
+
attribute: "parent",
|
|
39290
|
+
value: "dispatch://CORE-1/spec#b-x dispatch://CORE/artifact/handbook-md#b-y",
|
|
39291
|
+
ok: false,
|
|
39292
|
+
why: "a parent of two blocks",
|
|
39293
|
+
problem: "holds 2 references; a block has one parent, so it holds at most one"
|
|
39294
|
+
},
|
|
39295
|
+
{
|
|
39296
|
+
attribute: "needs",
|
|
39297
|
+
value: "dispatch://CORE-1/spec#b-x dispatch://CORE/artifact/handbook-md#b-y",
|
|
39298
|
+
ok: true,
|
|
39299
|
+
why: "a needs of two blocks, which only the parent's rule would refuse"
|
|
39280
39300
|
}
|
|
39281
39301
|
];
|
|
39282
39302
|
var TYPED_BLOCK_ID_SHORTCUT_EXCLUDED = `
|
|
@@ -67091,7 +67111,7 @@ var import_nats5 = __toESM(require_mod4(), 1);
|
|
|
67091
67111
|
|
|
67092
67112
|
// package.json
|
|
67093
67113
|
var name2 = "@sjawhar/claude-envoy";
|
|
67094
|
-
var version2 = "6.
|
|
67114
|
+
var version2 = "6.19.0";
|
|
67095
67115
|
var package_default = {
|
|
67096
67116
|
name: name2,
|
|
67097
67117
|
version: version2,
|
package/dist/session-hook.js
CHANGED
|
@@ -20064,6 +20064,26 @@ var DISPATCH_BLOCK_POINTER_VALUES = [
|
|
|
20064
20064
|
ok: false,
|
|
20065
20065
|
why: "a document's block, then an issue message's",
|
|
20066
20066
|
problem: "is a block of a message: a block[] attribute points only at a block of a document"
|
|
20067
|
+
},
|
|
20068
|
+
{
|
|
20069
|
+
attribute: "parent",
|
|
20070
|
+
value: "dispatch://CORE-1/spec#b-x",
|
|
20071
|
+
ok: true,
|
|
20072
|
+
why: "a parent of one block"
|
|
20073
|
+
},
|
|
20074
|
+
{ attribute: "parent", value: "", ok: true, why: "no parent" },
|
|
20075
|
+
{
|
|
20076
|
+
attribute: "parent",
|
|
20077
|
+
value: "dispatch://CORE-1/spec#b-x dispatch://CORE/artifact/handbook-md#b-y",
|
|
20078
|
+
ok: false,
|
|
20079
|
+
why: "a parent of two blocks",
|
|
20080
|
+
problem: "holds 2 references; a block has one parent, so it holds at most one"
|
|
20081
|
+
},
|
|
20082
|
+
{
|
|
20083
|
+
attribute: "needs",
|
|
20084
|
+
value: "dispatch://CORE-1/spec#b-x dispatch://CORE/artifact/handbook-md#b-y",
|
|
20085
|
+
ok: true,
|
|
20086
|
+
why: "a needs of two blocks, which only the parent's rule would refuse"
|
|
20067
20087
|
}
|
|
20068
20088
|
];
|
|
20069
20089
|
var TYPED_BLOCK_ID_SHORTCUT_EXCLUDED = `
|
|
@@ -33,8 +33,9 @@ whole suite is the CI job that runs it.
|
|
|
33
33
|
never `ci-ok`, which passes when jobs it did not select were skipped
|
|
34
34
|
(`.github/scripts/ci-ok.sh`).
|
|
35
35
|
2. Name it as GitHub writes it: `<caller> / <job>` for a job of a called workflow (`test / test`).
|
|
36
|
-
3.
|
|
37
|
-
check names it
|
|
36
|
+
3. Name a held-back job only when a test that job alone runs is the proof: the merge queue runs
|
|
37
|
+
it anyway, and while a check names it, its label (`lane:<output>`, never `full-ci`) reruns it
|
|
38
|
+
on every push; without the label the check reads `absent` or `skipped`.
|
|
38
39
|
4. Write in `negative_control` the case inside that job that fails when the property breaks: a
|
|
39
40
|
step with `continue-on-error` keeps its job green.
|
|
40
41
|
|
|
@@ -45,8 +45,8 @@ When the run gives no result, the line reads `CI run <name> has no result (<case
|
|
|
45
45
|
|
|
46
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
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
|
|
49
|
-
The label stays on while a `ci_check` of the issue names such a job.
|
|
48
|
+
The implementer adds that job's own `lane:<output>` label, never `full-ci`, then pushes, because the workflow starts on a push and not on a label.
|
|
49
|
+
The label stays on while a `ci_check` of the issue names such a job, and comes off when none does: the merge queue runs every held-back job before the change lands, so a held-back job that no check names needs no label.
|
|
50
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
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.
|
|
52
52
|
|
|
@@ -43,7 +43,7 @@ The pull request body's `Checks` lines are in `skill://legion-worker/references/
|
|
|
43
43
|
## The rules every phase's evidence follows
|
|
44
44
|
|
|
45
45
|
- The tester tries to break the changed surface (wrong and boundary inputs, the second and the concurrent run, the party it must refuse) and writes a failing test for each way it breaks that no existing test catches.
|
|
46
|
-
Lint, types and the unit and integration suites are CI's: read
|
|
46
|
+
Lint, types and the unit and integration suites are CI's: read on GitHub the ones the head ran, rerun no lane as evidence, and wait for none; a suite the repository holds back for its merge queue has no run at the head, and that is no gap.
|
|
47
47
|
|
|
48
48
|
- On a new head, the tester reruns each check the change since the head it last tested can reach (for a merge of the base, `skill://legion-worker/references/conflicts-and-rewrites.md#reading-a-merge-of-the-base`) and records each other check with no `ci_check` at the new head unrun, its `--observed` naming the earlier pass and why the merge misses it.
|
|
49
49
|
|
|
@@ -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 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
|
|
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 before the change lands and a pull request runs only under `lane:dispatch_browser`, for a need the pull request names.
|