@klaudworks/rmr 0.4.4 → 1.0.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/LICENSE +21 -0
- package/README.md +147 -18
- package/dist/index.js +1906 -1333
- package/examples/workflows/feature-dev/planner-agent.md +4 -0
- package/examples/workflows/feature-dev/review-agent.md +8 -0
- package/examples/workflows/feature-dev/tackle-agent.md +6 -0
- package/examples/workflows/feature-dev/workflow.yaml +19 -46
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -1
|
@@ -61,3 +61,11 @@ Use `<rmr:next_state>` to route the workflow.
|
|
|
61
61
|
- Add unrelated tests
|
|
62
62
|
- Approve changes that fail build or tests
|
|
63
63
|
- Skip or weaken tests to make the suite pass
|
|
64
|
+
|
|
65
|
+
## Context
|
|
66
|
+
|
|
67
|
+
Task: {{task}}
|
|
68
|
+
Plan: {{plan.plan}}
|
|
69
|
+
Developer summary: {{implement.summary}}
|
|
70
|
+
Commit: {{implement.commit}}
|
|
71
|
+
Tests: {{implement.tests}}
|
|
@@ -1,61 +1,34 @@
|
|
|
1
1
|
# Feature development workflow for rmr.
|
|
2
|
-
# Three
|
|
3
|
-
# The
|
|
2
|
+
# Three steps: plan (research + plan), implement, verify (review).
|
|
3
|
+
# The verify step can loop back to implement or escalate to human intervention.
|
|
4
4
|
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
# Variables reference step IDs: {{step_id.key}}
|
|
5
|
+
# Prompt files are co-located with this workflow in the same folder.
|
|
6
|
+
# Template variables reference step outputs: {{step_id.key}}
|
|
8
7
|
#
|
|
9
|
-
# Routing is controlled by <next_state> in agent output.
|
|
8
|
+
# Routing is controlled by <rmr:next_state> in agent output.
|
|
10
9
|
# The planner can reject a task by setting next_state=done.
|
|
11
10
|
# The reviewer can request changes by setting next_state=implement.
|
|
12
11
|
|
|
13
12
|
id: feature-dev
|
|
14
13
|
name: Feature Development
|
|
15
|
-
|
|
16
|
-
agents:
|
|
17
|
-
- id: planner
|
|
18
|
-
harness: claude
|
|
19
|
-
prompt: planner-agent.md
|
|
20
|
-
|
|
21
|
-
- id: developer
|
|
22
|
-
harness: claude
|
|
23
|
-
prompt: tackle-agent.md
|
|
24
|
-
|
|
25
|
-
- id: reviewer
|
|
26
|
-
harness: claude
|
|
27
|
-
prompt: review-agent.md
|
|
14
|
+
harness: claude
|
|
28
15
|
|
|
29
16
|
steps:
|
|
30
17
|
- id: plan
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
required: []
|
|
36
|
-
input: |
|
|
37
|
-
Task: {{task}}
|
|
18
|
+
prompt_file: planner-agent.md
|
|
19
|
+
next_step: implement
|
|
20
|
+
requires:
|
|
21
|
+
inputs: [task]
|
|
38
22
|
|
|
39
23
|
- id: implement
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
input: |
|
|
46
|
-
Task: {{task}}
|
|
47
|
-
Plan: {{plan.plan}}
|
|
48
|
-
Reviewer feedback: {{verify.issues}}
|
|
24
|
+
prompt_file: tackle-agent.md
|
|
25
|
+
next_step: verify
|
|
26
|
+
requires:
|
|
27
|
+
inputs: [task, plan.plan]
|
|
28
|
+
outputs: [summary]
|
|
49
29
|
|
|
50
30
|
- id: verify
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
required: []
|
|
56
|
-
input: |
|
|
57
|
-
Task: {{task}}
|
|
58
|
-
Plan: {{plan.plan}}
|
|
59
|
-
Developer summary: {{implement.summary}}
|
|
60
|
-
Commit: {{implement.commit}}
|
|
61
|
-
Tests: {{implement.tests}}
|
|
31
|
+
prompt_file: review-agent.md
|
|
32
|
+
next_step: done
|
|
33
|
+
requires:
|
|
34
|
+
inputs: [implement.summary]
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@klaudworks/rex",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@klaudworks/rex",
|
|
9
|
-
"version": "0.
|
|
9
|
+
"version": "1.0.0",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"clipanion": "^4.0.0-rc.4",
|
|
12
12
|
"yaml": "^2.8.2"
|
package/package.json
CHANGED