@bendyline/gilde 0.3.13 → 0.3.14
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/connector-types/bl/bluesky-posts/manifest.json +1 -1
- package/data/connector-types/bl/bluesky-posts/versions/1.0.3/manifest.json +95 -0
- package/data/connector-types/in/instagram-media/manifest.json +1 -1
- package/data/connector-types/in/instagram-media/versions/1.0.2/manifest.json +98 -0
- package/data/connector-types/index.json +1 -1
- package/data/connector-types/li/linkedin-posts/manifest.json +1 -1
- package/data/connector-types/li/linkedin-posts/versions/1.0.1/manifest.json +56 -0
- package/data/connector-types/raw-index.json +1 -1
- package/data/connector-types/x-/x-posts/manifest.json +1 -1
- package/data/connector-types/x-/x-posts/versions/1.0.2/manifest.json +95 -0
- package/data/craftbook-templates/bo/board-game-web/versions/1.0.5/craftbook.json +317 -0
- package/data/craftbook-templates/bo/board-game-web/versions/1.0.5/test.json +99 -0
- package/data/craftbook-templates/ca/canvas-generative-art/versions/1.0.5/craftbook.json +254 -0
- package/data/craftbook-templates/ca/canvas-generative-art/versions/1.0.5/test.json +106 -0
- package/data/craftbook-templates/ch/chart-pack/versions/1.0.5/craftbook.json +317 -0
- package/data/craftbook-templates/ch/chart-pack/versions/1.0.5/test.json +104 -0
- package/data/craftbook-templates/da/data-viz-page/versions/1.0.5/craftbook.json +318 -0
- package/data/craftbook-templates/da/data-viz-page/versions/1.0.5/test.json +117 -0
- package/data/craftbook-templates/fo/form-wizard/versions/1.0.5/craftbook.json +251 -0
- package/data/craftbook-templates/fo/form-wizard/versions/1.0.5/test.json +110 -0
- package/data/craftbook-templates/ga/game-with-screens/versions/1.0.5/craftbook.json +335 -0
- package/data/craftbook-templates/ga/game-with-screens/versions/1.0.5/test.json +99 -0
- package/data/craftbook-templates/ht/html-puzzle-game/versions/1.0.5/craftbook.json +317 -0
- package/data/craftbook-templates/ht/html-puzzle-game/versions/1.0.5/test.json +99 -0
- package/data/craftbook-templates/id/idle-clicker-game/versions/1.0.5/craftbook.json +317 -0
- package/data/craftbook-templates/id/idle-clicker-game/versions/1.0.5/test.json +99 -0
- package/data/craftbook-templates/in/interactive-quiz/versions/1.0.5/craftbook.json +310 -0
- package/data/craftbook-templates/in/interactive-quiz/versions/1.0.5/test.json +124 -0
- package/data/craftbook-templates/index.json +1 -1
- package/data/craftbook-templates/kp/kpi-scorecard/versions/1.0.6/craftbook.json +317 -0
- package/data/craftbook-templates/kp/kpi-scorecard/versions/1.0.6/test.json +84 -0
- package/data/craftbook-templates/mi/micro-game-jam/versions/1.0.5/craftbook.json +258 -0
- package/data/craftbook-templates/mi/micro-game-jam/versions/1.0.5/test.json +99 -0
- package/data/craftbook-templates/on/onboarding-flow/versions/1.0.6/craftbook.json +310 -0
- package/data/craftbook-templates/on/onboarding-flow/versions/1.0.6/test.json +85 -0
- package/data/craftbook-templates/ph/physics-toy/versions/1.0.6/craftbook.json +251 -0
- package/data/craftbook-templates/ph/physics-toy/versions/1.0.6/test.json +75 -0
- package/data/craftbook-templates/raw-index.json +1 -1
- package/data/craftbook-templates/sp/spa-dashboard/versions/1.0.6/craftbook.json +315 -0
- package/data/craftbook-templates/sp/spa-dashboard/versions/1.0.6/test.json +85 -0
- package/data/craftbook-templates/we/web-app-crud/versions/1.0.6/craftbook.json +310 -0
- package/data/craftbook-templates/we/web-app-crud/versions/1.0.6/test.json +85 -0
- package/data/gezel-templates/index.json +1 -1
- package/data/gezel-templates/me/meester/versions/1.4.2/about.md +26 -0
- package/data/gezel-templates/me/meester/versions/1.4.2/manifest.json +9 -0
- package/data/gezel-templates/raw-index.json +1 -1
- package/data/page-libraries/ch/chart.js/manifest.json +19 -0
- package/data/page-libraries/ch/chart.js/versions/1.0.0/manifest.json +70 -0
- package/data/page-libraries/d3/d3/manifest.json +20 -0
- package/data/page-libraries/d3/d3/versions/1.0.0/manifest.json +661 -0
- package/data/page-libraries/ht/htm/manifest.json +19 -0
- package/data/page-libraries/ht/htm/versions/1.0.0/manifest.json +45 -0
- package/data/page-libraries/index.json +1 -0
- package/data/page-libraries/ku/kurkle-color/manifest.json +18 -0
- package/data/page-libraries/ku/kurkle-color/versions/1.0.0/manifest.json +38 -0
- package/data/page-libraries/pr/preact/manifest.json +19 -0
- package/data/page-libraries/pr/preact/versions/1.0.0/manifest.json +52 -0
- package/data/page-libraries/raw-index.json +1 -0
- package/data/page-libraries/re/react/manifest.json +19 -0
- package/data/page-libraries/re/react/versions/1.0.0/manifest.json +197 -0
- package/data/page-libraries/re/react-dom/manifest.json +19 -0
- package/data/page-libraries/re/react-dom/versions/1.0.0/manifest.json +161 -0
- package/data/page-libraries/sc/scheduler/manifest.json +18 -0
- package/data/page-libraries/sc/scheduler/versions/1.0.0/manifest.json +61 -0
- package/data/page-libraries/th/three/manifest.json +21 -0
- package/data/page-libraries/th/three/versions/1.0.0/manifest.json +217 -0
- package/data/page-libraries/vu/vue/manifest.json +19 -0
- package/data/page-libraries/vu/vue/versions/1.0.0/manifest.json +46 -0
- package/package.json +1 -1
- package/schemas/connector-type-test.schema.json +225 -0
- package/schemas/connector-type-version.schema.json +22 -0
- package/schemas/craftbook-doc.schema.json +16 -0
- package/schemas/craftbook-template-version.schema.json +16 -0
- package/schemas/craftbook-test.schema.json +1 -0
- package/schemas/page-library-identity.schema.json +99 -0
- package/schemas/page-library-version.schema.json +372 -0
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "web-app-crud",
|
|
3
|
+
"name": "CRUD Web App",
|
|
4
|
+
"description": "Build a small single-file CRUD web app — a todo list, notes, contacts, or inventory manager — with create, read, update, and delete plus localStorage persistence so data survives a reload. Locks the data model and the four operations first, then a clean list-plus-form UI design, then builds vanilla JS with real state and persistence. CRUD apps fail when delete or edit silently does nothing or data vanishes on reload, so the model phase pins every operation's behavior before coding, the ordering that gets a small model to a genuinely working app.\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. Model scope (planner) — entity fields + the four CRUD operations → gated on artifact `{{workPath}}/model-scope.md` (markdown-notes)\n2. UI design (designer) — list + form layout, item states, empty state → gated on artifact `{{workPath}}/ui-design.md` (markdown-notes)\n3. Build (developer) — implement index.html with full CRUD + persistence → gated on `index.html` (html-page)\n\nThe gates never advance with an unmet criterion, and loop back to the\nowning phase to fix named gaps.\n",
|
|
5
|
+
"entryStepId": "model-scope",
|
|
6
|
+
"triggers": [
|
|
7
|
+
"crud app",
|
|
8
|
+
"todo app",
|
|
9
|
+
"notes app",
|
|
10
|
+
"build a web app",
|
|
11
|
+
"contacts manager",
|
|
12
|
+
"inventory app"
|
|
13
|
+
],
|
|
14
|
+
"paramSchema": {
|
|
15
|
+
"type": "object",
|
|
16
|
+
"properties": {
|
|
17
|
+
"workPath": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"title": "Working folder",
|
|
20
|
+
"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.",
|
|
21
|
+
"default": "{{task.dir}}"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"steps": [
|
|
26
|
+
{
|
|
27
|
+
"id": "model-scope",
|
|
28
|
+
"name": "Model scope",
|
|
29
|
+
"description": "entity fields + the four CRUD operations",
|
|
30
|
+
"prompt": "Pin the data model and operations. (1) Define the entity and its fields (e.g. todo: id, text, done, createdAt) and any validation (required fields). (2) Specify each operation precisely: Create (form -> new record), Read (list/render, any sort/filter), Update (edit in place or via form), Delete (with confirm?). (3) Decide persistence: localStorage key and shape; data must survive reload. (4) Note empty-state behavior. (5) Write an acceptance-criteria checklist of 6-8 items, e.g. 'adding creates a visible item', 'editing updates the item', 'deleting removes it', 'data persists across reload', 'invalid input is rejected', 'an empty-state message shows when there are no items', 'no console errors'. Write to {{workPath}}/model-scope.md and via write_task_note. No design or HTML yet.\n\nThe deliverable `{{workPath}}/model-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.",
|
|
31
|
+
"suggestedRole": "planner",
|
|
32
|
+
"toolPolicy": {
|
|
33
|
+
"disallowBuiltinToolsets": [
|
|
34
|
+
"ai-apps",
|
|
35
|
+
"archives",
|
|
36
|
+
"audio",
|
|
37
|
+
"browser-automation",
|
|
38
|
+
"code-execution",
|
|
39
|
+
"craftbooks",
|
|
40
|
+
"data-tables",
|
|
41
|
+
"entity-intel",
|
|
42
|
+
"git",
|
|
43
|
+
"image-intel",
|
|
44
|
+
"images",
|
|
45
|
+
"role-delegation",
|
|
46
|
+
"role-delegation-escalation",
|
|
47
|
+
"security-intel",
|
|
48
|
+
"team-management",
|
|
49
|
+
"videos",
|
|
50
|
+
"web",
|
|
51
|
+
"workspace-fs-write"
|
|
52
|
+
],
|
|
53
|
+
"outputMedium": "artifact",
|
|
54
|
+
"additionalOutputMedia": [
|
|
55
|
+
"task-note"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
"advanceWhen": {
|
|
59
|
+
"file": "{{workPath}}/model-scope.md",
|
|
60
|
+
"minBytes": 1,
|
|
61
|
+
"sniff": "nonempty",
|
|
62
|
+
"artifact": true
|
|
63
|
+
},
|
|
64
|
+
"gate": {
|
|
65
|
+
"at": "completion",
|
|
66
|
+
"checks": [
|
|
67
|
+
{
|
|
68
|
+
"kind": "minBytes",
|
|
69
|
+
"file": "{{workPath}}/model-scope.md",
|
|
70
|
+
"bytes": 120,
|
|
71
|
+
"artifact": true
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"kind": "sniff",
|
|
75
|
+
"file": "{{workPath}}/model-scope.md",
|
|
76
|
+
"sniff": "nonempty",
|
|
77
|
+
"artifact": true
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"onReject": "model-scope",
|
|
81
|
+
"maxAttempts": 3
|
|
82
|
+
},
|
|
83
|
+
"next": "ui-design"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"id": "ui-design",
|
|
87
|
+
"name": "UI design",
|
|
88
|
+
"description": "list + form layout, item states, empty state",
|
|
89
|
+
"prompt": "Design the app UI. (1) Pick a clean palette (hex) and type. (2) Lay out the input/add form and the item list; specify how each item renders with its edit and delete affordances. (3) Design the editing state (inline field or modal) and the confirm-delete interaction. (4) Design the empty state and any filter/sort controls. (5) Self-contained CSS, responsive, no external assets. Write the visual spec to {{workPath}}/ui-design.md and via write_task_note. No HTML yet.\n\nThe deliverable `{{workPath}}/ui-design.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.",
|
|
90
|
+
"suggestedRole": "designer",
|
|
91
|
+
"toolPolicy": {
|
|
92
|
+
"disallowBuiltinToolsets": [
|
|
93
|
+
"ai-apps",
|
|
94
|
+
"archives",
|
|
95
|
+
"audio",
|
|
96
|
+
"browser-automation",
|
|
97
|
+
"code-execution",
|
|
98
|
+
"craftbooks",
|
|
99
|
+
"data-tables",
|
|
100
|
+
"entity-intel",
|
|
101
|
+
"git",
|
|
102
|
+
"image-intel",
|
|
103
|
+
"images",
|
|
104
|
+
"role-delegation",
|
|
105
|
+
"role-delegation-escalation",
|
|
106
|
+
"security-intel",
|
|
107
|
+
"team-management",
|
|
108
|
+
"videos",
|
|
109
|
+
"web",
|
|
110
|
+
"workspace-fs-write"
|
|
111
|
+
],
|
|
112
|
+
"outputMedium": "artifact",
|
|
113
|
+
"additionalOutputMedia": [
|
|
114
|
+
"task-note"
|
|
115
|
+
]
|
|
116
|
+
},
|
|
117
|
+
"advanceWhen": {
|
|
118
|
+
"file": "{{workPath}}/ui-design.md",
|
|
119
|
+
"minBytes": 1,
|
|
120
|
+
"sniff": "nonempty",
|
|
121
|
+
"artifact": true
|
|
122
|
+
},
|
|
123
|
+
"gate": {
|
|
124
|
+
"at": "completion",
|
|
125
|
+
"checks": [
|
|
126
|
+
{
|
|
127
|
+
"kind": "minBytes",
|
|
128
|
+
"file": "{{workPath}}/ui-design.md",
|
|
129
|
+
"bytes": 120,
|
|
130
|
+
"artifact": true
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"kind": "sniff",
|
|
134
|
+
"file": "{{workPath}}/ui-design.md",
|
|
135
|
+
"sniff": "nonempty",
|
|
136
|
+
"artifact": true
|
|
137
|
+
}
|
|
138
|
+
],
|
|
139
|
+
"onReject": "ui-design",
|
|
140
|
+
"maxAttempts": 3
|
|
141
|
+
},
|
|
142
|
+
"next": "build"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"id": "build",
|
|
146
|
+
"name": "Build",
|
|
147
|
+
"description": "implement index.html with full CRUD + persistence",
|
|
148
|
+
"prompt": "Implement index.html with inline CSS/JS to the model and UI spec. (1) Keep an in-memory array of records, hydrated from localStorage on load. (2) Create: validate then push and re-render. (3) Read: render the list (with empty state) and any sort/filter. (4) Update: edit a record in place and re-render. (5) Delete: remove (with confirm if specified) and re-render. (6) Persist to localStorage on every mutation so a reload restores state. Plain JavaScript, or a page library your instructions list where it clearly helps; nothing else from the network. On a loop-back, fix only the named gaps without regressing passing criteria. write_task_note the path and passing criteria.",
|
|
149
|
+
"suggestedRole": "developer",
|
|
150
|
+
"toolPolicy": {
|
|
151
|
+
"disallowBuiltinToolsets": [
|
|
152
|
+
"ai-apps",
|
|
153
|
+
"archives",
|
|
154
|
+
"artifacts",
|
|
155
|
+
"audio",
|
|
156
|
+
"browser-automation",
|
|
157
|
+
"code-execution",
|
|
158
|
+
"craftbooks",
|
|
159
|
+
"data-tables",
|
|
160
|
+
"entity-intel",
|
|
161
|
+
"git",
|
|
162
|
+
"image-intel",
|
|
163
|
+
"images",
|
|
164
|
+
"role-delegation",
|
|
165
|
+
"role-delegation-escalation",
|
|
166
|
+
"security-intel",
|
|
167
|
+
"team-management",
|
|
168
|
+
"videos",
|
|
169
|
+
"web"
|
|
170
|
+
],
|
|
171
|
+
"outputMedium": "workspace",
|
|
172
|
+
"additionalOutputMedia": [
|
|
173
|
+
"task-note"
|
|
174
|
+
]
|
|
175
|
+
},
|
|
176
|
+
"advanceWhen": {
|
|
177
|
+
"file": "index.html",
|
|
178
|
+
"minBytes": 1,
|
|
179
|
+
"sniff": "html-complete"
|
|
180
|
+
},
|
|
181
|
+
"gate": {
|
|
182
|
+
"at": "completion",
|
|
183
|
+
"checks": [
|
|
184
|
+
{
|
|
185
|
+
"kind": "minBytes",
|
|
186
|
+
"file": "index.html",
|
|
187
|
+
"bytes": 800
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"kind": "htmlLint",
|
|
191
|
+
"file": "index.html"
|
|
192
|
+
}
|
|
193
|
+
],
|
|
194
|
+
"scripts": [
|
|
195
|
+
{
|
|
196
|
+
"name": "checkHtmlComplete",
|
|
197
|
+
"scope": "standard",
|
|
198
|
+
"inputs": {
|
|
199
|
+
"file": "index.html"
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
],
|
|
203
|
+
"onReject": "build",
|
|
204
|
+
"maxAttempts": 4
|
|
205
|
+
},
|
|
206
|
+
"next": "evaluate"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"id": "evaluate",
|
|
210
|
+
"name": "Evaluate",
|
|
211
|
+
"description": "Grade the deliverable against every acceptance criterion. All pass → finish; any fail → loop back and fix the gap.",
|
|
212
|
+
"prompt": "Exercise every operation. Open index.html if possible, add/edit/delete items, then RELOAD the page. Check EACH criterion from {{workPath}}/model-scope.md and write PASS/FAIL with a reason: does add create a visible item, does edit update it, does delete remove it, does data persist across reload, is invalid input rejected, does the empty state show, zero console errors? The reload-persistence and the delete are the make-or-break checks — if either fails, FAIL and loop back to build.\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 \"Build\" 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 \"Build\" 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).",
|
|
213
|
+
"suggestedRole": "reviewer",
|
|
214
|
+
"toolPolicy": {
|
|
215
|
+
"disallowBuiltinToolsets": [
|
|
216
|
+
"ai-apps",
|
|
217
|
+
"archives",
|
|
218
|
+
"audio",
|
|
219
|
+
"browser-automation",
|
|
220
|
+
"code-execution",
|
|
221
|
+
"craftbooks",
|
|
222
|
+
"data-tables",
|
|
223
|
+
"entity-intel",
|
|
224
|
+
"git",
|
|
225
|
+
"image-intel",
|
|
226
|
+
"images",
|
|
227
|
+
"role-delegation",
|
|
228
|
+
"role-delegation-escalation",
|
|
229
|
+
"security-intel",
|
|
230
|
+
"team-management",
|
|
231
|
+
"videos",
|
|
232
|
+
"web",
|
|
233
|
+
"workspace-fs-write"
|
|
234
|
+
],
|
|
235
|
+
"outputMedium": "artifact",
|
|
236
|
+
"additionalOutputMedia": [
|
|
237
|
+
"task-note"
|
|
238
|
+
]
|
|
239
|
+
},
|
|
240
|
+
"consumes": [
|
|
241
|
+
{
|
|
242
|
+
"file": "index.html"
|
|
243
|
+
}
|
|
244
|
+
],
|
|
245
|
+
"advanceWhen": {
|
|
246
|
+
"file": "{{workPath}}/verdict.md",
|
|
247
|
+
"minBytes": 40,
|
|
248
|
+
"sniff": "nonempty",
|
|
249
|
+
"artifact": true
|
|
250
|
+
},
|
|
251
|
+
"gate": {
|
|
252
|
+
"at": "completion",
|
|
253
|
+
"checks": [
|
|
254
|
+
{
|
|
255
|
+
"kind": "contains",
|
|
256
|
+
"file": "{{workPath}}/verdict.md",
|
|
257
|
+
"pattern": "(?<!/\\s*)\\bPASS\\b(?!\\s*/)",
|
|
258
|
+
"label": "the verdict marks its criteria PASS",
|
|
259
|
+
"artifact": true
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"kind": "notContains",
|
|
263
|
+
"file": "{{workPath}}/verdict.md",
|
|
264
|
+
"pattern": "(?<!/\\s*)\\bFAIL\\b(?!\\s*/)",
|
|
265
|
+
"label": "no criterion is marked FAIL",
|
|
266
|
+
"artifact": true
|
|
267
|
+
}
|
|
268
|
+
],
|
|
269
|
+
"onReject": "build",
|
|
270
|
+
"maxAttempts": 3
|
|
271
|
+
},
|
|
272
|
+
"next": "finish"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"id": "finish",
|
|
276
|
+
"name": "Finish",
|
|
277
|
+
"description": "All acceptance criteria met. Stamp a short summary and report DONE.",
|
|
278
|
+
"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.",
|
|
279
|
+
"suggestedRole": "developer",
|
|
280
|
+
"toolPolicy": {
|
|
281
|
+
"disallowBuiltinToolsets": [
|
|
282
|
+
"ai-apps",
|
|
283
|
+
"archives",
|
|
284
|
+
"artifacts",
|
|
285
|
+
"audio",
|
|
286
|
+
"browser-automation",
|
|
287
|
+
"code-execution",
|
|
288
|
+
"craftbooks",
|
|
289
|
+
"data-tables",
|
|
290
|
+
"entity-intel",
|
|
291
|
+
"git",
|
|
292
|
+
"image-intel",
|
|
293
|
+
"images",
|
|
294
|
+
"role-delegation",
|
|
295
|
+
"role-delegation-escalation",
|
|
296
|
+
"security-intel",
|
|
297
|
+
"team-management",
|
|
298
|
+
"videos",
|
|
299
|
+
"web",
|
|
300
|
+
"workspace-fs-write"
|
|
301
|
+
],
|
|
302
|
+
"outputMedium": "task-note"
|
|
303
|
+
},
|
|
304
|
+
"terminal": true
|
|
305
|
+
}
|
|
306
|
+
],
|
|
307
|
+
"version": "1.0.6",
|
|
308
|
+
"releasedAt": "2026-11-21T00:00:00Z",
|
|
309
|
+
"minGezelVersion": "1.26233"
|
|
310
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"mode": "workflow",
|
|
4
|
+
"title": "CRUD Web App workflow processability",
|
|
5
|
+
"objective": "Prove that a medium local model can parse and execute the CRUD Web App craftbook, satisfy its declared runtime gates, and reach a terminal step using only local fixtures.",
|
|
6
|
+
"tags": [
|
|
7
|
+
"html-page"
|
|
8
|
+
],
|
|
9
|
+
"prompt": "Use the `web-app-crud` (CRUD Web App) craftbook for this self-contained local evaluation. Open `source/craftbook-eval-brief.md` first, then follow the craftbook's actual steps and gates through its terminal step. Complete this request: Build a small single-file CRUD web app — a todo list, notes, contacts, or inventory manager — with create, read, update, and delete plus localStorage persistence so data survives a reload. Locks the data model and the four operations first, then a clean list-plus-form UI design, then builds vanilla JS with real state and persistence. CRUD apps fail when delete or edit silently does nothing or data vanishes on reload, so the model phase pins every operation's behavior before coding, the ordering that gets a small model to a genuinely working app.\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. Model scope (planner) — entity fields + the four CRUD operations → gated on artifact `{{workPath}}/model-scope.md` (markdown-notes)\n2. UI design (designer) — list + form layout, item states, empty state → gated on artifact `{{workPath}}/ui-design.md` (markdown-notes)\n3. Build (developer) — implement index.html with full CRUD + persistence → gated on `index.html` (html-page)\n\nThe gates never advance with an unmet criterion, and loop back to the\nowning phase to fix named gaps.\n Produce `model-scope.md` in this task's artifact working folder, `ui-design.md` in this task's artifact working folder, `index.html`. Use only seeded project files and installed local simulators. Do not call a real external service, fetch live data, or claim an external side effect occurred; an explicit dry-run record is the correct result when a dependency is unavailable.",
|
|
10
|
+
"setup": {
|
|
11
|
+
"projectName": "CRUD Web App Workflow Eval",
|
|
12
|
+
"about": "A hermetic workflow evaluation for the CRUD Web App craftbook. No live dependency or external network is authorized.",
|
|
13
|
+
"missionObjectives": "Run the CRUD Web App craftbook end to end, use the local evaluation brief and fixtures as truth, produce its declared outputs, and reach a terminal step without fabricating external effects.",
|
|
14
|
+
"managedWorkspaceWritePolicy": "allow",
|
|
15
|
+
"files": [
|
|
16
|
+
{
|
|
17
|
+
"path": "source/craftbook-eval-brief.md",
|
|
18
|
+
"content": "# CRUD Web App — local evaluation brief\n\nThis is a hermetic processability evaluation of the `web-app-crud` craftbook.\nDo not contact real services, use real credentials, or fetch live data. Treat\nthe project fixtures and installed local simulators as authoritative. If a\ndependency is intentionally unavailable, document an honest dry run instead\nof claiming a real side effect.\n\n## Request\n\nBuild a small single-file CRUD web app — a todo list, notes, contacts, or inventory manager — with create, read, update, and delete plus localStorage persistence so data survives a reload. Locks the data model and the four operations first, then a clean list-plus-form UI design, then builds vanilla JS with real state and persistence. CRUD apps fail when delete or edit silently does nothing or data vanishes on reload, so the model phase pins every operation's behavior before coding, the ordering that gets a small model to a genuinely working app.\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. Model scope (planner) — entity fields + the four CRUD operations → gated on artifact `{{workPath}}/model-scope.md` (markdown-notes)\n2. UI design (designer) — list + form layout, item states, empty state → gated on artifact `{{workPath}}/ui-design.md` (markdown-notes)\n3. Build (developer) — implement index.html with full CRUD + persistence → gated on `index.html` (html-page)\n\nThe gates never advance with an unmet criterion, and loop back to the\nowning phase to fix named gaps.\n\n\n## Required workflow\n\n1. Model scope\n2. UI design\n3. Build\n4. Evaluate\n5. Finish (terminal)\n\n## Declared outputs\n\n- `model-scope.md` in this task's artifact working folder\n- `ui-design.md` in this task's artifact working folder\n- `index.html`\n"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"path": "source/brief.md",
|
|
22
|
+
"content": "# CRUD Web App Eval Brief\n\nClient: Boreal Desk, a home-office accessories company.\nAudience: operations leads who need an artifact they can use this week.\n\nFixed source facts for grounding:\n- The returns desk 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 are automated status emails, barcode-exception training, and a weekly Finance exception export.\n\nUse these facts when the task asks for prose, analysis, copy, UI content, or test data. Do not use live web services, real credentials, or current outside data.\n\nCraftbook under test: web-app-crud - CRUD Web App.\n"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"path": "source/page-content.md",
|
|
26
|
+
"content": "# Boreal Desk Support Board\n\nBuild content around a support operations board. Required labels: Open issues, Status silence, Response time, Refund leakage, Next action. Required metric text: 18 hours to 6 hours and 14.2% to 8.9%.\n"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"worker": {
|
|
30
|
+
"name": "Craftbook Runner",
|
|
31
|
+
"role": "Workflow Operator",
|
|
32
|
+
"about": "Execute the assigned craftbook exactly. Read local fixtures, satisfy each runtime gate, record honest dry-run evidence for unavailable dependencies, and continue until a terminal step is active or the task is complete."
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"mocks": [],
|
|
36
|
+
"success": {
|
|
37
|
+
"summary": "The attributed web-app-crud task satisfied its own gates, produced its declared outputs, and reached a terminal step without using external services.",
|
|
38
|
+
"deliverables": [
|
|
39
|
+
{
|
|
40
|
+
"path": "{{task.dir}}/model-scope.md",
|
|
41
|
+
"kind": "markdown-report",
|
|
42
|
+
"artifact": true,
|
|
43
|
+
"minBytes": 120
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"path": "{{task.dir}}/ui-design.md",
|
|
47
|
+
"kind": "markdown-report",
|
|
48
|
+
"artifact": true,
|
|
49
|
+
"minBytes": 120
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"path": "index.html",
|
|
53
|
+
"kind": "html-page",
|
|
54
|
+
"minBytes": 800
|
|
55
|
+
}
|
|
56
|
+
],
|
|
57
|
+
"taskGraph": {
|
|
58
|
+
"requireCraftbookTask": true,
|
|
59
|
+
"requireTerminalStep": true
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"rubric": {
|
|
63
|
+
"artifact": {
|
|
64
|
+
"path": "{{task.dir}}/model-scope.md",
|
|
65
|
+
"kind": "markdown"
|
|
66
|
+
},
|
|
67
|
+
"axes": [
|
|
68
|
+
{
|
|
69
|
+
"name": "workflow fidelity",
|
|
70
|
+
"description": "The result reflects the named craftbook sequence and its declared acceptance gates rather than a freehand substitute."
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "usefulness",
|
|
74
|
+
"description": "The deliverable is coherent, actionable, and suitable for the craftbook purpose stated in the local brief."
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
"contextNote": "Advisory only. Deterministic pass/fail comes from the craftbook runtime gates, deliverable existence, attribution, and terminal progress."
|
|
78
|
+
},
|
|
79
|
+
"qualityFocus": [
|
|
80
|
+
"real web-app-crud craftbook task attribution",
|
|
81
|
+
"declared runtime gate satisfaction",
|
|
82
|
+
"terminal workflow progress",
|
|
83
|
+
"offline fixture and simulator discipline"
|
|
84
|
+
]
|
|
85
|
+
}
|