next-issue 14.4.23 → 14.5.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/README.md +1 -1
- package/dist/shared/prompts.mjs +3 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ A small harness that works through the open issues of a GitHub repository with t
|
|
|
6
6
|
|
|
7
7
|
The harness claims the oldest open issue with the `status:todo` label and gives it its own git worktree and branch. An implementer agent does the work and the harness commits it. A reviewer agent judges the diff, and a fixer agent deals with any open finding, and the review runs again. With no open finding left, the harness rebases the change onto the base branch as one commit, pushes it there with no pull request and waits for the checks of that commit. On a red build the harness reruns the failed jobs of each failed workflow run once, and only a run that fails again goes to the fixer, whose fix lands the same way. When the checks pass, the issue is closed and gets `status:done`. When a budget runs out or the work cannot go on, the issue gets `status:needs-human` and goes to a person. Then the harness takes the next issue.
|
|
8
8
|
|
|
9
|
-
The harness is built for a flow with as few people in it as possible: people write issues and answer hand-overs, and the harness does the rest. [ADR
|
|
9
|
+
The harness is built for a flow with as few people in it as possible: people write issues and answer hand-overs, and the harness does the rest. [ADR 0002](https://github.com/ravshansbox/next-issue/blob/main/docs/adr/0002-humanless-flow.md) records this principle, its accepted risks and the setup it recommends.
|
|
10
10
|
|
|
11
11
|
```mermaid
|
|
12
12
|
flowchart TD
|
package/dist/shared/prompts.mjs
CHANGED
|
@@ -226,6 +226,9 @@ export function history(rounds) {
|
|
|
226
226
|
const HUNT_DEFAULT = [
|
|
227
227
|
'Read the whole repository and look for bugs: wrong results, unhandled errors, races, security holes and documentation that contradicts the code.',
|
|
228
228
|
'Prove each finding from the code. A guess is not a finding.',
|
|
229
|
+
'File only a finding that a user hits in normal use. Name the steps of that use and what goes wrong for the user. Leave out a finding that needs an unusual mix of signals, timings, stops or failures.',
|
|
230
|
+
'Start the `## Problem` section with a `Severity: high`, `Severity: medium` or `Severity: low` line, and file only high findings. A finding is high when a user in normal use loses work, gets a wrong result or has a run, a push or the base branch break.',
|
|
231
|
+
'When the bug is in code that was added to fix an earlier issue, propose to remove or simplify that code instead of adding another guard, and name the earlier issue.',
|
|
229
232
|
].join('\n');
|
|
230
233
|
export function huntPrompt(instructions, ready, source, count, repository) {
|
|
231
234
|
const issues = count === 1 ? '1 issue' : `${count} issues`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "next-issue",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.5.0",
|
|
4
4
|
"description": "Autonomous issue harness driven by the Claude Agent SDK",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"github",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"node": ">=24"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
|
-
"build": "tsc -p tsconfig.build.json",
|
|
34
|
+
"build": "node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\" && tsc -p tsconfig.build.json",
|
|
35
35
|
"start": "node src/cli.mts",
|
|
36
36
|
"test": "node --test \"test/**/*.test.mts\"",
|
|
37
37
|
"typecheck": "tsc --noEmit",
|