awesome-slash 2.4.2
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/.claude-plugin/marketplace.json +54 -0
- package/.claude-plugin/plugin.json +11 -0
- package/.mcp.json +8 -0
- package/CHANGELOG.md +261 -0
- package/LICENSE +21 -0
- package/README.md +363 -0
- package/SECURITY.md +101 -0
- package/adapters/README.md +256 -0
- package/adapters/codex/README.md +272 -0
- package/adapters/codex/install.sh +179 -0
- package/adapters/opencode/README.md +301 -0
- package/adapters/opencode/install.sh +223 -0
- package/lib/patterns/review-patterns.js +511 -0
- package/lib/patterns/slop-patterns.js +647 -0
- package/lib/platform/detect-platform.js +535 -0
- package/lib/platform/verify-tools.js +235 -0
- package/lib/state/workflow-state.js +635 -0
- package/lib/state/workflow-state.schema.json +282 -0
- package/lib/utils/context-optimizer.js +227 -0
- package/mcp-server/index.js +303 -0
- package/mcp-server/package.json +23 -0
- package/package.json +63 -0
- package/plugins/deslop-around/.claude-plugin/plugin.json +20 -0
- package/plugins/deslop-around/commands/deslop-around.md +220 -0
- package/plugins/deslop-around/lib/patterns/review-patterns.js +511 -0
- package/plugins/deslop-around/lib/patterns/slop-patterns.js +641 -0
- package/plugins/deslop-around/lib/platform/detect-platform.js +514 -0
- package/plugins/deslop-around/lib/platform/verify-tools.js +235 -0
- package/plugins/deslop-around/lib/state/workflow-state.js +635 -0
- package/plugins/deslop-around/lib/state/workflow-state.schema.json +282 -0
- package/plugins/deslop-around/lib/utils/context-optimizer.js +222 -0
- package/plugins/next-task/.claude-plugin/plugin.json +24 -0
- package/plugins/next-task/agents/ci-fixer.md +236 -0
- package/plugins/next-task/agents/ci-monitor.md +291 -0
- package/plugins/next-task/agents/delivery-validator.md +451 -0
- package/plugins/next-task/agents/deslop-work.md +272 -0
- package/plugins/next-task/agents/docs-updater.md +506 -0
- package/plugins/next-task/agents/exploration-agent.md +277 -0
- package/plugins/next-task/agents/implementation-agent.md +427 -0
- package/plugins/next-task/agents/planning-agent.md +236 -0
- package/plugins/next-task/agents/policy-selector.md +248 -0
- package/plugins/next-task/agents/review-orchestrator.md +521 -0
- package/plugins/next-task/agents/simple-fixer.md +136 -0
- package/plugins/next-task/agents/task-discoverer.md +357 -0
- package/plugins/next-task/agents/test-coverage-checker.md +447 -0
- package/plugins/next-task/agents/worktree-manager.md +419 -0
- package/plugins/next-task/commands/delivery-approval.md +331 -0
- package/plugins/next-task/commands/next-task.md +627 -0
- package/plugins/next-task/commands/update-docs-around.md +418 -0
- package/plugins/next-task/hooks/hooks.json +14 -0
- package/plugins/next-task/lib/patterns/review-patterns.js +511 -0
- package/plugins/next-task/lib/patterns/slop-patterns.js +641 -0
- package/plugins/next-task/lib/platform/detect-platform.js +514 -0
- package/plugins/next-task/lib/platform/verify-tools.js +235 -0
- package/plugins/next-task/lib/state/tasks-registry.schema.json +85 -0
- package/plugins/next-task/lib/state/workflow-state.js +635 -0
- package/plugins/next-task/lib/state/workflow-state.schema.json +282 -0
- package/plugins/next-task/lib/state/worktree-status.schema.json +219 -0
- package/plugins/next-task/lib/utils/context-optimizer.js +222 -0
- package/plugins/project-review/.claude-plugin/plugin.json +20 -0
- package/plugins/project-review/commands/project-review-agents.md +286 -0
- package/plugins/project-review/commands/project-review-github.md +142 -0
- package/plugins/project-review/commands/project-review.md +273 -0
- package/plugins/project-review/lib/patterns/review-patterns.js +511 -0
- package/plugins/project-review/lib/patterns/slop-patterns.js +641 -0
- package/plugins/project-review/lib/platform/detect-platform.js +514 -0
- package/plugins/project-review/lib/platform/verify-tools.js +235 -0
- package/plugins/project-review/lib/state/workflow-state.js +635 -0
- package/plugins/project-review/lib/state/workflow-state.schema.json +282 -0
- package/plugins/project-review/lib/utils/context-optimizer.js +222 -0
- package/plugins/reality-check/.claude-plugin/plugin.json +23 -0
- package/plugins/reality-check/README.md +156 -0
- package/plugins/reality-check/agents/code-explorer.md +353 -0
- package/plugins/reality-check/agents/doc-analyzer.md +337 -0
- package/plugins/reality-check/agents/issue-scanner.md +231 -0
- package/plugins/reality-check/agents/plan-synthesizer.md +479 -0
- package/plugins/reality-check/commands/scan.md +242 -0
- package/plugins/reality-check/commands/set.md +203 -0
- package/plugins/reality-check/lib/state/reality-check-state.js +509 -0
- package/plugins/reality-check/skills/reality-analysis/SKILL.md +317 -0
- package/plugins/ship/.claude-plugin/plugin.json +21 -0
- package/plugins/ship/commands/ship-ci-review-loop.md +443 -0
- package/plugins/ship/commands/ship-deployment.md +330 -0
- package/plugins/ship/commands/ship-error-handling.md +254 -0
- package/plugins/ship/commands/ship.md +370 -0
- package/plugins/ship/lib/patterns/review-patterns.js +511 -0
- package/plugins/ship/lib/patterns/slop-patterns.js +641 -0
- package/plugins/ship/lib/platform/detect-platform.js +514 -0
- package/plugins/ship/lib/platform/verify-tools.js +235 -0
- package/plugins/ship/lib/state/workflow-state.js +635 -0
- package/plugins/ship/lib/state/workflow-state.schema.json +282 -0
- package/plugins/ship/lib/utils/context-optimizer.js +222 -0
- package/scripts/install/claude.sh +50 -0
- package/scripts/install/codex.sh +181 -0
- package/scripts/install/opencode.sh +211 -0
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "workflow-state.schema.json",
|
|
4
|
+
"title": "Workflow State",
|
|
5
|
+
"description": "Schema for next-task workflow orchestration state",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": ["version", "workflow"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"version": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"pattern": "^\\d+\\.\\d+\\.\\d+$",
|
|
12
|
+
"description": "Schema version for migrations"
|
|
13
|
+
},
|
|
14
|
+
"workflow": {
|
|
15
|
+
"type": "object",
|
|
16
|
+
"required": ["id", "type", "status", "startedAt"],
|
|
17
|
+
"properties": {
|
|
18
|
+
"id": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"pattern": "^workflow-\\d{8}-\\d{6}-[a-z0-9]+$",
|
|
21
|
+
"description": "Unique workflow identifier"
|
|
22
|
+
},
|
|
23
|
+
"type": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"enum": ["next-task", "ship", "manual"],
|
|
26
|
+
"description": "Workflow type"
|
|
27
|
+
},
|
|
28
|
+
"status": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"enum": ["pending", "in_progress", "paused", "completed", "failed", "aborted"],
|
|
31
|
+
"description": "Current workflow status"
|
|
32
|
+
},
|
|
33
|
+
"startedAt": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"format": "date-time",
|
|
36
|
+
"description": "Workflow start timestamp"
|
|
37
|
+
},
|
|
38
|
+
"lastUpdatedAt": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"format": "date-time",
|
|
41
|
+
"description": "Last state update timestamp"
|
|
42
|
+
},
|
|
43
|
+
"completedAt": {
|
|
44
|
+
"type": ["string", "null"],
|
|
45
|
+
"format": "date-time",
|
|
46
|
+
"description": "Workflow completion timestamp"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"policy": {
|
|
51
|
+
"type": "object",
|
|
52
|
+
"properties": {
|
|
53
|
+
"taskSource": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"enum": ["defaults", "gh-issues", "linear", "tasks-md", "custom"],
|
|
56
|
+
"default": "gh-issues"
|
|
57
|
+
},
|
|
58
|
+
"priorityFilter": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"enum": ["continue", "bugs", "security", "features", "all"],
|
|
61
|
+
"default": "continue"
|
|
62
|
+
},
|
|
63
|
+
"platform": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"enum": ["detected", "manual"],
|
|
66
|
+
"default": "detected"
|
|
67
|
+
},
|
|
68
|
+
"stoppingPoint": {
|
|
69
|
+
"type": "string",
|
|
70
|
+
"enum": ["implemented", "pr-created", "all-green", "merged", "deployed", "production"],
|
|
71
|
+
"default": "merged"
|
|
72
|
+
},
|
|
73
|
+
"mergeStrategy": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"enum": ["squash", "merge", "rebase"],
|
|
76
|
+
"default": "squash"
|
|
77
|
+
},
|
|
78
|
+
"autoFix": {
|
|
79
|
+
"type": "boolean",
|
|
80
|
+
"default": true
|
|
81
|
+
},
|
|
82
|
+
"maxReviewIterations": {
|
|
83
|
+
"type": "integer",
|
|
84
|
+
"minimum": 1,
|
|
85
|
+
"maximum": 10,
|
|
86
|
+
"default": 3
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"task": {
|
|
91
|
+
"type": ["object", "null"],
|
|
92
|
+
"properties": {
|
|
93
|
+
"id": {
|
|
94
|
+
"type": "string",
|
|
95
|
+
"description": "Task identifier (issue number, Linear ID, etc.)"
|
|
96
|
+
},
|
|
97
|
+
"source": {
|
|
98
|
+
"type": "string",
|
|
99
|
+
"enum": ["github", "linear", "tasks-md", "manual"]
|
|
100
|
+
},
|
|
101
|
+
"title": {
|
|
102
|
+
"type": "string"
|
|
103
|
+
},
|
|
104
|
+
"description": {
|
|
105
|
+
"type": "string"
|
|
106
|
+
},
|
|
107
|
+
"labels": {
|
|
108
|
+
"type": "array",
|
|
109
|
+
"items": { "type": "string" }
|
|
110
|
+
},
|
|
111
|
+
"url": {
|
|
112
|
+
"type": ["string", "null"],
|
|
113
|
+
"format": "uri"
|
|
114
|
+
},
|
|
115
|
+
"linearId": {
|
|
116
|
+
"type": ["string", "null"]
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"git": {
|
|
121
|
+
"type": ["object", "null"],
|
|
122
|
+
"properties": {
|
|
123
|
+
"originalBranch": {
|
|
124
|
+
"type": "string",
|
|
125
|
+
"description": "Branch before workflow started"
|
|
126
|
+
},
|
|
127
|
+
"workingBranch": {
|
|
128
|
+
"type": "string",
|
|
129
|
+
"description": "Feature branch for this task"
|
|
130
|
+
},
|
|
131
|
+
"worktreePath": {
|
|
132
|
+
"type": ["string", "null"],
|
|
133
|
+
"description": "Path to worktree if using isolated development"
|
|
134
|
+
},
|
|
135
|
+
"baseSha": {
|
|
136
|
+
"type": "string",
|
|
137
|
+
"description": "Base commit SHA when branched"
|
|
138
|
+
},
|
|
139
|
+
"currentSha": {
|
|
140
|
+
"type": "string",
|
|
141
|
+
"description": "Current HEAD commit SHA"
|
|
142
|
+
},
|
|
143
|
+
"isWorktree": {
|
|
144
|
+
"type": "boolean",
|
|
145
|
+
"default": false
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"pr": {
|
|
150
|
+
"type": ["object", "null"],
|
|
151
|
+
"properties": {
|
|
152
|
+
"number": {
|
|
153
|
+
"type": "integer"
|
|
154
|
+
},
|
|
155
|
+
"url": {
|
|
156
|
+
"type": "string",
|
|
157
|
+
"format": "uri"
|
|
158
|
+
},
|
|
159
|
+
"state": {
|
|
160
|
+
"type": "string",
|
|
161
|
+
"enum": ["draft", "open", "merged", "closed"]
|
|
162
|
+
},
|
|
163
|
+
"ciStatus": {
|
|
164
|
+
"type": "string",
|
|
165
|
+
"enum": ["pending", "running", "success", "failure", "unknown"]
|
|
166
|
+
},
|
|
167
|
+
"reviewState": {
|
|
168
|
+
"type": "string",
|
|
169
|
+
"enum": ["pending", "changes_requested", "approved", "dismissed"]
|
|
170
|
+
},
|
|
171
|
+
"lastCheckedAt": {
|
|
172
|
+
"type": "string",
|
|
173
|
+
"format": "date-time"
|
|
174
|
+
},
|
|
175
|
+
"checksWaitingCount": {
|
|
176
|
+
"type": "integer",
|
|
177
|
+
"default": 0
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
"phases": {
|
|
182
|
+
"type": "object",
|
|
183
|
+
"properties": {
|
|
184
|
+
"current": {
|
|
185
|
+
"type": "string",
|
|
186
|
+
"enum": [
|
|
187
|
+
"policy-selection",
|
|
188
|
+
"task-discovery",
|
|
189
|
+
"worktree-setup",
|
|
190
|
+
"exploration",
|
|
191
|
+
"planning",
|
|
192
|
+
"user-approval",
|
|
193
|
+
"implementation",
|
|
194
|
+
"review-loop",
|
|
195
|
+
"delivery-approval",
|
|
196
|
+
"ship-prep",
|
|
197
|
+
"create-pr",
|
|
198
|
+
"ci-wait",
|
|
199
|
+
"comment-fix",
|
|
200
|
+
"merge",
|
|
201
|
+
"production-ci",
|
|
202
|
+
"deploy",
|
|
203
|
+
"production-release",
|
|
204
|
+
"complete"
|
|
205
|
+
]
|
|
206
|
+
},
|
|
207
|
+
"currentIteration": {
|
|
208
|
+
"type": "integer",
|
|
209
|
+
"minimum": 0,
|
|
210
|
+
"default": 0
|
|
211
|
+
},
|
|
212
|
+
"history": {
|
|
213
|
+
"type": "array",
|
|
214
|
+
"items": {
|
|
215
|
+
"type": "object",
|
|
216
|
+
"required": ["phase", "status", "startedAt"],
|
|
217
|
+
"properties": {
|
|
218
|
+
"phase": { "type": "string" },
|
|
219
|
+
"status": {
|
|
220
|
+
"type": "string",
|
|
221
|
+
"enum": ["pending", "in_progress", "completed", "failed", "skipped"]
|
|
222
|
+
},
|
|
223
|
+
"startedAt": { "type": "string", "format": "date-time" },
|
|
224
|
+
"completedAt": { "type": ["string", "null"], "format": "date-time" },
|
|
225
|
+
"duration": { "type": "integer", "description": "Duration in milliseconds" },
|
|
226
|
+
"iteration": { "type": "integer" },
|
|
227
|
+
"result": { "type": "object" }
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"agents": {
|
|
234
|
+
"type": ["object", "null"],
|
|
235
|
+
"properties": {
|
|
236
|
+
"lastRun": {
|
|
237
|
+
"type": "object",
|
|
238
|
+
"additionalProperties": {
|
|
239
|
+
"type": "object",
|
|
240
|
+
"properties": {
|
|
241
|
+
"status": { "type": "string", "enum": ["pending", "running", "completed", "failed"] },
|
|
242
|
+
"issues": { "type": "integer" },
|
|
243
|
+
"critical": { "type": "integer" },
|
|
244
|
+
"high": { "type": "integer" }
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
"totalIterations": { "type": "integer", "default": 0 },
|
|
249
|
+
"totalIssuesFound": { "type": "integer", "default": 0 },
|
|
250
|
+
"totalIssuesFixed": { "type": "integer", "default": 0 }
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"checkpoints": {
|
|
254
|
+
"type": "object",
|
|
255
|
+
"properties": {
|
|
256
|
+
"canResume": {
|
|
257
|
+
"type": "boolean",
|
|
258
|
+
"default": true
|
|
259
|
+
},
|
|
260
|
+
"resumeFrom": {
|
|
261
|
+
"type": ["string", "null"],
|
|
262
|
+
"description": "Phase to resume from"
|
|
263
|
+
},
|
|
264
|
+
"resumeContext": {
|
|
265
|
+
"type": ["object", "null"],
|
|
266
|
+
"description": "Additional context needed for resume"
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
"metrics": {
|
|
271
|
+
"type": ["object", "null"],
|
|
272
|
+
"properties": {
|
|
273
|
+
"totalDuration": { "type": "integer", "description": "Total duration in milliseconds" },
|
|
274
|
+
"tokensUsed": { "type": "integer" },
|
|
275
|
+
"toolCalls": { "type": "integer" },
|
|
276
|
+
"filesModified": { "type": "integer" },
|
|
277
|
+
"linesAdded": { "type": "integer" },
|
|
278
|
+
"linesRemoved": { "type": "integer" }
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
}
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "worktree-status.schema.json",
|
|
4
|
+
"title": "Worktree Workflow Status",
|
|
5
|
+
"description": "Workflow status file stored within the worktree. Tracks all steps with timestamps for resume capability.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": ["version", "task", "workflow", "steps"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"version": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"pattern": "^\\d+\\.\\d+\\.\\d+$",
|
|
12
|
+
"description": "Schema version",
|
|
13
|
+
"default": "1.0.0"
|
|
14
|
+
},
|
|
15
|
+
"task": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"required": ["id", "source", "title"],
|
|
18
|
+
"description": "The task this worktree is implementing",
|
|
19
|
+
"properties": {
|
|
20
|
+
"id": { "type": "string" },
|
|
21
|
+
"source": { "type": "string", "enum": ["github", "linear", "tasks-md", "manual"] },
|
|
22
|
+
"title": { "type": "string" },
|
|
23
|
+
"description": { "type": "string" },
|
|
24
|
+
"url": { "type": ["string", "null"], "format": "uri" }
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"workflow": {
|
|
28
|
+
"type": "object",
|
|
29
|
+
"required": ["id", "startedAt", "status"],
|
|
30
|
+
"properties": {
|
|
31
|
+
"id": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"description": "Workflow identifier"
|
|
34
|
+
},
|
|
35
|
+
"startedAt": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"format": "date-time"
|
|
38
|
+
},
|
|
39
|
+
"lastActivityAt": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"format": "date-time"
|
|
42
|
+
},
|
|
43
|
+
"status": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"enum": ["active", "paused", "completed", "failed", "aborted"]
|
|
46
|
+
},
|
|
47
|
+
"currentPhase": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"description": "Current phase name"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"git": {
|
|
54
|
+
"type": "object",
|
|
55
|
+
"properties": {
|
|
56
|
+
"branch": { "type": "string" },
|
|
57
|
+
"baseSha": { "type": "string" },
|
|
58
|
+
"currentSha": { "type": "string" },
|
|
59
|
+
"mainRepPath": { "type": "string", "description": "Path to main repository" }
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"policy": {
|
|
63
|
+
"type": "object",
|
|
64
|
+
"description": "Workflow policy settings",
|
|
65
|
+
"properties": {
|
|
66
|
+
"stoppingPoint": { "type": "string" },
|
|
67
|
+
"mergeStrategy": { "type": "string" },
|
|
68
|
+
"maxReviewIterations": { "type": "integer" }
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"steps": {
|
|
72
|
+
"type": "array",
|
|
73
|
+
"description": "Ordered list of workflow steps with timestamps",
|
|
74
|
+
"items": {
|
|
75
|
+
"type": "object",
|
|
76
|
+
"required": ["step", "status", "startedAt"],
|
|
77
|
+
"properties": {
|
|
78
|
+
"step": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"enum": [
|
|
81
|
+
"worktree-created",
|
|
82
|
+
"exploration-started",
|
|
83
|
+
"exploration-completed",
|
|
84
|
+
"planning-started",
|
|
85
|
+
"planning-completed",
|
|
86
|
+
"plan-approved",
|
|
87
|
+
"implementation-started",
|
|
88
|
+
"implementation-completed",
|
|
89
|
+
"deslop-work-completed",
|
|
90
|
+
"test-coverage-checked",
|
|
91
|
+
"review-started",
|
|
92
|
+
"review-iteration-1",
|
|
93
|
+
"review-iteration-2",
|
|
94
|
+
"review-iteration-3",
|
|
95
|
+
"review-approved",
|
|
96
|
+
"delivery-validation-started",
|
|
97
|
+
"delivery-validation-passed",
|
|
98
|
+
"docs-updated",
|
|
99
|
+
"ready-to-ship"
|
|
100
|
+
],
|
|
101
|
+
"description": "Step identifier"
|
|
102
|
+
},
|
|
103
|
+
"status": {
|
|
104
|
+
"type": "string",
|
|
105
|
+
"enum": ["started", "completed", "failed", "skipped"]
|
|
106
|
+
},
|
|
107
|
+
"startedAt": {
|
|
108
|
+
"type": "string",
|
|
109
|
+
"format": "date-time"
|
|
110
|
+
},
|
|
111
|
+
"completedAt": {
|
|
112
|
+
"type": ["string", "null"],
|
|
113
|
+
"format": "date-time"
|
|
114
|
+
},
|
|
115
|
+
"duration": {
|
|
116
|
+
"type": ["integer", "null"],
|
|
117
|
+
"description": "Duration in milliseconds"
|
|
118
|
+
},
|
|
119
|
+
"result": {
|
|
120
|
+
"type": ["object", "null"],
|
|
121
|
+
"description": "Step-specific result data"
|
|
122
|
+
},
|
|
123
|
+
"error": {
|
|
124
|
+
"type": ["string", "null"],
|
|
125
|
+
"description": "Error message if failed"
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"resume": {
|
|
131
|
+
"type": "object",
|
|
132
|
+
"description": "Resume capability information",
|
|
133
|
+
"properties": {
|
|
134
|
+
"canResume": {
|
|
135
|
+
"type": "boolean",
|
|
136
|
+
"default": true
|
|
137
|
+
},
|
|
138
|
+
"resumeFromStep": {
|
|
139
|
+
"type": ["string", "null"],
|
|
140
|
+
"description": "Step to resume from"
|
|
141
|
+
},
|
|
142
|
+
"resumeContext": {
|
|
143
|
+
"type": ["object", "null"],
|
|
144
|
+
"description": "Context needed for resume"
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"agents": {
|
|
149
|
+
"type": "object",
|
|
150
|
+
"description": "Agent execution tracking",
|
|
151
|
+
"properties": {
|
|
152
|
+
"reviewIterations": { "type": "integer", "default": 0 },
|
|
153
|
+
"issuesFound": { "type": "integer", "default": 0 },
|
|
154
|
+
"issuesFixed": { "type": "integer", "default": 0 }
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
"examples": [
|
|
159
|
+
{
|
|
160
|
+
"version": "1.0.0",
|
|
161
|
+
"task": {
|
|
162
|
+
"id": "123",
|
|
163
|
+
"source": "github",
|
|
164
|
+
"title": "Add user authentication",
|
|
165
|
+
"url": "https://github.com/org/repo/issues/123"
|
|
166
|
+
},
|
|
167
|
+
"workflow": {
|
|
168
|
+
"id": "workflow-20240115-103000-abc123",
|
|
169
|
+
"startedAt": "2024-01-15T10:30:00Z",
|
|
170
|
+
"lastActivityAt": "2024-01-15T11:45:00Z",
|
|
171
|
+
"status": "active",
|
|
172
|
+
"currentPhase": "implementation"
|
|
173
|
+
},
|
|
174
|
+
"git": {
|
|
175
|
+
"branch": "feature/add-user-authentication-123",
|
|
176
|
+
"baseSha": "abc123def",
|
|
177
|
+
"currentSha": "xyz789ghi",
|
|
178
|
+
"mainRepoPath": "/path/to/main/repo"
|
|
179
|
+
},
|
|
180
|
+
"policy": {
|
|
181
|
+
"stoppingPoint": "merged",
|
|
182
|
+
"mergeStrategy": "squash",
|
|
183
|
+
"maxReviewIterations": 3
|
|
184
|
+
},
|
|
185
|
+
"steps": [
|
|
186
|
+
{
|
|
187
|
+
"step": "worktree-created",
|
|
188
|
+
"status": "completed",
|
|
189
|
+
"startedAt": "2024-01-15T10:30:00Z",
|
|
190
|
+
"completedAt": "2024-01-15T10:30:05Z",
|
|
191
|
+
"duration": 5000
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"step": "exploration-started",
|
|
195
|
+
"status": "completed",
|
|
196
|
+
"startedAt": "2024-01-15T10:30:10Z",
|
|
197
|
+
"completedAt": "2024-01-15T10:35:00Z",
|
|
198
|
+
"duration": 290000
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"step": "exploration-completed",
|
|
202
|
+
"status": "completed",
|
|
203
|
+
"startedAt": "2024-01-15T10:35:00Z",
|
|
204
|
+
"completedAt": "2024-01-15T10:35:00Z",
|
|
205
|
+
"result": { "keyFiles": ["src/auth/index.ts"], "patterns": ["middleware"] }
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"step": "implementation-started",
|
|
209
|
+
"status": "started",
|
|
210
|
+
"startedAt": "2024-01-15T11:00:00Z"
|
|
211
|
+
}
|
|
212
|
+
],
|
|
213
|
+
"resume": {
|
|
214
|
+
"canResume": true,
|
|
215
|
+
"resumeFromStep": "implementation-started"
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
]
|
|
219
|
+
}
|