@kody-ade/kody-engine 0.3.72 → 0.3.75
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.
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "bug-container",
|
|
3
|
+
"role": "container",
|
|
4
|
+
"describe": "Container variant of `bug` — same plan → run → review (→ fix) flow, but children run sequentially in one process instead of as N comment-dispatched GHA runs. Strictly additive; the comment-driven `bug` orchestrator remains the default until classify is flipped.",
|
|
5
|
+
"inputs": [
|
|
6
|
+
{
|
|
7
|
+
"name": "issue",
|
|
8
|
+
"flag": "--issue",
|
|
9
|
+
"type": "int",
|
|
10
|
+
"required": true,
|
|
11
|
+
"describe": "GitHub issue number to drive the flow on."
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"claudeCode": {
|
|
15
|
+
"model": "inherit",
|
|
16
|
+
"permissionMode": "default",
|
|
17
|
+
"maxTurns": 0,
|
|
18
|
+
"maxThinkingTokens": null,
|
|
19
|
+
"systemPromptAppend": null,
|
|
20
|
+
"tools": [],
|
|
21
|
+
"hooks": [],
|
|
22
|
+
"skills": [],
|
|
23
|
+
"commands": [],
|
|
24
|
+
"subagents": [],
|
|
25
|
+
"plugins": [],
|
|
26
|
+
"mcpServers": []
|
|
27
|
+
},
|
|
28
|
+
"cliTools": [],
|
|
29
|
+
"scripts": {
|
|
30
|
+
"preflight": [
|
|
31
|
+
{
|
|
32
|
+
"script": "setLifecycleLabel",
|
|
33
|
+
"with": {
|
|
34
|
+
"label": "kody-flow:bug",
|
|
35
|
+
"color": "d73a4a",
|
|
36
|
+
"description": "kody flow: bug / enhancement"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"script": "setLifecycleLabel",
|
|
41
|
+
"with": {
|
|
42
|
+
"label": "kody:orchestrating",
|
|
43
|
+
"color": "1d76db",
|
|
44
|
+
"description": "kody: orchestrating a multi-stage flow"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
{ "script": "loadIssueContext" },
|
|
48
|
+
{ "script": "loadTaskState" }
|
|
49
|
+
],
|
|
50
|
+
"postflight": [
|
|
51
|
+
{ "script": "finishFlow",
|
|
52
|
+
"with": { "reason": "review-passed", "label": "kody:done", "color": "0e8a16", "description": "kody: PR ready for human review/merge" },
|
|
53
|
+
"runWhen": { "data.taskState.core.lastOutcome.type": "REVIEW_PASS" } },
|
|
54
|
+
|
|
55
|
+
{ "script": "finishFlow",
|
|
56
|
+
"with": { "reason": "fix-applied", "label": "kody:done", "color": "0e8a16", "description": "kody: PR ready for human review/merge" },
|
|
57
|
+
"runWhen": { "data.taskState.core.lastOutcome.type": "FIX_COMPLETED" } },
|
|
58
|
+
|
|
59
|
+
{ "script": "finishFlow",
|
|
60
|
+
"with": { "reason": "review-failed", "label": "kody:failed", "color": "e11d21", "description": "kody: flow failed" },
|
|
61
|
+
"runWhen": { "data.taskState.core.lastOutcome.type": "REVIEW_FAILED" } },
|
|
62
|
+
|
|
63
|
+
{ "script": "finishFlow",
|
|
64
|
+
"with": { "reason": "aborted", "label": "kody:failed", "color": "e11d21", "description": "kody: flow failed" },
|
|
65
|
+
"runWhen": { "data.taskState.core.lastOutcome.type": ["PLAN_FAILED", "RUN_FAILED", "FIX_FAILED", "AGENT_NOT_RUN"] } },
|
|
66
|
+
|
|
67
|
+
{ "script": "persistFlowState" }
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
"children": [
|
|
71
|
+
{
|
|
72
|
+
"exec": "plan",
|
|
73
|
+
"target": "issue",
|
|
74
|
+
"next": {
|
|
75
|
+
"PLAN_COMPLETED": "run",
|
|
76
|
+
"*": "abort"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"exec": "run",
|
|
81
|
+
"target": "issue",
|
|
82
|
+
"next": {
|
|
83
|
+
"RUN_COMPLETED": "review",
|
|
84
|
+
"*": "abort"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"exec": "review",
|
|
89
|
+
"target": "pr",
|
|
90
|
+
"next": {
|
|
91
|
+
"REVIEW_PASS": "done",
|
|
92
|
+
"REVIEW_CONCERNS": "fix",
|
|
93
|
+
"REVIEW_FAIL": "fix",
|
|
94
|
+
"*": "abort"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"exec": "fix",
|
|
99
|
+
"target": "pr",
|
|
100
|
+
"next": {
|
|
101
|
+
"FIX_COMPLETED": "done",
|
|
102
|
+
"*": "abort"
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
"output": {
|
|
107
|
+
"actionTypes": [
|
|
108
|
+
"FLOW_COMPLETED",
|
|
109
|
+
"FLOW_ABORTED"
|
|
110
|
+
]
|
|
111
|
+
}
|
|
112
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Container role: no agent runs. The transition logic lives entirely in
|
|
3
|
+
profile.json's `children[].next` map (driven by the container loop in
|
|
4
|
+
src/executor.ts:runContainerLoop). This file exists only because the
|
|
5
|
+
profile loader expects a prompt.md sibling.
|
|
6
|
+
-->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kody-ade/kody-engine",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.75",
|
|
4
4
|
"description": "kody — autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|