next-issue 7.8.4 → 7.8.6
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/README.md +3 -3
- package/dist/implement.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -105,9 +105,9 @@ the run handles one issue. For each issue:
|
|
|
105
105
|
questions in order, numbered by the harness. The harness reads the issue
|
|
106
106
|
again and adds the questions after any text under its `Open questions`
|
|
107
107
|
heading, or adds that heading at the end of the body when it has none.
|
|
108
|
-
When that body edit fails, the harness records a
|
|
109
|
-
event in the run log and still hands the issue over
|
|
110
|
-
the comment.
|
|
108
|
+
When that read or body edit fails, the harness records a
|
|
109
|
+
`questions.body-failed` event in the run log and still hands the issue over
|
|
110
|
+
with the questions in the comment.
|
|
111
111
|
5. Let the reviewer agent judge the diff, at most `diffMaxChars` of it. The
|
|
112
112
|
reviewer reads files and runs commands in the worktree, so it can prove a
|
|
113
113
|
finding with the tests or the type check. The harness then throws away every
|
package/dist/implement.mjs
CHANGED
|
@@ -31,8 +31,8 @@ async function askQuestions(job, before, questions) {
|
|
|
31
31
|
const { context, issue, log, worktree, branch } = job;
|
|
32
32
|
const { repo, ports } = context;
|
|
33
33
|
await ports.discardChanges(worktree, before, branch);
|
|
34
|
-
const fresh = await ports.viewIssue(repo, issue.number);
|
|
35
34
|
try {
|
|
35
|
+
const fresh = await ports.viewIssue(repo, issue.number);
|
|
36
36
|
await ports.editIssueBody(repo, issue.number, withOpenQuestions(fresh.body, questions));
|
|
37
37
|
}
|
|
38
38
|
catch (error) {
|