@sjawhar/claude-envoy 1.22.1 → 1.23.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": "1.22.1"
5
+ "version": "1.23.1"
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-envoy",
3
- "version": "1.22.1",
3
+ "version": "1.23.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/dist/dispatch.js CHANGED
@@ -15590,7 +15590,7 @@ var dispatchToolSpecs = [
15590
15590
  {
15591
15591
  name: "dispatch_results",
15592
15592
  example: { issue: "DSP-1" },
15593
- description: "Print each check of an issue's Verification document with its latest result and whether " + "that result is current. A result is current when it ran at the commit the work stands at " + "\u2014 the head of an open pull request of the check's issue, the final head of a merged one, " + "or, for an after_merge or default_branch check, a commit on the repository's default " + "branch \u2014 and the check's words have not changed since; older otherwise, and unknown when " + "Dispatch cannot read the repository. A push that moves the pull request's head makes a " + "result older with no write of anyone's: record it again at the new head. " + ISSUE_REFERENCE,
15593
+ description: "Print each check of an issue's Verification document with its latest result and whether " + "that result is current. A result is current when it ran at the commit the work stands at " + "\u2014 the head of an open pull request of the check's issue, the final head of a merged one, " + "for an after_merge check a commit on the branch that issue's pull request merged into or " + "on the repository's default branch (which answers alone where Dispatch holds no merge of " + "that issue), or for a default_branch check a commit on the repository's default branch, " + "whatever branch the pull request merged into \u2014 and the check's words have not changed " + "since; older otherwise, and unknown when Dispatch cannot read the repository. On an " + "after_merge check's base branch a read GitHub refused \u2014 a 403 or 404, which a branch it " + "no longer holds answers with \u2014 says the commit is not on that branch and leaves the " + "default branch to decide; every other failure of that read, a rate limit or a 5xx " + "among them, leaves the result unknown and never older. A push that moves the " + "pull request's head makes a result older with no write of anyone's: record it again at " + "the new head. " + ISSUE_REFERENCE,
15594
15594
  arguments: (z) => ({
15595
15595
  issue: z.string().describe(ISSUE_REFERENCE)
15596
15596
  })
@@ -37239,7 +37239,7 @@ var dispatchToolSpecs = [
37239
37239
  {
37240
37240
  name: "dispatch_results",
37241
37241
  example: { issue: "DSP-1" },
37242
- description: "Print each check of an issue's Verification document with its latest result and whether " + "that result is current. A result is current when it ran at the commit the work stands at " + "\u2014 the head of an open pull request of the check's issue, the final head of a merged one, " + "or, for an after_merge or default_branch check, a commit on the repository's default " + "branch \u2014 and the check's words have not changed since; older otherwise, and unknown when " + "Dispatch cannot read the repository. A push that moves the pull request's head makes a " + "result older with no write of anyone's: record it again at the new head. " + ISSUE_REFERENCE,
37242
+ description: "Print each check of an issue's Verification document with its latest result and whether " + "that result is current. A result is current when it ran at the commit the work stands at " + "\u2014 the head of an open pull request of the check's issue, the final head of a merged one, " + "for an after_merge check a commit on the branch that issue's pull request merged into or " + "on the repository's default branch (which answers alone where Dispatch holds no merge of " + "that issue), or for a default_branch check a commit on the repository's default branch, " + "whatever branch the pull request merged into \u2014 and the check's words have not changed " + "since; older otherwise, and unknown when Dispatch cannot read the repository. On an " + "after_merge check's base branch a read GitHub refused \u2014 a 403 or 404, which a branch it " + "no longer holds answers with \u2014 says the commit is not on that branch and leaves the " + "default branch to decide; every other failure of that read, a rate limit or a 5xx " + "among them, leaves the result unknown and never older. A push that moves the " + "pull request's head makes a result older with no write of anyone's: record it again at " + "the new head. " + ISSUE_REFERENCE,
37243
37243
  arguments: (z) => ({
37244
37244
  issue: z.string().describe(ISSUE_REFERENCE)
37245
37245
  })
@@ -55262,7 +55262,7 @@ var import_nats2 = __toESM(require_mod4(), 1);
55262
55262
 
55263
55263
  // package.json
55264
55264
  var name = "@sjawhar/claude-envoy";
55265
- var version2 = "1.22.1";
55265
+ var version2 = "1.23.1";
55266
55266
  var legion = {
55267
55267
  daemonApiVersion: 56
55268
55268
  };
@@ -14589,7 +14589,7 @@ var dispatchToolSpecs = [
14589
14589
  {
14590
14590
  name: "dispatch_results",
14591
14591
  example: { issue: "DSP-1" },
14592
- description: "Print each check of an issue's Verification document with its latest result and whether " + "that result is current. A result is current when it ran at the commit the work stands at " + "\u2014 the head of an open pull request of the check's issue, the final head of a merged one, " + "or, for an after_merge or default_branch check, a commit on the repository's default " + "branch \u2014 and the check's words have not changed since; older otherwise, and unknown when " + "Dispatch cannot read the repository. A push that moves the pull request's head makes a " + "result older with no write of anyone's: record it again at the new head. " + ISSUE_REFERENCE,
14592
+ description: "Print each check of an issue's Verification document with its latest result and whether " + "that result is current. A result is current when it ran at the commit the work stands at " + "\u2014 the head of an open pull request of the check's issue, the final head of a merged one, " + "for an after_merge check a commit on the branch that issue's pull request merged into or " + "on the repository's default branch (which answers alone where Dispatch holds no merge of " + "that issue), or for a default_branch check a commit on the repository's default branch, " + "whatever branch the pull request merged into \u2014 and the check's words have not changed " + "since; older otherwise, and unknown when Dispatch cannot read the repository. On an " + "after_merge check's base branch a read GitHub refused \u2014 a 403 or 404, which a branch it " + "no longer holds answers with \u2014 says the commit is not on that branch and leaves the " + "default branch to decide; every other failure of that read, a rate limit or a 5xx " + "among them, leaves the result unknown and never older. A push that moves the " + "pull request's head makes a result older with no write of anyone's: record it again at " + "the new head. " + ISSUE_REFERENCE,
14593
14593
  arguments: (z) => ({
14594
14594
  issue: z.string().describe(ISSUE_REFERENCE)
14595
14595
  })
@@ -59,8 +59,11 @@ legion({ op: "sign_off", issue: "LEGION-40" })
59
59
 
60
60
  A parent's own pull request proves each of its checks, so sign off a parent with children only
61
61
  on an approved head carrying the merges of every child those checks need. Each needs a current
62
- passing result at that head, or, for one in another repository, at a commit that repository's
63
- default branch carries. A child records no result that proves a parent's check: a child's pull
62
+ passing result at that head, or, for one in another repository, at a commit on the branch that
63
+ issue's pull request merged into or on that repository's default branch — that default branch
64
+ alone where Dispatch knows of no merge of the issue — and, for a `default_branch` check, on that
65
+ default branch whatever branch the pull request merged into. A child records no result that
66
+ proves a parent's check: a child's pull
64
67
  request never makes a parent check's result current, and a child carrying part of a parent's
65
68
  requirement proves it with a check on its own Verification document whose `serves` names that
66
69
  requirement. Nothing in the tree builds on the parent's own merge, which comes last: a child
@@ -79,11 +82,14 @@ Then, in one turn:
79
82
  2. `request_backward_move` to `implementing`, with the reason "Last round: merge the default
80
83
  branch your addressing line names into the branch, push, end your forward-merge comment with
81
84
  `parent's last round: full test round`, and complete." Never use a hard-coded `main`. The move
82
- counts a review round.
85
+ counts a review round, or a conflict round, which `review_round_cap` leaves out, where the
86
+ record holds the head conflicting with its base.
83
87
 
84
88
  While the parent waits in `accepting`, a conflict on its head or a child's merge needs no move of
85
- its own: the last round's forward merge resolves them all, so spend no backward move per child;
86
- each counts toward `review_round_cap`.
89
+ its own: the last round's forward merge resolves them all, so spend no backward move per child.
90
+ A move for a child's merge counts toward `review_round_cap`, since the record holds no conflict on
91
+ the head to leave it out; a move for a conflict the record does hold is left out, and still costs
92
+ the implementer a forward merge the last round makes anyway.
87
93
 
88
94
  A criterion proven on a deployed system is proven after that child's deploy, as the repository's
89
95
  deploy skill says.
@@ -41,12 +41,19 @@ the merge, which GitHub names as the actor of its own disables; then what was re
41
41
  reason (`manual`, `merge_conflict`, `manually_disabled`, `merge_commit_blocked`, …), when, and
42
42
  READY's head. It was not a failed merge, which comes as a `checks-red` instead. The daemon submits
43
43
  that merge no further, so the removal stands, and the issue stays in `awaiting_merge`. Read the
44
- pull request on GitHub. A `merge_conflict` conflicts with the base or with a pull request queued
45
- ahead of it: once the conflict is on the base, the daemon's own conflict check sends the issue
46
- back to `implementing` by itself. Otherwise ask a person with `dispatch ask` (the one who removed
47
- it, when the reason names a person rather than GitHub on its own), naming the pull request at
48
- READY's head and the reason; that person merges or queues it again under the repository's rules,
49
- and the merge closes the issue. Never bypass a rule.
44
+ pull request on GitHub.
45
+ A `merge_conflict` removal reaches you only when the head conflicts with the base itself (GitHub's
46
+ merge state `DIRTY`), when GitHub answered no merge state for five minutes, or when it is the
47
+ second such removal of this head: a conflict with a pull request queued ahead of it, which that
48
+ merge state tells apart, the daemon submits once more at the same head and says so on the issue,
49
+ telling you nothing.
50
+ Where the conflict is on the base, the daemon's own conflict check sends the issue back to
51
+ `implementing` by itself.
52
+ Otherwise ask a person with `dispatch ask` (the one who removed it, when the reason names a person
53
+ rather than GitHub on its own), naming the pull request at READY's head and the reason; that
54
+ person merges or queues it again under the repository's rules when it should land, and the merge
55
+ closes the issue.
56
+ Never bypass a rule.
50
57
 
51
58
  ## `merge-waiting`
52
59
 
@@ -27,7 +27,7 @@ and 7 (a conflict, the hand-over, the close) is in
27
27
  | `design-approved` | Its `version` is the approved one, and it names no step: under more than one gated step, read `gatedSteps` in your own record (the `legion` tool's `read_record`) to see which step that version opened and whether another still holds the tree. A human approved the document of one gated step at its current version; that step is open. Proceed to section 2 once every gated step is `approved` — except on a root whose catch-up said `handed_over`: its workers already run their phases, so start nothing; the approval releases any READY the gate refused. One whose `version` is the version a human's own answer to a decision block wrote, after an earlier approval (Dispatch carried that approval to it, "After approval" in `skill://legion-architect/references/design-gate.md`), opens nothing new: carry on, and release no child because of it. A root that was waiting on a question in `awaiting_person` gets no such notice: the task that resumes it says "Your spec is approved at version N and the design gate is open: this resume is your design-approved wake", and that resume is this wake — proceed to section 2 on it. |
28
28
  | `design-changes-requested` | Its `version` and `reason`, and no step: under more than one gated step, read `gatedSteps` in your own record (the `legion` tool's `read_record`) and take the step whose `status` is `changes_requested`. A human asked for changes to that step's document at `version`, for `reason`. Revise that document as the reason asks and request approval again as "The armed gate" in `skill://legion-architect/references/design-gate.md` says; end your turn; that step is closed. On a root that was waiting on a question in `awaiting_person`, a review the human gave after the wait began comes in the resume task, not in this notice, whether it answered the wait or came after something else did: the task names the review with its version and reason, unless a later approval superseded it. A `version` below the latest, or a second request for one version, is a request that reached the daemon late: read it as the same section's last paragraph says. Each request arrives once. |
29
29
  | `phase-finished` | The daemon has already moved the issue to its next phase by its fixed table and started that phase's role; you start nothing. Read the finishing phase's handoff on the Dispatch issue (`dispatch handoff-read --issue <issue> --phase <word>`); if it shows unresolved gaps, tell the role now working the issue (`envoy_publish` to its role topic). A `planner` notice that names a departure from the spec's design defers to the full condition in "After approval" of `skill://legion-architect/references/design-gate.md`: when the approved Summary, the requirements, the checks, the scope and the settled decisions still hold, the plan is the record; otherwise change the root spec and request approval again as that section says. A `reviewer` notice whose GitHub review is `CHANGES_REQUESTED` needs nothing from you: the daemon has returned the issue to `implementing` (Dispatch `in_progress`) and started the **implementer**, whose correction goes through the tester and the reviewer again, never straight to retro. A `reviewer` notice with an `APPROVED` review means the issue is in `accepting` and the acceptance is yours (section 6): read the evidence, then `sign_off` (a parent only after its last round, "The last round" in `skill://legion-architect/references/acceptance.md`) or send it back with `request_backward_move`. A `tester` notice with `verdict: "fail"` — its handoff carries `implementerProof.verdict: "rejected"`, or a failure naming a check with no current passing result — has gone back to the **implementer** by the daemon's table; never record that check's result from another role. A worker that reports no surface reaches the changed path sends that report instead of completing its phase, so the daemon starts nothing more on that issue and the worker stays idle in its session, not suspended: build the surface in this tree: a child issue (infrastructure, tooling, or a skill) after the red-team check in `skill://legion-architect/references/decomposition.md`, or, when the red team folds it, tell the waiting worker to move the issue back to `implementing` with `request_backward_move`, naming the surface. When it is a child, tell the waiting worker to continue with `envoy_publish` to its role topic once that child's `child-closed` arrives. That report is never a reason to advance the phase. |
30
- | `pr-blocked` | Its `reason` names the pull request and the `max_fix_attempts` it reached, or reads `Issue reached review_round_cap=<N>.` (the end of this row). The count is of heads pushed onto a red verdict: no handoff is a commit, so every such push counts except a push by the review App (a planner's, tester's, reviewer's or architect's), and the head pushed onto a red the tester's red tests earned (a planned red) does not count either. Published once per exhausted count, not on every later red verdict for that count. Read the failed CI evidence and recovery attempts. The notice moves nothing, and no later CI red within the attempt that ran the count out (the counted head, and every head pushed on top of it until a push lands on a head CI judged green or on a settled head whose base branch requires no check and no workflow, the tester's red tests onto the held red included) sends the work back from `testing`, `reviewing`, `accepting`, `retro` or `merging` either: the issue stays in its phase until you move it, or a worker's own decision does (a tester's `fail`, a reviewer's request for changes). A head pushed onto green CI, or onto a settled head whose base branch requires no check and no workflow, leaves that attempt, so its red still comes as a `checks-red`. In `implementing`, give the implementer the failing checks (`envoy_publish` to its role topic). In any later phase a worker holds, tell that worker (`envoy_publish` to its role topic) to move the issue back to `implementing` with `request_backward_move`, naming the failing checks, and the daemon starts the implementer. In `accepting`, where no worker holds a phase, the move is yours: `request_backward_move` with `issue`, naming the failing checks. In `awaiting_merge`, where no worker holds a phase and a backward move is refused, open a `dispatch ask` naming the failing checks for the human who merges. Do not treat the blocked PR as final. A `review_round_cap` reason is the implementer's round count instead: every move back to an earlier phase counts one, and the notice comes again with each round past the cap. It moves nothing either, since the round that reached the cap has already started its worker. Tell the rounds apart by what announced each: a tester's fail by its `phase-finished` with `verdict: "fail"`; a request for changes by the reviewer's `phase-finished` over a `CHANGES_REQUESTED` review; the daemon's own move by a `checks-red` notice, whose reason names a conflict (`the head conflicts with <base>`), the required checks that failed (`CI is red at <head>`), or the merge queue's failed merge and its failing run (`the merge queue took pull request #<n> out at READY's head …`); a worker's `request_backward_move` by a `phase-finished` from the role that asked, whose reason reaches only the task of the worker the move started, so ask that worker; your own send-back from `accepting` by the reason you gave. Judge the cap by the rounds that are not conflicts. Conflict returns need nothing from you beyond the next round. Tester fails, requests for changes and CI-red returns (a `checks-red` notice is raised for CI only when a required check fails on code the branch pushed, or when the merge queue fails the merge) are the rounds the cap is for. Each `review_round_cap` notice is a decision you make in the turn it wakes, never one left for the next round to make: read what every counted round found, choose one of the three below, act on it in the same turn, and post it as a `dispatch comment` on the issue naming the rounds you read and the choice. **Narrow**: the change itself is sound but each round finds more around it; tell the implementer and the reviewer (`envoy_publish` to each one's role topic) which checks the next round answers, dropping no requirement; a correctness finding is still fixed in this pull request, and so is a wording nit or any clear fix in a file it touches, so the `Fast-follow:` line carries only cleanup in files it does not touch. **Split**: part of the work cannot settle in this pull request. It is a child only when it needs a repository or a deploy order of its own (`skill://legion-architect`, section 1), and then it goes through the red-team check in `skill://legion-architect/references/decomposition.md` and is filed as a child of this issue's parent, never of this one, since this issue closes at its own merge. A requirement moves only to that released child. Work in a repository this tree already has a pull request in is no child and is not parked in `backlog`: write it into the spec of the issue whose pull request carries it, the parent's, or a sibling's when the parent's pull request is in another repository. On the root, open a `dispatch ask` for the part that cannot settle here (`skill://legion-worker/references/findings.md`): it stays this issue's requirement, and this pull request carries it, until the person who answers that ask records that the issue will not deliver it. **Accept the rounds**: each round found less than the one before it, and the last found no defect in the change itself (a stale line, a comment that states an old default); let the loop run and say why in the comment. A later notice is a new decision: accept again only when its round found less than the round you last accepted, and otherwise narrow or split. A finding that changes what the spec requires or what a check proves is a decision block in the root spec ("After approval" in `skill://legion-architect/references/design-gate.md`), and `dispatch ask` is only for a decision that needs a human's authority; neither replaces the choice. Judge a worker's backward move by the reason that worker gives. A move you ordered for a conflict found before `awaiting_merge` ("A conflicting head" in `skill://legion-architect/references/acceptance.md`) is a conflict return. The merger's move back to `reviewing` for a READY refusal (`READY_UNREVIEWED_CHANGE`, or `READY_NOT_APPROVED` when its task names no approved head), and the reviewer's no-fix request for changes that follows it so the tester runs the head, are not the work going in circles either. A move that sends back code found wrong counts with the tester fails. |
30
+ | `pr-blocked` | Its `reason` names the pull request and the `max_fix_attempts` it reached, or reads `Issue reached review_round_cap=<N>: <n> rounds counted, <m> conflict rounds not counted.` (the end of this row). The count is of heads pushed onto a red verdict: no handoff is a commit, so every such push counts except a push by the review App (a planner's, tester's, reviewer's or architect's), and the head pushed onto a red the tester's red tests earned (a planned red) does not count either. Published once per exhausted count, not on every later red verdict for that count. Read the failed CI evidence and recovery attempts. The notice moves nothing, and no later CI red within the attempt that ran the count out (the counted head, and every head pushed on top of it until a push lands on a head CI judged green or on a settled head whose base branch requires no check and no workflow, the tester's red tests onto the held red included) sends the work back from `testing`, `reviewing`, `accepting`, `retro` or `merging` either: the issue stays in its phase until you move it, or a worker's own decision does (a tester's `fail`, a reviewer's request for changes). A head pushed onto green CI, or onto a settled head whose base branch requires no check and no workflow, leaves that attempt, so its red still comes as a `checks-red`. In `implementing`, give the implementer the failing checks (`envoy_publish` to its role topic). In any later phase a worker holds, tell that worker (`envoy_publish` to its role topic) to move the issue back to `implementing` with `request_backward_move`, naming the failing checks, and the daemon starts the implementer. In `accepting`, where no worker holds a phase, the move is yours: `request_backward_move` with `issue`, naming the failing checks. In `awaiting_merge`, where no worker holds a phase and a backward move is refused, open a `dispatch ask` naming the failing checks for the human who merges. Do not treat the blocked PR as final. A `review_round_cap` reason is the implementer's round count instead: every move back to an earlier phase counts one, and a move made while the head conflicts with its base counts as a conflict round the cap leaves out; the notice comes again with each round past the cap. It moves nothing either, since the round that reached the cap has already started its worker. Tell the rounds apart by what announced each: a tester's fail by its `phase-finished` with `verdict: "fail"`; a request for changes by the reviewer's `phase-finished` over a `CHANGES_REQUESTED` review; the daemon's own move by a `checks-red` notice, whose reason names a conflict (`the head conflicts with <base>`), the required checks that failed (`CI is red at <head>`), or the merge queue's failed merge and its failing run (`the merge queue took pull request #<n> out at READY's head …`); a worker's `request_backward_move` by a `phase-finished` from the role that asked, whose reason reaches only the task of the worker the move started, so ask that worker; your own send-back from `accepting` by the reason you gave. The message's `<n> rounds counted` has already left the conflict rounds out, so judge the cap by it. Conflict returns need nothing from you beyond the next round. Tester fails, requests for changes and CI-red returns (a `checks-red` notice is raised for CI only when a required check fails on code the branch pushed, or when the merge queue fails the merge) are the rounds the cap is for. Each `review_round_cap` notice is a decision you make in the turn it wakes, never one left for the next round to make: read what every counted round found, choose one of the three below, act on it in the same turn, and post it as a `dispatch comment` on the issue naming the rounds you read and the choice. **Narrow**: the change itself is sound but each round finds more around it; tell the implementer and the reviewer (`envoy_publish` to each one's role topic) which checks the next round answers, dropping no requirement; a correctness finding is still fixed in this pull request, and so is a wording nit or any clear fix in a file it touches, so the `Fast-follow:` line carries only cleanup in files it does not touch. **Split**: part of the work cannot settle in this pull request. It is a child only when it needs a repository or a deploy order of its own (`skill://legion-architect`, section 1), and then it goes through the red-team check in `skill://legion-architect/references/decomposition.md` and is filed as a child of this issue's parent, never of this one, since this issue closes at its own merge. A requirement moves only to that released child. Work in a repository this tree already has a pull request in is no child and is not parked in `backlog`: write it into the spec of the issue whose pull request carries it, the parent's, or a sibling's when the parent's pull request is in another repository. On the root, open a `dispatch ask` for the part that cannot settle here (`skill://legion-worker/references/findings.md`): it stays this issue's requirement, and this pull request carries it, until the person who answers that ask records that the issue will not deliver it. **Accept the rounds**: each round found less than the one before it, and the last found no defect in the change itself (a stale line, a comment that states an old default); let the loop run and say why in the comment. A later notice is a new decision: accept again only when its round found less than the round you last accepted, and otherwise narrow or split. A finding that changes what the spec requires or what a check proves is a decision block in the root spec ("After approval" in `skill://legion-architect/references/design-gate.md`), and `dispatch ask` is only for a decision that needs a human's authority; neither replaces the choice. Judge a worker's backward move by the reason that worker gives. A move you ordered for a conflict found before `awaiting_merge` ("A conflicting head" in `skill://legion-architect/references/acceptance.md`) is a conflict return. The merger's move back to `reviewing` for a READY refusal (`READY_UNREVIEWED_CHANGE`, or `READY_NOT_APPROVED` when its task names no approved head), and the reviewer's no-fix request for changes that follows it so the tester runs the head, are not the work going in circles either. A move that sends back code found wrong counts with the tester fails. |
31
31
  | `pr-merged` | The pull request merged and the issue did not close; its `reason` says why. Merged before the issue reached `awaiting_merge`: the workflow runs on, and the merge closes the issue the moment it gets there, your acceptance and retro first. Merged while the rest of the tree still runs: the reason names the pull request and every issue the close waits for, and the root waits in `awaiting_merge`, its workers kept and live and no admission slot held, until the last of them is done or parked ("The close" in `skill://legion-architect/references/acceptance.md`). Either way you start nothing and no further notice follows. |
32
32
  | `pr-closed-unmerged` | Decide from current scope whether the work is reopened, started over (`park_child` then `rerun_child`, for a child), or ended with a reason. Delegate the repository action to the responsible phase worker and keep ownership. |
33
33
  | `pull-request-missing` | Its `reason` names the issue, the repository, the branch and the handoff commit: the issue's implementer completed at that commit and GitHub lists no open pull request on the branch, so the issue stays in `implementing`. Tell the implementer (`envoy_publish` to its role topic) to open the pull request from that branch; the daemon records it and moves the issue to `testing` once it is open. When the work should not go on, decide as the `pr-closed-unmerged` row says. It comes once per handoff commit. |
@@ -74,7 +74,7 @@ other change to the head voids it.
74
74
  workflow another repository defines), tell the architect and do not approve.
75
75
  Approval is refused while any `before_merge` check of the issue's own Verification document has no passing result that is current at the head being reviewed: `REQUEST_CHANGES` naming each such check by its block id, and `dispatch results --issue <issue>` is the read that decides it.
76
76
  An issue with no Verification document, or whose Verification document holds no `before_merge` check, is a gap you name in the review body, never a review that asks for changes: say which of the two it is, and tell the architect, who writes the checks. Your own findings and the checks that do exist still decide the review, and on an issue that has none the architect's acceptance is the gate.
77
- A result is current at that head while the head is the head of an open pull request, or the final head of a merged one, attributed to the check's own issue. A child's pull request never makes a root check's result current, and a child never records the result that proves a root's check. A child that carries part of a root's requirement proves it with a check on the child's own Verification document whose `serves` names that requirement, and that result is current at the child's head. A root's own checks are proven at the root's own head, or on the default branch for an `after_merge` check, in the root's last round.
77
+ A result is current at that head while the head is the head of an open pull request, or the final head of a merged one, attributed to the check's own issue. A child's pull request never makes a root check's result current, and a child never records the result that proves a root's check. A child that carries part of a root's requirement proves it with a check on the child's own Verification document whose `serves` names that requirement, and that result is current at the child's head. A root's own checks are proven at the root's own head, or, for an `after_merge` check, on the branch the root's pull request merged into or on the repository's default branch, in the root's last round.
78
78
  On a docs-only PR the `Thermo` line still records the simplify pass and the defects it
79
79
  reported, and its pair half reads `thermonuclear pair: not run (docs-only)`.
80
80
  Submit **one review per round** —
@@ -118,18 +118,22 @@ you can run is reported under *When no surface reaches the changed path* below,
118
118
 
119
119
  **A result is current** while its commit is still the head of an open pull request of the check's
120
120
  issue, or the final head of a merged one, and the check's words have not changed since; an
121
- `after_merge` or `default_branch` result is current at a commit the default branch carries. A push
122
- makes every result at the old head older, with no Dispatch write of anyone's, so each check is
123
- recorded again at the new head. `dispatch results --issue <issue>` prints each check with its
124
- latest result and whether it is current; `dispatch read --issue <issue>` names each requirement
125
- of the spec no check serves.
121
+ `after_merge` result is current at a commit the branch its own issue's pull request merged into
122
+ carries, or the repository's default branch does — that default branch alone where Dispatch knows
123
+ of no merge of that issue — and a `default_branch` result only at a commit the repository's
124
+ default branch carries.
125
+ A push makes every result at the old head older, with no Dispatch write of anyone's, so each
126
+ check is recorded again at the new head. `dispatch results --issue <issue>` prints each check
127
+ with its latest result and whether it is current; `dispatch read --issue <issue>` names each
128
+ requirement of the spec no check serves.
126
129
 
127
130
  **An issue is proved by its own checks.** Approval is gated by the `before_merge` checks of its
128
131
  own Verification document, read at its own head, so a child's pull request never makes a root
129
132
  check's result current and a child never records the result that proves a root's check. A child
130
133
  carrying part of a root's requirement proves it with a check on its own Verification document
131
- whose `serves` names that requirement. A root's own checks are proven at its own head, or on the
132
- default branch for an `after_merge` check, in its last round.
134
+ whose `serves` names that requirement. A root's own checks are proven at its own head, or, for
135
+ an `after_merge` check, on the branch the root's pull request merged into or on the repository's
136
+ default branch, in its last round.
133
137
 
134
138
  **An issue with no `before_merge` check is a named gap.** One with no Verification document, or
135
139
  with none holding a `before_merge` check, has no evidence of its own. The tester names the gap
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/claude-envoy",
3
- "version": "1.22.1",
3
+ "version": "1.23.1",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Claude Code plugin for Legion's Envoy bus",
6
6
  "type": "module",