@sjawhar/pi-legion 10.0.0 → 10.2.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/dist/legion.js
CHANGED
|
@@ -14699,12 +14699,12 @@ var dispatchToolSpecs = [
|
|
|
14699
14699
|
{
|
|
14700
14700
|
name: "dispatch_request_approval",
|
|
14701
14701
|
example: { issue: "DSP-1", summary: "A live sync replaces the nightly export." },
|
|
14702
|
-
description: "Ask a human to approve a document at its current version. Before calling, have a fresh read-only reader check the spec against the code and the human's words, then resolve every finding; a Legion architect uses `plan-gap-analyst`. Opens an approval ask (Approve / " + "Request changes) in the human's Inbox whose question names the document and version, " + "followed by the summary; the answer pins a review to that version and arrives as " + "artifact.approved or artifact.changes_requested. An open request follows the document: a " + "later version moves it to that version and leaves it waiting on you, as a human's reply in " + "its thread does. Only the first move since the request was opened or handed back sends an " + "event, and never to the session whose version made it; dispatch doc-read shows whom it " + "waits on. Once the revision is complete and " + HUMAN_AGREED_TO_DOCUMENT + ", call this again to hand that same Inbox row back. The request carries nothing new. A " + "call while it already waits on the human hands nothing back: the same summary changes " + "nothing, and a different one is refused, since it would rewrite the card the human is " + "reading. Approve and Request changes each close the request, so the next call opens a new " + "one. Call it once per revision, when the revision is complete, never after each edit. An " + "approval goes stale when the document changes after it: request approval again once that " + "
|
|
14702
|
+
description: "Ask a human to approve a document at its current version. Before calling, have a fresh read-only reader check the spec against the code and the human's words, then resolve every finding; a Legion architect uses `plan-gap-analyst`. Opens an approval ask (Approve / " + "Request changes) in the human's Inbox whose question names the document and version, " + "followed by the summary; the answer pins a review to that version and arrives as " + "artifact.approved or artifact.changes_requested. An open request follows the document: a " + "later version moves it to that version and leaves it waiting on you, as a human's reply in " + "its thread does. Only the first move since the request was opened or handed back sends an " + "event, and never to the session whose version made it; dispatch doc-read shows whom it " + "waits on. Once the revision is complete and " + HUMAN_AGREED_TO_DOCUMENT + ", call this again to hand that same Inbox row back. The request carries nothing new. A " + "call while it already waits on the human hands nothing back: the same summary changes " + "nothing, and a different one is refused, since it would rewrite the card the human is " + "reading. Approve and Request changes each close the request, so the next call opens a new " + "one. Call it once per revision, when the revision is complete, never after each edit. An " + "approval goes stale when the document changes outside its decision blocks after it: " + "request approval again once that revision is complete and " + HUMAN_AGREED_TO_DOCUMENT + ", with a one-sentence summary naming what changed since the earlier approval: the card " + "names that approval (version, date, reviewer) and its Show diff control carries the detail. " + "A human's own answer to a decision block carries the approval to the version it writes when " + "that answer is the whole change since the approved version, so nothing is requested for " + "it. A new version of a Legion root spec closes its armed design gate until a human " + "approves it; the carried approval reopens it too. " + "Refused, with nothing sent, while the document holds an open decision block, even when a " + "human asked for approval: the refusal names each block; ask the human to answer or waive " + "it first. " + OWNER_REFERENCE,
|
|
14703
14703
|
arguments: (z2) => ({
|
|
14704
14704
|
issue: z2.string().describe(ISSUE_REFERENCE).optional(),
|
|
14705
14705
|
project: z2.string().describe("Project key owning the document.").optional(),
|
|
14706
14706
|
artifact: z2.string().describe("Project document artifact id, slug, or filename; primary document by default for an issue.").optional(),
|
|
14707
|
-
summary: z2.string({ min: 1 }).describe(`What the human is approving, in one to three sentences, and nothing else: no commentary on itself or the conversation, and no question. Request approval only once ${HUMAN_AGREED_TO_DOCUMENT}.`)
|
|
14707
|
+
summary: z2.string({ min: 1 }).describe(`What the human is approving, in one to three sentences, and nothing else: no commentary on itself or the conversation, and no question; after an earlier approval, one sentence naming what changed since it, since the card shows that approval and a diff. Request approval only once ${HUMAN_AGREED_TO_DOCUMENT}.`)
|
|
14708
14708
|
}),
|
|
14709
14709
|
validation: documentOwnerValidation(true)
|
|
14710
14710
|
},
|
|
@@ -16148,7 +16148,7 @@ function onEnvoyRoleRegained(listener) {
|
|
|
16148
16148
|
// package.json
|
|
16149
16149
|
var package_default = {
|
|
16150
16150
|
name: "@sjawhar/pi-legion",
|
|
16151
|
-
version: "10.
|
|
16151
|
+
version: "10.2.0",
|
|
16152
16152
|
license: "Apache-2.0",
|
|
16153
16153
|
type: "module",
|
|
16154
16154
|
omp: {
|
|
@@ -166,13 +166,27 @@ the code and command output it relies on, and the human's words, then resolve ev
|
|
|
166
166
|
**After approval, the root spec changes only when what the tree delivers, or a decision a human
|
|
167
167
|
settled, changes.** Approval is pinned to the spec version: any new version of the root spec closes
|
|
168
168
|
the gate again with no wake (you made the edit, or the `artifact.version` event on your issue tells
|
|
169
|
-
you)
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
169
|
+
you), except the version a human's own answer to a decision block writes when that answer is the
|
|
170
|
+
whole change since the version they approved: Dispatch then records an `approved` review in their
|
|
171
|
+
name pinned to the new version and emits `artifact.approved`, and the daemon reopens the gate and
|
|
172
|
+
sends `design-approved`. So edit an approved root spec only when its Summary, its Acceptance, the
|
|
173
|
+
tree's scope, or a decision a human settled in one of its decision blocks changes. Such a change is
|
|
174
|
+
a point the human has not agreed to: put the problem behind it to them as its own decision block,
|
|
175
|
+
with its evidence, at the end of the section it changes, and add nothing else to the spec, since
|
|
176
|
+
the question and its evidence go inside the block. An edit inside the block before the answer
|
|
177
|
+
closes the gate like any version and does not stop the answer carrying the approval. Once they have
|
|
178
|
+
answered, one of two follows. When the answer is the whole change, request nothing: the document's
|
|
179
|
+
chip reads Approved at the new version, its reviews dialog shows the review in their name, and the
|
|
180
|
+
`design-approved` the daemon sent opens nothing new — carry on, and release no wave because of it.
|
|
181
|
+
When the answer changes the Summary, the Acceptance or the tree's scope, rewrite that text and
|
|
182
|
+
repeat steps 3 through 5 on the new version, with a one-sentence `--summary` naming what changed
|
|
183
|
+
since the earlier approval (the card shows that approval, `Approved at version N on <date> by
|
|
184
|
+
<who>.`, and its `Show diff` control carries the detail); the rewrite closes the gate until they
|
|
185
|
+
approve, and what the daemon released at the answer stands. Release no new wave on the
|
|
186
|
+
`design-approved` the answer brought when a rewrite follows, and none until the next
|
|
187
|
+
`design-approved` after the rewrite — work already in flight continues. Every merger's `READY` in
|
|
188
|
+
the tree is refused until a human approves the latest version. A settled decision is the human's.
|
|
189
|
+
A plan that would overturn one goes back to
|
|
176
190
|
the planner with the decision kept, which asks the human nothing, unless the planner brings
|
|
177
191
|
evidence the human did not weigh that would change the decision, such as a measurement showing the
|
|
178
192
|
settled choice cannot meet the Acceptance; then that decision block names the decision and that
|
|
@@ -384,10 +398,10 @@ active phase worker.
|
|
|
384
398
|
| `child-status` | A child of your tree left the workflow or re-entered it; the notice's reason names the child and its new status. `todo` (a human's move, your `release_children`, or your `rerun_child`) means the child runs again under your tree from planning, and the daemon starts it; you start nothing. `backlog`, `icebox` or `triage` (a human's move, or your `park_child`) means the daemon has suspended the child's workers, and it advances no further until it is set back to `todo`. What the rest of the tree does is your decision. |
|
|
385
399
|
| `child-closed` | Read the child completion and remaining open children. Re-scope open work, park obsolete work with `park_child`, and release an appropriate next wave with `release_children`. When a worker waits on this child for a missing surface (see `phase-finished`), tell it to continue with `envoy_publish` to its role topic. The last child's close is not the end-game (section 3). |
|
|
386
400
|
| `child-release-stalled` | Its `reason` names a child your `release_children` released while Dispatch already showed it `todo`, and that child's parent, whose release has not reached the daemon after three tries. Check the parent's record in `legion state`; run `release_children` for the child again once the parent is recorded in your tree, and tell the controller if it never is. |
|
|
387
|
-
| `design-approved` | Its `version` is the approved one. A human approved the root spec document at its current version; the gate is open. Proceed to section 2 — 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. |
|
|
401
|
+
| `design-approved` | Its `version` is the approved one. A human approved the root spec document at its current version; the gate is open. Proceed to section 2 — 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, section 1), opens nothing new: carry on, and release no wave because of it. |
|
|
388
402
|
| `design-changes-requested` | Its `version` and `reason`. A human asked for changes to the root spec at `version`, for `reason`. Revise the spec as the reason asks and request approval again as section 1 says; stay parked; the gate is closed. |
|
|
389
403
|
| `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 committed handoff for the finishing phase; 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 section 1's full condition: when the approved Summary, Acceptance, scope and settled decisions still hold, the plan is the record; otherwise change the root spec and request approval again as section 1 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 daemon has started retro (step 5). An `implementer` notice for `production_check` is its production report: read the record on the pull request and the issue, then run step 7. A `tester` notice with `verdict: "fail"` — its handoff carries `implementerProof.verdict: "rejected"`, or a failure naming the production-like proof — has gone back to the **implementer** by the daemon's table; never supply the proof 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: file a child issue in this tree to build the surface (infrastructure, tooling, or a skill), and when that child's `child-closed` arrives, tell the waiting worker to continue with `envoy_publish` to its role topic. That report is never a reason to advance the phase. |
|
|
390
|
-
| `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 that changed something outside `.legion/` — handoff-only pushes (`.legion/` paths only) never count, a push by the review App (a planner's, tester's, reviewer's or architect's) never counts, and the head after a red the tester's red tests earned (a review-App push that changed a path outside `.legion/`, however many handoff-only pushes follow it) does not count either — so after the tester's handoff-only push onto the implementer's red, the implementer's next push does count; a push the daemon cannot classify (a listener without `changed_paths`, a list the listener stopped at 100 paths or 32,768 runes of text, a push listing no commits) does. 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, the tester's red tests and handoff onto the held red included) sends the work back from `testing` or `
|
|
404
|
+
| `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 that changed something outside `.legion/` — handoff-only pushes (`.legion/` paths only) never count, a push by the review App (a planner's, tester's, reviewer's or architect's) never counts, and the head after a red the tester's red tests earned (a review-App push that changed a path outside `.legion/`, however many handoff-only pushes follow it) does not count either — so after the tester's handoff-only push onto the implementer's red, the implementer's next push does count; a push the daemon cannot classify (a listener without `changed_paths`, a list the listener stopped at 100 paths or 32,768 runes of text, a push listing no commits) does. 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, the tester's red tests and handoff onto the held red included) sends the work back from `testing`, `reviewing`, `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 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; or file a corrective child. 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, as section 6 does for a conflict there. 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 either a conflict (`the head conflicts with <base>`) or the required checks that failed (`CI is red at <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. 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) are the work going in circles: narrow it, re-plan it with the responsible worker, or ask a human with `dispatch ask`. Judge a worker's backward move by the reason that worker gives. A move you ordered for a conflict found before `awaiting_merge` (section 6) is a conflict return. The merger's move back to `reviewing` because its task names no approved head is not the work going in circles either. A move that sends back code found wrong counts with the tester fails. |
|
|
391
405
|
| `pr-merged` | Its `reason` names the pull request. The PR merged, under the repository's rules, before the issue reached `awaiting_merge`. The workflow runs on and asks no one to merge it: the daemon starts the **implementer** on the production check once the issue gets there, and you start nothing. Its `phase-finished` for `production_check` is what brings you to step 7: verify the record on the pull request and this issue first, then sign off naming it with `sign_off`. A merge is not the close. |
|
|
392
406
|
| `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. |
|
|
393
407
|
| A reply on an ask you follow | Interpret the reply in the issue's design context. Answer in its thread (`dispatch comment --reply-to <comment id>`; under an open ask whose next move is yours, such as the approval request you must revise or hand back, `--reply-to-ask <ask id> --turn agent`, since a default-turn reply hands that request back to the human and a corrected `--summary` is then refused), then adjust the plan or relay it via `envoy_publish` to the responsible worker's role token; scope and product decisions remain with you. |
|
|
@@ -118,9 +118,12 @@ turn, including one an Envoy question starts: you are kept alive to answer quest
|
|
|
118
118
|
editing. Do not create new commits, run `jj -R "$LEGION_WORKSPACE" new`, or touch tracked files
|
|
119
119
|
once your own handoff is committed and pushed — a code change belongs to
|
|
120
120
|
whichever phase is active now. The same holds once the Go daemon has taken your phase back without
|
|
121
|
-
your completion: CI settling red while you tested,
|
|
122
|
-
moves the issue to `implementing` and interrupts your turn, and the implementer starts
|
|
123
|
-
that turn has ended. Do not resume the interrupted work afterward.
|
|
121
|
+
your completion: CI settling red while you tested, reviewed a round you had not completed, or
|
|
122
|
+
built READY, moves the issue to `implementing` and interrupts your turn, and the implementer starts
|
|
123
|
+
only once that turn has ended. Do not resume the interrupted work afterward. From retro the
|
|
124
|
+
issue moves the same way with nothing interrupted: you are the implementer, handed the implementing
|
|
125
|
+
task once your turn ends; a retro completion started after the move is refused, and one in flight
|
|
126
|
+
when the red lands can be taken as your implementing completion, caught by the tester's CI read.
|
|
124
127
|
|
|
125
128
|
On every start, and especially after revival or re-creation, read the issue and then the
|
|
126
129
|
committed predecessor handoffs in lifecycle order, with the `read` tool from
|
|
@@ -437,8 +440,8 @@ record of this issue's active phase. Do not add pipeline labels, run a controlle
|
|
|
437
440
|
invent a different completion protocol — this is the whole contract.
|
|
438
441
|
|
|
439
442
|
A reviewer's phase ends with its completion, not with its review; the order of a review round
|
|
440
|
-
(the
|
|
441
|
-
the completion) is in `skill://legion-worker/references/merge-gate.md`.
|
|
443
|
+
(the read of the code commit's checks on GitHub; the handoff push; the review of the head that
|
|
444
|
+
push made; then the completion) is in `skill://legion-worker/references/merge-gate.md`.
|
|
442
445
|
|
|
443
446
|
**A refused completion is information, not a retry loop.** The daemon attributes your report to
|
|
444
447
|
the run whose task you took, and answers with what it found. What each answer carries, and what to
|
|
@@ -20,7 +20,33 @@ the head voids it.
|
|
|
20
20
|
- The reviewer verifies the `CI`, `Threads`, and `E2E` facts against GitHub directly —
|
|
21
21
|
never from a handoff — then runs `task(agent="thermonuclear-deep-review")` and
|
|
22
22
|
`task(agent="thermonuclear-code-quality")` once at that head — the head the round reviews —
|
|
23
|
-
and records the verdict.
|
|
23
|
+
and records the verdict. The `CI` fact is the checks that stand for the code under review:
|
|
24
|
+
those GitHub ran for the newest push of the branch that started `pull_request` workflows, when
|
|
25
|
+
every commit above that push's head changes only `.legion/` (a push that changes only
|
|
26
|
+
`.legion/` carries `skip-checks: true`, so GitHub runs no workflow for it). With `<o>/<r>`,
|
|
27
|
+
`<n>`, `<base>`, `<headRefName>` and `<headRefOid>` from
|
|
28
|
+
`gh pr view <n> --json baseRefName,headRefOid,headRefName`, four reads. The required set, from
|
|
29
|
+
the base branch's rulesets
|
|
30
|
+
(`gh api repos/<o>/<r>/rules/branches/<base> --jq '.[] | select(.type=="required_status_checks") | .parameters.required_status_checks[].context'`)
|
|
31
|
+
and its branch protection, when it has any
|
|
32
|
+
(`gh api repos/<o>/<r>/branches/<base> --jq '.protection.required_status_checks.checks[].context'`);
|
|
33
|
+
a read GitHub refuses is reported to the architect, never guessed. The CI head, the head of the
|
|
34
|
+
branch's newest `pull_request` run
|
|
35
|
+
(`gh api 'repos/<o>/<r>/actions/runs?branch=<headRefName>&event=pull_request&per_page=30' --jq '.workflow_runs[0].head_sha'`,
|
|
36
|
+
newest first); the PR body's `CI:` line names runs at that same commit
|
|
37
|
+
(`gh run view <run-id> --json headSha,status,conclusion`), or the line is stale and the review
|
|
38
|
+
says so. That commit's check-runs
|
|
39
|
+
(`gh api repos/<o>/<r>/commits/<ci head>/check-runs --paginate --jq '.check_runs[] | [.name, .status, .conclusion] | @tsv'`):
|
|
40
|
+
every required name present, `completed` and `success` (GitHub counts `neutral` and `skipped`
|
|
41
|
+
as passing for a required check). And the compare proving only `.legion/` changed since
|
|
42
|
+
(`gh api repos/<o>/<r>/compare/<ci head>...<headRefOid> --jq '[.files[].filename] | all(startswith(".legion/"))'`
|
|
43
|
+
prints `true`; `false` means code was pushed since CI ran, so wait for the new push's runs and
|
|
44
|
+
read the CI head again). A required check `queued` or `in_progress`: wait. One `completed` as
|
|
45
|
+
`cancelled`, or absent: `gh run rerun <run-id>` once, then wait; when nothing will run it (a
|
|
46
|
+
check only a commit status reports, a workflow another repository defines), tell the architect
|
|
47
|
+
and do not approve. `gh pr checks <n>` is not the read: it reads only the current head, which
|
|
48
|
+
at a handoff head shows only the `pr-title` runs the review events start (measured on
|
|
49
|
+
sjawhar/legion#1944 at 0220b94fc2 on 2026-10-14).
|
|
24
50
|
Approval is refused while either `E2E (implementer)` or `E2E (tester)` is missing: `REQUEST_CHANGES` naming the missing line.
|
|
25
51
|
Skip the `Thermo` line entirely on a docs-only PR. Submit **one review per round** —
|
|
26
52
|
`REQUEST_CHANGES` when any correctness finding stands, otherwise `APPROVE` of the head you
|
|
@@ -42,25 +68,17 @@ the head voids it.
|
|
|
42
68
|
when every thread is settled enough to approve, and resolving one never gates your approval.
|
|
43
69
|
|
|
44
70
|
A reviewer's phase ends with its completion, not with its review. Every round writes a handoff
|
|
45
|
-
and takes this order: write, commit and push the handoff; submit the review of
|
|
46
|
-
made, by its SHA; then complete.
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
reviewing
|
|
56
|
-
READY checks: red when one of them failed, and never red for a check the base branch does not
|
|
57
|
-
require. A required check that was cancelled, or that the head's checks
|
|
58
|
-
settled without, leaves no verdict until a later settlement decides it, since a run can be
|
|
59
|
-
cancelled or not yet queued when the head settles; a required workflow's run on the head that is
|
|
60
|
-
still going or has not happened leaves none either. A review of a head the handoff push
|
|
61
|
-
then replaces names a head the pull request no longer has. The daemon moves the issue
|
|
62
|
-
once both are in — the decision GitHub reports and your completion, in either order — so a
|
|
63
|
-
review posted without a completion leaves the issue in reviewing until you finish.
|
|
71
|
+
and takes this order: read CI as above; write, commit and push the handoff; submit the review of
|
|
72
|
+
the head that push made, by its SHA; then complete. A red at the code is a `REQUEST_CHANGES`
|
|
73
|
+
naming the check, never an approval. A request for changes does not wait, since it stands
|
|
74
|
+
whatever CI says and the issue leaves reviewing with it. The approval waits on nothing at the
|
|
75
|
+
handoff commit either: it ends the round whatever CI says there, since the round reads no CI
|
|
76
|
+
verdict, and a red the daemon reads later — at that commit or any above it — is the code's red
|
|
77
|
+
and resumes the implementer from wherever the issue is (reviewing, retro or merging) without the
|
|
78
|
+
reviewer. A review of a head the handoff push then replaces names a head the pull request no
|
|
79
|
+
longer has. The daemon moves the issue once both are in — the decision GitHub reports and your
|
|
80
|
+
completion, in either order — so a review posted without a completion leaves the issue in
|
|
81
|
+
reviewing until you finish.
|
|
64
82
|
|
|
65
83
|
## Retro
|
|
66
84
|
|
|
@@ -67,11 +67,8 @@ opened that is none of Legion's role Apps, with one reply in your own words. A b
|
|
|
67
67
|
cannot accept becomes your own: say what stands and request changes. Approve once each of those
|
|
68
68
|
threads carries your answer and no finding stands, read in `gh api graphql` — quote those answers
|
|
69
69
|
in the approval. Your approval never waits on a resolution: resolution is the pull request author's
|
|
70
|
-
App's
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
that push starts reads the threads as the implementer left them; then re-run the failed run once,
|
|
76
|
-
as your role prompt says, before you approve. The merger resolves nothing: READY requires no thread
|
|
77
|
-
state beyond what your approval already judged.
|
|
70
|
+
App's. A review bot that is red while a thread it opened still stands is CI like any other, and
|
|
71
|
+
you re-run nothing: when the base branch requires its check, that red sends the work back to the
|
|
72
|
+
implementer, who answers or fixes each of the bot's threads, resolves them with its own `gh` (the
|
|
73
|
+
ones you named to it, above, and its own), and pushes, and the bot runs again on that push. The
|
|
74
|
+
merger resolves nothing: READY requires no thread state beyond what your approval already judged.
|