@herbcaudill/ralph 0.6.2 → 0.6.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@herbcaudill/ralph",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "Autonomous AI iteration engine for Claude CLI",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,22 +1,42 @@
1
1
  Before doing anything, run `pnpm build && pnpm test:all`.
2
2
 
3
- If there are build errors or test failures, fix them until the build succeeds and all tests pass. Commit your changes and end your turn.
3
+ If there are build errors or test failures:
4
4
 
5
- Otherwise, run `bd ready` to list unblocked issues.
5
+ - File an issue describing the errors.
6
+ - End your turn.
6
7
 
7
- If there are no open issues, immediately output <promise>COMPLETE</promise> and exit.
8
+ If there are no errors:
8
9
 
9
- Otherwise, find the highest-priority issue to work on, and work only on that task. Only work on a single issue in a single turn. If the issue you choose is complex, your task is to break it into sub-issues and then end your turn.
10
+ - Run `bd ready` to list unblocked issues.
10
11
 
11
- Mark the issue as in progress with `bd update <id> --status=in_progress`
12
+ If there are no open issues:
13
+
14
+ - Immediately output <promise>COMPLETE</promise>
15
+ - End your turn
16
+
17
+ If there are open issues:
18
+
19
+ - Find the highest-priority issue to work on. Use your best judgement.
20
+ - Output `✨ <task name>`.
21
+ - Mark the issue as in progress with `bd update <id> --status=in_progress`
22
+ - Work only on that task. Only work on a single issue in a single turn. If the issue you choose is complex, your task is to break it into sub-issues and then end your turn.
23
+ - While you're working, if you notice something else that needs to be done - follow-up tasks, other things that don't seem to be working right - open new issues.
24
+ - Where applicable, add tests to validate your changes and confirm that they pass.
25
+ - Update AGENTS.md with any relevant changes.
12
26
 
13
27
  When you complete a task:
14
28
 
15
- - Where applicable, add tests to validate your changes and confirm that they pass
16
- - Update AGENTS.md with any relevant changes
17
- - Run `pnpm build && pnpm test:all`
18
- - Run `pnpm format`
19
- - Close the issue: `bd close <id>`
20
- - Commit and push your work
21
- - Output "🚀"
22
- - End your turn
29
+ - Run `ppnpm format`.
30
+ - Run `pnpm build && pnpm test:all`.
31
+ - Commit and push your work.
32
+ - Record a summary of the changes you made as a comment in the issue with `bd comments <id> --add "...markdown summary of changes"`.
33
+ - Close the issue: `bd close <id>`.
34
+ - Output `✅ <task name>`.
35
+ - End your turn.
36
+
37
+ ### Commit message format
38
+
39
+ ```
40
+ <concise summary of changes> (<issue id>)
41
+ <more detailed summary of changes>
42
+ ```