agentweaver 0.1.9 → 0.1.11
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 +226 -200
- package/dist/artifacts.js +101 -56
- package/dist/errors.js +7 -0
- package/dist/executors/{codex-local-executor.js → codex-executor.js} +4 -4
- package/dist/executors/configs/{codex-local-config.js → codex-config.js} +1 -1
- package/dist/executors/configs/jira-fetch-config.js +2 -0
- package/dist/executors/configs/telegram-notifier-config.js +3 -0
- package/dist/executors/fetch-gitlab-diff-executor.js +1 -1
- package/dist/executors/fetch-gitlab-review-executor.js +1 -1
- package/dist/executors/git-commit-executor.js +25 -0
- package/dist/executors/telegram-notifier-executor.js +54 -0
- package/dist/flow-state.js +46 -1
- package/dist/gitlab.js +13 -8
- package/dist/index.js +507 -520
- package/dist/interactive-ui.js +495 -87
- package/dist/jira.js +52 -5
- package/dist/pipeline/auto-flow.js +6 -6
- package/dist/pipeline/context.js +1 -0
- package/dist/pipeline/declarative-flows.js +7 -4
- package/dist/pipeline/flow-catalog.js +60 -23
- package/dist/pipeline/flow-model-settings.js +77 -0
- package/dist/pipeline/flow-specs/auto-common.json +446 -0
- package/dist/pipeline/flow-specs/auto-golang.json +563 -0
- package/dist/pipeline/flow-specs/{bug-analyze.json → bugz/bug-analyze.json} +43 -25
- package/dist/pipeline/flow-specs/{bug-fix.json → bugz/bug-fix.json} +5 -4
- package/dist/pipeline/flow-specs/git-commit.json +196 -0
- package/dist/pipeline/flow-specs/{gitlab-diff-review.json → gitlab/gitlab-diff-review.json} +20 -50
- package/dist/pipeline/flow-specs/gitlab/gitlab-review.json +165 -0
- package/dist/pipeline/flow-specs/{mr-description.json → gitlab/mr-description.json} +17 -10
- package/dist/pipeline/flow-specs/{run-go-linter-loop.json → go/run-go-linter-loop.json} +40 -14
- package/dist/pipeline/flow-specs/{run-go-tests-loop.json → go/run-go-tests-loop.json} +40 -14
- package/dist/pipeline/flow-specs/implement.json +5 -4
- package/dist/pipeline/flow-specs/plan.json +40 -148
- package/dist/pipeline/flow-specs/{review-fix.json → review/review-fix.json} +73 -13
- package/dist/pipeline/flow-specs/review/review-loop.json +280 -0
- package/dist/pipeline/flow-specs/review/review-project.json +87 -0
- package/dist/pipeline/flow-specs/review/review.json +126 -0
- package/dist/pipeline/flow-specs/task-describe.json +191 -11
- package/dist/pipeline/launch-profile-config.js +38 -0
- package/dist/pipeline/node-registry.js +75 -45
- package/dist/pipeline/nodes/build-failure-summary-node.js +16 -29
- package/dist/pipeline/nodes/build-review-fix-prompt-node.js +36 -0
- package/dist/pipeline/nodes/codex-prompt-node.js +41 -0
- package/dist/pipeline/nodes/commit-message-form-node.js +79 -0
- package/dist/pipeline/nodes/git-commit-form-node.js +138 -0
- package/dist/pipeline/nodes/git-commit-node.js +28 -0
- package/dist/pipeline/nodes/git-status-node.js +221 -0
- package/dist/pipeline/nodes/gitlab-review-artifacts-node.js +10 -6
- package/dist/pipeline/nodes/jira-context-node.js +10 -0
- package/dist/pipeline/nodes/llm-prompt-node.js +62 -0
- package/dist/pipeline/nodes/plan-codex-node.js +1 -1
- package/dist/pipeline/nodes/read-file-node.js +11 -0
- package/dist/pipeline/nodes/review-findings-form-node.js +18 -14
- package/dist/pipeline/nodes/select-files-form-node.js +72 -0
- package/dist/pipeline/nodes/telegram-notifier-node.js +28 -0
- package/dist/pipeline/nodes/user-input-node.js +29 -8
- package/dist/pipeline/nodes/write-selection-file-node.js +46 -0
- package/dist/pipeline/prompt-registry.js +2 -4
- package/dist/pipeline/prompt-runtime.js +13 -3
- package/dist/pipeline/registry.js +6 -8
- package/dist/pipeline/spec-compiler.js +5 -0
- package/dist/pipeline/spec-loader.js +18 -7
- package/dist/pipeline/spec-types.js +7 -3
- package/dist/pipeline/spec-validator.js +4 -0
- package/dist/pipeline/types.js +1 -0
- package/dist/pipeline/value-resolver.js +40 -38
- package/dist/prompts.js +104 -110
- package/dist/runtime/agentweaver-home.js +8 -0
- package/dist/runtime/command-resolution.js +0 -38
- package/dist/runtime/env-loader.js +43 -0
- package/dist/runtime/process-runner.js +45 -1
- package/dist/structured-artifact-schema-registry.js +53 -0
- package/dist/structured-artifact-schemas.json +0 -20
- package/dist/structured-artifacts.js +3 -43
- package/dist/user-input.js +30 -2
- package/package.json +2 -6
- package/Dockerfile.codex +0 -56
- package/dist/executors/claude-executor.js +0 -46
- package/dist/executors/codex-docker-executor.js +0 -27
- package/dist/executors/configs/claude-config.js +0 -12
- package/dist/executors/configs/codex-docker-config.js +0 -10
- package/dist/executors/configs/verify-build-config.js +0 -7
- package/dist/executors/verify-build-executor.js +0 -123
- package/dist/pipeline/flow-specs/auto.json +0 -979
- package/dist/pipeline/flow-specs/gitlab-review.json +0 -317
- package/dist/pipeline/flow-specs/plan-opencode.json +0 -603
- package/dist/pipeline/flow-specs/preflight.json +0 -206
- package/dist/pipeline/flow-specs/review-project.json +0 -243
- package/dist/pipeline/flow-specs/review.json +0 -312
- package/dist/pipeline/flow-specs/run-linter-loop.json +0 -155
- package/dist/pipeline/flow-specs/run-tests-loop.json +0 -155
- package/dist/pipeline/flows/preflight-flow.js +0 -19
- package/dist/pipeline/nodes/claude-prompt-node.js +0 -54
- package/dist/pipeline/nodes/codex-docker-prompt-node.js +0 -32
- package/dist/pipeline/nodes/codex-local-prompt-node.js +0 -32
- package/dist/pipeline/nodes/review-claude-node.js +0 -38
- package/dist/pipeline/nodes/review-reply-codex-node.js +0 -40
- package/dist/pipeline/nodes/verify-build-node.js +0 -15
- package/dist/runtime/docker-runtime.js +0 -51
- package/docker-compose.yml +0 -445
- package/verify_build.sh +0 -105
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"kind": "interactive-preflight-flow",
|
|
3
|
-
"version": 1,
|
|
4
|
-
"phases": [
|
|
5
|
-
{
|
|
6
|
-
"id": "preflight",
|
|
7
|
-
"steps": [
|
|
8
|
-
{
|
|
9
|
-
"id": "check_commands",
|
|
10
|
-
"node": "command-check",
|
|
11
|
-
"params": {
|
|
12
|
-
"commands": {
|
|
13
|
-
"const": [
|
|
14
|
-
{ "commandName": "codex", "envVarName": "CODEX_BIN" },
|
|
15
|
-
{ "commandName": "claude", "envVarName": "CLAUDE_BIN" }
|
|
16
|
-
]
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"id": "fetch_jira_if_needed",
|
|
22
|
-
"when": {
|
|
23
|
-
"any": [
|
|
24
|
-
{ "ref": "params.forceRefresh" },
|
|
25
|
-
{
|
|
26
|
-
"not": {
|
|
27
|
-
"exists": {
|
|
28
|
-
"artifact": {
|
|
29
|
-
"kind": "jira-task-file",
|
|
30
|
-
"taskKey": { "ref": "params.taskKey" }
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
]
|
|
36
|
-
},
|
|
37
|
-
"node": "jira-fetch",
|
|
38
|
-
"params": {
|
|
39
|
-
"jiraApiUrl": { "ref": "params.jiraApiUrl" },
|
|
40
|
-
"outputFile": {
|
|
41
|
-
"artifact": {
|
|
42
|
-
"kind": "jira-task-file",
|
|
43
|
-
"taskKey": { "ref": "params.taskKey" }
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
"expect": [
|
|
48
|
-
{
|
|
49
|
-
"kind": "require-file",
|
|
50
|
-
"path": {
|
|
51
|
-
"artifact": {
|
|
52
|
-
"kind": "jira-task-file",
|
|
53
|
-
"taskKey": { "ref": "params.taskKey" }
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"message": "Jira fetch node did not produce the Jira task file."
|
|
57
|
-
}
|
|
58
|
-
]
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"id": "load_existing_task_summary",
|
|
62
|
-
"when": {
|
|
63
|
-
"all": [
|
|
64
|
-
{
|
|
65
|
-
"not": { "ref": "params.forceRefresh" }
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"exists": {
|
|
69
|
-
"artifact": {
|
|
70
|
-
"kind": "jira-task-file",
|
|
71
|
-
"taskKey": { "ref": "params.taskKey" }
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"exists": {
|
|
77
|
-
"artifact": {
|
|
78
|
-
"kind": "task-summary-file",
|
|
79
|
-
"taskKey": { "ref": "params.taskKey" }
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
]
|
|
84
|
-
},
|
|
85
|
-
"node": "summary-file-load",
|
|
86
|
-
"params": {
|
|
87
|
-
"path": {
|
|
88
|
-
"artifact": {
|
|
89
|
-
"kind": "task-summary-file",
|
|
90
|
-
"taskKey": { "ref": "params.taskKey" }
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"id": "generate_task_summary",
|
|
97
|
-
"when": {
|
|
98
|
-
"any": [
|
|
99
|
-
{ "ref": "params.forceRefresh" },
|
|
100
|
-
{
|
|
101
|
-
"not": {
|
|
102
|
-
"exists": {
|
|
103
|
-
"artifact": {
|
|
104
|
-
"kind": "task-summary-file",
|
|
105
|
-
"taskKey": { "ref": "params.taskKey" }
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
]
|
|
111
|
-
},
|
|
112
|
-
"node": "claude-prompt",
|
|
113
|
-
"prompt": {
|
|
114
|
-
"templateRef": "task-summary",
|
|
115
|
-
"vars": {
|
|
116
|
-
"jira_task_file": {
|
|
117
|
-
"artifact": {
|
|
118
|
-
"kind": "jira-task-file",
|
|
119
|
-
"taskKey": { "ref": "params.taskKey" }
|
|
120
|
-
}
|
|
121
|
-
},
|
|
122
|
-
"task_summary_file": {
|
|
123
|
-
"artifact": {
|
|
124
|
-
"kind": "task-summary-file",
|
|
125
|
-
"taskKey": { "ref": "params.taskKey" }
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
"task_summary_json_file": {
|
|
129
|
-
"artifact": {
|
|
130
|
-
"kind": "task-summary-json-file",
|
|
131
|
-
"taskKey": { "ref": "params.taskKey" }
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
"format": "plain"
|
|
136
|
-
},
|
|
137
|
-
"params": {
|
|
138
|
-
"labelText": { "const": "Preparing task summary" },
|
|
139
|
-
"outputFile": {
|
|
140
|
-
"artifact": {
|
|
141
|
-
"kind": "task-summary-file",
|
|
142
|
-
"taskKey": { "ref": "params.taskKey" }
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
"requiredArtifacts": {
|
|
146
|
-
"list": [
|
|
147
|
-
{
|
|
148
|
-
"artifact": {
|
|
149
|
-
"kind": "task-summary-json-file",
|
|
150
|
-
"taskKey": { "ref": "params.taskKey" }
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
]
|
|
154
|
-
},
|
|
155
|
-
"model": { "const": "haiku" }
|
|
156
|
-
},
|
|
157
|
-
"expect": [
|
|
158
|
-
{
|
|
159
|
-
"kind": "require-artifacts",
|
|
160
|
-
"when": { "not": { "ref": "context.dryRun" } },
|
|
161
|
-
"paths": {
|
|
162
|
-
"list": [
|
|
163
|
-
{
|
|
164
|
-
"artifact": {
|
|
165
|
-
"kind": "task-summary-file",
|
|
166
|
-
"taskKey": { "ref": "params.taskKey" }
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
]
|
|
170
|
-
},
|
|
171
|
-
"message": "Claude summary did not produce the task summary artifact."
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
"kind": "require-structured-artifacts",
|
|
175
|
-
"when": { "not": { "ref": "context.dryRun" } },
|
|
176
|
-
"items": [
|
|
177
|
-
{
|
|
178
|
-
"path": {
|
|
179
|
-
"artifact": {
|
|
180
|
-
"kind": "task-summary-json-file",
|
|
181
|
-
"taskKey": { "ref": "params.taskKey" }
|
|
182
|
-
}
|
|
183
|
-
},
|
|
184
|
-
"schemaId": "task-summary/v1"
|
|
185
|
-
}
|
|
186
|
-
],
|
|
187
|
-
"message": "Claude summary produced invalid structured artifacts."
|
|
188
|
-
}
|
|
189
|
-
],
|
|
190
|
-
"after": [
|
|
191
|
-
{
|
|
192
|
-
"kind": "set-summary-from-file",
|
|
193
|
-
"when": { "not": { "ref": "context.dryRun" } },
|
|
194
|
-
"path": {
|
|
195
|
-
"artifact": {
|
|
196
|
-
"kind": "task-summary-file",
|
|
197
|
-
"taskKey": { "ref": "params.taskKey" }
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
]
|
|
202
|
-
}
|
|
203
|
-
]
|
|
204
|
-
}
|
|
205
|
-
]
|
|
206
|
-
}
|
|
@@ -1,243 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"kind": "review-project-flow",
|
|
3
|
-
"version": 1,
|
|
4
|
-
"phases": [
|
|
5
|
-
{
|
|
6
|
-
"id": "review",
|
|
7
|
-
"steps": [
|
|
8
|
-
{
|
|
9
|
-
"id": "run_claude_review",
|
|
10
|
-
"node": "claude-prompt",
|
|
11
|
-
"prompt": {
|
|
12
|
-
"templateRef": "review-project",
|
|
13
|
-
"vars": {
|
|
14
|
-
"review_file": {
|
|
15
|
-
"artifact": {
|
|
16
|
-
"kind": "review-file",
|
|
17
|
-
"taskKey": { "ref": "params.taskKey" },
|
|
18
|
-
"iteration": { "ref": "params.iteration" }
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
"review_json_file": {
|
|
22
|
-
"artifact": {
|
|
23
|
-
"kind": "review-json-file",
|
|
24
|
-
"taskKey": { "ref": "params.taskKey" },
|
|
25
|
-
"iteration": { "ref": "params.iteration" }
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"ready_to_merge_file": {
|
|
29
|
-
"artifact": {
|
|
30
|
-
"kind": "ready-to-merge-file",
|
|
31
|
-
"taskKey": { "ref": "params.taskKey" }
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
"extraPrompt": { "ref": "params.extraPrompt" },
|
|
36
|
-
"format": "task-prompt"
|
|
37
|
-
},
|
|
38
|
-
"params": {
|
|
39
|
-
"labelText": {
|
|
40
|
-
"template": "Running Claude project review mode (iteration {iteration})",
|
|
41
|
-
"vars": {
|
|
42
|
-
"iteration": { "ref": "params.iteration" }
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
"model": { "const": "opus" }
|
|
46
|
-
},
|
|
47
|
-
"expect": [
|
|
48
|
-
{
|
|
49
|
-
"kind": "require-artifacts",
|
|
50
|
-
"when": { "not": { "ref": "context.dryRun" } },
|
|
51
|
-
"paths": {
|
|
52
|
-
"list": [
|
|
53
|
-
{
|
|
54
|
-
"artifact": {
|
|
55
|
-
"kind": "review-file",
|
|
56
|
-
"taskKey": { "ref": "params.taskKey" },
|
|
57
|
-
"iteration": { "ref": "params.iteration" }
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
]
|
|
61
|
-
},
|
|
62
|
-
"message": "Claude project review did not produce the required review artifact."
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"kind": "require-structured-artifacts",
|
|
66
|
-
"when": { "not": { "ref": "context.dryRun" } },
|
|
67
|
-
"items": [
|
|
68
|
-
{
|
|
69
|
-
"path": {
|
|
70
|
-
"artifact": {
|
|
71
|
-
"kind": "review-json-file",
|
|
72
|
-
"taskKey": { "ref": "params.taskKey" },
|
|
73
|
-
"iteration": { "ref": "params.iteration" }
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
"schemaId": "review-findings/v1"
|
|
77
|
-
}
|
|
78
|
-
],
|
|
79
|
-
"message": "Claude project review produced invalid structured artifacts."
|
|
80
|
-
}
|
|
81
|
-
]
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"id": "summarize_review",
|
|
85
|
-
"when": { "not": { "ref": "context.dryRun" } },
|
|
86
|
-
"node": "claude-prompt",
|
|
87
|
-
"prompt": {
|
|
88
|
-
"templateRef": "review-summary",
|
|
89
|
-
"vars": {
|
|
90
|
-
"review_file": {
|
|
91
|
-
"artifact": {
|
|
92
|
-
"kind": "review-file",
|
|
93
|
-
"taskKey": { "ref": "params.taskKey" },
|
|
94
|
-
"iteration": { "ref": "params.iteration" }
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
"review_summary_file": {
|
|
98
|
-
"artifact": {
|
|
99
|
-
"kind": "review-summary-file",
|
|
100
|
-
"taskKey": { "ref": "params.taskKey" },
|
|
101
|
-
"iteration": { "ref": "params.iteration" }
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
"format": "plain"
|
|
106
|
-
},
|
|
107
|
-
"params": {
|
|
108
|
-
"labelText": { "const": "Preparing project review summary" },
|
|
109
|
-
"summaryTitle": { "const": "Project Review Comments" },
|
|
110
|
-
"model": { "const": "haiku" },
|
|
111
|
-
"outputFile": {
|
|
112
|
-
"artifact": {
|
|
113
|
-
"kind": "review-summary-file",
|
|
114
|
-
"taskKey": { "ref": "params.taskKey" },
|
|
115
|
-
"iteration": { "ref": "params.iteration" }
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
"id": "run_codex_review_reply",
|
|
122
|
-
"node": "codex-local-prompt",
|
|
123
|
-
"prompt": {
|
|
124
|
-
"templateRef": "review-reply-project",
|
|
125
|
-
"vars": {
|
|
126
|
-
"review_file": {
|
|
127
|
-
"artifact": {
|
|
128
|
-
"kind": "review-file",
|
|
129
|
-
"taskKey": { "ref": "params.taskKey" },
|
|
130
|
-
"iteration": { "ref": "params.iteration" }
|
|
131
|
-
}
|
|
132
|
-
},
|
|
133
|
-
"review_json_file": {
|
|
134
|
-
"artifact": {
|
|
135
|
-
"kind": "review-json-file",
|
|
136
|
-
"taskKey": { "ref": "params.taskKey" },
|
|
137
|
-
"iteration": { "ref": "params.iteration" }
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
"review_reply_file": {
|
|
141
|
-
"artifact": {
|
|
142
|
-
"kind": "review-reply-file",
|
|
143
|
-
"taskKey": { "ref": "params.taskKey" },
|
|
144
|
-
"iteration": { "ref": "params.iteration" }
|
|
145
|
-
}
|
|
146
|
-
},
|
|
147
|
-
"review_reply_json_file": {
|
|
148
|
-
"artifact": {
|
|
149
|
-
"kind": "review-reply-json-file",
|
|
150
|
-
"taskKey": { "ref": "params.taskKey" },
|
|
151
|
-
"iteration": { "ref": "params.iteration" }
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
},
|
|
155
|
-
"extraPrompt": { "ref": "params.extraPrompt" },
|
|
156
|
-
"format": "task-prompt"
|
|
157
|
-
},
|
|
158
|
-
"params": {
|
|
159
|
-
"labelText": {
|
|
160
|
-
"template": "Running Codex project review reply mode (iteration {iteration})",
|
|
161
|
-
"vars": {
|
|
162
|
-
"iteration": { "ref": "params.iteration" }
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
"model": { "const": "gpt-5.4" }
|
|
166
|
-
},
|
|
167
|
-
"expect": [
|
|
168
|
-
{
|
|
169
|
-
"kind": "require-artifacts",
|
|
170
|
-
"when": { "not": { "ref": "context.dryRun" } },
|
|
171
|
-
"paths": {
|
|
172
|
-
"list": [
|
|
173
|
-
{
|
|
174
|
-
"artifact": {
|
|
175
|
-
"kind": "review-reply-file",
|
|
176
|
-
"taskKey": { "ref": "params.taskKey" },
|
|
177
|
-
"iteration": { "ref": "params.iteration" }
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
]
|
|
181
|
-
},
|
|
182
|
-
"message": "Codex project review reply did not produce the required review-reply artifact."
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
"kind": "require-structured-artifacts",
|
|
186
|
-
"when": { "not": { "ref": "context.dryRun" } },
|
|
187
|
-
"items": [
|
|
188
|
-
{
|
|
189
|
-
"path": {
|
|
190
|
-
"artifact": {
|
|
191
|
-
"kind": "review-reply-json-file",
|
|
192
|
-
"taskKey": { "ref": "params.taskKey" },
|
|
193
|
-
"iteration": { "ref": "params.iteration" }
|
|
194
|
-
}
|
|
195
|
-
},
|
|
196
|
-
"schemaId": "review-reply/v1"
|
|
197
|
-
}
|
|
198
|
-
],
|
|
199
|
-
"message": "Codex project review reply produced invalid structured artifacts."
|
|
200
|
-
}
|
|
201
|
-
]
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
"id": "summarize_review_reply",
|
|
205
|
-
"when": { "not": { "ref": "context.dryRun" } },
|
|
206
|
-
"node": "claude-prompt",
|
|
207
|
-
"prompt": {
|
|
208
|
-
"templateRef": "review-reply-summary",
|
|
209
|
-
"vars": {
|
|
210
|
-
"review_reply_file": {
|
|
211
|
-
"artifact": {
|
|
212
|
-
"kind": "review-reply-file",
|
|
213
|
-
"taskKey": { "ref": "params.taskKey" },
|
|
214
|
-
"iteration": { "ref": "params.iteration" }
|
|
215
|
-
}
|
|
216
|
-
},
|
|
217
|
-
"review_reply_summary_file": {
|
|
218
|
-
"artifact": {
|
|
219
|
-
"kind": "review-reply-summary-file",
|
|
220
|
-
"taskKey": { "ref": "params.taskKey" },
|
|
221
|
-
"iteration": { "ref": "params.iteration" }
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
},
|
|
225
|
-
"format": "plain"
|
|
226
|
-
},
|
|
227
|
-
"params": {
|
|
228
|
-
"labelText": { "const": "Preparing project review reply summary" },
|
|
229
|
-
"summaryTitle": { "const": "Project Review Reply" },
|
|
230
|
-
"model": { "const": "haiku" },
|
|
231
|
-
"outputFile": {
|
|
232
|
-
"artifact": {
|
|
233
|
-
"kind": "review-reply-summary-file",
|
|
234
|
-
"taskKey": { "ref": "params.taskKey" },
|
|
235
|
-
"iteration": { "ref": "params.iteration" }
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
]
|
|
241
|
-
}
|
|
242
|
-
]
|
|
243
|
-
}
|