@bendyline/gilde 0.3.17 → 0.3.18

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 (222) hide show
  1. package/authoring/chat-models/kolibri-1.1-75b-iq2.json +1 -1
  2. package/authoring/chat-models/minicpm5-15b-a2.5b-q4.json +138 -0
  3. package/authoring/chat-models/qwen3.8-flash-next-iq4.json +4 -14
  4. package/authoring/chat-models/qwen4-35b-a3b-q4.json +200 -0
  5. package/data/chat-models/index.json +1 -1
  6. package/data/chat-models/ko/kolibri-1.1-75b-iq2/manifest.json +1 -1
  7. package/data/chat-models/mi/minicpm5-15b-a2.5b-q4/manifest.json +186 -0
  8. package/data/chat-models/mi/minicpm5-15b-a2.5b-q4/versions/1.0.0/manifest.json +64 -0
  9. package/data/chat-models/mi/minicpm5-15b-a2.5b-q4/versions/1.0.1/manifest.json +64 -0
  10. package/data/chat-models/qw/qwen3.8-flash-next-iq4/manifest.json +3 -211
  11. package/data/chat-models/qw/qwen3.8-flash-next-iq4/versions/1.1.2/manifest.json +36 -0
  12. package/data/chat-models/qw/qwen4-35b-a3b-q4/manifest.json +317 -0
  13. package/data/chat-models/qw/qwen4-35b-a3b-q4/versions/1.0.0/manifest.json +120 -0
  14. package/data/chat-models/qw/qwen4-35b-a3b-q4/versions/1.0.1/manifest.json +135 -0
  15. package/data/chat-models/raw-index.json +1 -1
  16. package/data/craftbook-templates/al/album-curate/versions/1.0.6/craftbook.json +344 -0
  17. package/data/craftbook-templates/al/album-curate/versions/1.0.6/test.json +160 -0
  18. package/data/craftbook-templates/al/album-curate/versions/1.0.7/craftbook.json +362 -0
  19. package/data/craftbook-templates/al/album-curate/versions/1.0.7/test.json +192 -0
  20. package/data/craftbook-templates/an/annual-document-review/versions/1.0.5/craftbook.json +306 -0
  21. package/data/craftbook-templates/an/annual-document-review/versions/1.0.5/test.json +115 -0
  22. package/data/craftbook-templates/ce/celebration-day-plan/manifest.json +22 -0
  23. package/data/craftbook-templates/ce/celebration-day-plan/versions/1.0.0/craftbook.json +242 -0
  24. package/data/craftbook-templates/ce/celebration-day-plan/versions/1.0.0/test.json +118 -0
  25. package/data/craftbook-templates/da/dataset-clean/versions/1.2.7/craftbook.json +263 -0
  26. package/data/craftbook-templates/da/dataset-clean/versions/1.2.7/test.json +111 -0
  27. package/data/craftbook-templates/em/email-template/versions/1.0.6/craftbook.json +335 -0
  28. package/data/craftbook-templates/em/email-template/versions/1.0.6/test.json +112 -0
  29. package/data/craftbook-templates/ex/expense-categorize/manifest.json +0 -5
  30. package/data/craftbook-templates/ex/expense-categorize/versions/1.0.7/craftbook.json +306 -0
  31. package/data/craftbook-templates/ex/expense-categorize/versions/1.0.7/test.json +120 -0
  32. package/data/craftbook-templates/ex/expense-categorize/versions/1.0.9/craftbook.json +330 -0
  33. package/data/craftbook-templates/ex/expense-categorize/versions/1.0.9/test.json +120 -0
  34. package/data/craftbook-templates/fa/family-story-chapter/manifest.json +0 -5
  35. package/data/craftbook-templates/fa/family-story-chapter/versions/1.0.6/craftbook.json +213 -0
  36. package/data/craftbook-templates/fa/family-story-chapter/versions/1.0.6/test.json +118 -0
  37. package/data/craftbook-templates/fa/family-story-chapter/versions/1.0.7/craftbook.json +249 -0
  38. package/data/craftbook-templates/fa/family-story-chapter/versions/1.0.7/test.json +121 -0
  39. package/data/craftbook-templates/fa/family-story-chapter/versions/1.0.8/craftbook.json +269 -0
  40. package/data/craftbook-templates/fa/family-story-chapter/versions/1.0.8/test.json +147 -0
  41. package/data/craftbook-templates/fa/faq-from-docs/versions/1.1.3/craftbook.json +275 -0
  42. package/data/craftbook-templates/fa/faq-from-docs/versions/1.1.3/test.json +116 -0
  43. package/data/craftbook-templates/fo/folder-to-audio/versions/1.0.6/craftbook.json +263 -0
  44. package/data/craftbook-templates/fo/folder-to-audio/versions/1.0.6/test.json +114 -0
  45. package/data/craftbook-templates/in/inbox-triage/manifest.json +0 -4
  46. package/data/craftbook-templates/in/inbox-triage/versions/1.0.6/craftbook.json +305 -0
  47. package/data/craftbook-templates/in/inbox-triage/versions/1.0.6/test.json +175 -0
  48. package/data/craftbook-templates/in/inbox-triage/versions/1.0.7/craftbook.json +311 -0
  49. package/data/craftbook-templates/in/inbox-triage/versions/1.0.7/test.json +189 -0
  50. package/data/craftbook-templates/in/invoice-generator/manifest.json +0 -4
  51. package/data/craftbook-templates/in/invoice-generator/versions/1.0.6/craftbook.json +246 -0
  52. package/data/craftbook-templates/in/invoice-generator/versions/1.0.6/test.json +183 -0
  53. package/data/craftbook-templates/index.json +1 -1
  54. package/data/craftbook-templates/me/meeting-minutes/manifest.json +1 -5
  55. package/data/craftbook-templates/me/meeting-minutes/versions/1.1.3/craftbook.json +276 -0
  56. package/data/craftbook-templates/me/meeting-minutes/versions/1.1.3/test.json +97 -0
  57. package/data/craftbook-templates/me/meeting-minutes/versions/1.1.4/craftbook.json +272 -0
  58. package/data/craftbook-templates/me/meeting-minutes/versions/1.1.4/test.json +97 -0
  59. package/data/craftbook-templates/me/meeting-notes-to-actions/versions/1.1.4/craftbook.json +285 -0
  60. package/data/craftbook-templates/me/meeting-notes-to-actions/versions/1.1.4/samples/team-sync/notes.md +47 -0
  61. package/data/craftbook-templates/me/meeting-notes-to-actions/versions/1.1.4/test.json +90 -0
  62. package/data/craftbook-templates/me/memory-prompt-session/manifest.json +0 -4
  63. package/data/craftbook-templates/me/memory-prompt-session/versions/1.0.5/craftbook.json +317 -0
  64. package/data/craftbook-templates/me/memory-prompt-session/versions/1.0.5/test.json +237 -0
  65. package/data/craftbook-templates/mo/mock-interview/manifest.json +0 -4
  66. package/data/craftbook-templates/mo/mock-interview/versions/1.0.7/craftbook.json +352 -0
  67. package/data/craftbook-templates/mo/mock-interview/versions/1.0.7/test.json +209 -0
  68. package/data/craftbook-templates/of/offer-compare/versions/1.0.6/craftbook.json +244 -0
  69. package/data/craftbook-templates/of/offer-compare/versions/1.0.6/test.json +129 -0
  70. package/data/craftbook-templates/on/onboarding-checklist/versions/1.0.6/craftbook.json +248 -0
  71. package/data/craftbook-templates/on/onboarding-checklist/versions/1.0.6/test.json +101 -0
  72. package/data/craftbook-templates/ph/photo-cull/versions/1.0.6/craftbook.json +315 -0
  73. package/data/craftbook-templates/ph/photo-cull/versions/1.0.6/test.json +196 -0
  74. package/data/craftbook-templates/ph/photo-cull/versions/1.0.7/craftbook.json +336 -0
  75. package/data/craftbook-templates/ph/photo-cull/versions/1.0.7/test.json +204 -0
  76. package/data/craftbook-templates/pr/pre-departure-countdown/manifest.json +0 -1
  77. package/data/craftbook-templates/pr/pre-departure-countdown/versions/1.0.6/craftbook.json +306 -0
  78. package/data/craftbook-templates/pr/pre-departure-countdown/versions/1.0.6/test.json +119 -0
  79. package/data/craftbook-templates/pr/pre-departure-countdown/versions/1.0.7/craftbook.json +315 -0
  80. package/data/craftbook-templates/pr/pre-departure-countdown/versions/1.0.7/test.json +127 -0
  81. package/data/craftbook-templates/pu/pull-request-review/versions/1.9.19/craftbook.json +611 -0
  82. package/data/craftbook-templates/pu/pull-request-review/versions/1.9.19/test.json +156 -0
  83. package/data/craftbook-templates/pu/pull-request-review/versions/1.9.20/craftbook.json +632 -0
  84. package/data/craftbook-templates/pu/pull-request-review/versions/1.9.20/test.json +156 -0
  85. package/data/craftbook-templates/raw-index.json +1 -1
  86. package/data/craftbook-templates/re/reading-list/versions/1.0.6/craftbook.json +247 -0
  87. package/data/craftbook-templates/re/reading-list/versions/1.0.6/test.json +101 -0
  88. package/data/craftbook-templates/re/receipt-ocr-ledger/manifest.json +0 -4
  89. package/data/craftbook-templates/re/receipt-ocr-ledger/versions/1.0.7/craftbook.json +312 -0
  90. package/data/craftbook-templates/re/receipt-ocr-ledger/versions/1.0.7/test.json +160 -0
  91. package/data/craftbook-templates/re/receipt-ocr-ledger/versions/1.0.8/craftbook.json +322 -0
  92. package/data/craftbook-templates/re/receipt-ocr-ledger/versions/1.0.8/test.json +194 -0
  93. package/data/craftbook-templates/re/receipt-ocr-ledger/versions/1.0.9/craftbook.json +353 -0
  94. package/data/craftbook-templates/re/receipt-ocr-ledger/versions/1.0.9/test.json +215 -0
  95. package/data/craftbook-templates/re/record-a-relative/manifest.json +0 -1
  96. package/data/craftbook-templates/re/record-a-relative/versions/1.0.5/craftbook.json +318 -0
  97. package/data/craftbook-templates/re/record-a-relative/versions/1.0.5/test.json +208 -0
  98. package/data/craftbook-templates/re/record-a-relative/versions/1.0.6/craftbook.json +381 -0
  99. package/data/craftbook-templates/re/record-a-relative/versions/1.0.6/test.json +224 -0
  100. package/data/craftbook-templates/re/resume-cv/manifest.json +1 -5
  101. package/data/craftbook-templates/re/resume-cv/versions/1.0.6/craftbook.json +310 -0
  102. package/data/craftbook-templates/re/resume-cv/versions/1.0.6/test.json +121 -0
  103. package/data/craftbook-templates/re/resume-cv/versions/1.0.7/craftbook.json +312 -0
  104. package/data/craftbook-templates/re/resume-cv/versions/1.0.7/test.json +129 -0
  105. package/data/craftbook-templates/re/resume-cv/versions/1.0.8/craftbook.json +329 -0
  106. package/data/craftbook-templates/re/resume-cv/versions/1.0.8/test.json +144 -0
  107. package/data/craftbook-templates/re/reviewer-loop/versions/1.0.4/craftbook.json +178 -0
  108. package/data/craftbook-templates/re/reviewer-loop/versions/1.0.4/test.json +117 -0
  109. package/data/craftbook-templates/ro/rough-cut-assembly/versions/1.0.7/craftbook.json +333 -0
  110. package/data/craftbook-templates/ro/rough-cut-assembly/versions/1.0.7/test.json +142 -0
  111. package/data/craftbook-templates/se/seasonal-maintenance-sweep/manifest.json +0 -1
  112. package/data/craftbook-templates/se/seasonal-maintenance-sweep/versions/1.0.6/craftbook.json +307 -0
  113. package/data/craftbook-templates/se/seasonal-maintenance-sweep/versions/1.0.6/test.json +121 -0
  114. package/data/craftbook-templates/se/seasonal-maintenance-sweep/versions/1.0.7/craftbook.json +314 -0
  115. package/data/craftbook-templates/se/seasonal-maintenance-sweep/versions/1.0.7/test.json +121 -0
  116. package/data/craftbook-templates/su/subscription-audit/manifest.json +0 -5
  117. package/data/craftbook-templates/su/subscription-audit/versions/1.0.6/craftbook.json +307 -0
  118. package/data/craftbook-templates/su/subscription-audit/versions/1.0.6/test.json +134 -0
  119. package/data/craftbook-templates/su/subscription-audit/versions/1.0.7/craftbook.json +300 -0
  120. package/data/craftbook-templates/su/subscription-audit/versions/1.0.7/test.json +140 -0
  121. package/data/craftbook-templates/su/subscription-audit/versions/1.0.8/craftbook.json +320 -0
  122. package/data/craftbook-templates/su/subscription-audit/versions/1.0.8/test.json +144 -0
  123. package/data/craftbook-templates/su/summarize-long/manifest.json +0 -1
  124. package/data/craftbook-templates/su/summarize-long/versions/1.0.7/craftbook.json +251 -0
  125. package/data/craftbook-templates/su/summarize-long/versions/1.0.7/test.json +115 -0
  126. package/data/craftbook-templates/su/summarize-long/versions/1.0.8/craftbook.json +261 -0
  127. package/data/craftbook-templates/su/summarize-long/versions/1.0.8/test.json +123 -0
  128. package/data/craftbook-templates/su/survey-analysis/versions/1.0.6/craftbook.json +345 -0
  129. package/data/craftbook-templates/su/survey-analysis/versions/1.0.6/test.json +214 -0
  130. package/data/craftbook-templates/su/survey-analysis/versions/1.0.7/craftbook.json +362 -0
  131. package/data/craftbook-templates/su/survey-analysis/versions/1.0.7/test.json +231 -0
  132. package/data/craftbook-templates/su/survey-analysis/versions/1.0.8/craftbook.json +378 -0
  133. package/data/craftbook-templates/su/survey-analysis/versions/1.0.8/test.json +240 -0
  134. package/data/craftbook-templates/ta/tailor-resume/manifest.json +0 -4
  135. package/data/craftbook-templates/ta/tailor-resume/versions/1.0.7/craftbook.json +255 -0
  136. package/data/craftbook-templates/ta/tailor-resume/versions/1.0.7/test.json +113 -0
  137. package/data/craftbook-templates/ta/tailor-resume/versions/1.0.8/craftbook.json +267 -0
  138. package/data/craftbook-templates/ta/tailor-resume/versions/1.0.8/test.json +120 -0
  139. package/data/craftbook-templates/ta/tailor-resume/versions/1.0.9/craftbook.json +278 -0
  140. package/data/craftbook-templates/ta/tailor-resume/versions/1.0.9/test.json +134 -0
  141. package/data/craftbook-templates/to/tone-rewrite/manifest.json +0 -1
  142. package/data/craftbook-templates/to/tone-rewrite/versions/1.0.6/craftbook.json +245 -0
  143. package/data/craftbook-templates/to/tone-rewrite/versions/1.0.6/test.json +120 -0
  144. package/data/craftbook-templates/to/tone-rewrite/versions/1.0.7/craftbook.json +243 -0
  145. package/data/craftbook-templates/to/tone-rewrite/versions/1.0.7/test.json +127 -0
  146. package/data/craftbook-templates/to/topic-explainer/versions/1.0.6/craftbook.json +319 -0
  147. package/data/craftbook-templates/to/topic-explainer/versions/1.0.6/test.json +124 -0
  148. package/data/craftbook-templates/to/topic-explainer/versions/1.0.7/craftbook.json +327 -0
  149. package/data/craftbook-templates/to/topic-explainer/versions/1.0.7/test.json +131 -0
  150. package/data/craftbook-templates/tr/transcribe-audio/manifest.json +0 -5
  151. package/data/craftbook-templates/tr/transcribe-audio/versions/1.0.6/craftbook.json +248 -0
  152. package/data/craftbook-templates/tr/transcribe-audio/versions/1.0.6/test.json +137 -0
  153. package/data/craftbook-templates/tr/transcribe-audio/versions/1.0.7/craftbook.json +324 -0
  154. package/data/craftbook-templates/tr/transcribe-audio/versions/1.0.7/test.json +197 -0
  155. package/data/craftbook-templates/tr/translate-content/versions/1.1.6/craftbook.json +141 -0
  156. package/data/craftbook-templates/tr/translate-content/versions/1.1.6/test.json +172 -0
  157. package/data/craftbook-templates/tr/translate-content/versions/1.1.7/craftbook.json +143 -0
  158. package/data/craftbook-templates/tr/translate-content/versions/1.1.7/test.json +202 -0
  159. package/data/craftbook-templates/tr/translate-content/versions/1.1.8/craftbook.json +151 -0
  160. package/data/craftbook-templates/tr/translate-content/versions/1.1.8/test.json +206 -0
  161. package/data/craftbook-templates/tr/translate-content/versions/1.1.9/craftbook.json +165 -0
  162. package/data/craftbook-templates/tr/translate-content/versions/1.1.9/test.json +237 -0
  163. package/data/craftbook-templates/vi/visit-prep/manifest.json +0 -5
  164. package/data/craftbook-templates/vi/visit-prep/versions/1.0.6/craftbook.json +303 -0
  165. package/data/craftbook-templates/vi/visit-prep/versions/1.0.6/test.json +134 -0
  166. package/data/craftbook-templates/vi/visit-prep/versions/1.0.7/craftbook.json +326 -0
  167. package/data/craftbook-templates/vi/visit-prep/versions/1.0.7/test.json +152 -0
  168. package/data/craftbook-templates/we/weekly-menu-plan/versions/1.1.0/craftbook.json +309 -0
  169. package/data/craftbook-templates/we/weekly-menu-plan/versions/1.1.0/test.json +152 -0
  170. package/data/craftbook-templates/we/weekly-review/versions/1.0.7/craftbook.json +253 -0
  171. package/data/craftbook-templates/we/weekly-review/versions/1.0.7/test.json +113 -0
  172. package/data/craftbook-templates/ye/year-in-review/manifest.json +0 -5
  173. package/data/craftbook-templates/ye/year-in-review/versions/1.0.6/craftbook.json +314 -0
  174. package/data/craftbook-templates/ye/year-in-review/versions/1.0.6/test.json +140 -0
  175. package/data/gezel-templates/index.json +1 -1
  176. package/data/gezel-templates/raw-index.json +1 -1
  177. package/data/gezel-templates/re/reviewer/versions/1.4.2/about.md +53 -0
  178. package/data/gezel-templates/re/reviewer/versions/1.4.2/manifest.json +21 -0
  179. package/data/gezel-templates/re/reviewer/versions/1.4.3/about.md +53 -0
  180. package/data/gezel-templates/re/reviewer/versions/1.4.3/manifest.json +21 -0
  181. package/data/image-models/index.json +1 -1
  182. package/data/image-models/mi/ming-image-0.2-design-q8/manifest.json +39 -0
  183. package/data/image-models/mi/ming-image-0.2-design-q8/versions/1.0.0/manifest.json +37 -0
  184. package/data/image-models/raw-index.json +1 -1
  185. package/data/project-types/ca/caregiving-binder/versions/1.2.1/about.md +7 -0
  186. package/data/project-types/ca/caregiving-binder/versions/1.2.1/care.json +4 -0
  187. package/data/project-types/ca/caregiving-binder/versions/1.2.1/manifest.json +233 -0
  188. package/data/project-types/ca/caregiving-binder/versions/1.2.1/meds.json +8 -0
  189. package/data/project-types/ca/caregiving-binder/versions/1.2.1/mission.md +7 -0
  190. package/data/project-types/ca/caregiving-binder/versions/1.2.1/pages/dashboard/application.js +186 -0
  191. package/data/project-types/ca/caregiving-binder/versions/1.2.1/pages/dashboard/demo-chat.js +224 -0
  192. package/data/project-types/ca/caregiving-binder/versions/1.2.1/pages/dashboard/index.html +365 -0
  193. package/data/project-types/ev/event-planner/versions/1.2.0/about.md +7 -0
  194. package/data/project-types/ev/event-planner/versions/1.2.0/budget.json +5 -0
  195. package/data/project-types/ev/event-planner/versions/1.2.0/guests.json +10 -0
  196. package/data/project-types/ev/event-planner/versions/1.2.0/manifest.json +260 -0
  197. package/data/project-types/ev/event-planner/versions/1.2.0/mission.md +6 -0
  198. package/data/project-types/ev/event-planner/versions/1.2.0/pages/dashboard/application.js +234 -0
  199. package/data/project-types/ev/event-planner/versions/1.2.0/pages/dashboard/demo-chat.js +231 -0
  200. package/data/project-types/ev/event-planner/versions/1.2.0/pages/dashboard/index.html +322 -0
  201. package/data/project-types/index.json +1 -1
  202. package/data/project-types/me/meal-planner/versions/1.2.0/about.md +10 -0
  203. package/data/project-types/me/meal-planner/versions/1.2.0/manifest.json +259 -0
  204. package/data/project-types/me/meal-planner/versions/1.2.0/menu.json +5 -0
  205. package/data/project-types/me/meal-planner/versions/1.2.0/mission.md +5 -0
  206. package/data/project-types/me/meal-planner/versions/1.2.0/pages/dashboard/application.js +247 -0
  207. package/data/project-types/me/meal-planner/versions/1.2.0/pages/dashboard/demo-chat.js +134 -0
  208. package/data/project-types/me/meal-planner/versions/1.2.0/pages/dashboard/index.html +280 -0
  209. package/data/project-types/me/meal-planner/versions/1.2.0/pantry.json +9 -0
  210. package/data/project-types/raw-index.json +1 -1
  211. package/data/project-types/tr/trip-planner/versions/1.1.1/about.md +7 -0
  212. package/data/project-types/tr/trip-planner/versions/1.1.1/journal.json +4 -0
  213. package/data/project-types/tr/trip-planner/versions/1.1.1/manifest.json +297 -0
  214. package/data/project-types/tr/trip-planner/versions/1.1.1/mission.md +4 -0
  215. package/data/project-types/tr/trip-planner/versions/1.1.1/packing.json +8 -0
  216. package/data/project-types/tr/trip-planner/versions/1.1.1/pages/dashboard/application.js +176 -0
  217. package/data/project-types/tr/trip-planner/versions/1.1.1/pages/dashboard/demo-chat.js +264 -0
  218. package/data/project-types/tr/trip-planner/versions/1.1.1/pages/dashboard/index.html +373 -0
  219. package/data/project-types/tr/trip-planner/versions/1.1.1/trip.json +8 -0
  220. package/package.json +1 -1
  221. package/schemas/chat-model-version.schema.json +3 -0
  222. package/schemas/craftbook-test.schema.json +1260 -183
@@ -0,0 +1,215 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "mode": "workflow",
4
+ "title": "Enter two scanned receipts in a household ledger",
5
+ "objective": "The household ledger matches the scans and flags a printed total that disagrees with its line items.",
6
+ "tags": [
7
+ "data"
8
+ ],
9
+ "prompt": "I attached my two receipts in attachments/receipts/ in the project drawer. Could you put them into ledger.json so I can import them? My format is in source/import.md. Please flag anything that doesn’t add up.",
10
+ "setup": {
11
+ "projectName": "Enter two scanned receipts in a household ledger",
12
+ "managedWorkspaceWritePolicy": "allow",
13
+ "worker": {
14
+ "name": "Rowan",
15
+ "role": "Workflow Operator",
16
+ "about": "Help the household complete its project using the supplied files."
17
+ },
18
+ "files": [
19
+ {
20
+ "path": "source/import.md",
21
+ "content": "My expense importer reads ledger.json. It needs an object with receipts (array) and grand_total (number). For each receipt keep file (basename only), vendor, date (YYYY-MM-DD), currency (ISO code), line_items (array of desc and numeric amount), numeric subtotal, tax and total, and a boolean needs_review. Use the printed amounts, even if arithmetic disagrees; flag a discrepancy and add a note. Use the sum of printed totals for the grand total. Please keep my scans as supplied."
22
+ },
23
+ {
24
+ "path": "attachments/receipts/scan-01.png",
25
+ "surface": "artifact",
26
+ "content": "",
27
+ "mimeType": "image/png",
28
+ "contentBase64": "iVBORw0KGgoAAAANSUhEUgAAAmwAAAHbAQAAAABeyfvYAAAJH0lEQVR42u2dwW/byBWHP0qExIMRszdtodjcYA89LXR0gbRmgADNfxEtsIfe4gVycBeJPbsIUB2KrnPrIQWMoujf0AJBQG2CWkfX924Yr9B1b5RWB9IgOT1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ubn5Zcu6Cm7vIkMHLCgoo4mR8HwBaBb4riylKQu+i66aF8LGJ2H+DJsyLaz3NzF2ep38FHoSH9TW8zNUL2UCcH+nXZlOx7V1O/p23VtRyzgU2na2DeKrKutVYyToaOpmicxmmcxmmcxt0wThpmpQ8lNhC50rkZ6+IQGCzL/q8BGGFcCRe9BF57N9V24w3gxbKJ2wwX2WPplsUNbZDOMukww51NZIUj5ZpzOZCDq3vWk/K1zQ5pHOfj2p+a5fcwWseQLp1HX3RF7R+ljfM8oC98Zc+elMbJHuB5A+Vp8+WbLu0AG76tchSelV+pcIHPAqFwlCpufE8A2fGgeY4SUN5RGoUD1HCFYxv7p4quSG9VGAM4qKmHz4DflKa1YRfvudzITxA+jEXppyI9Ad6qrLstwvIj8vp9ME4dBc7eGtVKr2uttejNji7VmkzjNE7jNE7jNO6n1mSJ/c5wTzkGJtLtu8pTP4o12WQCF8EWFw6L4mRKTTZ6tfmNJy9eS7YRFMXJlJqs1lnYKJQ63se7BXEytSYbNhffoeaqj5v3KdJkQLad5HLwqlBK5e12Kzzr4v04mVKTYYqLg2Vqh8VxsiJNRnbifxmVsf5JniZbOoM1vlRX3LIAT9pq6y68/KFQBxrDIk2WWTUzv+UVx8mUmuw9P/UpipOpNRmxIO3PDkcwSsTJSgxQwcJryYqXFhSabOvyew7too1lBZosjiCWYlZboX5BXFSkyTZOALZCoPn4acLbHgVxsrfq95PNtx2azzG7p6rQvrxTpMnWWvPNzPUahrqyrTWtyTRO4zRO4zRO4zRO4zRO4zRO4zRO4zRO4zRO4zRO41Yu/wOs2ymizfEKjQAAAABJRU5ErkJggg=="
29
+ },
30
+ {
31
+ "path": "attachments/receipts/scan-02.png",
32
+ "surface": "artifact",
33
+ "content": "",
34
+ "mimeType": "image/png",
35
+ "contentBase64": "iVBORw0KGgoAAAANSUhEUgAAAmwAAAHbAQAAAABeyfvYAAAIH0lEQVR42u2dz2/byBmGH0qCpIOx5lEptDbbXnoyjJ4coK0YYNHdv6KronvobR1gD26R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JI3vKOD+dfqycrXh/b3cuPpcvBu+5SDVbesb75IC9XcRh2jHlHcBH+amteGAhMCwPK0fq9y9IvkWGLrXiPdFGvtWkL9AOGjoRmJpb3Ua23vjvJv7w0aLHnV2d0WTCU5wghOc4AT3DjTZzD633GcMgKl2T1xLGXyyyMnSZNMpS0voXegbfLLRKEuTjf+y/dhbzAj0NluBwSer3svSZJVdrjaETxzvuwes9sna3SxNNmws72bgmnaFOFo2QUx3tqZemRKy0idbNTW+2oEk/6YXi7iVbYiupq7+YaWfg5qhyVj6NqhR9nqy6zXZtc8UrF+bGx71DuAP/x5rY3RXyuJjZTYawyxNlka16BYtL3M9mVmTvaaSfLLWk5k1GbEiOVnsHGLlW3iYNUAFV0sebzbe7b2aqHbWl5xlaLI4glirRWtV1m4kGZps61uAvRBofPb5jH/2WO2T8WWWJgsa+nGoT72G1rEV84DOSkWmqn6mJttoXS7uq1awMhq7J5pMcIITnOAEJzjBCU5wghOc4AQnOMEJTnCCE5zgSh//AWdvYm+nyDDtAAAAAElFTkSuQmCC"
36
+ },
37
+ {
38
+ "path": "checks/receipt-lines.mjs",
39
+ "surface": "harness",
40
+ "content": "import assert from 'node:assert/strict';\nimport {readFileSync} from 'node:fs';\nconst document = JSON.parse(readFileSync('ledger.json', 'utf8'));\nconst originals = [\n ['scan-01.png', 'Moss Paper Shop', [['Drawing pad', 6], ['Ink pen', 2]]],\n ['scan-02.png', 'Fern Street Cafe', [['Lunch', 9], ['Tea', 3]]],\n];\nconst normalize = s => String(s).trim().toLowerCase().replace(/\\s+/g, ' ');\nfor (const [filename, vendor, items] of originals) {\n const receipt = document.receipts.find(r => r.file === filename);\n assert.ok(receipt, 'Receipt is missing: ' + filename);\n assert.equal(normalize(receipt.vendor), normalize(vendor), filename + ' vendor');\n assert.ok(Array.isArray(receipt.line_items), filename + ' line_items');\n const actual = receipt.line_items.map(item => [normalize(item.desc), item.amount]).sort();\n const expected = items.map(([desc, amount]) => [normalize(desc), amount]).sort();\n assert.deepEqual(actual, expected, filename + ' printed line items and individual prices');\n}\nconsole.log('Receipt vendors, items and prices agree with the scans.');\n"
41
+ }
42
+ ],
43
+ "craftbookParams": {
44
+ "scanFolder": "attachments/receipts",
45
+ "scanSurface": "artifact"
46
+ }
47
+ },
48
+ "mocks": [],
49
+ "success": {
50
+ "summary": "The household ledger matches the scans and flags a printed total that disagrees with its line items.",
51
+ "deliverables": [
52
+ {
53
+ "path": "{{task.dir}}/inventory.json",
54
+ "kind": "json",
55
+ "artifact": true,
56
+ "minBytes": 15,
57
+ "checks": [
58
+ {
59
+ "kind": "jsonRowsMatch",
60
+ "file": "{{task.dir}}/inventory.json",
61
+ "artifact": true,
62
+ "rowsProperty": "sources",
63
+ "key": "path",
64
+ "rows": [
65
+ {
66
+ "path": "attachments/receipts/scan-01.png",
67
+ "surface": "artifact"
68
+ },
69
+ {
70
+ "path": "attachments/receipts/scan-02.png",
71
+ "surface": "artifact"
72
+ }
73
+ ]
74
+ },
75
+ {
76
+ "kind": "jsonPathEquals",
77
+ "file": "{{task.dir}}/inventory.json",
78
+ "artifact": true,
79
+ "path": "importInstructions.path",
80
+ "value": "source/import.md",
81
+ "label": "open the household’s original guide"
82
+ },
83
+ {
84
+ "kind": "jsonPathEquals",
85
+ "file": "{{task.dir}}/inventory.json",
86
+ "artifact": true,
87
+ "path": "importInstructions.surface",
88
+ "value": "workspace"
89
+ },
90
+ {
91
+ "kind": "jsonRowsMatch",
92
+ "file": "{{task.dir}}/inventory.json",
93
+ "artifact": true,
94
+ "rowsProperty": "sources",
95
+ "key": "path",
96
+ "rows": [
97
+ {
98
+ "surface": "artifact",
99
+ "path": "attachments/receipts/scan-01.png"
100
+ },
101
+ {
102
+ "surface": "artifact",
103
+ "path": "attachments/receipts/scan-02.png"
104
+ }
105
+ ]
106
+ }
107
+ ]
108
+ },
109
+ {
110
+ "path": "{{task.dir}}/verify.md",
111
+ "kind": "markdown-report",
112
+ "artifact": true,
113
+ "minBytes": 1
114
+ },
115
+ {
116
+ "path": "ledger.json",
117
+ "kind": "json",
118
+ "minBytes": 120,
119
+ "checks": [
120
+ {
121
+ "kind": "jsonRowsMatch",
122
+ "file": "ledger.json",
123
+ "rowsProperty": "receipts",
124
+ "key": "file",
125
+ "rows": [
126
+ {
127
+ "file": "scan-01.png",
128
+ "date": "2026-10-17",
129
+ "currency": "USD",
130
+ "subtotal": 8,
131
+ "tax": 0.64,
132
+ "total": 8.64,
133
+ "needs_review": false
134
+ },
135
+ {
136
+ "file": "scan-02.png",
137
+ "date": "2026-10-19",
138
+ "currency": "USD",
139
+ "subtotal": 12,
140
+ "tax": 0.96,
141
+ "total": 13.96,
142
+ "needs_review": true
143
+ }
144
+ ]
145
+ },
146
+ {
147
+ "kind": "jsonPathEquals",
148
+ "file": "ledger.json",
149
+ "path": "grand_total",
150
+ "value": 22.6,
151
+ "label": "sum of the printed receipt totals"
152
+ }
153
+ ]
154
+ }
155
+ ],
156
+ "checks": [
157
+ {
158
+ "kind": "nodeScriptPasses",
159
+ "script": "checks/receipt-lines.mjs",
160
+ "requiredOutput": [
161
+ {
162
+ "pattern": "Receipt vendors, items and prices agree with the scans"
163
+ }
164
+ ]
165
+ }
166
+ ],
167
+ "history": [
168
+ {
169
+ "kind": "tool.called",
170
+ "summaryPattern": "(?:describe_image|read_image_as_base64)",
171
+ "minEntries": 1,
172
+ "details": {
173
+ "path": "attachments/receipts/scan-01.png",
174
+ "success": true
175
+ }
176
+ },
177
+ {
178
+ "kind": "tool.called",
179
+ "summaryPattern": "(?:describe_image|read_image_as_base64)",
180
+ "minEntries": 1,
181
+ "details": {
182
+ "path": "attachments/receipts/scan-02.png",
183
+ "success": true
184
+ }
185
+ }
186
+ ],
187
+ "unchangedFixtures": [
188
+ "source/import.md"
189
+ ],
190
+ "unchangedArtifacts": [
191
+ "attachments/receipts/scan-01.png",
192
+ "attachments/receipts/scan-02.png"
193
+ ],
194
+ "taskGraph": {
195
+ "requireCraftbookTask": true,
196
+ "requireTerminalStep": true
197
+ }
198
+ },
199
+ "rubric": {
200
+ "artifact": {
201
+ "path": "ledger.json",
202
+ "kind": "json"
203
+ },
204
+ "axes": [
205
+ {
206
+ "name": "Household import",
207
+ "description": "The household ledger matches the scans and flags a printed total that disagrees with its line items."
208
+ }
209
+ ]
210
+ },
211
+ "qualityFocus": [
212
+ "OCR from actual receipt pixels",
213
+ "Reconciliation against printed totals"
214
+ ]
215
+ }
@@ -3,7 +3,6 @@
3
3
  "kind": "craftbook-template",
4
4
  "id": "record-a-relative",
5
5
  "role": "general",
6
- "category": "personal",
7
6
  "name": "Record a Relative",
8
7
  "description": "Bank an elder's interview while the telling is fresh: file the transcript, pull the people, places, and dates into the family record with their source, and write the follow-up questions — because the questions you didn't ask are the ones that vanish. Locks the extraction rules FIRST (every fact carries its quote, uncertain stays uncertain), then files the transcript, then updates the tree and surfaces the conflicts. Use for filing a family interview, recording a relative's stories, pulling facts into the tree, and 'we interviewed grandma'.",
9
8
  "tags": [
@@ -0,0 +1,318 @@
1
+ {
2
+ "id": "record-a-relative",
3
+ "name": "Record a Relative",
4
+ "description": "Bank an elder's interview while the telling is fresh: file the transcript, pull the people, places, and dates into the family record with their source, and write the follow-up questions — because the questions you didn't ask are the ones that vanish. Locks the extraction rules FIRST (every fact carries its quote, uncertain stays uncertain), then files the transcript, then updates the tree and surfaces the conflicts. Use for filing a family interview, recording a relative's stories, pulling facts into the tree, and 'we interviewed grandma'.\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 extraction (genealogist) — target branch, extraction rules, fact-sourcing checklist → gated on artifact `{{workPath}}/scope.md` (markdown-notes)\n2. File the transcript (archivist) — speaker-labeled transcript with a header, under interviews/ → gated on `{{interviewPath}}` (markdown-doc)\n3. Extract the facts (genealogist) — facts with quotes into the tree, conflicts surfaced, follow-ups → gated on artifact `{{workPath}}/report.md` (markdown-report)\n\nThe gates never advance with an unmet criterion, and loop back to the\nowning phase to fix named gaps.\n",
5
+ "entryStepId": "scope",
6
+ "triggers": [
7
+ "file the interview with oma",
8
+ "we interviewed grandma",
9
+ "pull the family facts from the transcript",
10
+ "record a relative",
11
+ "bank the elder interview"
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
+ "interviewPath": {
23
+ "type": "string",
24
+ "title": "Interview file",
25
+ "description": "Workspace path for the saved interview file. Choose a dated filename when filing with an existing collection.",
26
+ "default": "interviews/interview-{{task.num}}.md"
27
+ }
28
+ }
29
+ },
30
+ "steps": [
31
+ {
32
+ "id": "scope",
33
+ "name": "Scope the extraction",
34
+ "description": "target branch, extraction rules, fact-sourcing checklist",
35
+ "prompt": "Read the owner’s request, the original interview and the existing tree.json if present. In {{workPath}}/scope.md identify the source, speakers, date if known, destination {{interviewPath}}, and any sharing restriction without repeating the private material. Plan to separate testimony, existing records and unresolved claims.\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.",
36
+ "suggestedRole": "genealogist",
37
+ "advanceWhen": {
38
+ "file": "{{workPath}}/scope.md",
39
+ "minBytes": 1,
40
+ "sniff": "nonempty",
41
+ "artifact": true
42
+ },
43
+ "gate": {
44
+ "at": "completion",
45
+ "checks": [
46
+ {
47
+ "kind": "minBytes",
48
+ "file": "{{workPath}}/scope.md",
49
+ "bytes": 20,
50
+ "artifact": true
51
+ },
52
+ {
53
+ "kind": "sniff",
54
+ "file": "{{workPath}}/scope.md",
55
+ "sniff": "nonempty",
56
+ "artifact": true
57
+ }
58
+ ],
59
+ "onReject": "scope",
60
+ "maxAttempts": 3
61
+ },
62
+ "next": "file",
63
+ "toolPolicy": {
64
+ "disallowBuiltinToolsets": [
65
+ "ai-apps",
66
+ "archives",
67
+ "audio",
68
+ "browser-automation",
69
+ "code-execution",
70
+ "craftbooks",
71
+ "data-tables",
72
+ "entity-intel",
73
+ "git",
74
+ "image-intel",
75
+ "images",
76
+ "role-delegation",
77
+ "role-delegation-escalation",
78
+ "security-intel",
79
+ "team-management",
80
+ "videos",
81
+ "web",
82
+ "workspace-fs-write"
83
+ ],
84
+ "outputMedium": "artifact"
85
+ }
86
+ },
87
+ {
88
+ "id": "file",
89
+ "name": "File the transcript",
90
+ "description": "speaker-labeled transcript with a header, under interviews/",
91
+ "prompt": "Read {{workPath}}/scope.md and open the original full transcript. If only a recording was supplied, use the project’s transcription capability. Archive the conversation to {{interviewPath}} with write_file in the workspace. Include who spoke, when and where if known. Preserve the speaker turns and wording throughout, including the final exchange. Keep stage directions only when the source records them. Honor any instructions to omit or redact private passages in every saved output. Leave the source intact. Read the saved archive back.\n\nBefore working, open the artifact input `{{workPath}}/scope.md` with `read_artifact`; do not look for it in the workspace.",
92
+ "suggestedRole": "archivist",
93
+ "consumes": [
94
+ {
95
+ "file": "{{workPath}}/scope.md",
96
+ "artifact": true
97
+ }
98
+ ],
99
+ "advanceWhen": {
100
+ "file": "{{interviewPath}}",
101
+ "minBytes": 1,
102
+ "sniff": "nonempty"
103
+ },
104
+ "gate": {
105
+ "at": "completion",
106
+ "checks": [
107
+ {
108
+ "kind": "minBytes",
109
+ "file": "{{interviewPath}}",
110
+ "bytes": 1
111
+ }
112
+ ],
113
+ "scripts": [
114
+ {
115
+ "name": "checkContains",
116
+ "scope": "standard",
117
+ "inputs": {
118
+ "file": "{{interviewPath}}",
119
+ "pattern": "(?:^|\\n)#{1,3}\\s+\\S",
120
+ "flags": "i"
121
+ }
122
+ }
123
+ ],
124
+ "onReject": "file",
125
+ "maxAttempts": 3
126
+ },
127
+ "next": "extract",
128
+ "toolPolicy": {
129
+ "disallowBuiltinToolsets": [
130
+ "ai-apps",
131
+ "audio",
132
+ "browser-automation",
133
+ "code-execution",
134
+ "craftbooks",
135
+ "data-tables",
136
+ "entity-intel",
137
+ "git",
138
+ "image-intel",
139
+ "images",
140
+ "role-delegation",
141
+ "role-delegation-escalation",
142
+ "security-intel",
143
+ "team-management",
144
+ "videos",
145
+ "web"
146
+ ],
147
+ "outputMedium": "workspace"
148
+ }
149
+ },
150
+ {
151
+ "id": "extract",
152
+ "name": "Extract the facts",
153
+ "description": "facts with quotes into the tree, conflicts surfaced, follow-ups",
154
+ "prompt": "Read {{workPath}}/scope.md, the archived interview {{interviewPath}}, and tree.json if present. File corroborated or undisputed additions with their interview source. Use the project’s record capability when available. In a file-based project use write_file to update tree.json, retaining every existing person, ID and earlier fact. On a retry reuse the same sourced fact. Preserve conflicting official records and identify alternative testimony as attributed claims. Leave uncertain identities unresolved. Write {{workPath}}/report.md with `write_artifact`: quote the source for important facts, explain each conflict and ask specific questions that could resolve it. Keep all outputs within the teller’s sharing instructions.\n\nBefore working, open the artifact input `{{workPath}}/scope.md` with `read_artifact`; do not look for it in the workspace.",
155
+ "suggestedRole": "genealogist",
156
+ "consumes": [
157
+ {
158
+ "file": "{{workPath}}/scope.md",
159
+ "artifact": true
160
+ },
161
+ {
162
+ "file": "{{interviewPath}}"
163
+ }
164
+ ],
165
+ "advanceWhen": {
166
+ "file": "{{workPath}}/report.md",
167
+ "minBytes": 1,
168
+ "sniff": "nonempty",
169
+ "artifact": true
170
+ },
171
+ "gate": {
172
+ "at": "completion",
173
+ "checks": [
174
+ {
175
+ "kind": "minBytes",
176
+ "file": "{{workPath}}/report.md",
177
+ "bytes": 1,
178
+ "artifact": true
179
+ },
180
+ {
181
+ "kind": "contains",
182
+ "file": "{{workPath}}/report.md",
183
+ "pattern": "(?:^|\\n)#{1,3}\\s+\\S",
184
+ "flags": "i",
185
+ "label": "at least one markdown heading",
186
+ "artifact": true
187
+ }
188
+ ],
189
+ "onReject": "extract",
190
+ "maxAttempts": 4
191
+ },
192
+ "next": "evaluate",
193
+ "toolPolicy": {
194
+ "disallowBuiltinToolsets": [
195
+ "ai-apps",
196
+ "archives",
197
+ "audio",
198
+ "browser-automation",
199
+ "code-execution",
200
+ "craftbooks",
201
+ "data-tables",
202
+ "entity-intel",
203
+ "git",
204
+ "image-intel",
205
+ "images",
206
+ "role-delegation",
207
+ "role-delegation-escalation",
208
+ "security-intel",
209
+ "team-management",
210
+ "videos",
211
+ "web"
212
+ ],
213
+ "outputMedium": "artifact",
214
+ "additionalOutputMedia": [
215
+ "workspace"
216
+ ]
217
+ }
218
+ },
219
+ {
220
+ "id": "evaluate",
221
+ "name": "Evaluate",
222
+ "description": "Grade the deliverable against every acceptance criterion. All pass → finish; any fail → loop back and fix the gap.",
223
+ "prompt": "Read {{interviewPath}}, tree.json when present, the original transcript, and {{workPath}}/report.md. Check that the interview is complete, the owner’s files retain earlier records, and new facts carry a source. For each conflicting account check that the official record and testimony are distinguishable. Verify unresolved identities remain open and follow-up questions address those gaps.\n\nThe deliverable lives in the project's artifacts drawer — open `{{workPath}}/report.md` with `read_artifact`, not `read_file`.\n\nThen write your verdict to the artifact `{{task.dir}}/verdict.md` with `write_artifact`: one line per acceptance criterion, each marked **PASS** or **FAIL**, and for every FAIL the specific gap to fix. Then call `advance_task_step({ ref, stepId: \"evaluate\" })` with no target.\n\nThe runtime routes on what you wrote: every criterion PASS → finish; any FAIL → back to `extract`, where the builder fixes exactly the gaps you named. Mark PASS only for a criterion you actually checked. 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).",
224
+ "suggestedRole": "reviewer",
225
+ "consumes": [
226
+ {
227
+ "file": "{{workPath}}/report.md",
228
+ "artifact": true
229
+ }
230
+ ],
231
+ "advanceWhen": {
232
+ "file": "{{task.dir}}/verdict.md",
233
+ "minBytes": 40,
234
+ "sniff": "nonempty",
235
+ "artifact": true
236
+ },
237
+ "gate": {
238
+ "at": "completion",
239
+ "checks": [
240
+ {
241
+ "kind": "contains",
242
+ "file": "{{task.dir}}/verdict.md",
243
+ "pattern": "\\bPASS\\b",
244
+ "label": "verdict lists passing criteria",
245
+ "artifact": true
246
+ },
247
+ {
248
+ "kind": "notContains",
249
+ "file": "{{task.dir}}/verdict.md",
250
+ "pattern": "\\bFAIL\\b",
251
+ "label": "no criterion marked FAIL",
252
+ "artifact": true
253
+ }
254
+ ],
255
+ "onReject": "extract",
256
+ "maxAttempts": 3
257
+ },
258
+ "next": "finish",
259
+ "toolPolicy": {
260
+ "disallowBuiltinToolsets": [
261
+ "ai-apps",
262
+ "archives",
263
+ "audio",
264
+ "browser-automation",
265
+ "code-execution",
266
+ "craftbooks",
267
+ "data-tables",
268
+ "entity-intel",
269
+ "git",
270
+ "image-intel",
271
+ "images",
272
+ "role-delegation",
273
+ "role-delegation-escalation",
274
+ "security-intel",
275
+ "team-management",
276
+ "videos",
277
+ "web",
278
+ "workspace-fs-write"
279
+ ],
280
+ "outputMedium": "artifact"
281
+ }
282
+ },
283
+ {
284
+ "id": "finish",
285
+ "name": "Finish",
286
+ "description": "All acceptance criteria met. Stamp a short summary and report DONE.",
287
+ "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.",
288
+ "suggestedRole": "developer",
289
+ "terminal": true,
290
+ "toolPolicy": {
291
+ "disallowBuiltinToolsets": [
292
+ "ai-apps",
293
+ "archives",
294
+ "audio",
295
+ "browser-automation",
296
+ "code-execution",
297
+ "craftbooks",
298
+ "data-tables",
299
+ "entity-intel",
300
+ "git",
301
+ "image-intel",
302
+ "images",
303
+ "role-delegation",
304
+ "role-delegation-escalation",
305
+ "security-intel",
306
+ "team-management",
307
+ "videos",
308
+ "web",
309
+ "workspace-fs-write"
310
+ ],
311
+ "outputMedium": "task-note"
312
+ }
313
+ }
314
+ ],
315
+ "version": "1.0.5",
316
+ "releasedAt": "2026-12-02T00:00:00Z",
317
+ "minGezelVersion": "1.26336"
318
+ }