@bendyline/gilde 0.3.1 → 0.3.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/data/craftbook-templates/ab/ab-test-readout/versions/1.0.5/craftbook.json +418 -0
- package/data/craftbook-templates/ab/ab-test-readout/versions/1.0.5/test.json +196 -0
- package/data/craftbook-templates/ab/ab-test-readout/versions/1.0.6/craftbook.json +432 -0
- package/data/craftbook-templates/ab/ab-test-readout/versions/1.0.6/test.json +192 -0
- package/data/craftbook-templates/al/alert-rules/versions/1.0.5/craftbook.json +384 -0
- package/data/craftbook-templates/al/alert-rules/versions/1.0.5/test.json +145 -0
- package/data/craftbook-templates/bu/bug-fix-tdd/versions/2.0.7/craftbook.json +799 -0
- package/data/craftbook-templates/bu/bug-fix-tdd/versions/2.0.7/test.json +221 -0
- package/data/craftbook-templates/ch/changelog-writeup/versions/1.0.3/craftbook.json +119 -0
- package/data/craftbook-templates/ch/changelog-writeup/versions/1.0.3/test.json +128 -0
- package/data/craftbook-templates/co/codemod-sweep/versions/1.0.6/craftbook.json +661 -0
- package/data/craftbook-templates/co/codemod-sweep/versions/1.0.6/test.json +252 -0
- package/data/craftbook-templates/co/cohort-analysis/versions/1.0.5/craftbook.json +416 -0
- package/data/craftbook-templates/co/cohort-analysis/versions/1.0.5/test.json +238 -0
- package/data/craftbook-templates/co/content-accuracy-review/versions/1.1.2/craftbook.json +494 -0
- package/data/craftbook-templates/co/content-accuracy-review/versions/1.1.2/test.json +167 -0
- package/data/craftbook-templates/co/corpus-synthesis/versions/1.0.5/craftbook.json +419 -0
- package/data/craftbook-templates/co/corpus-synthesis/versions/1.0.5/test.json +172 -0
- package/data/craftbook-templates/cs/csv-transformer/versions/1.2.6/craftbook.json +285 -0
- package/data/craftbook-templates/cs/csv-transformer/versions/1.2.6/test.json +102 -0
- package/data/craftbook-templates/da/data-quality-audit/versions/1.0.5/craftbook.json +431 -0
- package/data/craftbook-templates/da/data-quality-audit/versions/1.0.5/test.json +348 -0
- package/data/craftbook-templates/de/deep-security-review/versions/1.1.5/craftbook.json +452 -0
- package/data/craftbook-templates/de/deep-security-review/versions/1.1.5/test.json +184 -0
- package/data/craftbook-templates/di/digest-from-feeds/versions/1.0.6/craftbook.json +312 -0
- package/data/craftbook-templates/di/digest-from-feeds/versions/1.0.6/test.json +87 -0
- package/data/craftbook-templates/en/engineering-retrospective/versions/2.0.18/craftbook.json +702 -0
- package/data/craftbook-templates/en/engineering-retrospective/versions/2.0.18/test.json +191 -0
- package/data/craftbook-templates/ht/html-arcade-game/versions/1.2.5/craftbook.json +480 -0
- package/data/craftbook-templates/ht/html-arcade-game/versions/1.2.5/test.json +176 -0
- package/data/craftbook-templates/in/investigate/versions/1.1.1/craftbook.json +85 -0
- package/data/craftbook-templates/in/investigate/versions/1.1.1/test.json +118 -0
- package/data/craftbook-templates/in/invoice-run/versions/1.1.9/craftbook.json +515 -0
- package/data/craftbook-templates/in/invoice-run/versions/1.1.9/test.json +140 -0
- package/data/craftbook-templates/index.json +1 -1
- package/data/craftbook-templates/ma/market-scan/versions/1.0.5/craftbook.json +480 -0
- package/data/craftbook-templates/ma/market-scan/versions/1.0.5/test.json +223 -0
- package/data/craftbook-templates/me/meeting-prep-brief/versions/1.0.5/craftbook.json +255 -0
- package/data/craftbook-templates/me/meeting-prep-brief/versions/1.0.5/test.json +140 -0
- package/data/craftbook-templates/mo/morning-brief/versions/1.0.6/craftbook.json +270 -0
- package/data/craftbook-templates/mo/morning-brief/versions/1.0.6/test.json +105 -0
- package/data/craftbook-templates/pe/perf-audit/versions/1.1.3/craftbook.json +320 -0
- package/data/craftbook-templates/pe/perf-audit/versions/1.1.3/test.json +94 -0
- package/data/craftbook-templates/po/powerpoint-deck/versions/1.7.19/craftbook.json +603 -0
- package/data/craftbook-templates/po/powerpoint-deck/versions/1.7.19/test.json +266 -0
- package/data/craftbook-templates/pr/press-release/versions/1.0.6/craftbook.json +450 -0
- package/data/craftbook-templates/pr/press-release/versions/1.0.6/test.json +356 -0
- package/data/craftbook-templates/raw-index.json +1 -1
- package/data/craftbook-templates/re/refactor-module/versions/2.0.7/craftbook.json +753 -0
- package/data/craftbook-templates/re/refactor-module/versions/2.0.7/test.json +241 -0
- package/data/craftbook-templates/re/release-notes/versions/1.0.6/craftbook.json +339 -0
- package/data/craftbook-templates/re/release-notes/versions/1.0.6/test.json +107 -0
- package/data/craftbook-templates/re/research-report/versions/1.0.6/craftbook.json +417 -0
- package/data/craftbook-templates/re/research-report/versions/1.0.6/test.json +183 -0
- package/data/craftbook-templates/ro/rollback-plan/versions/1.0.6/craftbook.json +319 -0
- package/data/craftbook-templates/ro/rollback-plan/versions/1.0.6/test.json +87 -0
- package/data/craftbook-templates/ru/runbook/versions/1.0.5/craftbook.json +491 -0
- package/data/craftbook-templates/ru/runbook/versions/1.0.5/test.json +118 -0
- package/data/craftbook-templates/we/week-plan/versions/1.0.5/craftbook.json +313 -0
- package/data/craftbook-templates/we/week-plan/versions/1.0.5/test.json +175 -0
- package/data/gezel-templates/im/image-editor/manifest.json +21 -0
- package/data/gezel-templates/im/image-editor/versions/1.0.0/about.md +17 -0
- package/data/gezel-templates/im/image-editor/versions/1.0.0/manifest.json +14 -0
- package/data/gezel-templates/index.json +1 -1
- package/data/gezel-templates/raw-index.json +1 -1
- package/data/image-models/fl/flux-2-klein-4b-q4/manifest.json +3 -0
- package/data/image-models/index.json +1 -1
- package/data/image-models/qw/qwen-image-edit-2511-q4/manifest.json +44 -0
- package/data/image-models/qw/qwen-image-edit-2511-q4/versions/1.0.0/manifest.json +36 -0
- package/data/image-models/raw-index.json +1 -1
- package/package.json +1 -1
- package/schemas/image-model-identity.schema.json +16 -0
- package/schemas/image-model-version.schema.json +1 -0
|
@@ -0,0 +1,480 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "market-scan",
|
|
3
|
+
"name": "Market & Landscape Scan",
|
|
4
|
+
"description": "Survey a market or landscape and write a scan that sizes it, maps the players, and surfaces trends: a planner scopes the market boundary and the lenses (size, segments, players, trends, drivers, risks), a researcher gathers sized figures and landscape facts with sources, and a copywriter writes a structured landscape report. The ordering matters because a scan without a defined boundary mixes adjacent markets and inflates numbers, and one without locked lenses skips the dimensions a decision-maker needs; fixing boundary and lenses first keeps the scan focused and comparable. Use this for market landscape scans, industry overviews, TAM/segmentation reads, trend analyses, and 'give me the lay of the land in X' requests.\n\nA gallery craftbook generated from an archetype spec. It runs\n`phase → (per-phase gate) → … → evaluate → (loop) → finish`. Each build\nphase that produces a checkable artifact is followed by a **runtime\ngate-checkpoint** — the runtime verifies the artifact and routes with no\nmodel turn, looping back to redo the phase on a miss. The final `evaluate`\nstep holds a static deliverable gate plus a reviewer QA pass. What it adds\nover the generic `build-loop`: a specialist role per phase, a\ndomain-correct ordering, and a concrete per-phase quality bar.\n\nDeliverables marked \"artifact\" land in the project's artifacts drawer (`write_artifact` / `read_artifact`), not the shipped workspace — review output is not product source.\n\nPhases:\n\n1. Scope the scan (planner) — define the market boundary + analysis lenses → gated on artifact `{{workPath}}/scope.md` (markdown-notes)\n2. Gather landscape facts (researcher) — sized figures, players, and trends with sources → gated on artifact `{{workPath}}/findings.md` (markdown-notes)\n3. Write the scan (copywriter) — structured landscape report from the findings → gated on artifact `{{workPath}}/scan.md` (markdown-report)\n\nThe gates never advance with an unmet criterion, and loop back to the\nowning phase to fix named gaps.\n",
|
|
5
|
+
"entryStepId": "scope",
|
|
6
|
+
"triggers": [
|
|
7
|
+
"market scan",
|
|
8
|
+
"landscape overview",
|
|
9
|
+
"lay of the land",
|
|
10
|
+
"industry analysis",
|
|
11
|
+
"market sizing and trends"
|
|
12
|
+
],
|
|
13
|
+
"paramSchema": {
|
|
14
|
+
"type": "object",
|
|
15
|
+
"properties": {
|
|
16
|
+
"workPath": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"title": "Working folder",
|
|
19
|
+
"description": "Per-task working folder in the artifacts drawer. Defaults to this task's own folder so runs never collide; override with a stable name when you deliberately want runs to share files.",
|
|
20
|
+
"default": "{{task.dir}}"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"contract": {
|
|
25
|
+
"goal": "A market scan inside a stated boundary that sizes the market, maps its segments and players, and covers drivers, trends and risks, where every sized figure is cited to a dated source and appears in it.",
|
|
26
|
+
"deliverables": [
|
|
27
|
+
{
|
|
28
|
+
"id": "scan",
|
|
29
|
+
"path": "{{workPath}}/scan.md",
|
|
30
|
+
"artifact": true,
|
|
31
|
+
"kind": "markdown-report",
|
|
32
|
+
"description": "The landscape report: the headline read and market boundary, a section per lens, a so-what takeaway, and the References its [n] citations point to"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"grounding": {
|
|
36
|
+
"citationStyle": "numbered"
|
|
37
|
+
},
|
|
38
|
+
"criteria": [
|
|
39
|
+
{
|
|
40
|
+
"id": "substantial",
|
|
41
|
+
"kind": "acceptance",
|
|
42
|
+
"text": "The scan is a full document organized under section headings",
|
|
43
|
+
"checks": [
|
|
44
|
+
{
|
|
45
|
+
"kind": "minBytes",
|
|
46
|
+
"file": "{{workPath}}/scan.md",
|
|
47
|
+
"bytes": 1500,
|
|
48
|
+
"artifact": true
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"kind": "contains",
|
|
52
|
+
"file": "{{workPath}}/scan.md",
|
|
53
|
+
"pattern": "(?:^|\\n)#{1,3}\\s+\\S",
|
|
54
|
+
"label": "section headings",
|
|
55
|
+
"artifact": true
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"id": "boundary",
|
|
61
|
+
"kind": "acceptance",
|
|
62
|
+
"text": "It states the market boundary and names the adjacent markets it excludes",
|
|
63
|
+
"checks": [
|
|
64
|
+
{
|
|
65
|
+
"kind": "contains",
|
|
66
|
+
"file": "{{workPath}}/scan.md",
|
|
67
|
+
"pattern": "exclu(?:de|des|ded|ding|sion|sions)\\b|out of scope|outside (?:the |this |our )?(?:scope|boundary)|not (?:included|covered|in scope)",
|
|
68
|
+
"flags": "i",
|
|
69
|
+
"label": "the exclusions that bound the market",
|
|
70
|
+
"artifact": true
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"id": "lenses",
|
|
76
|
+
"kind": "acceptance",
|
|
77
|
+
"text": "It has its own section for market size and growth, segments, players, demand drivers, trends, and risks",
|
|
78
|
+
"checks": [
|
|
79
|
+
{
|
|
80
|
+
"kind": "contains",
|
|
81
|
+
"file": "{{workPath}}/scan.md",
|
|
82
|
+
"pattern": "^#{1,4}\\s+[^\\n]*(?:\\b(?:size|sizing|spend|spending|revenue|market value|valuation|TAM)\\b|\\bgrowth\\b(?![^\\n]*\\bdriv))",
|
|
83
|
+
"flags": "im",
|
|
84
|
+
"label": "a market size and growth section",
|
|
85
|
+
"artifact": true
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"kind": "contains",
|
|
89
|
+
"file": "{{workPath}}/scan.md",
|
|
90
|
+
"pattern": "^#{1,4}\\s+[^\\n]*\\b(?:segment|buyer|customer|sub-?market)",
|
|
91
|
+
"flags": "im",
|
|
92
|
+
"label": "a segments section",
|
|
93
|
+
"artifact": true
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"kind": "contains",
|
|
97
|
+
"file": "{{workPath}}/scan.md",
|
|
98
|
+
"pattern": "^#{1,4}\\s+[^\\n]*\\b(?:player|competit|vendor|landscape|compan|incumbent|provider|leader|market map)",
|
|
99
|
+
"flags": "im",
|
|
100
|
+
"label": "a players section",
|
|
101
|
+
"artifact": true
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"kind": "contains",
|
|
105
|
+
"file": "{{workPath}}/scan.md",
|
|
106
|
+
"pattern": "^#{1,4}\\s+[^\\n]*\\b(?:driv|demand|tailwind|catalyst)",
|
|
107
|
+
"flags": "im",
|
|
108
|
+
"label": "a demand drivers section",
|
|
109
|
+
"artifact": true
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"kind": "contains",
|
|
113
|
+
"file": "{{workPath}}/scan.md",
|
|
114
|
+
"pattern": "^#{1,4}\\s+[^\\n]*\\btrend",
|
|
115
|
+
"flags": "im",
|
|
116
|
+
"label": "a trends section",
|
|
117
|
+
"artifact": true
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"kind": "contains",
|
|
121
|
+
"file": "{{workPath}}/scan.md",
|
|
122
|
+
"pattern": "^#{1,4}\\s+[^\\n]*\\b(?:risk|headwind|threat|challenge|constraint|barrier)",
|
|
123
|
+
"flags": "im",
|
|
124
|
+
"label": "a risks section",
|
|
125
|
+
"artifact": true
|
|
126
|
+
}
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"id": "takeaway",
|
|
131
|
+
"kind": "acceptance",
|
|
132
|
+
"text": "It closes with a short so-what takeaway for the reader",
|
|
133
|
+
"checks": [
|
|
134
|
+
{
|
|
135
|
+
"kind": "contains",
|
|
136
|
+
"file": "{{workPath}}/scan.md",
|
|
137
|
+
"pattern": "so[- ]what|takeaway|implications?\\b|bottom line|what this means|recommendations?\\b|key insight",
|
|
138
|
+
"flags": "i",
|
|
139
|
+
"label": "a so-what takeaway",
|
|
140
|
+
"artifact": true
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"id": "references",
|
|
146
|
+
"kind": "acceptance",
|
|
147
|
+
"text": "It lists the sources behind its [n] citations in a References or Sources section, each with a path or URL",
|
|
148
|
+
"checks": [
|
|
149
|
+
{
|
|
150
|
+
"kind": "contains",
|
|
151
|
+
"file": "{{workPath}}/scan.md",
|
|
152
|
+
"pattern": "(?:^|\\n)#{1,6}\\s*(?:sources|references|citations|works cited|bibliography)\\b",
|
|
153
|
+
"flags": "i",
|
|
154
|
+
"label": "a References or Sources section",
|
|
155
|
+
"artifact": true
|
|
156
|
+
}
|
|
157
|
+
]
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"id": "cited",
|
|
161
|
+
"kind": "quality",
|
|
162
|
+
"text": "Its figures carry citations, and every cited file exists",
|
|
163
|
+
"checks": [
|
|
164
|
+
{
|
|
165
|
+
"kind": "citationsResolve",
|
|
166
|
+
"file": "{{workPath}}/scan.md",
|
|
167
|
+
"minCitations": 1,
|
|
168
|
+
"artifact": true
|
|
169
|
+
}
|
|
170
|
+
]
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"id": "grounded",
|
|
174
|
+
"kind": "quality",
|
|
175
|
+
"text": "Every size, growth rate, date and quote appears in the source it cites; no figure is stated without a source",
|
|
176
|
+
"checks": [
|
|
177
|
+
{
|
|
178
|
+
"kind": "claimsGrounded",
|
|
179
|
+
"file": "{{workPath}}/scan.md",
|
|
180
|
+
"artifact": true
|
|
181
|
+
}
|
|
182
|
+
]
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"id": "focused",
|
|
186
|
+
"kind": "quality",
|
|
187
|
+
"enforce": "advisory",
|
|
188
|
+
"text": "It leads with the headline read, stays inside the boundary without mixing in adjacent markets, gives each sized figure its year, and names at least three trends with evidence",
|
|
189
|
+
"judge": {
|
|
190
|
+
"rubric": "Does the scan lead with a clear headline read, stay inside its stated boundary, date its sized figures, and name at least three evidenced trends a decision-maker could use?"
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
]
|
|
194
|
+
},
|
|
195
|
+
"steps": [
|
|
196
|
+
{
|
|
197
|
+
"id": "scope",
|
|
198
|
+
"name": "Scope the scan",
|
|
199
|
+
"description": "define the market boundary + analysis lenses",
|
|
200
|
+
"prompt": "1. Define the market boundary precisely: what product/service category, geography, and timeframe — and state explicitly what adjacent markets are excluded. 2. Lock the lenses the scan will cover (e.g. market size & growth, key segments, major players/share, demand drivers, trends, risks/headwinds) and what each must contain. 3. Decide the report structure and where sized figures come from (state that figures must cite a source and a date). 4. Write an acceptance-criteria checklist (e.g. 'market boundary is stated and exclusions named', 'each lens has its own section', 'every sized figure cites a source + date', 'at least N notable players are mapped', 'a trends section with 3+ named trends exists'). 5. Record decisions. Call write_task_note with the boundary, lenses, and checklist; write the same to {{workPath}}/scope.md.\n\nThe deliverable `{{workPath}}/scope.md` lands in the project's artifacts drawer — write it with `write_artifact` and read it back with `read_artifact`; the shipped workspace stays untouched.",
|
|
201
|
+
"suggestedRole": "planner",
|
|
202
|
+
"advanceWhen": {
|
|
203
|
+
"file": "{{workPath}}/scope.md",
|
|
204
|
+
"minBytes": 1,
|
|
205
|
+
"sniff": "nonempty",
|
|
206
|
+
"artifact": true
|
|
207
|
+
},
|
|
208
|
+
"gate": {
|
|
209
|
+
"at": "completion",
|
|
210
|
+
"checks": [
|
|
211
|
+
{
|
|
212
|
+
"kind": "minBytes",
|
|
213
|
+
"file": "{{workPath}}/scope.md",
|
|
214
|
+
"bytes": 120,
|
|
215
|
+
"artifact": true
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"kind": "sniff",
|
|
219
|
+
"file": "{{workPath}}/scope.md",
|
|
220
|
+
"sniff": "nonempty",
|
|
221
|
+
"artifact": true
|
|
222
|
+
}
|
|
223
|
+
],
|
|
224
|
+
"onReject": "scope",
|
|
225
|
+
"maxAttempts": 3
|
|
226
|
+
},
|
|
227
|
+
"next": "research",
|
|
228
|
+
"toolPolicy": {
|
|
229
|
+
"disallowBuiltinToolsets": [
|
|
230
|
+
"ai-apps",
|
|
231
|
+
"archives",
|
|
232
|
+
"audio",
|
|
233
|
+
"browser-automation",
|
|
234
|
+
"code-execution",
|
|
235
|
+
"craftbooks",
|
|
236
|
+
"data-tables",
|
|
237
|
+
"entity-intel",
|
|
238
|
+
"git",
|
|
239
|
+
"image-intel",
|
|
240
|
+
"images",
|
|
241
|
+
"role-delegation",
|
|
242
|
+
"role-delegation-escalation",
|
|
243
|
+
"security-intel",
|
|
244
|
+
"team-management",
|
|
245
|
+
"videos",
|
|
246
|
+
"web",
|
|
247
|
+
"workspace-fs-write"
|
|
248
|
+
],
|
|
249
|
+
"outputMedium": "artifact",
|
|
250
|
+
"additionalOutputMedia": [
|
|
251
|
+
"task-note"
|
|
252
|
+
]
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"id": "research",
|
|
257
|
+
"name": "Gather landscape facts",
|
|
258
|
+
"description": "sized figures, players, and trends with sources",
|
|
259
|
+
"prompt": "1. For each locked lens, gather concrete facts into {{workPath}}/findings.md: market size/growth figures (with the figure, the year, and the source [n]), the key segments, the notable players with what each is known for, the demand drivers, and 3+ named trends with evidence. 2. Cite every sized figure to a dated source; prefer recent, reputable data and reconcile conflicting numbers by noting the range and which source you trust. 3. Map at least the required number of players, each with a one-line positioning. 4. Flag estimates vs hard figures, and mark anything unverifiable as UNVERIFIED. Good looks like a findings file where each lens already has its evidence. Do not write the narrative yet.\n\nThe deliverable `{{workPath}}/findings.md` lands in the project's artifacts drawer — write it with `write_artifact` and read it back with `read_artifact`; the shipped workspace stays untouched.",
|
|
260
|
+
"suggestedRole": "researcher",
|
|
261
|
+
"advanceWhen": {
|
|
262
|
+
"file": "{{workPath}}/findings.md",
|
|
263
|
+
"minBytes": 1,
|
|
264
|
+
"sniff": "nonempty",
|
|
265
|
+
"artifact": true
|
|
266
|
+
},
|
|
267
|
+
"gate": {
|
|
268
|
+
"at": "completion",
|
|
269
|
+
"checks": [
|
|
270
|
+
{
|
|
271
|
+
"kind": "minBytes",
|
|
272
|
+
"file": "{{workPath}}/findings.md",
|
|
273
|
+
"bytes": 120,
|
|
274
|
+
"artifact": true
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"kind": "sniff",
|
|
278
|
+
"file": "{{workPath}}/findings.md",
|
|
279
|
+
"sniff": "nonempty",
|
|
280
|
+
"artifact": true
|
|
281
|
+
}
|
|
282
|
+
],
|
|
283
|
+
"onReject": "research",
|
|
284
|
+
"maxAttempts": 3
|
|
285
|
+
},
|
|
286
|
+
"next": "write",
|
|
287
|
+
"toolPolicy": {
|
|
288
|
+
"disallowBuiltinToolsets": [
|
|
289
|
+
"ai-apps",
|
|
290
|
+
"archives",
|
|
291
|
+
"audio",
|
|
292
|
+
"browser-automation",
|
|
293
|
+
"code-execution",
|
|
294
|
+
"craftbooks",
|
|
295
|
+
"data-tables",
|
|
296
|
+
"entity-intel",
|
|
297
|
+
"git",
|
|
298
|
+
"image-intel",
|
|
299
|
+
"images",
|
|
300
|
+
"role-delegation",
|
|
301
|
+
"role-delegation-escalation",
|
|
302
|
+
"security-intel",
|
|
303
|
+
"team-management",
|
|
304
|
+
"videos",
|
|
305
|
+
"workspace-fs-write"
|
|
306
|
+
],
|
|
307
|
+
"outputMedium": "artifact"
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"id": "write",
|
|
312
|
+
"name": "Write the scan",
|
|
313
|
+
"description": "structured landscape report from the findings",
|
|
314
|
+
"prompt": "1. Write {{workPath}}/scan.md with a section per locked lens: an opening that states the market boundary and exclusions, then size & growth, segments, players (a short table or list), drivers, trends, and risks. 2. Every sized figure carries its citation [n] and year; never state a number without a source. 3. Lead with the headline read of the market, then the supporting detail. 4. Close with a short 'so what' takeaway. 5. Add a References list from {{workPath}}/findings.md so every [n] resolves. 6. On a loop-back, fix only the named gaps. 7. Call write_task_note with the scan path and which criteria now pass.\n\nBefore working, open the artifact input `{{workPath}}/findings.md` with `read_artifact`; do not look for it in the workspace.\n\nThe deliverable `{{workPath}}/scan.md` lands in the project's artifacts drawer — write it with `write_artifact` and read it back with `read_artifact`; the shipped workspace stays untouched.",
|
|
315
|
+
"suggestedRole": "copywriter",
|
|
316
|
+
"consumes": [
|
|
317
|
+
{
|
|
318
|
+
"file": "{{workPath}}/findings.md",
|
|
319
|
+
"artifact": true
|
|
320
|
+
}
|
|
321
|
+
],
|
|
322
|
+
"advanceWhen": {
|
|
323
|
+
"file": "{{workPath}}/scan.md",
|
|
324
|
+
"minBytes": 1,
|
|
325
|
+
"sniff": "nonempty",
|
|
326
|
+
"artifact": true
|
|
327
|
+
},
|
|
328
|
+
"gate": {
|
|
329
|
+
"at": "completion",
|
|
330
|
+
"checks": [
|
|
331
|
+
{
|
|
332
|
+
"kind": "minBytes",
|
|
333
|
+
"file": "{{workPath}}/scan.md",
|
|
334
|
+
"bytes": 1500,
|
|
335
|
+
"artifact": true
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"kind": "contains",
|
|
339
|
+
"file": "{{workPath}}/scan.md",
|
|
340
|
+
"pattern": "(?:^|\\n)#{1,3}\\s+\\S",
|
|
341
|
+
"flags": "i",
|
|
342
|
+
"label": "at least one markdown heading",
|
|
343
|
+
"artifact": true
|
|
344
|
+
}
|
|
345
|
+
],
|
|
346
|
+
"onReject": "write",
|
|
347
|
+
"maxAttempts": 4
|
|
348
|
+
},
|
|
349
|
+
"next": "evaluate",
|
|
350
|
+
"toolPolicy": {
|
|
351
|
+
"disallowBuiltinToolsets": [
|
|
352
|
+
"ai-apps",
|
|
353
|
+
"archives",
|
|
354
|
+
"audio",
|
|
355
|
+
"browser-automation",
|
|
356
|
+
"code-execution",
|
|
357
|
+
"craftbooks",
|
|
358
|
+
"data-tables",
|
|
359
|
+
"entity-intel",
|
|
360
|
+
"git",
|
|
361
|
+
"image-intel",
|
|
362
|
+
"images",
|
|
363
|
+
"role-delegation",
|
|
364
|
+
"role-delegation-escalation",
|
|
365
|
+
"security-intel",
|
|
366
|
+
"team-management",
|
|
367
|
+
"videos",
|
|
368
|
+
"web",
|
|
369
|
+
"workspace-fs-write"
|
|
370
|
+
],
|
|
371
|
+
"outputMedium": "artifact",
|
|
372
|
+
"additionalOutputMedia": [
|
|
373
|
+
"task-note"
|
|
374
|
+
]
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"id": "evaluate",
|
|
379
|
+
"name": "Evaluate",
|
|
380
|
+
"description": "Grade the deliverable against every acceptance criterion. All pass → finish; any fail → loop back and fix the gap.",
|
|
381
|
+
"prompt": "Open {{workPath}}/scan.md and check EACH criterion PASS/FAIL: (1) the market boundary and exclusions are stated; (2) every locked lens has its own section; (3) every sized figure carries a source and year (spot-check 3 against {{workPath}}/findings.md); (4) at least the required number of players are mapped with positioning; (5) a trends section names 3+ trends with evidence; (6) a 'so what' takeaway exists. A scan that mixes adjacent markets or states unsourced figures FAILS.\n\nThe deliverable lives in the project's artifacts drawer — open `{{workPath}}/scan.md` with `read_artifact`, not `read_file`.\n\nThen record your verdict — this is the whole point of the loop:\n\n1. If any criterion fails, first write the specific gaps to the task notes with `write_task_note`: which file, which part, and what is missing. The \"Write the scan\" step reads them when it fixes the work.\n2. When you have graded every criterion, write `{{workPath}}/verdict.md` with `write_artifact`. One line per criterion and no preamble: the criterion, its one-line reason, then PASS or FAIL as the last word on the line. Writing verdict.md completes this step.\n\nThe runtime routes on the verdict: every line PASS moves the task to \"Finish\"; any FAIL sends it back to \"Write the scan\" to fix those gaps, and a review that keeps failing pauses the task for the user. Mark a criterion PASS only when it is met. The build phase's completion gate already blocked a grossly-incomplete deliverable; your job is the judgment an automated check cannot make (does it actually work, read well, look right).",
|
|
382
|
+
"suggestedRole": "reviewer",
|
|
383
|
+
"consumes": [
|
|
384
|
+
{
|
|
385
|
+
"file": "{{workPath}}/scan.md",
|
|
386
|
+
"artifact": true
|
|
387
|
+
}
|
|
388
|
+
],
|
|
389
|
+
"advanceWhen": {
|
|
390
|
+
"file": "{{workPath}}/verdict.md",
|
|
391
|
+
"minBytes": 40,
|
|
392
|
+
"sniff": "nonempty",
|
|
393
|
+
"artifact": true
|
|
394
|
+
},
|
|
395
|
+
"gate": {
|
|
396
|
+
"at": "completion",
|
|
397
|
+
"checks": [
|
|
398
|
+
{
|
|
399
|
+
"kind": "contains",
|
|
400
|
+
"file": "{{workPath}}/verdict.md",
|
|
401
|
+
"pattern": "(?<!/\\s*)\\bPASS\\b(?!\\s*/)",
|
|
402
|
+
"label": "the verdict marks its criteria PASS",
|
|
403
|
+
"artifact": true
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"kind": "notContains",
|
|
407
|
+
"file": "{{workPath}}/verdict.md",
|
|
408
|
+
"pattern": "(?<!/\\s*)\\bFAIL\\b(?!\\s*/)",
|
|
409
|
+
"label": "no criterion is marked FAIL",
|
|
410
|
+
"artifact": true
|
|
411
|
+
}
|
|
412
|
+
],
|
|
413
|
+
"onReject": "write",
|
|
414
|
+
"maxAttempts": 3
|
|
415
|
+
},
|
|
416
|
+
"next": "finish",
|
|
417
|
+
"toolPolicy": {
|
|
418
|
+
"disallowBuiltinToolsets": [
|
|
419
|
+
"ai-apps",
|
|
420
|
+
"archives",
|
|
421
|
+
"audio",
|
|
422
|
+
"browser-automation",
|
|
423
|
+
"code-execution",
|
|
424
|
+
"craftbooks",
|
|
425
|
+
"data-tables",
|
|
426
|
+
"entity-intel",
|
|
427
|
+
"git",
|
|
428
|
+
"image-intel",
|
|
429
|
+
"images",
|
|
430
|
+
"role-delegation",
|
|
431
|
+
"role-delegation-escalation",
|
|
432
|
+
"security-intel",
|
|
433
|
+
"team-management",
|
|
434
|
+
"videos",
|
|
435
|
+
"web",
|
|
436
|
+
"workspace-fs-write"
|
|
437
|
+
],
|
|
438
|
+
"outputMedium": "artifact",
|
|
439
|
+
"additionalOutputMedia": [
|
|
440
|
+
"task-note"
|
|
441
|
+
]
|
|
442
|
+
}
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"id": "finish",
|
|
446
|
+
"name": "Finish",
|
|
447
|
+
"description": "All acceptance criteria met. Stamp a short summary and report DONE.",
|
|
448
|
+
"prompt": "Every acceptance criterion passed. Write a one-paragraph DONE summary to task notes via `write_task_note`: what was built, the deliverable path(s), and a one-line confirmation that each criterion is met. Then report DONE.",
|
|
449
|
+
"suggestedRole": "developer",
|
|
450
|
+
"terminal": true,
|
|
451
|
+
"toolPolicy": {
|
|
452
|
+
"disallowBuiltinToolsets": [
|
|
453
|
+
"ai-apps",
|
|
454
|
+
"archives",
|
|
455
|
+
"artifacts",
|
|
456
|
+
"audio",
|
|
457
|
+
"browser-automation",
|
|
458
|
+
"code-execution",
|
|
459
|
+
"craftbooks",
|
|
460
|
+
"data-tables",
|
|
461
|
+
"entity-intel",
|
|
462
|
+
"git",
|
|
463
|
+
"image-intel",
|
|
464
|
+
"images",
|
|
465
|
+
"role-delegation",
|
|
466
|
+
"role-delegation-escalation",
|
|
467
|
+
"security-intel",
|
|
468
|
+
"team-management",
|
|
469
|
+
"videos",
|
|
470
|
+
"web",
|
|
471
|
+
"workspace-fs-write"
|
|
472
|
+
],
|
|
473
|
+
"outputMedium": "task-note"
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
],
|
|
477
|
+
"version": "1.0.5",
|
|
478
|
+
"releasedAt": "2026-10-23T00:00:00Z",
|
|
479
|
+
"minGezelVersion": "1.26295"
|
|
480
|
+
}
|