@klaudworks/rmr 0.4.5 → 1.0.1
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 +1905 -1229
- 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 +14 -52
- 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,23 @@
|
|
|
1
|
-
# Feature development workflow for rmr.
|
|
2
|
-
# Three agents: planner (research + plan), tackle (implement), review (verify).
|
|
3
|
-
# The review step can loop back to implement or escalate to human intervention.
|
|
4
|
-
#
|
|
5
|
-
# Agent prompts are co-located with this workflow in the same folder.
|
|
6
|
-
# Step inputs only pass dynamic context (variables from prior steps).
|
|
7
|
-
# Variables reference step IDs: {{step_id.key}}
|
|
8
|
-
#
|
|
9
|
-
# Routing is controlled by <next_state> in agent output.
|
|
10
|
-
# The planner can reject a task by setting next_state=done.
|
|
11
|
-
# The reviewer can request changes by setting next_state=implement.
|
|
12
|
-
|
|
13
1
|
id: feature-dev
|
|
14
2
|
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
|
|
3
|
+
harness: claude
|
|
28
4
|
|
|
29
5
|
steps:
|
|
30
6
|
- id: plan
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
required: []
|
|
36
|
-
input: |
|
|
37
|
-
Task: {{task}}
|
|
7
|
+
prompt_file: planner-agent.md
|
|
8
|
+
next_step: implement
|
|
9
|
+
requires:
|
|
10
|
+
inputs: [task]
|
|
38
11
|
|
|
39
12
|
- id: implement
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
input: |
|
|
46
|
-
Task: {{task}}
|
|
47
|
-
Plan: {{plan.plan}}
|
|
48
|
-
Reviewer feedback: {{verify.issues}}
|
|
13
|
+
prompt_file: tackle-agent.md
|
|
14
|
+
next_step: verify
|
|
15
|
+
requires:
|
|
16
|
+
inputs: [task, plan.plan]
|
|
17
|
+
outputs: [summary]
|
|
49
18
|
|
|
50
19
|
- 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}}
|
|
20
|
+
prompt_file: review-agent.md
|
|
21
|
+
next_step: done
|
|
22
|
+
requires:
|
|
23
|
+
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.1",
|
|
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.1",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"clipanion": "^4.0.0-rc.4",
|
|
12
12
|
"yaml": "^2.8.2"
|
package/package.json
CHANGED