@bendyline/gilde 0.1.58 → 0.1.59
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/ba/backup-routine/versions/1.0.4/craftbook.json +0 -16
- package/data/craftbook-templates/bo/booking-automation/versions/1.0.3/craftbook.json +0 -16
- package/data/craftbook-templates/co/content-deck/versions/1.2.4/craftbook.json +4 -4
- package/data/craftbook-templates/co/content-deck/versions/1.2.4/test.json +3 -0
- package/data/craftbook-templates/co/corpus-email-digest/versions/1.2.4/craftbook.json +4 -4
- package/data/craftbook-templates/co/corpus-email-digest/versions/1.2.4/test.json +3 -0
- package/data/craftbook-templates/da/data-export-migrate/versions/1.0.4/craftbook.json +0 -16
- package/data/craftbook-templates/db/db-index-tuning/versions/1.0.4/craftbook.json +0 -16
- package/data/craftbook-templates/do/doc-intake-pipeline/versions/1.0.4/craftbook.json +0 -16
- package/data/craftbook-templates/do/dockerize-app/versions/1.0.4/craftbook.json +0 -16
- package/data/craftbook-templates/fo/form-fill-batch/versions/1.0.4/craftbook.json +0 -16
- package/data/craftbook-templates/index.json +1 -1
- package/data/craftbook-templates/mo/monitor-and-alert/versions/1.0.3/craftbook.json +0 -16
- package/data/craftbook-templates/na/narrated-slideshow/versions/1.1.4/craftbook.json +314 -0
- package/data/craftbook-templates/na/narrated-slideshow/versions/1.1.4/test.json +89 -0
- package/data/craftbook-templates/po/powerpoint-deck/versions/1.7.10/craftbook.json +581 -0
- package/data/craftbook-templates/po/powerpoint-deck/versions/1.7.10/test.json +240 -0
- package/data/craftbook-templates/pr/price-tracker/versions/1.0.3/craftbook.json +0 -8
- package/data/craftbook-templates/re/recurring-invoice-run/versions/1.0.4/craftbook.json +0 -16
- package/data/craftbook-templates/re/report-pdf/versions/1.1.4/craftbook.json +315 -0
- package/data/craftbook-templates/re/report-pdf/versions/1.1.4/test.json +101 -0
- package/data/craftbook-templates/re/research-to-document/versions/1.2.4/craftbook.json +386 -0
- package/data/craftbook-templates/re/research-to-document/versions/1.2.4/test.json +242 -0
- package/data/craftbook-templates/sq/sql-analysis/versions/1.0.3/craftbook.json +0 -8
- package/package.json +1 -1
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"title": "Formatted PDF Report Markdown-source smoke eval",
|
|
4
|
+
"objective": "Verify that the report workflow produces a complete, source-grounded Markdown report before DocBlocks conversion; catalog contract tests cover the PDF toolset, artifact gate, and no-HTML routing.",
|
|
5
|
+
"tags": [
|
|
6
|
+
"corpus"
|
|
7
|
+
],
|
|
8
|
+
"prompt": "Read source/brief.md and write the complete report source to pdf/eval/report.md. Use Markdown headings and a compact metrics table. Include an executive summary and explicit recommendations. Do not create HTML.",
|
|
9
|
+
"setup": {
|
|
10
|
+
"projectName": "Formatted PDF Report Eval",
|
|
11
|
+
"about": "The report source is Markdown and will be converted to PDF by the DocBlocks production step.",
|
|
12
|
+
"missionObjectives": "Create a source-grounded pdf/eval/report.md that is ready for direct PDF conversion without HTML or CSS.",
|
|
13
|
+
"files": [
|
|
14
|
+
{
|
|
15
|
+
"path": "source/brief.md",
|
|
16
|
+
"content": "# Boreal Desk Returns Pilot\n\nAudience: operations leaders.\n\nFacts:\n- The pilot covered 18 SKUs.\n- Median first response improved from 18 hours to 6 hours.\n- Preventable refund leakage fell from 14.2% to 8.9%.\n- The top unresolved complaint is status silence after photo submission.\n- Required next actions: automated status emails, barcode-exception training, and a weekly Finance exception export.\n\nDo not invent other metrics."
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"worker": {
|
|
20
|
+
"name": "Jules",
|
|
21
|
+
"role": "Copywriter"
|
|
22
|
+
},
|
|
23
|
+
"craftbookParams": {
|
|
24
|
+
"sourceOutputPath": "pdf/eval/report.md"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"mocks": [],
|
|
28
|
+
"success": {
|
|
29
|
+
"summary": "pdf/eval/report.md is a complete Markdown source grounded in every supplied fact and ready for DocBlocks PDF conversion.",
|
|
30
|
+
"deliverables": [
|
|
31
|
+
{
|
|
32
|
+
"path": "pdf/eval/report.md",
|
|
33
|
+
"kind": "markdown-report",
|
|
34
|
+
"minBytes": 1000,
|
|
35
|
+
"checks": [
|
|
36
|
+
{
|
|
37
|
+
"kind": "contains",
|
|
38
|
+
"file": "pdf/eval/report.md",
|
|
39
|
+
"pattern": "(?:^|\\n)#\\s+.+",
|
|
40
|
+
"flags": "m"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"kind": "contains",
|
|
44
|
+
"file": "pdf/eval/report.md",
|
|
45
|
+
"pattern": "executive summary",
|
|
46
|
+
"flags": "i"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"kind": "contains",
|
|
50
|
+
"file": "pdf/eval/report.md",
|
|
51
|
+
"pattern": "18\\s+SKUs|18\\s+hours|6\\s+hours|14\\.2%|8\\.9%",
|
|
52
|
+
"flags": "i"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"kind": "contains",
|
|
56
|
+
"file": "pdf/eval/report.md",
|
|
57
|
+
"pattern": "automated status emails|barcode-exception training|weekly Finance exception export",
|
|
58
|
+
"flags": "i"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"kind": "contains",
|
|
62
|
+
"file": "pdf/eval/report.md",
|
|
63
|
+
"pattern": "recommend",
|
|
64
|
+
"flags": "i"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"kind": "notContains",
|
|
68
|
+
"file": "pdf/eval/report.md",
|
|
69
|
+
"pattern": "<html|<style|@page",
|
|
70
|
+
"flags": "i"
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
"rubric": {
|
|
77
|
+
"artifact": {
|
|
78
|
+
"path": "pdf/eval/report.md",
|
|
79
|
+
"kind": "markdown"
|
|
80
|
+
},
|
|
81
|
+
"axes": [
|
|
82
|
+
{
|
|
83
|
+
"name": "grounding",
|
|
84
|
+
"description": "Every metric and required action comes from the seeded brief."
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "structure",
|
|
88
|
+
"description": "The Markdown has a clear title, executive summary, body sections, and recommendations."
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "readiness",
|
|
92
|
+
"description": "The source is complete enough for direct DocBlocks conversion without an HTML intermediary."
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
"qualityFocus": [
|
|
97
|
+
"Markdown source quality",
|
|
98
|
+
"source grounding",
|
|
99
|
+
"no HTML intermediary"
|
|
100
|
+
]
|
|
101
|
+
}
|
|
@@ -0,0 +1,386 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "research-to-document",
|
|
3
|
+
"name": "Word Document from Content or Research",
|
|
4
|
+
"description": "Produce a real Word document from supplied notes, existing workspace content, or a research question. The workflow locks the audience and document structure, inventories the provided evidence (and researches only when the user actually asked for new research), writes the complete source as {{sourceOutputPath}}, then uses the pre-authorized DocBlocks toolset to convert directly to DOCX, preview the pages, and save {{workPath}}/report.docx in the artifacts drawer. PDF can be emitted in the same conversion call when requested.\n\nPlain Markdown is the source of truth. DocBlocks needs no validation preflight: convert_document reports diagnostics and preview_document supplies visual evidence. Never call the removed validate_document tool, hand-assemble OOXML, or substitute HTML for a requested DOCX.\n\nWorking files under {{workPath}}/, reviews/, and reports/ live in the project artifacts drawer and must be read and written with the artifact tools. User-facing source files remain in the workspace.\n\nPreview review checks content and available rendered evidence. Reconstructed Office/PDF views do not prove native layout; a media thumbnail does not prove full playback. The final handoff states these review limits.",
|
|
5
|
+
"entryStepId": "scope",
|
|
6
|
+
"triggers": [
|
|
7
|
+
"create a word document",
|
|
8
|
+
"make a docx",
|
|
9
|
+
"export this as docx",
|
|
10
|
+
"turn this content into a word document",
|
|
11
|
+
"research and write a document",
|
|
12
|
+
"research this and put it in word",
|
|
13
|
+
"write a cited briefing document"
|
|
14
|
+
],
|
|
15
|
+
"toolsets": [
|
|
16
|
+
{
|
|
17
|
+
"toolsetId": "docblocks",
|
|
18
|
+
"sourceId": "bundled",
|
|
19
|
+
"autoAllow": true,
|
|
20
|
+
"reason": "convert {{sourceOutputPath}} directly to DOCX or PDF, preview pages, and save the finished document without a prompt per call"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"paramSchema": {
|
|
24
|
+
"type": "object",
|
|
25
|
+
"properties": {
|
|
26
|
+
"workPath": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"title": "Working folder",
|
|
29
|
+
"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.",
|
|
30
|
+
"default": "{{task.dir}}"
|
|
31
|
+
},
|
|
32
|
+
"sourceOutputPath": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"title": "Editable source path",
|
|
35
|
+
"description": "Workspace-relative Markdown source path. The default keeps each task separate; choose an existing path only when intentionally revising it.",
|
|
36
|
+
"default": "documents/task-{{task.num}}/report.md"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"steps": [
|
|
41
|
+
{
|
|
42
|
+
"id": "scope",
|
|
43
|
+
"name": "Scope the document",
|
|
44
|
+
"description": "Lock audience, source boundary, structure, requested formats, and acceptance criteria.",
|
|
45
|
+
"prompt": "Scope the document before writing. 1. State the audience, purpose, and decision/takeaway. 2. Inventory the supplied content and named workspace files. Decide whether the user asked for new research; if not, explicitly prohibit adding outside facts. 3. Lock the section order, citation style when relevant, and whether the durable output is DOCX only or DOCX plus PDF. 4. Identify tables, figures, and existing media assets that must survive conversion. 5. Write acceptance criteria covering source fidelity, section coverage, citations when needed, readable page layout, and real saved binary files in artifacts. Write {{workPath}}/scope.md and call write_task_note with the source boundary, section count, and target formats.\n\nStore `{{workPath}}/scope.md` in the artifacts drawer with `write_artifact`, then verify it with `read_artifact`; do not write this working file to the workspace.\n\nRead an exact workspace DOCX, PPTX, PDF, or XLSX source with `read_doc_as_markdown`; use `read_file` for text or Markdown. Keep the original file path in citations. Never interpret binary bytes as text or substitute a similarly named file.",
|
|
46
|
+
"suggestedRole": "planner",
|
|
47
|
+
"advanceWhen": {
|
|
48
|
+
"file": "{{workPath}}/scope.md",
|
|
49
|
+
"minBytes": 1,
|
|
50
|
+
"sniff": "nonempty",
|
|
51
|
+
"artifact": true
|
|
52
|
+
},
|
|
53
|
+
"gate": {
|
|
54
|
+
"at": "completion",
|
|
55
|
+
"checks": [
|
|
56
|
+
{
|
|
57
|
+
"kind": "minBytes",
|
|
58
|
+
"file": "{{workPath}}/scope.md",
|
|
59
|
+
"bytes": 180,
|
|
60
|
+
"artifact": true
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"kind": "sniff",
|
|
64
|
+
"file": "{{workPath}}/scope.md",
|
|
65
|
+
"sniff": "nonempty",
|
|
66
|
+
"artifact": true
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"onReject": "scope",
|
|
70
|
+
"maxAttempts": 3
|
|
71
|
+
},
|
|
72
|
+
"next": "sources",
|
|
73
|
+
"toolPolicy": {
|
|
74
|
+
"disallowToolsets": [
|
|
75
|
+
"docblocks"
|
|
76
|
+
],
|
|
77
|
+
"disallowBuiltinToolsets": [
|
|
78
|
+
"ai-apps",
|
|
79
|
+
"archives",
|
|
80
|
+
"audio",
|
|
81
|
+
"browser-automation",
|
|
82
|
+
"code-execution",
|
|
83
|
+
"craftbooks",
|
|
84
|
+
"data-tables",
|
|
85
|
+
"entity-intel",
|
|
86
|
+
"git",
|
|
87
|
+
"image-intel",
|
|
88
|
+
"images",
|
|
89
|
+
"role-delegation",
|
|
90
|
+
"role-delegation-escalation",
|
|
91
|
+
"security-intel",
|
|
92
|
+
"team-management",
|
|
93
|
+
"videos",
|
|
94
|
+
"web",
|
|
95
|
+
"workspace-fs-write"
|
|
96
|
+
],
|
|
97
|
+
"outputMedium": "artifact",
|
|
98
|
+
"additionalOutputMedia": [
|
|
99
|
+
"task-note"
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"id": "sources",
|
|
105
|
+
"name": "Prepare the source log",
|
|
106
|
+
"description": "Record supplied sources and gather new evidence only when research was requested.",
|
|
107
|
+
"prompt": "Prepare {{workPath}}/sources.md to the boundary in {{workPath}}/scope.md. If the user supplied the content and did not ask for research, list each supplied file or message section and the facts it contributes; do not browse or add outside claims. If new research was requested, gather credible sources, record title/publisher/date/URL or workspace path, extract only the facts relevant to the outline, and cross-check consequential claims. Assign stable citation keys when citations are required. Mark unsupported gaps rather than guessing. Call write_task_note with the source count and unresolved gaps.\n\nOpen `{{workPath}}/scope.md`, `{{workPath}}/sources.md` from the artifacts drawer with `read_artifact` before working.\n\nRead an exact workspace DOCX, PPTX, PDF, or XLSX source with `read_doc_as_markdown`; use `read_file` for text or Markdown. Keep the original file path in citations. Never interpret binary bytes as text or substitute a similarly named file.\n\nStore `{{workPath}}/sources.md` with `write_artifact` and verify it with `read_artifact` before advancing.",
|
|
108
|
+
"suggestedRole": "researcher",
|
|
109
|
+
"consumes": [
|
|
110
|
+
{
|
|
111
|
+
"file": "{{workPath}}/scope.md",
|
|
112
|
+
"artifact": true
|
|
113
|
+
}
|
|
114
|
+
],
|
|
115
|
+
"advanceWhen": {
|
|
116
|
+
"file": "{{workPath}}/sources.md",
|
|
117
|
+
"minBytes": 1,
|
|
118
|
+
"sniff": "nonempty",
|
|
119
|
+
"artifact": true
|
|
120
|
+
},
|
|
121
|
+
"gate": {
|
|
122
|
+
"at": "completion",
|
|
123
|
+
"checks": [
|
|
124
|
+
{
|
|
125
|
+
"kind": "minBytes",
|
|
126
|
+
"file": "{{workPath}}/sources.md",
|
|
127
|
+
"bytes": 160,
|
|
128
|
+
"artifact": true
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"kind": "sniff",
|
|
132
|
+
"file": "{{workPath}}/sources.md",
|
|
133
|
+
"sniff": "nonempty",
|
|
134
|
+
"artifact": true
|
|
135
|
+
}
|
|
136
|
+
],
|
|
137
|
+
"onReject": "sources",
|
|
138
|
+
"maxAttempts": 3
|
|
139
|
+
},
|
|
140
|
+
"next": "write",
|
|
141
|
+
"toolPolicy": {
|
|
142
|
+
"disallowToolsets": [
|
|
143
|
+
"docblocks"
|
|
144
|
+
],
|
|
145
|
+
"disallowBuiltinToolsets": [
|
|
146
|
+
"ai-apps",
|
|
147
|
+
"archives",
|
|
148
|
+
"audio",
|
|
149
|
+
"browser-automation",
|
|
150
|
+
"code-execution",
|
|
151
|
+
"craftbooks",
|
|
152
|
+
"data-tables",
|
|
153
|
+
"entity-intel",
|
|
154
|
+
"git",
|
|
155
|
+
"image-intel",
|
|
156
|
+
"images",
|
|
157
|
+
"role-delegation",
|
|
158
|
+
"role-delegation-escalation",
|
|
159
|
+
"security-intel",
|
|
160
|
+
"team-management",
|
|
161
|
+
"videos",
|
|
162
|
+
"workspace-fs-write"
|
|
163
|
+
],
|
|
164
|
+
"outputMedium": "artifact",
|
|
165
|
+
"additionalOutputMedia": [
|
|
166
|
+
"task-note"
|
|
167
|
+
]
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"id": "write",
|
|
172
|
+
"name": "Write the Markdown document",
|
|
173
|
+
"description": "Write the complete {{sourceOutputPath}} source from the locked outline and source log.",
|
|
174
|
+
"prompt": "Write {{sourceOutputPath}} as the complete document source. 1. Follow {{workPath}}/scope.md section order exactly, starting with one H1 title and a concise opening summary. 2. Use clear H2/H3 sections and real prose grounded only in {{workPath}}/sources.md. 3. Use Markdown tables for structured comparisons and existing workspace images only when the scope calls for them; add meaningful alt text, captions, and in-prose references. 4. Cite claims with the locked style and include references when research was requested. 5. End with the requested conclusion, recommendation, or next steps. 6. Check every content criterion before advancing. Do not create DOCX XML, HTML, or base64. Call write_task_note with the path, word count, and section count.\n\nOpen `{{workPath}}/scope.md`, `{{workPath}}/sources.md` from the artifacts drawer with `read_artifact` before working.",
|
|
175
|
+
"suggestedRole": "copywriter",
|
|
176
|
+
"consumes": [
|
|
177
|
+
{
|
|
178
|
+
"file": "{{workPath}}/scope.md",
|
|
179
|
+
"artifact": true
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"file": "{{workPath}}/sources.md",
|
|
183
|
+
"artifact": true
|
|
184
|
+
}
|
|
185
|
+
],
|
|
186
|
+
"advanceWhen": {
|
|
187
|
+
"file": "{{sourceOutputPath}}",
|
|
188
|
+
"minBytes": 1,
|
|
189
|
+
"sniff": "nonempty"
|
|
190
|
+
},
|
|
191
|
+
"gate": {
|
|
192
|
+
"at": "completion",
|
|
193
|
+
"checks": [
|
|
194
|
+
{
|
|
195
|
+
"kind": "minBytes",
|
|
196
|
+
"file": "{{sourceOutputPath}}",
|
|
197
|
+
"bytes": 1000
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"kind": "contains",
|
|
201
|
+
"file": "{{sourceOutputPath}}",
|
|
202
|
+
"pattern": "(?:^|\\n)#\\s+\\S",
|
|
203
|
+
"label": "an H1 document title"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"kind": "contains",
|
|
207
|
+
"file": "{{sourceOutputPath}}",
|
|
208
|
+
"pattern": "(?:^|\\n)##\\s+\\S",
|
|
209
|
+
"label": "at least one document section"
|
|
210
|
+
}
|
|
211
|
+
],
|
|
212
|
+
"onReject": "write",
|
|
213
|
+
"maxAttempts": 4
|
|
214
|
+
},
|
|
215
|
+
"next": "publish",
|
|
216
|
+
"toolPolicy": {
|
|
217
|
+
"disallowToolsets": [
|
|
218
|
+
"docblocks"
|
|
219
|
+
],
|
|
220
|
+
"disallowBuiltinToolsets": [
|
|
221
|
+
"ai-apps",
|
|
222
|
+
"archives",
|
|
223
|
+
"audio",
|
|
224
|
+
"browser-automation",
|
|
225
|
+
"code-execution",
|
|
226
|
+
"craftbooks",
|
|
227
|
+
"data-tables",
|
|
228
|
+
"entity-intel",
|
|
229
|
+
"git",
|
|
230
|
+
"image-intel",
|
|
231
|
+
"images",
|
|
232
|
+
"role-delegation",
|
|
233
|
+
"role-delegation-escalation",
|
|
234
|
+
"security-intel",
|
|
235
|
+
"team-management",
|
|
236
|
+
"videos",
|
|
237
|
+
"web"
|
|
238
|
+
],
|
|
239
|
+
"outputMedium": "workspace",
|
|
240
|
+
"additionalOutputMedia": [
|
|
241
|
+
"task-note"
|
|
242
|
+
]
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"id": "publish",
|
|
247
|
+
"name": "Publish the Word document",
|
|
248
|
+
"description": "Convert the approved source, inspect and preview it, and save the real binary deliverables with review evidence.",
|
|
249
|
+
"prompt": "Publish the approved Markdown as real binary files. 1. Call `list_roots` to identify the read-enabled workspace root and write-enabled artifacts root. If no write root exists, record the blocker. Read `{{workPath}}/scope.md` from the artifacts drawer with `read_artifact` and the approved `{{sourceOutputPath}}` from the workspace with `read_file`. 2. Call `convert_document` with source `{ \"kind\": \"file\", \"rootId\": <workspace root id>, \"path\": \"{{sourceOutputPath}}\" }` and `autoTemplates: true`. Use a DOCX target with `fidelity: \"editable-native\"` and the document title. Include a PDF target in the same call only when scope.md requests it, then preview and save that PDF too at `{{workPath}}/report.pdf`. Ordinary Markdown works with defaults; use discovery only to answer a specific style requirement. 3. Use each returned artifact URI with `inspect_document` and `preview_document`, passing source `{ \"kind\": \"artifact\", \"uri\": <returned URI> }`. Review content, tables, and any reported diagnostics; request at most four preview items at a time and paginate. Interpret `previewBasis` accurately. Office/PDF `reconstructed-import` previews show normalized content sections, not native pagination, fonts, clipping, or page breaks. Review all available sections with pagination and record this native-layout limit. Do not call these native page images or invent a native page count. An accurately disclosed preview limit alone does not fail content and saved-file checks. If content or source structure fails, write precise gaps to task notes and call `advance_task_step` with next `\"write\"`; do not edit the source during this publishing step. 4. Call `save_artifact` for `{{workPath}}/report.docx` using the artifacts root and `ifExists: \"error\"`. For an existing output, inspect that saved file and use its `sourceSha256` as `expectedSha256` with `ifExists: \"replace\"`. Use only URIs returned by this session; reopen earlier saved binaries through file sources. Finally, write a task note with saved paths, hashes, available counts, diagnostics, preview basis, and review limits, then advance to evaluate. Never substitute HTML, renamed Markdown, or hand-written XML for the requested binary files.",
|
|
250
|
+
"suggestedRole": "copywriter",
|
|
251
|
+
"consumes": [
|
|
252
|
+
{
|
|
253
|
+
"file": "{{workPath}}/scope.md",
|
|
254
|
+
"artifact": true
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"file": "{{sourceOutputPath}}"
|
|
258
|
+
}
|
|
259
|
+
],
|
|
260
|
+
"advanceWhen": {
|
|
261
|
+
"file": "{{workPath}}/report.docx",
|
|
262
|
+
"minBytes": 1,
|
|
263
|
+
"artifact": true
|
|
264
|
+
},
|
|
265
|
+
"gate": {
|
|
266
|
+
"at": "completion",
|
|
267
|
+
"checks": [
|
|
268
|
+
{
|
|
269
|
+
"kind": "minBytes",
|
|
270
|
+
"file": "{{workPath}}/report.docx",
|
|
271
|
+
"bytes": 1000,
|
|
272
|
+
"artifact": true
|
|
273
|
+
}
|
|
274
|
+
],
|
|
275
|
+
"onReject": "publish",
|
|
276
|
+
"maxAttempts": 4
|
|
277
|
+
},
|
|
278
|
+
"next": "evaluate",
|
|
279
|
+
"toolPolicy": {
|
|
280
|
+
"disallowBuiltinToolsets": [
|
|
281
|
+
"ai-apps",
|
|
282
|
+
"archives",
|
|
283
|
+
"audio",
|
|
284
|
+
"browser-automation",
|
|
285
|
+
"code-execution",
|
|
286
|
+
"craftbooks",
|
|
287
|
+
"data-tables",
|
|
288
|
+
"entity-intel",
|
|
289
|
+
"git",
|
|
290
|
+
"image-intel",
|
|
291
|
+
"images",
|
|
292
|
+
"role-delegation",
|
|
293
|
+
"role-delegation-escalation",
|
|
294
|
+
"security-intel",
|
|
295
|
+
"team-management",
|
|
296
|
+
"videos",
|
|
297
|
+
"web",
|
|
298
|
+
"workspace-fs-write"
|
|
299
|
+
],
|
|
300
|
+
"outputMedium": "artifact",
|
|
301
|
+
"additionalOutputMedia": [
|
|
302
|
+
"task-note"
|
|
303
|
+
]
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"id": "evaluate",
|
|
308
|
+
"name": "Evaluate",
|
|
309
|
+
"description": "Review saved-file integrity and content fidelity; document the limits of reconstructed or first-frame previews.",
|
|
310
|
+
"prompt": "Read `{{workPath}}/scope.md` from the artifacts drawer with `read_artifact` and the approved `{{sourceOutputPath}}` from the workspace with `read_file`. Read prior review/publishing evidence with `read_task_notes`. Call `list_roots` and reopen each saved binary in `{{workPath}}/report.docx` with `inspect_document` and `preview_document`, using source `{ \"kind\": \"file\", \"rootId\": <artifacts root id>, \"path\": <saved path> }`. Artifact URIs from another session are not reusable. Confirm the binary opens, the supplied facts and requested content are preserved, section order and tables follow the approved source, and citations/next actions remain present. Check `{{workPath}}/report.pdf` too when scope.md requests PDF. Interpret `previewBasis` accurately. Office/PDF `reconstructed-import` previews show normalized content sections, not native pagination, fonts, clipping, or page breaks. Review all available sections with pagination and record this native-layout limit. Do not call these native page images or invent a native page count. An accurately disclosed preview limit alone does not fail content and saved-file checks. Write PASS/FAIL per verifiable content and saved-file criterion, name exact gaps, and state any native-layout or playback property that remains unverified. If these checks pass, route to `finish`; for content/structure failures route to `write`; for conversion/save/copy failures with the source still approved route to `publish`. Never claim an unmet criterion passed. After three unproductive loops, record DONE_WITH_CONCERNS and the remaining gaps. On PASS, call `advance_task_step` with next: \"finish\". Use next: \"write\" only for an identified source-content failure, or next: \"publish\" for an identified conversion/save failure.",
|
|
311
|
+
"suggestedRole": "reviewer",
|
|
312
|
+
"consumes": [
|
|
313
|
+
{
|
|
314
|
+
"file": "{{workPath}}/scope.md",
|
|
315
|
+
"artifact": true
|
|
316
|
+
}
|
|
317
|
+
],
|
|
318
|
+
"next": "finish",
|
|
319
|
+
"toolPolicy": {
|
|
320
|
+
"disallowBuiltinToolsets": [
|
|
321
|
+
"ai-apps",
|
|
322
|
+
"archives",
|
|
323
|
+
"audio",
|
|
324
|
+
"browser-automation",
|
|
325
|
+
"code-execution",
|
|
326
|
+
"craftbooks",
|
|
327
|
+
"data-tables",
|
|
328
|
+
"entity-intel",
|
|
329
|
+
"git",
|
|
330
|
+
"image-intel",
|
|
331
|
+
"images",
|
|
332
|
+
"role-delegation",
|
|
333
|
+
"role-delegation-escalation",
|
|
334
|
+
"security-intel",
|
|
335
|
+
"team-management",
|
|
336
|
+
"videos",
|
|
337
|
+
"web",
|
|
338
|
+
"workspace-fs-write"
|
|
339
|
+
],
|
|
340
|
+
"outputMedium": "task-note"
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"id": "finish",
|
|
345
|
+
"name": "Finish",
|
|
346
|
+
"description": "Deliver the saved files with the recorded review evidence and limits.",
|
|
347
|
+
"prompt": "Read the review evidence with `read_task_notes`. Write a concise DONE summary naming the editable Markdown source `{{sourceOutputPath}}` and the saved deliverables `{{workPath}}/report.docx`. Include available native counts and the preview basis, and carry forward any native-layout or playback properties that remain unverified. Do not open binary files with `read_artifact` or claim an unavailable check passed.",
|
|
348
|
+
"suggestedRole": "copywriter",
|
|
349
|
+
"consumes": [
|
|
350
|
+
{
|
|
351
|
+
"file": "{{sourceOutputPath}}"
|
|
352
|
+
}
|
|
353
|
+
],
|
|
354
|
+
"terminal": true,
|
|
355
|
+
"toolPolicy": {
|
|
356
|
+
"disallowToolsets": [
|
|
357
|
+
"docblocks"
|
|
358
|
+
],
|
|
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": "task-note"
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
],
|
|
383
|
+
"version": "1.2.4",
|
|
384
|
+
"releasedAt": "2026-09-07T01:00:00Z",
|
|
385
|
+
"minGezelVersion": "1.26233"
|
|
386
|
+
}
|