@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.
Files changed (25) hide show
  1. package/data/craftbook-templates/ba/backup-routine/versions/1.0.4/craftbook.json +0 -16
  2. package/data/craftbook-templates/bo/booking-automation/versions/1.0.3/craftbook.json +0 -16
  3. package/data/craftbook-templates/co/content-deck/versions/1.2.4/craftbook.json +4 -4
  4. package/data/craftbook-templates/co/content-deck/versions/1.2.4/test.json +3 -0
  5. package/data/craftbook-templates/co/corpus-email-digest/versions/1.2.4/craftbook.json +4 -4
  6. package/data/craftbook-templates/co/corpus-email-digest/versions/1.2.4/test.json +3 -0
  7. package/data/craftbook-templates/da/data-export-migrate/versions/1.0.4/craftbook.json +0 -16
  8. package/data/craftbook-templates/db/db-index-tuning/versions/1.0.4/craftbook.json +0 -16
  9. package/data/craftbook-templates/do/doc-intake-pipeline/versions/1.0.4/craftbook.json +0 -16
  10. package/data/craftbook-templates/do/dockerize-app/versions/1.0.4/craftbook.json +0 -16
  11. package/data/craftbook-templates/fo/form-fill-batch/versions/1.0.4/craftbook.json +0 -16
  12. package/data/craftbook-templates/index.json +1 -1
  13. package/data/craftbook-templates/mo/monitor-and-alert/versions/1.0.3/craftbook.json +0 -16
  14. package/data/craftbook-templates/na/narrated-slideshow/versions/1.1.4/craftbook.json +314 -0
  15. package/data/craftbook-templates/na/narrated-slideshow/versions/1.1.4/test.json +89 -0
  16. package/data/craftbook-templates/po/powerpoint-deck/versions/1.7.10/craftbook.json +581 -0
  17. package/data/craftbook-templates/po/powerpoint-deck/versions/1.7.10/test.json +240 -0
  18. package/data/craftbook-templates/pr/price-tracker/versions/1.0.3/craftbook.json +0 -8
  19. package/data/craftbook-templates/re/recurring-invoice-run/versions/1.0.4/craftbook.json +0 -16
  20. package/data/craftbook-templates/re/report-pdf/versions/1.1.4/craftbook.json +315 -0
  21. package/data/craftbook-templates/re/report-pdf/versions/1.1.4/test.json +101 -0
  22. package/data/craftbook-templates/re/research-to-document/versions/1.2.4/craftbook.json +386 -0
  23. package/data/craftbook-templates/re/research-to-document/versions/1.2.4/test.json +242 -0
  24. package/data/craftbook-templates/sq/sql-analysis/versions/1.0.3/craftbook.json +0 -8
  25. package/package.json +1 -1
@@ -0,0 +1,242 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "title": "Word Document DocBlocks artifact-surface eval",
4
+ "objective": "Verify the research-to-document craftbook carries a reviewed Markdown source all the way to a real editable DOCX in the ARTIFACTS drawer via the DocBlocks convert / preview / save workflow — the surface and tool family powerpoint-deck's workspace-copy route does not cover.",
5
+ "tags": [
6
+ "external",
7
+ "documents"
8
+ ],
9
+ "prompt": "Read `source/brief.md` and publish a Word document.\n\n1. Write the complete document source to `documents/eval/report.md`: a title, executive summary, compact metrics table, findings, and next actions. Do not create HTML or document XML by hand.\n2. Publish it with the pre-authorized DocBlocks tools. Call `list_roots` to find the read-enabled workspace root and the write-enabled artifacts root. Use `autoTemplates: true`; consult `get_authoring_context` only if exact authoring guidance is needed. Then `convert_document` to DOCX, `preview_document` to confirm it rendered, and `save_artifact` to persist it to `tasks/eval/report.docx` in the artifacts drawer.\n\nThe finished deliverable is the real DOCX at `tasks/eval/report.docx` in the artifacts drawer. Markdown, HTML, or hand-built OOXML written to that path is not a substitute.",
10
+ "setup": {
11
+ "projectName": "Word Document from Content Eval",
12
+ "about": "The reviewed source is Markdown and is converted to an editable DOCX by DocBlocks. The finished document lands in the project ARTIFACTS drawer, not the workspace.",
13
+ "missionObjectives": "Create a complete, source-grounded documents/eval/report.md, then convert and save it as a real artifacts-drawer tasks/eval/report.docx through the DocBlocks template route.",
14
+ "files": [
15
+ {
16
+ "path": "source/brief.md",
17
+ "content": "# Boreal Desk Returns Pilot\n\nAudience: operations leaders.\n\nFacts:\n- Pilot coverage: 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- Top unresolved complaint: status silence after photo submission.\n- Next actions: automated status emails, barcode-exception training, weekly Finance exception export.\n\nDo not invent other metrics."
18
+ }
19
+ ],
20
+ "worker": {
21
+ "name": "Jules",
22
+ "role": "Copywriter"
23
+ },
24
+ "craftbookParams": {
25
+ "workPath": "tasks/eval",
26
+ "sourceOutputPath": "documents/eval/report.md"
27
+ }
28
+ },
29
+ "mocks": [
30
+ {
31
+ "kind": "mcp",
32
+ "id": "docblocks",
33
+ "toolsetId": "docblocks",
34
+ "description": "Deterministic fake DocBlocks MCP for template selection, DOCX conversion, preview, and artifact-drawer saving.",
35
+ "tools": [
36
+ {
37
+ "name": "list_roots",
38
+ "description": "List the workspace read root and artifacts write root.",
39
+ "resultTemplate": {
40
+ "roots": [
41
+ {
42
+ "id": "workspace",
43
+ "name": "workspace",
44
+ "capabilities": [
45
+ "read"
46
+ ]
47
+ },
48
+ {
49
+ "id": "artifacts",
50
+ "name": "artifacts",
51
+ "capabilities": [
52
+ "read",
53
+ "write"
54
+ ]
55
+ }
56
+ ]
57
+ }
58
+ },
59
+ {
60
+ "name": "get_authoring_context",
61
+ "description": "Return optional DOCX authoring guidance.",
62
+ "resultTemplate": {
63
+ "targetFormat": "docx",
64
+ "guidance": "Content-first Markdown; one H1 title, H2 sections, real tables."
65
+ }
66
+ },
67
+ {
68
+ "name": "list_templates",
69
+ "description": "List the document templates available for DOCX conversion.",
70
+ "resultTemplate": {
71
+ "templates": [
72
+ {
73
+ "id": "briefing-report",
74
+ "label": "Briefing report",
75
+ "formats": [
76
+ "docx",
77
+ "pdf"
78
+ ]
79
+ },
80
+ {
81
+ "id": "one-pager",
82
+ "label": "Executive one-pager",
83
+ "formats": [
84
+ "docx"
85
+ ]
86
+ },
87
+ {
88
+ "id": "slide-notes",
89
+ "label": "Slide notes",
90
+ "formats": [
91
+ "pptx"
92
+ ]
93
+ }
94
+ ]
95
+ }
96
+ },
97
+ {
98
+ "name": "describe_template",
99
+ "description": "Describe a template's expected sections and styles.",
100
+ "resultTemplate": {
101
+ "id": "briefing-report",
102
+ "sections": [
103
+ "Title",
104
+ "Executive summary",
105
+ "Metrics",
106
+ "Findings",
107
+ "Next actions"
108
+ ],
109
+ "styles": {
110
+ "heading": "Heading 1",
111
+ "table": "Grid Table 4"
112
+ }
113
+ }
114
+ },
115
+ {
116
+ "name": "convert_document",
117
+ "description": "Convert approved Markdown to a deterministic DOCX artifact URI.",
118
+ "resultTemplate": {
119
+ "artifacts": [
120
+ {
121
+ "format": "docx",
122
+ "uri": "mock://docblocks/report.docx",
123
+ "sha256": "3333333333333333333333333333333333333333333333333333333333333333"
124
+ }
125
+ ],
126
+ "diagnostics": []
127
+ }
128
+ },
129
+ {
130
+ "name": "preview_document",
131
+ "description": "Return deterministic page-preview evidence.",
132
+ "resultTemplate": {
133
+ "pages": 4,
134
+ "overflow": false,
135
+ "missingStyles": [],
136
+ "previewed": true
137
+ }
138
+ },
139
+ {
140
+ "name": "save_artifact",
141
+ "description": "Save the converted DOCX into the project artifacts drawer.",
142
+ "resultTemplate": {
143
+ "ok": true,
144
+ "bytes": 2100,
145
+ "sha256": "4444444444444444444444444444444444444444444444444444444444444444"
146
+ },
147
+ "writeFixture": {
148
+ "surface": "artifact",
149
+ "pathArgument": "destination.path",
150
+ "fixture": "minimal-docx"
151
+ }
152
+ }
153
+ ]
154
+ }
155
+ ],
156
+ "success": {
157
+ "summary": "documents/eval/report.md is a complete source-grounded Markdown document, and artifacts/report.docx is a real ZIP-shaped DOCX produced through the DocBlocks template route rather than written by hand.",
158
+ "deliverables": [
159
+ {
160
+ "path": "documents/eval/report.md",
161
+ "kind": "markdown-report",
162
+ "minBytes": 1000,
163
+ "checks": [
164
+ {
165
+ "kind": "contains",
166
+ "file": "documents/eval/report.md",
167
+ "pattern": "(?:^|\\n)#\\s+.+",
168
+ "flags": "m"
169
+ },
170
+ {
171
+ "kind": "contains",
172
+ "file": "documents/eval/report.md",
173
+ "pattern": "executive summary",
174
+ "flags": "i"
175
+ },
176
+ {
177
+ "kind": "contains",
178
+ "file": "documents/eval/report.md",
179
+ "pattern": "18\\s+SKUs|18\\s+hours|6\\s+hours|14\\.2%|8\\.9%",
180
+ "flags": "i"
181
+ },
182
+ {
183
+ "kind": "contains",
184
+ "file": "documents/eval/report.md",
185
+ "pattern": "automated status emails|barcode-exception training|weekly Finance exception export",
186
+ "flags": "i"
187
+ },
188
+ {
189
+ "kind": "notContains",
190
+ "file": "documents/eval/report.md",
191
+ "pattern": "<html|<style|word/document\\.xml|base64",
192
+ "flags": "i"
193
+ }
194
+ ]
195
+ }
196
+ ],
197
+ "mocks": [
198
+ {
199
+ "service": "docblocks",
200
+ "requiredTools": [
201
+ "list_roots",
202
+ "convert_document",
203
+ "preview_document",
204
+ "save_artifact"
205
+ ]
206
+ }
207
+ ],
208
+ "checks": [
209
+ {
210
+ "kind": "binaryDocument",
211
+ "file": "tasks/eval/report.docx",
212
+ "artifact": true,
213
+ "minBytes": 800
214
+ }
215
+ ]
216
+ },
217
+ "rubric": {
218
+ "artifact": {
219
+ "path": "documents/eval/report.md",
220
+ "kind": "markdown"
221
+ },
222
+ "axes": [
223
+ {
224
+ "name": "grounding",
225
+ "description": "Every metric and action comes from the seeded brief."
226
+ },
227
+ {
228
+ "name": "structure",
229
+ "description": "The source has a usable title, summary, sections, table, and next actions."
230
+ },
231
+ {
232
+ "name": "convertibility",
233
+ "description": "The Markdown is complete enough for direct DocBlocks DOCX conversion without HTML or XML."
234
+ }
235
+ ]
236
+ },
237
+ "qualityFocus": [
238
+ "Markdown source quality",
239
+ "DOCX readiness",
240
+ "no HTML or OOXML intermediary"
241
+ ]
242
+ }
@@ -103,14 +103,6 @@
103
103
  "kind": "sniff",
104
104
  "file": "query.sql",
105
105
  "sniff": "nonempty"
106
- },
107
- {
108
- "kind": "esmImports",
109
- "file": "query.sql"
110
- },
111
- {
112
- "kind": "sourceParses",
113
- "file": "query.sql"
114
106
  }
115
107
  ],
116
108
  "onReject": "query",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bendyline/gilde",
3
- "version": "0.1.58",
3
+ "version": "0.1.59",
4
4
  "description": "The gilde catalog: model manifests, toolsets, craftbooks, roles, and project types for gezel.",
5
5
  "license": "MIT",
6
6
  "private": false,