@bendyline/gilde 0.3.0 → 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.
Files changed (94) hide show
  1. package/authoring/tactical/wave.json +18 -18
  2. package/data/craftbook-templates/ab/ab-test-readout/versions/1.0.5/craftbook.json +418 -0
  3. package/data/craftbook-templates/ab/ab-test-readout/versions/1.0.5/test.json +196 -0
  4. package/data/craftbook-templates/ab/ab-test-readout/versions/1.0.6/craftbook.json +432 -0
  5. package/data/craftbook-templates/ab/ab-test-readout/versions/1.0.6/test.json +192 -0
  6. package/data/craftbook-templates/al/alert-rules/versions/1.0.5/craftbook.json +384 -0
  7. package/data/craftbook-templates/al/alert-rules/versions/1.0.5/test.json +145 -0
  8. package/data/craftbook-templates/bu/bug-fix-tdd/versions/2.0.6/craftbook.json +736 -0
  9. package/data/craftbook-templates/bu/bug-fix-tdd/versions/2.0.6/test.json +221 -0
  10. package/data/craftbook-templates/bu/bug-fix-tdd/versions/2.0.7/craftbook.json +799 -0
  11. package/data/craftbook-templates/bu/bug-fix-tdd/versions/2.0.7/test.json +221 -0
  12. package/data/craftbook-templates/ch/changelog-writeup/versions/1.0.3/craftbook.json +119 -0
  13. package/data/craftbook-templates/ch/changelog-writeup/versions/1.0.3/test.json +128 -0
  14. package/data/craftbook-templates/co/codemod-sweep/versions/1.0.5/craftbook.json +607 -0
  15. package/data/craftbook-templates/co/codemod-sweep/versions/1.0.5/test.json +252 -0
  16. package/data/craftbook-templates/co/codemod-sweep/versions/1.0.6/craftbook.json +661 -0
  17. package/data/craftbook-templates/co/codemod-sweep/versions/1.0.6/test.json +252 -0
  18. package/data/craftbook-templates/co/cohort-analysis/versions/1.0.5/craftbook.json +416 -0
  19. package/data/craftbook-templates/co/cohort-analysis/versions/1.0.5/test.json +238 -0
  20. package/data/craftbook-templates/co/content-accuracy-review/versions/1.1.2/craftbook.json +494 -0
  21. package/data/craftbook-templates/co/content-accuracy-review/versions/1.1.2/test.json +167 -0
  22. package/data/craftbook-templates/co/corpus-synthesis/versions/1.0.5/craftbook.json +419 -0
  23. package/data/craftbook-templates/co/corpus-synthesis/versions/1.0.5/test.json +172 -0
  24. package/data/craftbook-templates/cs/csv-transformer/versions/1.2.6/craftbook.json +285 -0
  25. package/data/craftbook-templates/cs/csv-transformer/versions/1.2.6/test.json +102 -0
  26. package/data/craftbook-templates/da/data-quality-audit/versions/1.0.5/craftbook.json +431 -0
  27. package/data/craftbook-templates/da/data-quality-audit/versions/1.0.5/test.json +348 -0
  28. package/data/craftbook-templates/de/deep-security-review/versions/1.1.5/craftbook.json +452 -0
  29. package/data/craftbook-templates/de/deep-security-review/versions/1.1.5/test.json +184 -0
  30. package/data/craftbook-templates/de/dependency-upgrade/versions/1.0.6/craftbook.json +625 -0
  31. package/data/craftbook-templates/de/dependency-upgrade/versions/1.0.6/test.json +235 -0
  32. package/data/craftbook-templates/di/digest-from-feeds/versions/1.0.6/craftbook.json +312 -0
  33. package/data/craftbook-templates/di/digest-from-feeds/versions/1.0.6/test.json +87 -0
  34. package/data/craftbook-templates/en/engineering-retrospective/versions/2.0.18/craftbook.json +702 -0
  35. package/data/craftbook-templates/en/engineering-retrospective/versions/2.0.18/test.json +191 -0
  36. package/data/craftbook-templates/fl/flaky-test-fix/versions/1.0.5/craftbook.json +720 -0
  37. package/data/craftbook-templates/fl/flaky-test-fix/versions/1.0.5/test.json +239 -0
  38. package/data/craftbook-templates/ht/html-arcade-game/versions/1.2.5/craftbook.json +480 -0
  39. package/data/craftbook-templates/ht/html-arcade-game/versions/1.2.5/test.json +176 -0
  40. package/data/craftbook-templates/in/investigate/versions/1.1.1/craftbook.json +85 -0
  41. package/data/craftbook-templates/in/investigate/versions/1.1.1/test.json +118 -0
  42. package/data/craftbook-templates/in/invoice-run/versions/1.1.9/craftbook.json +515 -0
  43. package/data/craftbook-templates/in/invoice-run/versions/1.1.9/test.json +140 -0
  44. package/data/craftbook-templates/index.json +1 -1
  45. package/data/craftbook-templates/ma/market-scan/versions/1.0.5/craftbook.json +480 -0
  46. package/data/craftbook-templates/ma/market-scan/versions/1.0.5/test.json +223 -0
  47. package/data/craftbook-templates/me/meeting-prep-brief/versions/1.0.5/craftbook.json +255 -0
  48. package/data/craftbook-templates/me/meeting-prep-brief/versions/1.0.5/test.json +140 -0
  49. package/data/craftbook-templates/mo/morning-brief/versions/1.0.6/craftbook.json +270 -0
  50. package/data/craftbook-templates/mo/morning-brief/versions/1.0.6/test.json +105 -0
  51. package/data/craftbook-templates/pe/perf-audit/versions/1.1.3/craftbook.json +320 -0
  52. package/data/craftbook-templates/pe/perf-audit/versions/1.1.3/test.json +94 -0
  53. package/data/craftbook-templates/pe/perf-optimization/versions/2.0.5/craftbook.json +699 -0
  54. package/data/craftbook-templates/pe/perf-optimization/versions/2.0.5/test.json +235 -0
  55. package/data/craftbook-templates/po/powerpoint-deck/versions/1.7.19/craftbook.json +603 -0
  56. package/data/craftbook-templates/po/powerpoint-deck/versions/1.7.19/test.json +266 -0
  57. package/data/craftbook-templates/pr/press-release/versions/1.0.6/craftbook.json +450 -0
  58. package/data/craftbook-templates/pr/press-release/versions/1.0.6/test.json +356 -0
  59. package/data/craftbook-templates/raw-index.json +1 -1
  60. package/data/craftbook-templates/re/refactor-module/versions/2.0.6/craftbook.json +699 -0
  61. package/data/craftbook-templates/re/refactor-module/versions/2.0.6/test.json +241 -0
  62. package/data/craftbook-templates/re/refactor-module/versions/2.0.7/craftbook.json +753 -0
  63. package/data/craftbook-templates/re/refactor-module/versions/2.0.7/test.json +241 -0
  64. package/data/craftbook-templates/re/release-notes/versions/1.0.6/craftbook.json +339 -0
  65. package/data/craftbook-templates/re/release-notes/versions/1.0.6/test.json +107 -0
  66. package/data/craftbook-templates/re/research-report/versions/1.0.6/craftbook.json +417 -0
  67. package/data/craftbook-templates/re/research-report/versions/1.0.6/test.json +183 -0
  68. package/data/craftbook-templates/ro/rollback-plan/versions/1.0.6/craftbook.json +319 -0
  69. package/data/craftbook-templates/ro/rollback-plan/versions/1.0.6/test.json +87 -0
  70. package/data/craftbook-templates/ru/runbook/versions/1.0.5/craftbook.json +491 -0
  71. package/data/craftbook-templates/ru/runbook/versions/1.0.5/test.json +118 -0
  72. package/data/craftbook-templates/sc/schema-migration/versions/2.0.5/craftbook.json +626 -0
  73. package/data/craftbook-templates/sc/schema-migration/versions/2.0.5/test.json +225 -0
  74. package/data/craftbook-templates/sh/ship/versions/1.1.4/craftbook.json +353 -0
  75. package/data/craftbook-templates/sh/ship/versions/1.1.4/test.json +235 -0
  76. package/data/craftbook-templates/te/test-suite-backfill/versions/2.0.6/craftbook.json +596 -0
  77. package/data/craftbook-templates/te/test-suite-backfill/versions/2.0.6/test.json +195 -0
  78. package/data/craftbook-templates/ty/type-safety-pass/versions/2.0.5/craftbook.json +596 -0
  79. package/data/craftbook-templates/ty/type-safety-pass/versions/2.0.5/test.json +221 -0
  80. package/data/craftbook-templates/we/week-plan/versions/1.0.5/craftbook.json +313 -0
  81. package/data/craftbook-templates/we/week-plan/versions/1.0.5/test.json +175 -0
  82. package/data/gezel-templates/im/image-editor/manifest.json +21 -0
  83. package/data/gezel-templates/im/image-editor/versions/1.0.0/about.md +17 -0
  84. package/data/gezel-templates/im/image-editor/versions/1.0.0/manifest.json +14 -0
  85. package/data/gezel-templates/index.json +1 -1
  86. package/data/gezel-templates/raw-index.json +1 -1
  87. package/data/image-models/fl/flux-2-klein-4b-q4/manifest.json +3 -0
  88. package/data/image-models/index.json +1 -1
  89. package/data/image-models/qw/qwen-image-edit-2511-q4/manifest.json +44 -0
  90. package/data/image-models/qw/qwen-image-edit-2511-q4/versions/1.0.0/manifest.json +36 -0
  91. package/data/image-models/raw-index.json +1 -1
  92. package/package.json +1 -1
  93. package/schemas/image-model-identity.schema.json +16 -0
  94. package/schemas/image-model-version.schema.json +1 -0
@@ -3,8 +3,8 @@
3
3
  "books": [
4
4
  {
5
5
  "id": "bug-fix-tdd",
6
- "version": "2.0.5",
7
- "releasedAt": "2026-10-02T12:00:00Z",
6
+ "version": "2.0.6",
7
+ "releasedAt": "2026-10-27T12:00:00Z",
8
8
  "minGezelVersion": "1.26236"
9
9
  },
10
10
  {
@@ -15,8 +15,8 @@
15
15
  },
16
16
  {
17
17
  "id": "flaky-test-fix",
18
- "version": "1.0.4",
19
- "releasedAt": "2026-09-27T04:00:00Z",
18
+ "version": "1.0.5",
19
+ "releasedAt": "2026-10-27T12:00:00Z",
20
20
  "minGezelVersion": "1.26236"
21
21
  },
22
22
  {
@@ -39,44 +39,44 @@
39
39
  },
40
40
  {
41
41
  "id": "refactor-module",
42
- "version": "2.0.5",
43
- "releasedAt": "2026-10-02T12:00:00Z",
42
+ "version": "2.0.6",
43
+ "releasedAt": "2026-10-27T12:00:00Z",
44
44
  "minGezelVersion": "1.26236"
45
45
  },
46
46
  {
47
47
  "id": "perf-optimization",
48
- "version": "2.0.4",
49
- "releasedAt": "2026-09-27T04:00:00Z",
48
+ "version": "2.0.5",
49
+ "releasedAt": "2026-10-27T12:00:00Z",
50
50
  "minGezelVersion": "1.26236"
51
51
  },
52
52
  {
53
53
  "id": "type-safety-pass",
54
- "version": "2.0.4",
55
- "releasedAt": "2026-09-27T04:00:00Z",
54
+ "version": "2.0.5",
55
+ "releasedAt": "2026-10-27T12:00:00Z",
56
56
  "minGezelVersion": "1.26236"
57
57
  },
58
58
  {
59
59
  "id": "dependency-upgrade",
60
- "version": "1.0.5",
61
- "releasedAt": "2026-10-02T13:00:00Z",
60
+ "version": "1.0.6",
61
+ "releasedAt": "2026-10-27T12:00:00Z",
62
62
  "minGezelVersion": "1.26236"
63
63
  },
64
64
  {
65
65
  "id": "schema-migration",
66
- "version": "2.0.4",
67
- "releasedAt": "2026-09-27T04:00:00Z",
66
+ "version": "2.0.5",
67
+ "releasedAt": "2026-10-27T12:00:00Z",
68
68
  "minGezelVersion": "1.26236"
69
69
  },
70
70
  {
71
71
  "id": "codemod-sweep",
72
- "version": "1.0.4",
73
- "releasedAt": "2026-09-27T04:00:00Z",
72
+ "version": "1.0.5",
73
+ "releasedAt": "2026-10-27T12:00:00Z",
74
74
  "minGezelVersion": "1.26236"
75
75
  },
76
76
  {
77
77
  "id": "test-suite-backfill",
78
- "version": "2.0.5",
79
- "releasedAt": "2026-10-02T13:00:00Z",
78
+ "version": "2.0.6",
79
+ "releasedAt": "2026-10-27T12:00:00Z",
80
80
  "minGezelVersion": "1.26236"
81
81
  },
82
82
  {
@@ -0,0 +1,418 @@
1
+ {
2
+ "id": "ab-test-readout",
3
+ "name": "A/B Test Readout",
4
+ "description": "Analyze a controlled experiment and produce a decision-ready readout: does the variant beat control, by how much, and is it real? States the hypothesis, the primary metric, and the decision rule FIRST (to avoid p-hacking and metric-shopping), then computes lift, statistical significance, and confidence intervals as a data-analyst, then writes a plain-language ship/no-ship recommendation. Use this for an experiment analysis, A/B test results, significance testing, conversion-lift readout, or an experiment decision memo.\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 hypothesis (data-analyst) — lock the hypothesis, primary metric, and decision rule before looking → gated on artifact `{{workPath}}/hypothesis-scope.md` (markdown-notes)\n2. Analyze the experiment (data-analyst) — compute lift, significance, and confidence intervals → gated on `data/stats.json` (json)\n3. Write the readout (copywriter) — produce a plain-language ship/no-ship recommendation → gated on artifact `{{workPath}}/readout.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": "hypothesis-scope",
6
+ "triggers": [
7
+ "analyze an ab test",
8
+ "experiment readout",
9
+ "is this result significant",
10
+ "ab test results",
11
+ "ship or no ship from a test"
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 decision-ready A/B test readout that leads with Ship, Don't ship or Inconclusive under the decision rule stated before the analysis, and reports the lift with its confidence interval and significance, every figure taken from the computed statistics or a cited source.",
26
+ "deliverables": [
27
+ {
28
+ "id": "readout",
29
+ "path": "{{workPath}}/readout.md",
30
+ "artifact": true,
31
+ "kind": "markdown-report",
32
+ "description": "The readout: the recommendation tied to the decision rule, the lift with its confidence interval and significance, the guardrail check, honest caveats and the next action"
33
+ },
34
+ {
35
+ "id": "stats",
36
+ "path": "data/stats.json",
37
+ "kind": "json",
38
+ "role": "supporting",
39
+ "description": "The computed figures behind the readout: rates per arm, lift, p-value, confidence interval and guardrail results"
40
+ }
41
+ ],
42
+ "grounding": {
43
+ "citationStyle": "inline-path"
44
+ },
45
+ "criteria": [
46
+ {
47
+ "id": "substantial",
48
+ "kind": "acceptance",
49
+ "text": "The readout is a full document organized under headings",
50
+ "checks": [
51
+ {
52
+ "kind": "minBytes",
53
+ "file": "{{workPath}}/readout.md",
54
+ "bytes": 1500,
55
+ "artifact": true
56
+ },
57
+ {
58
+ "kind": "contains",
59
+ "file": "{{workPath}}/readout.md",
60
+ "pattern": "(?:^|\\n)#{1,3}\\s+\\S",
61
+ "label": "section headings",
62
+ "artifact": true
63
+ }
64
+ ]
65
+ },
66
+ {
67
+ "id": "figures-saved",
68
+ "kind": "acceptance",
69
+ "text": "The computed figures are saved as valid JSON",
70
+ "checks": [
71
+ {
72
+ "kind": "sniff",
73
+ "file": "data/stats.json",
74
+ "sniff": "json-valid"
75
+ }
76
+ ]
77
+ },
78
+ {
79
+ "id": "recommendation",
80
+ "kind": "acceptance",
81
+ "text": "It makes a Ship, Don't ship or Inconclusive call",
82
+ "checks": [
83
+ {
84
+ "kind": "contains",
85
+ "file": "{{workPath}}/readout.md",
86
+ "pattern": "(?<![a-z])(?:ship(?:ped|ping)?|launch(?:ed|ing)?|roll[- ]?out|inconclusive)\\b",
87
+ "flags": "i",
88
+ "label": "a ship, don't-ship or inconclusive recommendation",
89
+ "artifact": true
90
+ }
91
+ ]
92
+ },
93
+ {
94
+ "id": "significance",
95
+ "kind": "quality",
96
+ "text": "It reports the lift with its confidence interval and whether it cleared significance",
97
+ "checks": [
98
+ {
99
+ "kind": "contains",
100
+ "file": "{{workPath}}/readout.md",
101
+ "pattern": "p[- ]?value|confidence interval|\\bCI\\b|significan",
102
+ "flags": "i",
103
+ "label": "a significance test or confidence interval for the lift",
104
+ "artifact": true
105
+ }
106
+ ]
107
+ },
108
+ {
109
+ "id": "grounded",
110
+ "kind": "quality",
111
+ "text": "Every number in the readout appears in the computed figures or a source it cites, or is simple arithmetic on them; nothing new is invented",
112
+ "checks": [
113
+ {
114
+ "kind": "claimsGrounded",
115
+ "file": "{{workPath}}/readout.md",
116
+ "sources": [
117
+ "data/stats.json"
118
+ ],
119
+ "artifact": true
120
+ }
121
+ ],
122
+ "enforce": "eval-only"
123
+ },
124
+ {
125
+ "id": "follows-rule",
126
+ "kind": "quality",
127
+ "enforce": "advisory",
128
+ "text": "The recommendation follows from every clause of the decision rule, guardrails included, and the caveats on sample size, power and runtime are honest",
129
+ "judge": {
130
+ "rubric": "Does the recommendation follow from every clause of the pre-stated decision rule, guardrails included, and does the readout caveat sample size, power or runtime honestly and end with a concrete next action?"
131
+ }
132
+ }
133
+ ]
134
+ },
135
+ "steps": [
136
+ {
137
+ "id": "hypothesis-scope",
138
+ "name": "Scope the hypothesis",
139
+ "description": "lock the hypothesis, primary metric, and decision rule before looking",
140
+ "prompt": "Define the experiment's contract BEFORE computing anything, to prevent metric-shopping. Step 1: state the hypothesis ('variant B increases checkout conversion vs control'). Step 2: name the ONE primary metric the decision rests on and how it's defined (conversions / exposures). Step 3: list guardrail metrics that must not regress. Step 4: state the decision rule up front (e.g. 'ship if lift is positive and significant at 95% and no guardrail drops > 2%'). Step 5: write an acceptance-criteria checklist ('reports lift with a confidence interval', 'reports a significance test for the primary metric', 'checks sample size / power', 'gives a clear ship/no-ship tied to the decision rule', 'flags any guardrail regression'). Call write_task_note and write the hypothesis + metric + decision rule + checklist to {{workPath}}/hypothesis-scope.md.\n\nThe deliverable `{{workPath}}/hypothesis-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.",
141
+ "suggestedRole": "data-analyst",
142
+ "advanceWhen": {
143
+ "file": "{{workPath}}/hypothesis-scope.md",
144
+ "minBytes": 1,
145
+ "sniff": "nonempty",
146
+ "artifact": true
147
+ },
148
+ "gate": {
149
+ "at": "completion",
150
+ "checks": [
151
+ {
152
+ "kind": "minBytes",
153
+ "file": "{{workPath}}/hypothesis-scope.md",
154
+ "bytes": 120,
155
+ "artifact": true
156
+ },
157
+ {
158
+ "kind": "sniff",
159
+ "file": "{{workPath}}/hypothesis-scope.md",
160
+ "sniff": "nonempty",
161
+ "artifact": true
162
+ }
163
+ ],
164
+ "onReject": "hypothesis-scope",
165
+ "maxAttempts": 3
166
+ },
167
+ "next": "analyze",
168
+ "toolPolicy": {
169
+ "disallowBuiltinToolsets": [
170
+ "ai-apps",
171
+ "archives",
172
+ "audio",
173
+ "browser-automation",
174
+ "code-execution",
175
+ "craftbooks",
176
+ "data-tables",
177
+ "entity-intel",
178
+ "git",
179
+ "image-intel",
180
+ "images",
181
+ "role-delegation",
182
+ "role-delegation-escalation",
183
+ "security-intel",
184
+ "team-management",
185
+ "videos",
186
+ "web",
187
+ "workspace-fs-write"
188
+ ],
189
+ "outputMedium": "artifact",
190
+ "additionalOutputMedia": [
191
+ "task-note"
192
+ ]
193
+ }
194
+ },
195
+ {
196
+ "id": "analyze",
197
+ "name": "Analyze the experiment",
198
+ "description": "compute lift, significance, and confidence intervals",
199
+ "prompt": "Compute the statistics for the primary metric and guardrails. Step 1: for control and variant, report exposures, conversions, and the rate. Step 2: compute absolute and relative lift. Step 3: run the appropriate significance test (two-proportion z-test for a rate; report the p-value) and a confidence interval on the lift. Step 4: assess whether the sample size is adequate (was the experiment powered, or is it underpowered/peeking?). Step 5: compute the guardrail metrics and flag any regression. Step 6: apply the decision rule to reach a tentative verdict. Write the computed numbers to data/stats.json (rates, lift, p-value, CI, guardrails) and call write_task_note with the figures and the tentative call.",
200
+ "suggestedRole": "data-analyst",
201
+ "advanceWhen": {
202
+ "file": "data/stats.json",
203
+ "minBytes": 1,
204
+ "sniff": "json-valid"
205
+ },
206
+ "gate": {
207
+ "at": "completion",
208
+ "checks": [
209
+ {
210
+ "kind": "minBytes",
211
+ "file": "data/stats.json",
212
+ "bytes": 2
213
+ }
214
+ ],
215
+ "scripts": [
216
+ {
217
+ "name": "checkJsonValid",
218
+ "scope": "standard",
219
+ "inputs": {
220
+ "file": "data/stats.json"
221
+ }
222
+ }
223
+ ],
224
+ "onReject": "analyze",
225
+ "maxAttempts": 3
226
+ },
227
+ "next": "write",
228
+ "toolPolicy": {
229
+ "disallowBuiltinToolsets": [
230
+ "ai-apps",
231
+ "archives",
232
+ "artifacts",
233
+ "audio",
234
+ "browser-automation",
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
+ ],
248
+ "outputMedium": "workspace",
249
+ "additionalOutputMedia": [
250
+ "task-note"
251
+ ]
252
+ }
253
+ },
254
+ {
255
+ "id": "write",
256
+ "name": "Write the readout",
257
+ "description": "produce a plain-language ship/no-ship recommendation",
258
+ "prompt": "Write a decision-ready readout from the computed stats — no new numbers. Step 1: lead with the recommendation (Ship / Don't ship / Inconclusive) in the first sentence, tied to the decision rule. Step 2: state the lift with its confidence interval and whether it cleared significance, in plain language ('+8% conversion, 95% CI [3%, 13%], significant at p=0.01'). Step 3: note the guardrail check result. Step 4: caveat honestly — underpowered, short runtime, novelty effect, or a result too good to be true. Step 5: end with the concrete next action. Write the readout to {{workPath}}/readout.md and call write_task_note with the recommendation. On a loop-back, fix only the named gaps.\n\nThe deliverable `{{workPath}}/readout.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.",
259
+ "suggestedRole": "copywriter",
260
+ "advanceWhen": {
261
+ "file": "{{workPath}}/readout.md",
262
+ "minBytes": 1,
263
+ "sniff": "nonempty",
264
+ "artifact": true
265
+ },
266
+ "gate": {
267
+ "at": "completion",
268
+ "checks": [
269
+ {
270
+ "kind": "minBytes",
271
+ "file": "{{workPath}}/readout.md",
272
+ "bytes": 1500,
273
+ "artifact": true
274
+ },
275
+ {
276
+ "kind": "contains",
277
+ "file": "{{workPath}}/readout.md",
278
+ "pattern": "(?:^|\\n)#{1,3}\\s+\\S",
279
+ "flags": "i",
280
+ "label": "at least one markdown heading",
281
+ "artifact": true
282
+ }
283
+ ],
284
+ "onReject": "write",
285
+ "maxAttempts": 4
286
+ },
287
+ "next": "evaluate",
288
+ "toolPolicy": {
289
+ "disallowBuiltinToolsets": [
290
+ "ai-apps",
291
+ "archives",
292
+ "audio",
293
+ "browser-automation",
294
+ "code-execution",
295
+ "craftbooks",
296
+ "data-tables",
297
+ "entity-intel",
298
+ "git",
299
+ "image-intel",
300
+ "images",
301
+ "role-delegation",
302
+ "role-delegation-escalation",
303
+ "security-intel",
304
+ "team-management",
305
+ "videos",
306
+ "web",
307
+ "workspace-fs-write"
308
+ ],
309
+ "outputMedium": "artifact",
310
+ "additionalOutputMedia": [
311
+ "task-note"
312
+ ]
313
+ }
314
+ },
315
+ {
316
+ "id": "evaluate",
317
+ "name": "Evaluate",
318
+ "description": "Grade the deliverable against every acceptance criterion. All pass → finish; any fail → loop back and fix the gap.",
319
+ "prompt": "Read {{workPath}}/readout.md and check it against the scope. Verify: it leads with a clear ship/no-ship recommendation tied to the stated decision rule; it reports lift WITH a confidence interval; it reports a significance test for the primary metric; it addresses sample size / power; and it flags any guardrail regression. Re-check the headline lift and significance call against data/stats.json. Confirm the verdict actually follows from the decision rule (not metric-shopped). Write PASS/FAIL per criterion; any FAIL loops back to write.\n\nThe deliverable lives in the project's artifacts drawer — open `{{workPath}}/readout.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 readout\" 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 readout\" 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).",
320
+ "suggestedRole": "reviewer",
321
+ "consumes": [
322
+ {
323
+ "file": "{{workPath}}/readout.md",
324
+ "artifact": true
325
+ }
326
+ ],
327
+ "advanceWhen": {
328
+ "file": "{{workPath}}/verdict.md",
329
+ "minBytes": 40,
330
+ "sniff": "nonempty",
331
+ "artifact": true
332
+ },
333
+ "gate": {
334
+ "at": "completion",
335
+ "checks": [
336
+ {
337
+ "kind": "contains",
338
+ "file": "{{workPath}}/verdict.md",
339
+ "pattern": "(?<!/\\s*)\\bPASS\\b(?!\\s*/)",
340
+ "label": "the verdict marks its criteria PASS",
341
+ "artifact": true
342
+ },
343
+ {
344
+ "kind": "notContains",
345
+ "file": "{{workPath}}/verdict.md",
346
+ "pattern": "(?<!/\\s*)\\bFAIL\\b(?!\\s*/)",
347
+ "label": "no criterion is marked FAIL",
348
+ "artifact": true
349
+ }
350
+ ],
351
+ "onReject": "write",
352
+ "maxAttempts": 3
353
+ },
354
+ "next": "finish",
355
+ "toolPolicy": {
356
+ "disallowBuiltinToolsets": [
357
+ "ai-apps",
358
+ "archives",
359
+ "audio",
360
+ "browser-automation",
361
+ "code-execution",
362
+ "craftbooks",
363
+ "data-tables",
364
+ "entity-intel",
365
+ "git",
366
+ "image-intel",
367
+ "images",
368
+ "role-delegation",
369
+ "role-delegation-escalation",
370
+ "security-intel",
371
+ "team-management",
372
+ "videos",
373
+ "web",
374
+ "workspace-fs-write"
375
+ ],
376
+ "outputMedium": "artifact",
377
+ "additionalOutputMedia": [
378
+ "task-note"
379
+ ]
380
+ }
381
+ },
382
+ {
383
+ "id": "finish",
384
+ "name": "Finish",
385
+ "description": "All acceptance criteria met. Stamp a short summary and report DONE.",
386
+ "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.",
387
+ "suggestedRole": "developer",
388
+ "terminal": true,
389
+ "toolPolicy": {
390
+ "disallowBuiltinToolsets": [
391
+ "ai-apps",
392
+ "archives",
393
+ "artifacts",
394
+ "audio",
395
+ "browser-automation",
396
+ "code-execution",
397
+ "craftbooks",
398
+ "data-tables",
399
+ "entity-intel",
400
+ "git",
401
+ "image-intel",
402
+ "images",
403
+ "role-delegation",
404
+ "role-delegation-escalation",
405
+ "security-intel",
406
+ "team-management",
407
+ "videos",
408
+ "web",
409
+ "workspace-fs-write"
410
+ ],
411
+ "outputMedium": "task-note"
412
+ }
413
+ }
414
+ ],
415
+ "version": "1.0.5",
416
+ "releasedAt": "2026-10-23T00:00:00Z",
417
+ "minGezelVersion": "1.26295"
418
+ }