@wichayutdew/pi-workflows 3.3.0 → 3.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/dist/index.js +8 -2
- package/examples/starter-kit/agents/reviewer.md +1 -1
- package/examples/starter-kit/settings.yaml +0 -1
- package/examples/starter-kit/steps/work/implement.md +1 -0
- package/examples/starter-kit/steps/work/intake.md +5 -0
- package/examples/starter-kit/steps/work/plan.md +17 -51
- package/examples/starter-kit/steps/work/prepare-workspace.md +8 -0
- package/examples/starter-kit/steps/work//363/260/215/224 publish-remote.md" +16 -0
- package/examples/starter-kit/work.workflow.yaml +60 -32
- package/package.json +1 -1
- package/src/prompt/step-task.ts +2 -0
- package/src/workflow-status/render-step-detail.ts +11 -4
- package/examples/starter-kit/investigate.workflow.yaml +0 -84
- package/examples/starter-kit/jira.workflow.yaml +0 -75
- package/examples/starter-kit/mr-comment.workflow.yaml +0 -142
- package/examples/starter-kit/mr-review.workflow.yaml +0 -96
- package/examples/starter-kit/steps/investigate/investigate.md +0 -40
- package/examples/starter-kit/steps/investigate/retrieve.md +0 -28
- package/examples/starter-kit/steps/investigate/validate.md +0 -20
- package/examples/starter-kit/steps/jira/create.md +0 -25
- package/examples/starter-kit/steps/jira/draft.md +0 -18
- package/examples/starter-kit/steps/jira/plan.md +0 -30
- package/examples/starter-kit/steps/mr-comment/checkout-source.md +0 -14
- package/examples/starter-kit/steps/mr-comment/fetch.md +0 -16
- package/examples/starter-kit/steps/mr-comment/implement.md +0 -21
- package/examples/starter-kit/steps/mr-comment/plan.md +0 -61
- package/examples/starter-kit/steps/mr-comment/publish.md +0 -17
- package/examples/starter-kit/steps/mr-comment/verify.md +0 -16
- package/examples/starter-kit/steps/mr-review/fetch.md +0 -17
- package/examples/starter-kit/steps/mr-review/publish-approved.md +0 -18
- package/examples/starter-kit/steps/mr-review/review-for-approval.md +0 -53
- package/examples/starter-kit/steps/mr-review/verify-published.md +0 -16
- package/examples/starter-kit/steps/shared/prepare-workspace.md +0 -17
- package/examples/starter-kit/steps/shared/publish-remote.md +0 -16
- package/examples/starter-kit/steps/ticket/implement.md +0 -23
- package/examples/starter-kit/steps/ticket/plan.md +0 -60
- package/examples/starter-kit/steps/ticket/verify.md +0 -24
- package/examples/starter-kit/ticket.workflow.yaml +0 -108
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
version: 1
|
|
2
|
-
id: ticket
|
|
3
|
-
command: ticket
|
|
4
|
-
description: 'Prepare a dedicated workspace, plan, implement, and verify an issue-tracker ticket. Example: /ticket PROJ-123 Fix a missing client-id header'
|
|
5
|
-
start: prepare-workspace
|
|
6
|
-
maxStepVisits: 20
|
|
7
|
-
summaryMaxChars: 30000
|
|
8
|
-
steps:
|
|
9
|
-
prepare-workspace:
|
|
10
|
-
title: Prepare dedicated branch and worktree
|
|
11
|
-
prompt:
|
|
12
|
-
file: steps/shared/prepare-workspace.md
|
|
13
|
-
agent: workspace-preparer
|
|
14
|
-
workspace:
|
|
15
|
-
bindOn:
|
|
16
|
-
- ready
|
|
17
|
-
allowedRoots:
|
|
18
|
-
- ~/repositories/worktrees
|
|
19
|
-
permissions:
|
|
20
|
-
tools: [read, ls, bash]
|
|
21
|
-
mcp: []
|
|
22
|
-
extensions: [/]
|
|
23
|
-
skills: [using-git-worktrees, caveman]
|
|
24
|
-
bash:
|
|
25
|
-
mode: unrestricted
|
|
26
|
-
transitions:
|
|
27
|
-
ready: plan
|
|
28
|
-
retry: prepare-workspace
|
|
29
|
-
blocked: $pause
|
|
30
|
-
plan:
|
|
31
|
-
title: Read Jira evidence and plan
|
|
32
|
-
prompt:
|
|
33
|
-
file: steps/ticket/plan.md
|
|
34
|
-
agent: planner
|
|
35
|
-
permissions:
|
|
36
|
-
tools: [read, ls, bash, mcp]
|
|
37
|
-
mcp: [atlassian, context7, sourcegraph, glean, gitlab]
|
|
38
|
-
extensions: [/]
|
|
39
|
-
skills:
|
|
40
|
-
[
|
|
41
|
-
jira-ticket,
|
|
42
|
-
coding-standards,
|
|
43
|
-
writing-plans,
|
|
44
|
-
search-code-sourcegraph,
|
|
45
|
-
caveman,
|
|
46
|
-
]
|
|
47
|
-
bash:
|
|
48
|
-
mode: unrestricted
|
|
49
|
-
gate:
|
|
50
|
-
provider: plannotator
|
|
51
|
-
submitOutcome: submit
|
|
52
|
-
approvedOutcome: approved
|
|
53
|
-
rejectedOutcome: changes-requested
|
|
54
|
-
timeoutMs: 30000
|
|
55
|
-
artifactContract:
|
|
56
|
-
maxChars: 10000
|
|
57
|
-
requiredSubstrings:
|
|
58
|
-
- '## Review summary'
|
|
59
|
-
- '## Review focus'
|
|
60
|
-
- '## Proposed approach'
|
|
61
|
-
- '## Validation'
|
|
62
|
-
- '## Risks'
|
|
63
|
-
- '## Execution appendix (machine-readable)'
|
|
64
|
-
- '## Publication contract'
|
|
65
|
-
forbiddenSubstrings:
|
|
66
|
-
- 'The complete gate artifact is the exact Markdown saved at'
|
|
67
|
-
onValidationFailure: retry
|
|
68
|
-
transitions:
|
|
69
|
-
approved: implement
|
|
70
|
-
changes-requested: plan
|
|
71
|
-
workspace-refresh: prepare-workspace
|
|
72
|
-
retry: plan
|
|
73
|
-
blocked: $pause
|
|
74
|
-
implement:
|
|
75
|
-
title: Implement the approved Jira plan
|
|
76
|
-
prompt:
|
|
77
|
-
file: steps/ticket/implement.md
|
|
78
|
-
agent: worker
|
|
79
|
-
permissions:
|
|
80
|
-
tools: [read, ls, bash, edit, write, mcp]
|
|
81
|
-
mcp: [context7]
|
|
82
|
-
extensions: [/]
|
|
83
|
-
skills:
|
|
84
|
-
[coding-standards, test-driven-development, lint-commands, caveman]
|
|
85
|
-
bash:
|
|
86
|
-
mode: unrestricted
|
|
87
|
-
transitions:
|
|
88
|
-
ready: verify
|
|
89
|
-
retry: implement
|
|
90
|
-
blocked: $pause
|
|
91
|
-
verify:
|
|
92
|
-
title: Independently verify Jira work
|
|
93
|
-
prompt:
|
|
94
|
-
file: steps/ticket/verify.md
|
|
95
|
-
agent: reviewer
|
|
96
|
-
permissions:
|
|
97
|
-
tools: [read, ls, bash, mcp]
|
|
98
|
-
mcp: [gitlab]
|
|
99
|
-
extensions: [/]
|
|
100
|
-
skills:
|
|
101
|
-
[verification-before-completion, lint-commands, commit-format, caveman]
|
|
102
|
-
bash:
|
|
103
|
-
mode: unrestricted
|
|
104
|
-
transitions:
|
|
105
|
-
passed: $done
|
|
106
|
-
failed: implement
|
|
107
|
-
retry: verify
|
|
108
|
-
blocked: verify
|