@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.
Files changed (73) hide show
  1. package/data/craftbook-templates/ab/ab-test-readout/versions/1.0.5/craftbook.json +418 -0
  2. package/data/craftbook-templates/ab/ab-test-readout/versions/1.0.5/test.json +196 -0
  3. package/data/craftbook-templates/ab/ab-test-readout/versions/1.0.6/craftbook.json +432 -0
  4. package/data/craftbook-templates/ab/ab-test-readout/versions/1.0.6/test.json +192 -0
  5. package/data/craftbook-templates/al/alert-rules/versions/1.0.5/craftbook.json +384 -0
  6. package/data/craftbook-templates/al/alert-rules/versions/1.0.5/test.json +145 -0
  7. package/data/craftbook-templates/bu/bug-fix-tdd/versions/2.0.7/craftbook.json +799 -0
  8. package/data/craftbook-templates/bu/bug-fix-tdd/versions/2.0.7/test.json +221 -0
  9. package/data/craftbook-templates/ch/changelog-writeup/versions/1.0.3/craftbook.json +119 -0
  10. package/data/craftbook-templates/ch/changelog-writeup/versions/1.0.3/test.json +128 -0
  11. package/data/craftbook-templates/co/codemod-sweep/versions/1.0.6/craftbook.json +661 -0
  12. package/data/craftbook-templates/co/codemod-sweep/versions/1.0.6/test.json +252 -0
  13. package/data/craftbook-templates/co/cohort-analysis/versions/1.0.5/craftbook.json +416 -0
  14. package/data/craftbook-templates/co/cohort-analysis/versions/1.0.5/test.json +238 -0
  15. package/data/craftbook-templates/co/content-accuracy-review/versions/1.1.2/craftbook.json +494 -0
  16. package/data/craftbook-templates/co/content-accuracy-review/versions/1.1.2/test.json +167 -0
  17. package/data/craftbook-templates/co/corpus-synthesis/versions/1.0.5/craftbook.json +419 -0
  18. package/data/craftbook-templates/co/corpus-synthesis/versions/1.0.5/test.json +172 -0
  19. package/data/craftbook-templates/cs/csv-transformer/versions/1.2.6/craftbook.json +285 -0
  20. package/data/craftbook-templates/cs/csv-transformer/versions/1.2.6/test.json +102 -0
  21. package/data/craftbook-templates/da/data-quality-audit/versions/1.0.5/craftbook.json +431 -0
  22. package/data/craftbook-templates/da/data-quality-audit/versions/1.0.5/test.json +348 -0
  23. package/data/craftbook-templates/de/deep-security-review/versions/1.1.5/craftbook.json +452 -0
  24. package/data/craftbook-templates/de/deep-security-review/versions/1.1.5/test.json +184 -0
  25. package/data/craftbook-templates/di/digest-from-feeds/versions/1.0.6/craftbook.json +312 -0
  26. package/data/craftbook-templates/di/digest-from-feeds/versions/1.0.6/test.json +87 -0
  27. package/data/craftbook-templates/en/engineering-retrospective/versions/2.0.18/craftbook.json +702 -0
  28. package/data/craftbook-templates/en/engineering-retrospective/versions/2.0.18/test.json +191 -0
  29. package/data/craftbook-templates/ht/html-arcade-game/versions/1.2.5/craftbook.json +480 -0
  30. package/data/craftbook-templates/ht/html-arcade-game/versions/1.2.5/test.json +176 -0
  31. package/data/craftbook-templates/in/investigate/versions/1.1.1/craftbook.json +85 -0
  32. package/data/craftbook-templates/in/investigate/versions/1.1.1/test.json +118 -0
  33. package/data/craftbook-templates/in/invoice-run/versions/1.1.9/craftbook.json +515 -0
  34. package/data/craftbook-templates/in/invoice-run/versions/1.1.9/test.json +140 -0
  35. package/data/craftbook-templates/index.json +1 -1
  36. package/data/craftbook-templates/ma/market-scan/versions/1.0.5/craftbook.json +480 -0
  37. package/data/craftbook-templates/ma/market-scan/versions/1.0.5/test.json +223 -0
  38. package/data/craftbook-templates/me/meeting-prep-brief/versions/1.0.5/craftbook.json +255 -0
  39. package/data/craftbook-templates/me/meeting-prep-brief/versions/1.0.5/test.json +140 -0
  40. package/data/craftbook-templates/mo/morning-brief/versions/1.0.6/craftbook.json +270 -0
  41. package/data/craftbook-templates/mo/morning-brief/versions/1.0.6/test.json +105 -0
  42. package/data/craftbook-templates/pe/perf-audit/versions/1.1.3/craftbook.json +320 -0
  43. package/data/craftbook-templates/pe/perf-audit/versions/1.1.3/test.json +94 -0
  44. package/data/craftbook-templates/po/powerpoint-deck/versions/1.7.19/craftbook.json +603 -0
  45. package/data/craftbook-templates/po/powerpoint-deck/versions/1.7.19/test.json +266 -0
  46. package/data/craftbook-templates/pr/press-release/versions/1.0.6/craftbook.json +450 -0
  47. package/data/craftbook-templates/pr/press-release/versions/1.0.6/test.json +356 -0
  48. package/data/craftbook-templates/raw-index.json +1 -1
  49. package/data/craftbook-templates/re/refactor-module/versions/2.0.7/craftbook.json +753 -0
  50. package/data/craftbook-templates/re/refactor-module/versions/2.0.7/test.json +241 -0
  51. package/data/craftbook-templates/re/release-notes/versions/1.0.6/craftbook.json +339 -0
  52. package/data/craftbook-templates/re/release-notes/versions/1.0.6/test.json +107 -0
  53. package/data/craftbook-templates/re/research-report/versions/1.0.6/craftbook.json +417 -0
  54. package/data/craftbook-templates/re/research-report/versions/1.0.6/test.json +183 -0
  55. package/data/craftbook-templates/ro/rollback-plan/versions/1.0.6/craftbook.json +319 -0
  56. package/data/craftbook-templates/ro/rollback-plan/versions/1.0.6/test.json +87 -0
  57. package/data/craftbook-templates/ru/runbook/versions/1.0.5/craftbook.json +491 -0
  58. package/data/craftbook-templates/ru/runbook/versions/1.0.5/test.json +118 -0
  59. package/data/craftbook-templates/we/week-plan/versions/1.0.5/craftbook.json +313 -0
  60. package/data/craftbook-templates/we/week-plan/versions/1.0.5/test.json +175 -0
  61. package/data/gezel-templates/im/image-editor/manifest.json +21 -0
  62. package/data/gezel-templates/im/image-editor/versions/1.0.0/about.md +17 -0
  63. package/data/gezel-templates/im/image-editor/versions/1.0.0/manifest.json +14 -0
  64. package/data/gezel-templates/index.json +1 -1
  65. package/data/gezel-templates/raw-index.json +1 -1
  66. package/data/image-models/fl/flux-2-klein-4b-q4/manifest.json +3 -0
  67. package/data/image-models/index.json +1 -1
  68. package/data/image-models/qw/qwen-image-edit-2511-q4/manifest.json +44 -0
  69. package/data/image-models/qw/qwen-image-edit-2511-q4/versions/1.0.0/manifest.json +36 -0
  70. package/data/image-models/raw-index.json +1 -1
  71. package/package.json +1 -1
  72. package/schemas/image-model-identity.schema.json +16 -0
  73. package/schemas/image-model-version.schema.json +1 -0
@@ -0,0 +1,494 @@
1
+ {
2
+ "id": "content-accuracy-review",
3
+ "name": "Content Accuracy Review",
4
+ "description": "Fact-check a piece of content for accuracy and produce a claim-by-claim verification report. First scopes the content and extracts every checkable claim (statistics, dates, quotes, attributions, causal and factual statements) and locks a verification standard, then verifies each claim against authoritative sources rating it true/false/misleading/unverifiable with the supporting evidence, then writes a report flagging every inaccuracy with the correction and source plus an overall trust rating. Use this for a fact-check, accuracy review, content verification, checking claims and statistics, source-checking an article, or vetting content before publishing — it returns a claim-level verdict backed by cited sources rather than a vague 'seems accurate'.\n\nIt works on the content you choose when you launch it: a file in this project, or one you pick from your computer.\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 + extract claims (reviewer) — extract every checkable claim, lock the standard → gated on artifact `{{workPath}}/scope.md` (markdown-notes)\n2. Verify each claim (researcher) — check claims against sources, rate each → gated on artifact `{{workPath}}/verify.md` (markdown-notes)\n3. Write the accuracy report (reviewer) — claim-by-claim verdicts + corrections → gated on artifact `{{workPath}}/accuracy-review.md` (markdown-report)\n\nSource discipline:\n\n- Extract only checkable claims that appear in the supplied content.\n- Verify against the supplied or fetched sources; never create extra claims, companies, metrics, quotes, or source sections to make the report longer.\n- Preserve enough of the original claim text that a reader can trace each verdict back to the draft.\n- Mark unsupported but plausible claims as `UNVERIFIABLE` or `FALSE` according to the evidence, not as true by assumption.\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
+ "fact check this",
8
+ "accuracy review",
9
+ "verify these claims",
10
+ "is this content accurate",
11
+ "source-check this article",
12
+ "vet this before publishing"
13
+ ],
14
+ "paramSchema": {
15
+ "type": "object",
16
+ "required": [
17
+ "source"
18
+ ],
19
+ "properties": {
20
+ "source": {
21
+ "type": "string",
22
+ "title": "Content to review",
23
+ "description": "The article, post, or document whose claims should be checked. A file in this project, or one you pick from your computer.",
24
+ "input": {
25
+ "kind": "file",
26
+ "accept": [
27
+ ".md",
28
+ ".markdown",
29
+ ".txt",
30
+ ".html",
31
+ ".htm",
32
+ ".docx",
33
+ ".pdf",
34
+ ".vtt",
35
+ ".srt"
36
+ ]
37
+ }
38
+ },
39
+ "workPath": {
40
+ "type": "string",
41
+ "title": "Working folder",
42
+ "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.",
43
+ "default": "{{task.dir}}"
44
+ }
45
+ }
46
+ },
47
+ "contract": {
48
+ "goal": "A claim-by-claim accuracy review of the supplied content: every checkable claim rated true, false, misleading or unverifiable against cited evidence, each inaccuracy corrected with its source, and an overall trust rating.",
49
+ "inputs": [
50
+ {
51
+ "path": "{{source}}",
52
+ "required": true
53
+ }
54
+ ],
55
+ "deliverables": [
56
+ {
57
+ "id": "review",
58
+ "path": "{{workPath}}/accuracy-review.md",
59
+ "artifact": true,
60
+ "kind": "markdown-report",
61
+ "description": "The accuracy review: the overall trust rating with counts by verdict, every claim with its verdict and evidence, a correction and source for each inaccuracy, and the sources consulted"
62
+ }
63
+ ],
64
+ "grounding": {
65
+ "citationStyle": "any"
66
+ },
67
+ "criteria": [
68
+ {
69
+ "id": "substantial",
70
+ "kind": "acceptance",
71
+ "text": "The review is a full document organized under section headings",
72
+ "checks": [
73
+ {
74
+ "kind": "minBytes",
75
+ "file": "{{workPath}}/accuracy-review.md",
76
+ "bytes": 1500,
77
+ "artifact": true
78
+ },
79
+ {
80
+ "kind": "contains",
81
+ "file": "{{workPath}}/accuracy-review.md",
82
+ "pattern": "(?:^|\\n)#{1,3}\\s+\\S",
83
+ "label": "section headings",
84
+ "artifact": true
85
+ }
86
+ ]
87
+ },
88
+ {
89
+ "id": "content-read",
90
+ "kind": "acceptance",
91
+ "text": "The content under review was opened and read before it was judged",
92
+ "checks": [
93
+ {
94
+ "kind": "researchEvidence",
95
+ "sourcePath": "{{source}}",
96
+ "tools": [
97
+ "web_search",
98
+ "wikipedia_search",
99
+ "wikipedia_read",
100
+ "fetch_url"
101
+ ],
102
+ "minSuccessful": 1
103
+ }
104
+ ]
105
+ },
106
+ {
107
+ "id": "verdicts",
108
+ "kind": "acceptance",
109
+ "text": "Each claim carries a verdict: true, false, misleading or unverifiable",
110
+ "checks": [
111
+ {
112
+ "kind": "contains",
113
+ "file": "{{workPath}}/accuracy-review.md",
114
+ "pattern": "(?:verdict|rating|rated|status|assessment)\\W{0,12}(?:true|false|misleading|unverifiable)\\b|\\|\\s*[*_]{0,2}(?:true|false|misleading|unverifiable)[*_]{0,2}\\s*\\||\\*\\*(?:true|false|misleading|unverifiable)\\*\\*|^#{1,6}[^\\n]*\\b(?:true|false|misleading|unverifiable)\\b|\\[(?:true|false|misleading|unverifiable)\\]",
115
+ "flags": "im",
116
+ "label": "claim verdicts on the true/false/misleading/unverifiable scale",
117
+ "artifact": true
118
+ }
119
+ ]
120
+ },
121
+ {
122
+ "id": "trust-rating",
123
+ "kind": "acceptance",
124
+ "text": "It gives an overall trust rating for the content",
125
+ "checks": [
126
+ {
127
+ "kind": "contains",
128
+ "file": "{{workPath}}/accuracy-review.md",
129
+ "pattern": "trust(?:worthiness)?\\s*(?:rating|level|score|verdict)|overall\\s+(?:rating|verdict|assessment|accuracy)|(?:mostly|largely|generally)\\s+accurate|significant inaccurac",
130
+ "flags": "i",
131
+ "label": "an overall trust rating",
132
+ "artifact": true
133
+ }
134
+ ]
135
+ },
136
+ {
137
+ "id": "sources",
138
+ "kind": "acceptance",
139
+ "text": "It lists every source consulted in a Sources section",
140
+ "checks": [
141
+ {
142
+ "kind": "contains",
143
+ "file": "{{workPath}}/accuracy-review.md",
144
+ "pattern": "(?:^|\\n)#{1,6}\\s*(?:sources|references|citations|works cited|bibliography)\\b",
145
+ "flags": "i",
146
+ "label": "a Sources section",
147
+ "artifact": true
148
+ }
149
+ ]
150
+ },
151
+ {
152
+ "id": "cited",
153
+ "kind": "quality",
154
+ "text": "Its verdicts and corrections cite their evidence, and every cited file exists",
155
+ "checks": [
156
+ {
157
+ "kind": "citationsResolve",
158
+ "file": "{{workPath}}/accuracy-review.md",
159
+ "minCitations": 1,
160
+ "artifact": true
161
+ }
162
+ ]
163
+ },
164
+ {
165
+ "id": "grounded",
166
+ "kind": "quality",
167
+ "text": "Every number, date and quote given as evidence or as a correction appears in the source it cites; restating the reviewed content is fine",
168
+ "checks": [
169
+ {
170
+ "kind": "claimsGrounded",
171
+ "file": "{{workPath}}/accuracy-review.md",
172
+ "artifact": true,
173
+ "sources": [
174
+ "{{source}}"
175
+ ],
176
+ "maxUncited": 5
177
+ }
178
+ ]
179
+ },
180
+ {
181
+ "id": "complete",
182
+ "kind": "quality",
183
+ "enforce": "advisory",
184
+ "text": "Every checkable claim in the content is addressed, and a claim no reliable source settles is marked unverifiable rather than assumed true",
185
+ "judge": {
186
+ "rubric": "Does the review address every checkable claim in the content, and mark claims without reliable evidence as unverifiable instead of accepting them as true?"
187
+ }
188
+ },
189
+ {
190
+ "id": "corrections",
191
+ "kind": "quality",
192
+ "enforce": "advisory",
193
+ "text": "Inaccuracies come first, each false or misleading claim gives the correct statement with its source, and the trust rating matches the findings",
194
+ "judge": {
195
+ "rubric": "Does every false or misleading claim get a correct statement backed by a cited source, and does the overall trust rating follow from the verdicts?"
196
+ }
197
+ }
198
+ ]
199
+ },
200
+ "steps": [
201
+ {
202
+ "id": "scope",
203
+ "name": "Scope + extract claims",
204
+ "description": "extract every checkable claim, lock the standard",
205
+ "prompt": "Step 1: Read the content under review (the `source` input) end to end and EXTRACT every checkable claim into a numbered list — statistics and numbers, dates, named quotes and their attributions, causal statements ('X causes Y'), definitions, and any assertion presented as fact. Step 2: For each claim, note what kind it is and what evidence would settle it. Step 3: Separate verifiable facts from opinion/analysis (opinions are out of scope for accuracy but note unsupported opinions stated as fact). Step 4: Write the acceptance-criteria checklist / verification standard, e.g. 'every factual claim is extracted', 'each claim is checked against at least one authoritative source', 'a claim with no reliable source is marked unverifiable, not assumed true', 'corrections cite their source'. Step 5: Note the source quality bar (primary/official sources over secondary). Write the numbered claim list + standard to `write_task_note` AND `{{workPath}}/scope.md`. No verification yet.\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.",
206
+ "suggestedRole": "reviewer",
207
+ "advanceWhen": {
208
+ "file": "{{workPath}}/scope.md",
209
+ "minBytes": 1,
210
+ "sniff": "nonempty",
211
+ "artifact": true
212
+ },
213
+ "gate": {
214
+ "at": "completion",
215
+ "checks": [
216
+ {
217
+ "kind": "minBytes",
218
+ "file": "{{workPath}}/scope.md",
219
+ "bytes": 120,
220
+ "artifact": true
221
+ },
222
+ {
223
+ "kind": "sniff",
224
+ "file": "{{workPath}}/scope.md",
225
+ "sniff": "nonempty",
226
+ "artifact": true
227
+ }
228
+ ],
229
+ "onReject": "scope",
230
+ "maxAttempts": 3
231
+ },
232
+ "next": "verify",
233
+ "toolPolicy": {
234
+ "disallowBuiltinToolsets": [
235
+ "ai-apps",
236
+ "archives",
237
+ "audio",
238
+ "browser-automation",
239
+ "code-execution",
240
+ "craftbooks",
241
+ "data-tables",
242
+ "entity-intel",
243
+ "git",
244
+ "image-intel",
245
+ "images",
246
+ "role-delegation",
247
+ "role-delegation-escalation",
248
+ "security-intel",
249
+ "team-management",
250
+ "videos",
251
+ "web",
252
+ "workspace-fs-write"
253
+ ],
254
+ "outputMedium": "artifact",
255
+ "additionalOutputMedia": [
256
+ "task-note"
257
+ ]
258
+ }
259
+ },
260
+ {
261
+ "id": "verify",
262
+ "name": "Verify each claim",
263
+ "description": "check claims against sources, rate each",
264
+ "prompt": "Step 1: For EACH numbered claim, find authoritative evidence (use web search/fetch if available, prioritizing primary and official sources; otherwise reason from well-established knowledge and clearly mark anything you cannot externally confirm). Step 2: Rate each claim: TRUE (supported), FALSE (contradicted), MISLEADING (technically true but framed to deceive, or missing critical context), or UNVERIFIABLE (no reliable source found). Step 3: For every claim capture: the rating, the supporting source(s) with title/URL, a one-line evidence note, and — for false/misleading — the CORRECT statement. Step 4: Be adversarial: check whether a statistic is current, whether a quote is accurate and in context, and whether an attribution is right. Step 5: Do NOT mark a claim true just because it is plausible — require evidence, and prefer 'unverifiable' to a guess. Good looks like: each claim with a verdict and a citable source. Stage the verified claim table to `write_task_note`. Do not write the report yet.\n\nThe deliverable `{{workPath}}/verify.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.",
265
+ "suggestedRole": "researcher",
266
+ "advanceWhen": {
267
+ "file": "{{workPath}}/verify.md",
268
+ "minBytes": 1,
269
+ "sniff": "nonempty",
270
+ "artifact": true
271
+ },
272
+ "gate": {
273
+ "at": "completion",
274
+ "checks": [
275
+ {
276
+ "kind": "minBytes",
277
+ "file": "{{workPath}}/verify.md",
278
+ "bytes": 120,
279
+ "artifact": true
280
+ },
281
+ {
282
+ "kind": "sniff",
283
+ "file": "{{workPath}}/verify.md",
284
+ "sniff": "nonempty",
285
+ "artifact": true
286
+ }
287
+ ],
288
+ "onReject": "verify",
289
+ "maxAttempts": 3
290
+ },
291
+ "next": "report",
292
+ "toolPolicy": {
293
+ "disallowBuiltinToolsets": [
294
+ "ai-apps",
295
+ "archives",
296
+ "audio",
297
+ "browser-automation",
298
+ "code-execution",
299
+ "craftbooks",
300
+ "data-tables",
301
+ "entity-intel",
302
+ "git",
303
+ "image-intel",
304
+ "images",
305
+ "role-delegation",
306
+ "role-delegation-escalation",
307
+ "security-intel",
308
+ "team-management",
309
+ "videos",
310
+ "workspace-fs-write"
311
+ ],
312
+ "outputMedium": "artifact",
313
+ "additionalOutputMedia": [
314
+ "task-note"
315
+ ]
316
+ },
317
+ "consumes": [
318
+ {
319
+ "file": "{{workPath}}/scope.md",
320
+ "artifact": true
321
+ }
322
+ ]
323
+ },
324
+ {
325
+ "id": "report",
326
+ "name": "Write the accuracy report",
327
+ "description": "claim-by-claim verdicts + corrections",
328
+ "prompt": "Step 1: Open `{{workPath}}/accuracy-review.md` and write an overall trust rating (e.g. Accurate / Mostly accurate with fixes / Significant inaccuracies) with the count of false/misleading/unverifiable claims. Step 2: Add an '## Issues' section listing every FALSE, MISLEADING, and UNVERIFIABLE claim first: the original claim, the verdict, the correct statement, and the cited source. Step 3: Add a '## Verified claims' section confirming the claims that checked out (with sources), so the review's rigor is visible. Step 4: Add a '## Sources' list of everything consulted. Step 5: Note any claim that needs a subject-matter expert. Every issue must include a correction and a source citation; never assert a correction without evidence. On a loop-back, fix only the named gaps. `write_task_note` the report path and the counts by verdict.\n\nThe deliverable `{{workPath}}/accuracy-review.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.",
329
+ "suggestedRole": "reviewer",
330
+ "advanceWhen": {
331
+ "file": "{{workPath}}/accuracy-review.md",
332
+ "minBytes": 1,
333
+ "sniff": "nonempty",
334
+ "artifact": true
335
+ },
336
+ "gate": {
337
+ "at": "completion",
338
+ "checks": [
339
+ {
340
+ "kind": "minBytes",
341
+ "file": "{{workPath}}/accuracy-review.md",
342
+ "bytes": 1500,
343
+ "artifact": true
344
+ },
345
+ {
346
+ "kind": "contains",
347
+ "file": "{{workPath}}/accuracy-review.md",
348
+ "pattern": "(?:^|\\n)#{1,3}\\s+\\S",
349
+ "flags": "i",
350
+ "label": "at least one markdown heading",
351
+ "artifact": true
352
+ }
353
+ ],
354
+ "onReject": "report",
355
+ "maxAttempts": 4
356
+ },
357
+ "next": "evaluate",
358
+ "toolPolicy": {
359
+ "disallowBuiltinToolsets": [
360
+ "ai-apps",
361
+ "archives",
362
+ "audio",
363
+ "browser-automation",
364
+ "code-execution",
365
+ "craftbooks",
366
+ "data-tables",
367
+ "entity-intel",
368
+ "git",
369
+ "image-intel",
370
+ "images",
371
+ "role-delegation",
372
+ "role-delegation-escalation",
373
+ "security-intel",
374
+ "team-management",
375
+ "videos",
376
+ "web",
377
+ "workspace-fs-write"
378
+ ],
379
+ "outputMedium": "artifact",
380
+ "additionalOutputMedia": [
381
+ "task-note"
382
+ ]
383
+ },
384
+ "consumes": [
385
+ {
386
+ "file": "{{workPath}}/verify.md",
387
+ "artifact": true
388
+ }
389
+ ]
390
+ },
391
+ {
392
+ "id": "evaluate",
393
+ "name": "Evaluate",
394
+ "description": "Grade the deliverable against every acceptance criterion. All pass → finish; any fail → loop back and fix the gap.",
395
+ "prompt": "Open `{{workPath}}/accuracy-review.md` and grade it against the scope standard. Check EACH criterion and write PASS/FAIL with a one-line reason: (1) every checkable claim from the content was extracted and addressed; (2) each claim has a verdict (true/false/misleading/unverifiable); (3) each false/misleading claim has a correction AND a cited source; (4) verified claims cite their sources; (5) unverifiable claims are marked as such rather than assumed true; (6) a sources list is present; (7) the overall trust rating matches the findings. If any criterion fails, name the exact gap.\n\nThe deliverable lives in the project's artifacts drawer — open `{{workPath}}/accuracy-review.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 accuracy report\" 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 accuracy report\" 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).",
396
+ "suggestedRole": "reviewer",
397
+ "consumes": [
398
+ {
399
+ "file": "{{workPath}}/accuracy-review.md",
400
+ "artifact": true
401
+ }
402
+ ],
403
+ "advanceWhen": {
404
+ "file": "{{workPath}}/verdict.md",
405
+ "minBytes": 40,
406
+ "sniff": "nonempty",
407
+ "artifact": true
408
+ },
409
+ "gate": {
410
+ "at": "completion",
411
+ "checks": [
412
+ {
413
+ "kind": "contains",
414
+ "file": "{{workPath}}/verdict.md",
415
+ "pattern": "(?<!/\\s*)\\bPASS\\b(?!\\s*/)",
416
+ "label": "the verdict marks its criteria PASS",
417
+ "artifact": true
418
+ },
419
+ {
420
+ "kind": "notContains",
421
+ "file": "{{workPath}}/verdict.md",
422
+ "pattern": "(?<!/\\s*)\\bFAIL\\b(?!\\s*/)",
423
+ "label": "no criterion is marked FAIL",
424
+ "artifact": true
425
+ }
426
+ ],
427
+ "onReject": "report",
428
+ "maxAttempts": 3
429
+ },
430
+ "next": "finish",
431
+ "toolPolicy": {
432
+ "disallowBuiltinToolsets": [
433
+ "ai-apps",
434
+ "archives",
435
+ "audio",
436
+ "browser-automation",
437
+ "code-execution",
438
+ "craftbooks",
439
+ "data-tables",
440
+ "entity-intel",
441
+ "git",
442
+ "image-intel",
443
+ "images",
444
+ "role-delegation",
445
+ "role-delegation-escalation",
446
+ "security-intel",
447
+ "team-management",
448
+ "videos",
449
+ "web",
450
+ "workspace-fs-write"
451
+ ],
452
+ "outputMedium": "artifact",
453
+ "additionalOutputMedia": [
454
+ "task-note"
455
+ ]
456
+ }
457
+ },
458
+ {
459
+ "id": "finish",
460
+ "name": "Finish",
461
+ "description": "All acceptance criteria met. Stamp a short summary and report DONE.",
462
+ "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.",
463
+ "suggestedRole": "developer",
464
+ "terminal": true,
465
+ "toolPolicy": {
466
+ "disallowBuiltinToolsets": [
467
+ "ai-apps",
468
+ "archives",
469
+ "artifacts",
470
+ "audio",
471
+ "browser-automation",
472
+ "code-execution",
473
+ "craftbooks",
474
+ "data-tables",
475
+ "entity-intel",
476
+ "git",
477
+ "image-intel",
478
+ "images",
479
+ "role-delegation",
480
+ "role-delegation-escalation",
481
+ "security-intel",
482
+ "team-management",
483
+ "videos",
484
+ "web",
485
+ "workspace-fs-write"
486
+ ],
487
+ "outputMedium": "task-note"
488
+ }
489
+ }
490
+ ],
491
+ "version": "1.1.2",
492
+ "releasedAt": "2026-10-23T00:00:00Z",
493
+ "minGezelVersion": "1.26295"
494
+ }
@@ -0,0 +1,167 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "title": "Claim-level accuracy review from evidence pack",
4
+ "objective": "Measure whether the content-accuracy-review craftbook extracts checkable claims and writes sourced true/false/misleading/unverifiable verdicts.",
5
+ "tags": [
6
+ "corpus"
7
+ ],
8
+ "prompt": "In the `Content Accuracy Review Eval` project, read only `source/article.md` and `source/evidence-pack.md`, then write `tasks/eval/accuracy-review.md`. Extract the six checkable claims in the article, rate each true/false/misleading/unverifiable, cite the evidence pack, give corrections, and include an overall trust rating. Do not add claims, companies, sources, or metrics beyond the seeded article and evidence pack.",
9
+ "setup": {
10
+ "projectName": "Content Accuracy Review Eval",
11
+ "about": "Self-contained eval project for content-accuracy-review. The draft article and evidence pack are seeded in workspace/source.",
12
+ "missionObjectives": "Produce a claim-by-claim accuracy review with verdicts, corrections, sources, and a trust rating.",
13
+ "files": [
14
+ {
15
+ "path": "source/article.md",
16
+ "content": "# Draft article\n\nHarborCRM launched guided returns intake in February 2026. The pilot covered all SKUs and reduced median first response from 18 hours to 4 hours. Refund leakage fell from 14.2% to 8.9%. Support escalations dropped 21% after agents received recommended resolution scripts. The company guarantees national rollout in July.\n"
17
+ },
18
+ {
19
+ "path": "source/evidence-pack.md",
20
+ "content": "# Evidence pack\n\n- Launch memo: guided returns intake pilot launched in March 2026, not February.\n- Pilot scope: 18 home-office accessory SKUs, not all SKUs.\n- Metrics dashboard: median first response improved from 18 hours to 6 hours.\n- Metrics dashboard: refund leakage fell from 14.2% to 8.9%.\n- Support report: escalations dropped 21% after recommended resolution scripts were added.\n- Roadmap note: national rollout is proposed for July but not guaranteed.\n"
21
+ }
22
+ ],
23
+ "worker": {
24
+ "name": "Kiki",
25
+ "role": "Fact Checker"
26
+ },
27
+ "craftbookParams": {
28
+ "workPath": "tasks/eval",
29
+ "source": "source/article.md"
30
+ }
31
+ },
32
+ "mocks": [],
33
+ "success": {
34
+ "summary": "workspace/accuracy-review.md extracts seeded claims, assigns verdicts, cites evidence, corrects false/misleading claims, and gives an overall trust rating.",
35
+ "deliverables": [
36
+ {
37
+ "path": "tasks/eval/accuracy-review.md",
38
+ "kind": "markdown-report",
39
+ "minBytes": 1600,
40
+ "checks": [
41
+ {
42
+ "kind": "contains",
43
+ "file": "tasks/eval/accuracy-review.md",
44
+ "pattern": "(?:^|\\n)#{1,3}\\s+\\S",
45
+ "flags": "i",
46
+ "artifact": true
47
+ },
48
+ {
49
+ "kind": "contains",
50
+ "file": "tasks/eval/accuracy-review.md",
51
+ "pattern": "TRUE|FALSE|MISLEADING|UNVERIFIABLE|trust rating",
52
+ "flags": "i",
53
+ "artifact": true
54
+ },
55
+ {
56
+ "kind": "contains",
57
+ "file": "tasks/eval/accuracy-review.md",
58
+ "pattern": "February|March|all SKUs|18 home-office",
59
+ "flags": "i",
60
+ "artifact": true
61
+ },
62
+ {
63
+ "kind": "contains",
64
+ "file": "tasks/eval/accuracy-review.md",
65
+ "pattern": "18\\s*hours|4\\s*hours|6\\s*hours|14\\.2%|8\\.9%|21%",
66
+ "flags": "i",
67
+ "artifact": true
68
+ },
69
+ {
70
+ "kind": "contains",
71
+ "file": "tasks/eval/accuracy-review.md",
72
+ "pattern": "correction|correct statement|source|evidence",
73
+ "flags": "i",
74
+ "artifact": true
75
+ },
76
+ {
77
+ "kind": "contains",
78
+ "file": "tasks/eval/accuracy-review.md",
79
+ "pattern": "guarantees national rollout|proposed for July",
80
+ "flags": "i",
81
+ "artifact": true
82
+ },
83
+ {
84
+ "kind": "contains",
85
+ "file": "tasks/eval/accuracy-review.md",
86
+ "pattern": "February[\\s\\S]{0,250}False|False[\\s\\S]{0,250}February",
87
+ "flags": "i",
88
+ "artifact": true
89
+ },
90
+ {
91
+ "kind": "contains",
92
+ "file": "tasks/eval/accuracy-review.md",
93
+ "pattern": "all SKUs[\\s\\S]{0,250}False|False[\\s\\S]{0,250}all SKUs",
94
+ "flags": "i",
95
+ "artifact": true
96
+ },
97
+ {
98
+ "kind": "contains",
99
+ "file": "tasks/eval/accuracy-review.md",
100
+ "pattern": "4\\s*hours[\\s\\S]{0,250}(False|Misleading)|(False|Misleading)[\\s\\S]{0,250}4\\s*hours",
101
+ "flags": "i",
102
+ "artifact": true
103
+ },
104
+ {
105
+ "kind": "contains",
106
+ "file": "tasks/eval/accuracy-review.md",
107
+ "pattern": "14\\.2%[\\s\\S]{0,250}True|8\\.9%[\\s\\S]{0,250}True|True[\\s\\S]{0,250}14\\.2%",
108
+ "flags": "i",
109
+ "artifact": true
110
+ },
111
+ {
112
+ "kind": "contains",
113
+ "file": "tasks/eval/accuracy-review.md",
114
+ "pattern": "21%[\\s\\S]{0,250}True|True[\\s\\S]{0,250}21%",
115
+ "flags": "i",
116
+ "artifact": true
117
+ },
118
+ {
119
+ "kind": "contains",
120
+ "file": "tasks/eval/accuracy-review.md",
121
+ "pattern": "guarantees[\\s\\S]{0,300}(False|Misleading)|(False|Misleading)[\\s\\S]{0,300}guarantees",
122
+ "flags": "i",
123
+ "artifact": true
124
+ },
125
+ {
126
+ "kind": "notContains",
127
+ "file": "tasks/eval/accuracy-review.md",
128
+ "pattern": "Q3|AlphaCorp|enterprise software|cash reserve|dominant market|CEO announced|RESTful API|stress tests",
129
+ "flags": "i",
130
+ "label": "do not invent review claims or evidence beyond the seeded article",
131
+ "artifact": true
132
+ }
133
+ ],
134
+ "artifact": true
135
+ }
136
+ ]
137
+ },
138
+ "rubric": {
139
+ "artifact": {
140
+ "path": "tasks/eval/accuracy-review.md",
141
+ "kind": "markdown"
142
+ },
143
+ "axes": [
144
+ {
145
+ "name": "grounding",
146
+ "description": "Seeded facts appear faithfully and the source is cited."
147
+ },
148
+ {
149
+ "name": "structure",
150
+ "description": "Sections progress logically for the artifact class."
151
+ },
152
+ {
153
+ "name": "completeness",
154
+ "description": "Required elements (risks, next actions, scope) are all present."
155
+ },
156
+ {
157
+ "name": "tone",
158
+ "description": "The register fits the audience and artifact class."
159
+ }
160
+ ]
161
+ },
162
+ "qualityFocus": [
163
+ "claim extraction",
164
+ "evidence-backed verdicts",
165
+ "corrections"
166
+ ]
167
+ }