@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.
Files changed (76) hide show
  1. package/data/connector-types/bl/bluesky-posts/manifest.json +1 -1
  2. package/data/connector-types/bl/bluesky-posts/versions/1.0.3/manifest.json +95 -0
  3. package/data/connector-types/in/instagram-media/manifest.json +1 -1
  4. package/data/connector-types/in/instagram-media/versions/1.0.2/manifest.json +98 -0
  5. package/data/connector-types/index.json +1 -1
  6. package/data/connector-types/li/linkedin-posts/manifest.json +1 -1
  7. package/data/connector-types/li/linkedin-posts/versions/1.0.1/manifest.json +56 -0
  8. package/data/connector-types/raw-index.json +1 -1
  9. package/data/connector-types/x-/x-posts/manifest.json +1 -1
  10. package/data/connector-types/x-/x-posts/versions/1.0.2/manifest.json +95 -0
  11. package/data/craftbook-templates/bo/board-game-web/versions/1.0.5/craftbook.json +317 -0
  12. package/data/craftbook-templates/bo/board-game-web/versions/1.0.5/test.json +99 -0
  13. package/data/craftbook-templates/ca/canvas-generative-art/versions/1.0.5/craftbook.json +254 -0
  14. package/data/craftbook-templates/ca/canvas-generative-art/versions/1.0.5/test.json +106 -0
  15. package/data/craftbook-templates/ch/chart-pack/versions/1.0.5/craftbook.json +317 -0
  16. package/data/craftbook-templates/ch/chart-pack/versions/1.0.5/test.json +104 -0
  17. package/data/craftbook-templates/da/data-viz-page/versions/1.0.5/craftbook.json +318 -0
  18. package/data/craftbook-templates/da/data-viz-page/versions/1.0.5/test.json +117 -0
  19. package/data/craftbook-templates/fo/form-wizard/versions/1.0.5/craftbook.json +251 -0
  20. package/data/craftbook-templates/fo/form-wizard/versions/1.0.5/test.json +110 -0
  21. package/data/craftbook-templates/ga/game-with-screens/versions/1.0.5/craftbook.json +335 -0
  22. package/data/craftbook-templates/ga/game-with-screens/versions/1.0.5/test.json +99 -0
  23. package/data/craftbook-templates/ht/html-puzzle-game/versions/1.0.5/craftbook.json +317 -0
  24. package/data/craftbook-templates/ht/html-puzzle-game/versions/1.0.5/test.json +99 -0
  25. package/data/craftbook-templates/id/idle-clicker-game/versions/1.0.5/craftbook.json +317 -0
  26. package/data/craftbook-templates/id/idle-clicker-game/versions/1.0.5/test.json +99 -0
  27. package/data/craftbook-templates/in/interactive-quiz/versions/1.0.5/craftbook.json +310 -0
  28. package/data/craftbook-templates/in/interactive-quiz/versions/1.0.5/test.json +124 -0
  29. package/data/craftbook-templates/index.json +1 -1
  30. package/data/craftbook-templates/kp/kpi-scorecard/versions/1.0.6/craftbook.json +317 -0
  31. package/data/craftbook-templates/kp/kpi-scorecard/versions/1.0.6/test.json +84 -0
  32. package/data/craftbook-templates/mi/micro-game-jam/versions/1.0.5/craftbook.json +258 -0
  33. package/data/craftbook-templates/mi/micro-game-jam/versions/1.0.5/test.json +99 -0
  34. package/data/craftbook-templates/on/onboarding-flow/versions/1.0.6/craftbook.json +310 -0
  35. package/data/craftbook-templates/on/onboarding-flow/versions/1.0.6/test.json +85 -0
  36. package/data/craftbook-templates/ph/physics-toy/versions/1.0.6/craftbook.json +251 -0
  37. package/data/craftbook-templates/ph/physics-toy/versions/1.0.6/test.json +75 -0
  38. package/data/craftbook-templates/raw-index.json +1 -1
  39. package/data/craftbook-templates/sp/spa-dashboard/versions/1.0.6/craftbook.json +315 -0
  40. package/data/craftbook-templates/sp/spa-dashboard/versions/1.0.6/test.json +85 -0
  41. package/data/craftbook-templates/we/web-app-crud/versions/1.0.6/craftbook.json +310 -0
  42. package/data/craftbook-templates/we/web-app-crud/versions/1.0.6/test.json +85 -0
  43. package/data/gezel-templates/index.json +1 -1
  44. package/data/gezel-templates/me/meester/versions/1.4.2/about.md +26 -0
  45. package/data/gezel-templates/me/meester/versions/1.4.2/manifest.json +9 -0
  46. package/data/gezel-templates/raw-index.json +1 -1
  47. package/data/page-libraries/ch/chart.js/manifest.json +19 -0
  48. package/data/page-libraries/ch/chart.js/versions/1.0.0/manifest.json +70 -0
  49. package/data/page-libraries/d3/d3/manifest.json +20 -0
  50. package/data/page-libraries/d3/d3/versions/1.0.0/manifest.json +661 -0
  51. package/data/page-libraries/ht/htm/manifest.json +19 -0
  52. package/data/page-libraries/ht/htm/versions/1.0.0/manifest.json +45 -0
  53. package/data/page-libraries/index.json +1 -0
  54. package/data/page-libraries/ku/kurkle-color/manifest.json +18 -0
  55. package/data/page-libraries/ku/kurkle-color/versions/1.0.0/manifest.json +38 -0
  56. package/data/page-libraries/pr/preact/manifest.json +19 -0
  57. package/data/page-libraries/pr/preact/versions/1.0.0/manifest.json +52 -0
  58. package/data/page-libraries/raw-index.json +1 -0
  59. package/data/page-libraries/re/react/manifest.json +19 -0
  60. package/data/page-libraries/re/react/versions/1.0.0/manifest.json +197 -0
  61. package/data/page-libraries/re/react-dom/manifest.json +19 -0
  62. package/data/page-libraries/re/react-dom/versions/1.0.0/manifest.json +161 -0
  63. package/data/page-libraries/sc/scheduler/manifest.json +18 -0
  64. package/data/page-libraries/sc/scheduler/versions/1.0.0/manifest.json +61 -0
  65. package/data/page-libraries/th/three/manifest.json +21 -0
  66. package/data/page-libraries/th/three/versions/1.0.0/manifest.json +217 -0
  67. package/data/page-libraries/vu/vue/manifest.json +19 -0
  68. package/data/page-libraries/vu/vue/versions/1.0.0/manifest.json +46 -0
  69. package/package.json +1 -1
  70. package/schemas/connector-type-test.schema.json +225 -0
  71. package/schemas/connector-type-version.schema.json +22 -0
  72. package/schemas/craftbook-doc.schema.json +16 -0
  73. package/schemas/craftbook-template-version.schema.json +16 -0
  74. package/schemas/craftbook-test.schema.json +1 -0
  75. package/schemas/page-library-identity.schema.json +99 -0
  76. package/schemas/page-library-version.schema.json +372 -0
@@ -0,0 +1,251 @@
1
+ {
2
+ "id": "form-wizard",
3
+ "name": "Multi-Step Form Wizard",
4
+ "description": "Build a single-file multi-step form wizard — a signup, checkout, survey, or onboarding form split across steps with a progress indicator, per-step validation, back/next navigation, and a final review-and-submit. Designs the step flow, fields per step, and validation rules first, then implements stateful navigation that preserves entered data across steps. Wizards break when going back loses data or a step advances with invalid input, so the flow-design phase locks the field-per-step map and validation before any markup.\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. Flow design (designer) — steps, fields per step, validation, progress → gated on artifact `{{workPath}}/flow-design.md` (markdown-notes)\n2. Build (developer) — implement index.html with stateful step navigation → 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": "flow-design",
6
+ "triggers": [
7
+ "multi step form",
8
+ "form wizard",
9
+ "checkout flow",
10
+ "survey form",
11
+ "step by step form",
12
+ "onboarding form"
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": "flow-design",
28
+ "name": "Flow design",
29
+ "description": "steps, fields per step, validation, progress",
30
+ "prompt": "Design the wizard flow. (1) Enumerate the steps in order and the fields collected on each (with types: text, email, select, radio). (2) Define per-field validation rules and the exact error messages. (3) Specify navigation: Next validates the current step before advancing; Back preserves all entered data; a progress indicator shows current step of N. (4) Define the final review step that summarizes all answers before submit, and the success state. (5) Write an acceptance-criteria checklist of 6-8 items, e.g. 'Next is blocked until the current step is valid', 'Back preserves entered values', 'the progress indicator reflects the current step', 'the review step shows every answer', 'submit shows a success state', 'invalid fields show their error', 'no console errors'. Write to {{workPath}}/flow-design.md and via write_task_note. No HTML yet.\n\nThe deliverable `{{workPath}}/flow-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.",
31
+ "suggestedRole": "designer",
32
+ "advanceWhen": {
33
+ "file": "{{workPath}}/flow-design.md",
34
+ "minBytes": 1,
35
+ "sniff": "nonempty",
36
+ "artifact": true
37
+ },
38
+ "gate": {
39
+ "at": "completion",
40
+ "checks": [
41
+ {
42
+ "kind": "minBytes",
43
+ "file": "{{workPath}}/flow-design.md",
44
+ "bytes": 120,
45
+ "artifact": true
46
+ },
47
+ {
48
+ "kind": "sniff",
49
+ "file": "{{workPath}}/flow-design.md",
50
+ "sniff": "nonempty",
51
+ "artifact": true
52
+ }
53
+ ],
54
+ "onReject": "flow-design",
55
+ "maxAttempts": 3
56
+ },
57
+ "next": "build",
58
+ "toolPolicy": {
59
+ "disallowBuiltinToolsets": [
60
+ "ai-apps",
61
+ "archives",
62
+ "audio",
63
+ "browser-automation",
64
+ "code-execution",
65
+ "craftbooks",
66
+ "data-tables",
67
+ "entity-intel",
68
+ "git",
69
+ "image-intel",
70
+ "images",
71
+ "role-delegation",
72
+ "role-delegation-escalation",
73
+ "security-intel",
74
+ "team-management",
75
+ "videos",
76
+ "web",
77
+ "workspace-fs-write"
78
+ ],
79
+ "outputMedium": "artifact",
80
+ "additionalOutputMedia": [
81
+ "task-note"
82
+ ]
83
+ }
84
+ },
85
+ {
86
+ "id": "build",
87
+ "name": "Build",
88
+ "description": "implement index.html with stateful step navigation",
89
+ "prompt": "Implement index.html with inline CSS/JS to the flow design. (1) Render all steps but show only the active one; track current step and a form-data object. (2) On Next, validate the current step's fields; block advance and show inline errors if invalid; otherwise save values and advance. (3) On Back, go to the previous step with all values intact (re-populate inputs from the data object). (4) Render a progress indicator (step N of M or a bar). (5) Build the final review step summarizing every answer, and a submit that shows a success message. Style it cleanly and responsively. 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.",
90
+ "suggestedRole": "developer",
91
+ "advanceWhen": {
92
+ "file": "index.html",
93
+ "minBytes": 1,
94
+ "sniff": "html-complete"
95
+ },
96
+ "gate": {
97
+ "at": "completion",
98
+ "checks": [
99
+ {
100
+ "kind": "minBytes",
101
+ "file": "index.html",
102
+ "bytes": 800
103
+ },
104
+ {
105
+ "kind": "htmlLint",
106
+ "file": "index.html"
107
+ }
108
+ ],
109
+ "scripts": [
110
+ {
111
+ "name": "checkHtmlComplete",
112
+ "scope": "standard",
113
+ "inputs": {
114
+ "file": "index.html"
115
+ }
116
+ }
117
+ ],
118
+ "onReject": "build",
119
+ "maxAttempts": 4
120
+ },
121
+ "next": "evaluate",
122
+ "toolPolicy": {
123
+ "disallowBuiltinToolsets": [
124
+ "ai-apps",
125
+ "archives",
126
+ "artifacts",
127
+ "audio",
128
+ "browser-automation",
129
+ "code-execution",
130
+ "craftbooks",
131
+ "data-tables",
132
+ "entity-intel",
133
+ "git",
134
+ "image-intel",
135
+ "images",
136
+ "role-delegation",
137
+ "role-delegation-escalation",
138
+ "security-intel",
139
+ "team-management",
140
+ "videos",
141
+ "web"
142
+ ],
143
+ "outputMedium": "workspace",
144
+ "additionalOutputMedia": [
145
+ "task-note"
146
+ ]
147
+ }
148
+ },
149
+ {
150
+ "id": "evaluate",
151
+ "name": "Evaluate",
152
+ "description": "Grade the deliverable against every acceptance criterion. All pass → finish; any fail → loop back and fix the gap.",
153
+ "prompt": "Walk the whole wizard. Open index.html if possible: try to advance with invalid input, fill steps, go Back and forward to confirm data is kept, reach the review, and submit. Check EACH criterion from {{workPath}}/flow-design.md and write PASS/FAIL with a reason: is Next blocked when invalid, does Back preserve values, does the progress indicator update, does review show every answer, does submit succeed, zero console errors? Going Back and losing entered data is a FAIL — 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).",
154
+ "suggestedRole": "reviewer",
155
+ "consumes": [
156
+ {
157
+ "file": "index.html"
158
+ }
159
+ ],
160
+ "advanceWhen": {
161
+ "file": "{{workPath}}/verdict.md",
162
+ "minBytes": 40,
163
+ "sniff": "nonempty",
164
+ "artifact": true
165
+ },
166
+ "gate": {
167
+ "at": "completion",
168
+ "checks": [
169
+ {
170
+ "kind": "contains",
171
+ "file": "{{workPath}}/verdict.md",
172
+ "pattern": "(?<!/\\s*)\\bPASS\\b(?!\\s*/)",
173
+ "label": "the verdict marks its criteria PASS",
174
+ "artifact": true
175
+ },
176
+ {
177
+ "kind": "notContains",
178
+ "file": "{{workPath}}/verdict.md",
179
+ "pattern": "(?<!/\\s*)\\bFAIL\\b(?!\\s*/)",
180
+ "label": "no criterion is marked FAIL",
181
+ "artifact": true
182
+ }
183
+ ],
184
+ "onReject": "build",
185
+ "maxAttempts": 3
186
+ },
187
+ "next": "finish",
188
+ "toolPolicy": {
189
+ "disallowBuiltinToolsets": [
190
+ "ai-apps",
191
+ "archives",
192
+ "audio",
193
+ "browser-automation",
194
+ "code-execution",
195
+ "craftbooks",
196
+ "data-tables",
197
+ "entity-intel",
198
+ "git",
199
+ "image-intel",
200
+ "images",
201
+ "role-delegation",
202
+ "role-delegation-escalation",
203
+ "security-intel",
204
+ "team-management",
205
+ "videos",
206
+ "web",
207
+ "workspace-fs-write"
208
+ ],
209
+ "outputMedium": "artifact",
210
+ "additionalOutputMedia": [
211
+ "task-note"
212
+ ]
213
+ }
214
+ },
215
+ {
216
+ "id": "finish",
217
+ "name": "Finish",
218
+ "description": "All acceptance criteria met. Stamp a short summary and report DONE.",
219
+ "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.",
220
+ "suggestedRole": "developer",
221
+ "terminal": true,
222
+ "toolPolicy": {
223
+ "disallowBuiltinToolsets": [
224
+ "ai-apps",
225
+ "archives",
226
+ "artifacts",
227
+ "audio",
228
+ "browser-automation",
229
+ "code-execution",
230
+ "craftbooks",
231
+ "data-tables",
232
+ "entity-intel",
233
+ "git",
234
+ "image-intel",
235
+ "images",
236
+ "role-delegation",
237
+ "role-delegation-escalation",
238
+ "security-intel",
239
+ "team-management",
240
+ "videos",
241
+ "web",
242
+ "workspace-fs-write"
243
+ ],
244
+ "outputMedium": "task-note"
245
+ }
246
+ }
247
+ ],
248
+ "version": "1.0.5",
249
+ "releasedAt": "2026-11-21T00:00:00Z",
250
+ "minGezelVersion": "1.26233"
251
+ }
@@ -0,0 +1,110 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "title": "Stateful multi-step signup form",
4
+ "objective": "Run the form-wizard template on a self-contained interactive HTML task with static gates for navigation, validation, progress, review, and success states.",
5
+ "tags": [
6
+ "external"
7
+ ],
8
+ "prompt": "In the `Form Wizard Eval` project, build a self-contained `index.html` for a three-step volunteer signup wizard: Contact, Preferences, Review. It must block Next on invalid required fields, preserve entered data when Back is used, show progress, render a review step with every answer, and show a success state on submit. Vanilla HTML/CSS/JS only, no external assets or build step.",
9
+ "setup": {
10
+ "projectName": "Form Wizard Eval",
11
+ "about": "Self-contained eval project for the form-wizard craftbook. The only deliverable is workspace/index.html.",
12
+ "missionObjectives": "Build a three-step wizard with validation, Back preserving state, progress, review, submit success, and no external dependencies.",
13
+ "files": [],
14
+ "worker": {
15
+ "name": "Fenna",
16
+ "role": "Developer"
17
+ }
18
+ },
19
+ "mocks": [],
20
+ "success": {
21
+ "summary": "workspace/index.html is a complete interactive page with substantial JS/CSS and visible wizard-state vocabulary.",
22
+ "deliverables": [
23
+ {
24
+ "path": "index.html",
25
+ "kind": "html-page",
26
+ "minBytes": 2600,
27
+ "checks": [
28
+ {
29
+ "kind": "cssMinBytes",
30
+ "bytes": 500,
31
+ "file": "index.html"
32
+ },
33
+ {
34
+ "kind": "jsParses",
35
+ "file": "index.html"
36
+ },
37
+ {
38
+ "kind": "contains",
39
+ "file": "index.html",
40
+ "pattern": "next|continue",
41
+ "flags": "i"
42
+ },
43
+ {
44
+ "kind": "contains",
45
+ "file": "index.html",
46
+ "pattern": "back|previous",
47
+ "flags": "i"
48
+ },
49
+ {
50
+ "kind": "contains",
51
+ "file": "index.html",
52
+ "pattern": "review|summary",
53
+ "flags": "i"
54
+ },
55
+ {
56
+ "kind": "contains",
57
+ "file": "index.html",
58
+ "pattern": "progress|step\\s+\\d",
59
+ "flags": "i"
60
+ },
61
+ {
62
+ "kind": "contains",
63
+ "file": "index.html",
64
+ "pattern": "success|submitted|thank",
65
+ "flags": "i"
66
+ }
67
+ ]
68
+ }
69
+ ]
70
+ },
71
+ "rubric": {
72
+ "artifact": {
73
+ "path": "index.html",
74
+ "kind": "html"
75
+ },
76
+ "axes": [
77
+ {
78
+ "name": "structure",
79
+ "description": "Layout and hierarchy fit the content; sections are scannable and coherent."
80
+ },
81
+ {
82
+ "name": "grounding",
83
+ "description": "Seeded source content is used faithfully — no invented facts or dropped requirements."
84
+ },
85
+ {
86
+ "name": "interactivity",
87
+ "description": "Controls and states the page claims to offer actually work."
88
+ },
89
+ {
90
+ "name": "polish",
91
+ "description": "Styling is intentional and responsive rather than unstyled or broken."
92
+ }
93
+ ]
94
+ },
95
+ "qualityFocus": [
96
+ "stateful UI",
97
+ "static HTML gates",
98
+ "craftbook prompt routing"
99
+ ],
100
+ "extensions": {
101
+ "legacySimulators": [
102
+ {
103
+ "id": "form-wizard-fake-service-fixture",
104
+ "kind": "data-source",
105
+ "status": "implemented",
106
+ "description": "Seeded local fake service contract replacing live CLIs, HTTP APIs, credentials, and side effects."
107
+ }
108
+ ]
109
+ }
110
+ }