@wichayutdew/pi-workflows 2.0.0 → 2.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/README.md
CHANGED
|
@@ -71,6 +71,14 @@ user-owned starting point for:
|
|
|
71
71
|
| `/mr-review` | Fetch a hosted review, produce a child review, approve it, publish it, and verify the remote effect. |
|
|
72
72
|
| `/mr-comment` | Fetch review comments, plan and approve fixes, edit only the current branch/worktree, verify, push, reply. |
|
|
73
73
|
|
|
74
|
+
The starter YAML explicitly selects Pi Subagents' standard role profiles:
|
|
75
|
+
`scout` for evidence gathering, `planner` for implementation plans, `worker`
|
|
76
|
+
for mutations and publication, and `reviewer` for independent review and
|
|
77
|
+
verification. Change those `subagent.agent` values when your own Pi Subagents
|
|
78
|
+
configuration uses different profiles. The generic `pi-workflows.step` profile
|
|
79
|
+
remains available for user-authored `subagent: {}` steps, but the starter kit
|
|
80
|
+
does not rely on it.
|
|
81
|
+
|
|
74
82
|
Install the integrations required by these four examples:
|
|
75
83
|
|
|
76
84
|
```bash
|
|
@@ -11,7 +11,7 @@ steps:
|
|
|
11
11
|
prompt:
|
|
12
12
|
file: steps/mr-comment/fetch.md
|
|
13
13
|
subagent:
|
|
14
|
-
agent:
|
|
14
|
+
agent: scout
|
|
15
15
|
context: fresh
|
|
16
16
|
timeoutMs: 1800000
|
|
17
17
|
permissions:
|
|
@@ -49,7 +49,7 @@ steps:
|
|
|
49
49
|
prompt:
|
|
50
50
|
file: steps/mr-comment/plan.md
|
|
51
51
|
subagent:
|
|
52
|
-
agent:
|
|
52
|
+
agent: planner
|
|
53
53
|
context: fresh
|
|
54
54
|
timeoutMs: 1800000
|
|
55
55
|
permissions:
|
|
@@ -84,7 +84,7 @@ steps:
|
|
|
84
84
|
prompt:
|
|
85
85
|
file: steps/mr-comment/implement.md
|
|
86
86
|
subagent:
|
|
87
|
-
agent:
|
|
87
|
+
agent: worker
|
|
88
88
|
context: fresh
|
|
89
89
|
timeoutMs: 7200000
|
|
90
90
|
artifacts: true
|
|
@@ -104,7 +104,7 @@ steps:
|
|
|
104
104
|
prompt:
|
|
105
105
|
file: steps/mr-comment/verify.md
|
|
106
106
|
subagent:
|
|
107
|
-
agent:
|
|
107
|
+
agent: reviewer
|
|
108
108
|
context: fresh
|
|
109
109
|
timeoutMs: 3600000
|
|
110
110
|
permissions:
|
|
@@ -125,7 +125,7 @@ steps:
|
|
|
125
125
|
prompt:
|
|
126
126
|
file: steps/mr-comment/publish.md
|
|
127
127
|
subagent:
|
|
128
|
-
agent:
|
|
128
|
+
agent: worker
|
|
129
129
|
context: fresh
|
|
130
130
|
timeoutMs: 1800000
|
|
131
131
|
permissions:
|
|
@@ -11,7 +11,7 @@ steps:
|
|
|
11
11
|
prompt:
|
|
12
12
|
file: steps/mr-review/fetch.md
|
|
13
13
|
subagent:
|
|
14
|
-
agent:
|
|
14
|
+
agent: scout
|
|
15
15
|
context: fresh
|
|
16
16
|
timeoutMs: 1800000
|
|
17
17
|
permissions:
|
|
@@ -49,7 +49,7 @@ steps:
|
|
|
49
49
|
prompt:
|
|
50
50
|
file: steps/mr-review/review.md
|
|
51
51
|
subagent:
|
|
52
|
-
agent:
|
|
52
|
+
agent: reviewer
|
|
53
53
|
context: fresh
|
|
54
54
|
timeoutMs: 1800000
|
|
55
55
|
permissions:
|
|
@@ -84,7 +84,7 @@ steps:
|
|
|
84
84
|
prompt:
|
|
85
85
|
file: steps/mr-review/publish.md
|
|
86
86
|
subagent:
|
|
87
|
-
agent:
|
|
87
|
+
agent: worker
|
|
88
88
|
context: fresh
|
|
89
89
|
timeoutMs: 900000
|
|
90
90
|
permissions:
|
|
@@ -109,7 +109,7 @@ steps:
|
|
|
109
109
|
prompt:
|
|
110
110
|
file: steps/mr-review/verify.md
|
|
111
111
|
subagent:
|
|
112
|
-
agent:
|
|
112
|
+
agent: reviewer
|
|
113
113
|
context: fresh
|
|
114
114
|
timeoutMs: 900000
|
|
115
115
|
permissions:
|
|
@@ -11,7 +11,7 @@ steps:
|
|
|
11
11
|
prompt:
|
|
12
12
|
file: steps/shared/prepare-workspace.md
|
|
13
13
|
subagent:
|
|
14
|
-
agent:
|
|
14
|
+
agent: worker
|
|
15
15
|
context: fresh
|
|
16
16
|
timeoutMs: 900000
|
|
17
17
|
workspace:
|
|
@@ -32,7 +32,7 @@ steps:
|
|
|
32
32
|
prompt:
|
|
33
33
|
file: steps/ticket/plan.md
|
|
34
34
|
subagent:
|
|
35
|
-
agent:
|
|
35
|
+
agent: planner
|
|
36
36
|
context: fresh
|
|
37
37
|
timeoutMs: 1200000
|
|
38
38
|
permissions:
|
|
@@ -64,7 +64,7 @@ steps:
|
|
|
64
64
|
prompt:
|
|
65
65
|
file: steps/ticket/implement.md
|
|
66
66
|
subagent:
|
|
67
|
-
agent:
|
|
67
|
+
agent: worker
|
|
68
68
|
context: fresh
|
|
69
69
|
timeoutMs: 7200000
|
|
70
70
|
artifacts: true
|
|
@@ -84,7 +84,7 @@ steps:
|
|
|
84
84
|
prompt:
|
|
85
85
|
file: steps/ticket/verify.md
|
|
86
86
|
subagent:
|
|
87
|
-
agent:
|
|
87
|
+
agent: reviewer
|
|
88
88
|
context: fresh
|
|
89
89
|
timeoutMs: 3600000
|
|
90
90
|
permissions:
|
|
@@ -11,7 +11,7 @@ steps:
|
|
|
11
11
|
prompt:
|
|
12
12
|
file: steps/shared/prepare-workspace.md
|
|
13
13
|
subagent:
|
|
14
|
-
agent:
|
|
14
|
+
agent: worker
|
|
15
15
|
context: fresh
|
|
16
16
|
timeoutMs: 900000
|
|
17
17
|
workspace:
|
|
@@ -32,7 +32,7 @@ steps:
|
|
|
32
32
|
prompt:
|
|
33
33
|
file: steps/work/plan.md
|
|
34
34
|
subagent:
|
|
35
|
-
agent:
|
|
35
|
+
agent: planner
|
|
36
36
|
context: fresh
|
|
37
37
|
timeoutMs: 1200000
|
|
38
38
|
permissions:
|
|
@@ -63,7 +63,7 @@ steps:
|
|
|
63
63
|
prompt:
|
|
64
64
|
file: steps/work/implement.md
|
|
65
65
|
subagent:
|
|
66
|
-
agent:
|
|
66
|
+
agent: worker
|
|
67
67
|
context: fresh
|
|
68
68
|
timeoutMs: 7200000
|
|
69
69
|
artifacts: true
|
|
@@ -82,7 +82,7 @@ steps:
|
|
|
82
82
|
prompt:
|
|
83
83
|
file: steps/work/verify.md
|
|
84
84
|
subagent:
|
|
85
|
-
agent:
|
|
85
|
+
agent: reviewer
|
|
86
86
|
context: fresh
|
|
87
87
|
timeoutMs: 3600000
|
|
88
88
|
permissions:
|