@sjawhar/claude-envoy 5.12.5 → 5.14.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 +8 -8
- package/dist/dispatch.js +8 -8
- package/dist/envoy-channel.js +52 -18
- package/dist/session-hook.js +8 -8
- package/legion/skills/legion-architect/SKILL.md +76 -84
- package/legion/skills/legion-architect/references/acceptance.md +83 -79
- package/legion/skills/legion-architect/references/decomposition.md +73 -77
- package/legion/skills/legion-architect/references/design-gate.md +1 -1
- package/legion/skills/legion-architect/references/plan-changes.md +30 -0
- package/legion/skills/legion-architect/references/plan.md +66 -0
- package/legion/skills/legion-architect/references/wake-routing.md +28 -27
- package/legion/skills/legion-controller/references/admission.md +34 -10
- package/legion/skills/legion-controller/references/daily-report.md +57 -17
- package/legion/skills/legion-retro/SKILL.md +65 -60
- package/legion/skills/legion-retro/references/pr-body-content.md +22 -23
- package/legion/skills/legion-worker/SKILL.md +89 -21
- package/legion/skills/legion-worker/references/ci-checks.md +28 -7
- package/legion/skills/legion-worker/references/conflicts-and-rewrites.md +1 -1
- package/legion/skills/legion-worker/references/merge-gate.md +64 -25
- package/legion/skills/legion-worker/references/pr-body.md +22 -29
- package/legion/skills/legion-worker/references/results.md +50 -0
- package/legion/skills/legion-worker/references/review-threads.md +19 -4
- package/package.json +2 -2
|
@@ -1,122 +1,114 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: legion-architect
|
|
3
|
-
description: "Use when you are a Legion root or child architect, before any lifecycle action: decomposing or adopting children, the design gate, releasing children, a delivered wake, a worker's escalation, or accepting
|
|
3
|
+
description: "Use when you are a Legion root or child architect, before any lifecycle action: decomposing or adopting children, the design gate, an issue's plan, releasing children, a delivered wake, a worker's escalation, or accepting an issue's head."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Legion architect
|
|
7
7
|
|
|
8
|
-
You own one issue and every issue under it until the merge that closes it.
|
|
9
|
-
worker and moves every phase; you write no code.
|
|
10
|
-
skill the procedures.
|
|
8
|
+
You own one issue and every issue under it until the merge that closes it.
|
|
9
|
+
The daemon starts every worker and moves every phase; you write no code.
|
|
10
|
+
Your role prompt holds the lifecycle rules, this skill the procedures.
|
|
11
11
|
|
|
12
12
|
## Every turn
|
|
13
13
|
|
|
14
|
-
- Act on delivered
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
a child starts no wait, and the tree stands still.
|
|
20
|
-
each question to the architect above it with `envoy_publish`.
|
|
21
|
-
|
|
22
|
-
|
|
14
|
+
- Act on each delivered wake by its row in `skill://legion-architect/references/wake-routing.md`; build no wait loop.
|
|
15
|
+
|
|
16
|
+
- Check each claim against the code as fetched now (the default branch your addressing line names, or the head under review), and tell every reader you dispatch to do the same.
|
|
17
|
+
|
|
18
|
+
- Before you end a turn that waits on a person, make sure their question is open: a decision block, a `dispatch ask` or `dispatch request-approval`.
|
|
19
|
+
A root's questions go on the root: one on a child starts no wait, and the tree stands still.
|
|
20
|
+
A child's own architect opens none; it sends each question to the architect above it with `envoy_publish`.
|
|
21
|
+
|
|
22
|
+
- Message a role with `envoy_publish` to `notifications.role.<token>`, with a token from your addressing line or from `roleToken` in `@legion/contracts`: a typed token may reach nobody.
|
|
23
|
+
|
|
23
24
|
- The deployment instructions override this skill where they conflict.
|
|
24
25
|
|
|
25
26
|
## 1. Decompose or adopt
|
|
26
27
|
|
|
27
28
|
1. Read `STRATEGY.md` where the repository has one, and its design principles (`AGENTS.md` here).
|
|
28
|
-
Find the standard solution (a web search, and how two or three well-regarded projects solve it)
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
issue or in `plan.md`, with your reason wherever you do not follow it.
|
|
33
|
-
push-back or a review changes what the design is for.
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
`skill://legion-architect/references/decomposition.md`, "Creating children", says.
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
child's own architect sends such a surface up to the root's architect.
|
|
29
|
+
Find the standard solution (a web search, and how two or three well-regarded projects solve it) and cite it in the spec's `Design`.
|
|
30
|
+
Ask a person only what neither settles, with a recommendation.
|
|
31
|
+
|
|
32
|
+
2. Before you write a design, state the problem and the design principles, with no design of yours, to `task(agent="design-outsider")`, and read its answer with `wait`.
|
|
33
|
+
Record it on the issue or in `plan.md`, with your reason wherever you do not follow it.
|
|
34
|
+
Run it again when a push-back or a review changes what the design is for.
|
|
35
|
+
|
|
36
|
+
3. A root: write and edit the spec as `skill://legion-architect/references/design-gate.md` says, since any new version closes the gate.
|
|
37
|
+
A child: as `skill://legion-architect/references/decomposition.md`, "Creating children", says.
|
|
38
|
+
|
|
39
|
+
4. Decompose, adopt, split across repositories or record a wait on outside work as `skill://legion-architect/references/decomposition.md` says, red-team check first.
|
|
40
|
+
|
|
41
|
+
5. Before you write or give an issue's plan, read `skill://legion-architect/references/plan.md`:
|
|
42
|
+
a root's plan comes before `register_gate`, a child's before `release_children`, and an issue with none runs the default steps.
|
|
43
|
+
Before you stop a task or change a plan Legion runs, read `skill://legion-architect/references/plan-changes.md`.
|
|
44
|
+
|
|
45
|
+
6. File every child before `dispatch request-approval` (or `register_gate` where your line gates no step):
|
|
46
|
+
the gate's opening starts the root's own first phase, and a later child runs beside it.
|
|
47
|
+
|
|
48
|
+
- Mark each requirement as a `requirement` block and write `verification.md` beside the spec:
|
|
49
|
+
one `check` block per thing to prove, with `serves`, `surface` (`browser`, `cli` or `api`), `run`, `when` (`before_merge`, `after_merge` or `default_branch`) and `negative_control`.
|
|
50
|
+
A check carrying `ci_check` is CI's and takes no `run` (`skill://legion-architect/references/design-gate.md#a-check-ci-proves`).
|
|
51
|
+
|
|
52
|
+
- Where this tree builds or changes a page, screen or dashboard a person opens, that person sees it and answers before you request approval (`skill://legion-architect/references/design-gate.md`, "Show the surface before you ask").
|
|
53
|
+
A child's own architect sends such a surface up to the root's architect.
|
|
54
54
|
|
|
55
55
|
## 2. Children in flight
|
|
56
56
|
|
|
57
|
-
- A root releases no child until every gated step is open:
|
|
58
|
-
one step `gatedSteps` in `read_record` showing each `approved`.
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
whose blockers are not `done`.
|
|
64
|
-
|
|
57
|
+
- A root releases no child until every gated step is open:
|
|
58
|
+
`design-approved`, and under more than one step `gatedSteps` in `read_record` showing each `approved`.
|
|
59
|
+
|
|
60
|
+
- Set a child's dependencies as `skill://legion-architect/references/decomposition.md`, "Recording a wait on other work", says.
|
|
61
|
+
|
|
62
|
+
- Release each child once it is filed: `legion({ op: "release_children", issues: ["LEGION-41", "LEGION-42"] })`.
|
|
63
|
+
Legion holds a child whose blockers are not `done`.
|
|
64
|
+
Never hold a release back for a close: a child released after the root's merge runs as an orphan root.
|
|
65
|
+
Never block a child on its own parent, which merges last.
|
|
66
|
+
|
|
65
67
|
- On each `child-closed`, read the child's handoff, edit the specs of open children it changes.
|
|
66
68
|
|
|
67
69
|
## 3. Children complete
|
|
68
70
|
|
|
69
|
-
A parent's own first phase waits while Dispatch shows an open child under it (the `children-first`
|
|
70
|
-
row). A child filed after its parent started runs beside it, and the parent's sign-off waits for
|
|
71
|
-
its last round (section 4).
|
|
71
|
+
A parent's own first phase waits while Dispatch shows an open child under it (the `children-first` row).
|
|
72
72
|
|
|
73
73
|
## 4. Integration verification
|
|
74
74
|
|
|
75
|
-
- Prove every criterion of your issue in its own pull request,
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
- While the work is built, a role runs the application from the issue's branch and uses it as its
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
75
|
+
- Prove every criterion of your issue in its own pull request, from the evidence its task's steps give (`skill://legion-architect/references/acceptance.md`, "Accepting"), never in a child; never downgrade one.
|
|
76
|
+
A parent signs off only after its last round (`skill://legion-architect/references/acceptance.md`, "The last round").
|
|
77
|
+
|
|
78
|
+
- While the work is built, a role runs the application from the issue's branch and uses it as its user would:
|
|
79
|
+
a passing check does not show that a person can do their job with it.
|
|
80
|
+
|
|
81
|
+
- Where the work is a page or a tool a person uses, offer that person a running build before the review; the deployment instructions say how a pod runs one.
|
|
82
82
|
|
|
83
83
|
## 5. Retro
|
|
84
84
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
`skill://legion-architect/references/acceptance.md`, "Retro's result".
|
|
85
|
+
Where the task has `acceptance:owner`, your `sign_off` starts retro; without it, the last step starts retro.
|
|
86
|
+
Never message the implementer to start retro.
|
|
87
|
+
A retro that reports a defect holds its completion until you say whether it moves the issue back, which only retro can do while it holds the phase.
|
|
88
|
+
A retro that cannot write the body: `skill://legion-architect/references/acceptance.md`, "Retro's result".
|
|
89
89
|
|
|
90
90
|
## 6. Acceptance and the merge
|
|
91
91
|
|
|
92
|
-
In `accepting
|
|
93
|
-
check and
|
|
94
|
-
`skill://legion-architect/references/acceptance.md`, "Accepting", lists.
|
|
92
|
+
In `accepting`, which only a task naming `acceptance:owner` enters, no worker runs:
|
|
93
|
+
read, against the goal, every check and requirement in `skill://legion-architect/references/acceptance.md`, "Accepting".
|
|
95
94
|
|
|
96
|
-
Run
|
|
97
|
-
`before_merge` check at the
|
|
98
|
-
|
|
99
|
-
`
|
|
100
|
-
|
|
101
|
-
still going; a name no run answers is yours to correct in the check. Finding asks, refusals and
|
|
102
|
-
what follows: `skill://legion-architect/references/acceptance.md`.
|
|
95
|
+
Run `task(agent="goal-red-team")` as your role prompt says, then `wait` for its report.
|
|
96
|
+
Accept only when a pass stands for every `before_merge` check at the last step's head, every requirement has a check, and none is unmet or read narrower than written:
|
|
97
|
+
post a `dispatch comment` naming each check and its result, then `legion({ op: "sign_off", issue: "<KEY>" })`.
|
|
98
|
+
Wait for a `ci_check` run still going; a name no run answers is yours to correct in the check.
|
|
99
|
+
Finding asks, refusals and what follows: `skill://legion-architect/references/acceptance.md`.
|
|
103
100
|
|
|
104
101
|
## 7. Close
|
|
105
102
|
|
|
106
|
-
The merge closes the issue once every issue beneath it has left the workflow;
|
|
107
|
-
yours (`skill://legion-architect/references/acceptance.md`, "The close").
|
|
103
|
+
The merge closes the issue once every issue beneath it has left the workflow;
|
|
104
|
+
nothing after it is yours (`skill://legion-architect/references/acceptance.md`, "The close").
|
|
108
105
|
|
|
109
|
-
##
|
|
106
|
+
## Escalation judgment
|
|
110
107
|
|
|
111
|
-
|
|
108
|
+
- Send the controller (its topic is on your addressing line) a child that serves no criterion of the root, a need for admission slots, and two trees changing the same code.
|
|
112
109
|
|
|
113
|
-
|
|
110
|
+
- Carry a clear defect the controller gives you in this tree:
|
|
111
|
+
in an open pull request, or in a child after the red-team check; reply under its evidence comment with the issue that carries it.
|
|
112
|
+
It changes the root spec only where it changes the Summary, a requirement, a check or the scope (`skill://legion-architect/references/design-gate.md`, "After approval").
|
|
114
113
|
|
|
115
|
-
-
|
|
116
|
-
the root, a need for admission slots, and two trees changing the same code.
|
|
117
|
-
- A clear defect the controller gives you is this tree's work: an open pull request, or a child
|
|
118
|
-
after the red-team check; reply under its evidence comment with the issue that carries it. It
|
|
119
|
-
changes the root spec only where it changes the Summary, a requirement, a check or the scope
|
|
120
|
-
(`skill://legion-architect/references/design-gate.md`, "After approval").
|
|
121
|
-
- A tool a worker cannot get is a pull request to the worker image
|
|
122
|
-
(`skill://legion-worker/references/tools.md`).
|
|
114
|
+
- A tool a worker cannot get is a pull request to the worker image (`skill://legion-worker/references/tools.md`).
|
|
@@ -1,109 +1,113 @@
|
|
|
1
1
|
# Acceptance, the merge and the close
|
|
2
2
|
|
|
3
|
-
Read the section for your step of `skill://legion-architect`, sections 4 to 7.
|
|
4
|
-
ask a person, a child's own architect sends the question to the architect above it.
|
|
3
|
+
Read the section for your step of `skill://legion-architect`, sections 4 to 7.
|
|
4
|
+
Where it says to ask a person, a child's own architect sends the question to the architect above it.
|
|
5
5
|
|
|
6
6
|
## Retro's result
|
|
7
7
|
|
|
8
|
-
Retro
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
instructions, or open a `dispatch ask` naming the missing instruction.
|
|
8
|
+
Retro's output is in `skill://legion-retro`, steps 3 to 5.
|
|
9
|
+
When it reports that it cannot compute, read or write the pull request body, it is still in its phase:
|
|
10
|
+
answer it on its role topic from the deployment instructions, or open a `dispatch ask` naming the missing instruction.
|
|
12
11
|
|
|
13
12
|
## Accepting
|
|
14
13
|
|
|
14
|
+
Only a task whose `Steps:` line names `acceptance:owner` enters `accepting`.
|
|
15
15
|
Read, against the goal, every check and every requirement:
|
|
16
16
|
|
|
17
|
-
1. the tester's handoff: `dispatch handoff-read --issue <issue> --phase test`;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
-
|
|
28
|
-
|
|
29
|
-
- `
|
|
30
|
-
|
|
31
|
-
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
(`Filed dispatch://`, `Handed dispatch://` or `Not filed:`):
|
|
36
|
-
questions from the controller.
|
|
17
|
+
1. where the task has a tester step, the tester's handoff: `dispatch handoff-read --issue <issue> --phase test`;
|
|
18
|
+
|
|
19
|
+
2. `dispatch results --issue <issue>`: whether a pass stands for each check at the last step's head;
|
|
20
|
+
|
|
21
|
+
3. where the task has a reviewer step, the reviewer's approval of the head its Legion footer names, never its `commit_id` (`skill://legion-worker/references/merge-gate.md`);
|
|
22
|
+
|
|
23
|
+
4. where the task has a reviewer step, each claim of the reviewer's prose, against the code at that head;
|
|
24
|
+
|
|
25
|
+
5. `gh pr view <n> --json mergeable,mergeStateStatus`: a `CONFLICTING` head whose checks passed is accepted as any other, and the merger merges the base forward (*A conflicting head*, below).
|
|
26
|
+
|
|
27
|
+
- `sign_off` works only in `accepting`, where the Dispatch status reads `needs_review`; your `handoff_complete` there is refused (`ACCEPTANCE_IS_SIGN_OFF`).
|
|
28
|
+
|
|
29
|
+
- A `catch-up` whose `reason` names an issue waiting for your acceptance is its wake: the `phase-finished` may never have reached you.
|
|
30
|
+
|
|
31
|
+
- `SIGNOFF_CHILD_IN_WORKFLOW` names each issue beneath still in the workflow: run each to done, and sign off again.
|
|
32
|
+
|
|
33
|
+
- A finding ask holds the acceptance: one a worker sent you, or one `dispatch read` lists under `Open asks:` whose question opens `Finding from ` or `Clear defect from `.
|
|
34
|
+
Follow it (`dispatch follow --ask <id> --action follow`) and publish its reference to the controller topic.
|
|
35
|
+
Accept only once it is resolved, or carries the controller's reply (`Filed dispatch://`, `Handed dispatch://` or `Not filed:`):
|
|
36
|
+
a closed issue hides its open questions from the controller.
|
|
37
|
+
|
|
37
38
|
- No `after_merge` result is asked here; the production check records it after the close.
|
|
38
39
|
|
|
39
40
|
## The last round
|
|
40
41
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
close of each child it needs, at a commit on the branch that issue's pull request merged into or
|
|
44
|
-
|
|
45
|
-
deployed system is proven after that child's deploy, as the repository's deploy skill says.
|
|
46
|
-
child's result proves no check of the parent: a child carrying part of a parent's requirement
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
42
|
+
A parent has a last round only where its task names `acceptance:owner`.
|
|
43
|
+
Sign it off only on a head that carries the merges of every child its checks need.
|
|
44
|
+
Each check needs a pass at that head; one in another repository needs a pass standing since the close of each child it needs, at a commit on the branch that issue's pull request merged into or on its default branch;
|
|
45
|
+
a `default_branch` check needs the default branch.
|
|
46
|
+
A criterion proven on a deployed system is proven after that child's deploy, as the repository's deploy skill says.
|
|
47
|
+
A child's result proves no check of the parent: a child carrying part of a parent's requirement proves it with a check of its own whose `serves` names it.
|
|
48
|
+
Nothing builds on the parent's merge, which comes last.
|
|
49
|
+
Until those children close, leave the issue in `accepting`.
|
|
50
|
+
Then, in one turn:
|
|
51
|
+
|
|
52
|
+
1. Where the task has a tester step, `envoy_publish` to its tester's role topic:
|
|
53
|
+
"The next round of <KEY> is its last round: a full test round of every check of the issue with no `ci_check`."
|
|
54
|
+
With no tester step, the implementer's evidence for those checks at the merge head is the full round.
|
|
55
|
+
|
|
56
|
+
2. `request_backward_move` to `implementing`, with the reason "Last round:
|
|
57
|
+
merge the default branch your addressing line names into the branch, push, end your forward-merge comment with `parent's last round: full test round`, and complete."
|
|
58
|
+
Never hard-code `main`.
|
|
59
|
+
|
|
60
|
+
A child's merge while the parent waits needs no move of its own:
|
|
61
|
+
the last round's forward merge takes them all, and the daemon answers a conflict on its head (*A conflicting head*, below).
|
|
62
|
+
If the pull request merged before its last round, move nothing back. Once the children close:
|
|
63
|
+
|
|
64
|
+
1. Have a fresh `task` subagent run each check with no `ci_check` on the default branch and record each result, and `wait` for its report.
|
|
65
|
+
2. Read each `ci_check` result in `dispatch results`.
|
|
66
|
+
3. Post the results in the acceptance comment, then `sign_off`.
|
|
62
67
|
|
|
63
68
|
## After your sign-off
|
|
64
69
|
|
|
65
|
-
Retro runs, then the merger merges the
|
|
66
|
-
|
|
67
|
-
|
|
70
|
+
Retro runs, then the merger merges the last step's head under the repository's own rules; you start none of it.
|
|
71
|
+
A person's request after your sign-off is a requirement of this issue: the role that holds the phase makes the `request_backward_move`.
|
|
72
|
+
When the merger reports:
|
|
68
73
|
|
|
69
|
-
- the issue moved back with `request_backward_move`: its reason says why the fix is a change to
|
|
70
|
-
|
|
71
|
-
- a merge GitHub refuses for a repository setting or an App permission:
|
|
72
|
-
naming the pull request, the head and GitHub's refusal, and never bypass a rule;
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
74
|
+
- the issue moved back with `request_backward_move`: its reason says why the fix is a change to the change's own logic that no merge of the base resolves; you start nothing;
|
|
75
|
+
|
|
76
|
+
- a merge GitHub refuses for a repository setting or an App permission:
|
|
77
|
+
open a `dispatch ask` naming the pull request, the head and GitHub's refusal, and never bypass a rule;
|
|
78
|
+
|
|
79
|
+
- a required approving review that no reviewer step gave: open a `dispatch ask` naming the base rule.
|
|
80
|
+
Do not wait for a reviewer phase the task does not have;
|
|
81
|
+
|
|
82
|
+
- a squash into a base other than the default branch:
|
|
83
|
+
tell the implementer of each open pull request of the tree built on that branch whose issue is yours and still in `implementing` to merge that base forward in its implementing round.
|
|
84
|
+
Past `implementing`, the daemon asks for that merge itself, and past the review the merger makes it (*A conflicting head*, below).
|
|
77
85
|
|
|
78
86
|
## A conflicting head
|
|
79
87
|
|
|
80
|
-
A head that conflicts with its base keeps the issue in its phase.
|
|
81
|
-
the implementer to merge the base forward only when the next step needs a mergeable head (*The
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
Past review, the daemon also asks the reviewer to read the merge and approve the new head by its
|
|
92
|
-
SHA, or request changes; the merger merges the new head only once that approval is on the pull
|
|
93
|
-
request.
|
|
88
|
+
A head that conflicts with its base keeps the issue in its phase.
|
|
89
|
+
Before the review the daemon asks the implementer to merge the base forward only when the next step needs a mergeable head (*The daemon's ask* in `skill://legion-worker/references/conflicts-and-rewrites.md`).
|
|
90
|
+
A conflict it does not act on yet is recorded: the task's steps go on at that head, and a reviewer step's approval of it ends its review round.
|
|
91
|
+
Past the review the merge is the merger's: in `accepting` and `retro` the conflict waits, so accept the head as any other, and once the issue enters `merging` the daemon asks the merger to merge the base forward;
|
|
92
|
+
a check the base's newer code breaks is the merger's to fix in that merge too.
|
|
93
|
+
When it asks, the daemon tells you once by `checks-red`, naming the phase the issue stays in, the role asked, the head, the base and why; in `implementing` no notice comes.
|
|
94
|
+
You start nothing for the merge.
|
|
95
|
+
|
|
96
|
+
Past review, where the task has a reviewer step, the daemon also asks the reviewer to read the merge and approve the new head by its SHA, or request changes; the merger merges the new head only once that approval is on the pull request.
|
|
97
|
+
A task with no reviewer step has no review to await.
|
|
94
98
|
|
|
95
99
|
## A review thread GitHub will not resolve
|
|
96
100
|
|
|
97
|
-
Only the pull request author's App resolves a thread, so the implementer resolves them all.
|
|
98
|
-
GitHub refuses its `resolveReviewThread`, open a `dispatch ask` with the thread's URL and GitHub's
|
|
99
|
-
message, for a person to resolve it, with the options resolved and could not.
|
|
101
|
+
Only the pull request author's App resolves a thread, so the implementer resolves them all.
|
|
102
|
+
When GitHub refuses its `resolveReviewThread`, open a `dispatch ask` with the thread's URL and GitHub's message, for a person to resolve it, with the options resolved and could not.
|
|
100
103
|
|
|
101
104
|
## The close
|
|
102
105
|
|
|
103
|
-
The merge closes the issue (`done`).
|
|
104
|
-
|
|
106
|
+
The merge closes the issue (`done`).
|
|
107
|
+
The production check after the close is not yours.
|
|
108
|
+
A root's close lingers the tree for `linger_hours`.
|
|
105
109
|
|
|
106
110
|
## Hand-over at a root's linger
|
|
107
111
|
|
|
108
|
-
Ask the person whether a child's work must end with the root.
|
|
109
|
-
says what a `handed_over` catch-up asks of you.
|
|
112
|
+
Ask the person whether a child's work must end with the root.
|
|
113
|
+
Your role prompt says what a `handed_over` catch-up asks of you.
|