@bendyline/gilde 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/craftbook-templates/ab/ab-test-readout/versions/1.0.5/craftbook.json +418 -0
- package/data/craftbook-templates/ab/ab-test-readout/versions/1.0.5/test.json +196 -0
- package/data/craftbook-templates/ab/ab-test-readout/versions/1.0.6/craftbook.json +432 -0
- package/data/craftbook-templates/ab/ab-test-readout/versions/1.0.6/test.json +192 -0
- package/data/craftbook-templates/al/alert-rules/versions/1.0.5/craftbook.json +384 -0
- package/data/craftbook-templates/al/alert-rules/versions/1.0.5/test.json +145 -0
- package/data/craftbook-templates/bu/bug-fix-tdd/versions/2.0.7/craftbook.json +799 -0
- package/data/craftbook-templates/bu/bug-fix-tdd/versions/2.0.7/test.json +221 -0
- package/data/craftbook-templates/ch/changelog-writeup/versions/1.0.3/craftbook.json +119 -0
- package/data/craftbook-templates/ch/changelog-writeup/versions/1.0.3/test.json +128 -0
- package/data/craftbook-templates/co/codemod-sweep/versions/1.0.6/craftbook.json +661 -0
- package/data/craftbook-templates/co/codemod-sweep/versions/1.0.6/test.json +252 -0
- package/data/craftbook-templates/co/cohort-analysis/versions/1.0.5/craftbook.json +416 -0
- package/data/craftbook-templates/co/cohort-analysis/versions/1.0.5/test.json +238 -0
- package/data/craftbook-templates/co/content-accuracy-review/versions/1.1.2/craftbook.json +494 -0
- package/data/craftbook-templates/co/content-accuracy-review/versions/1.1.2/test.json +167 -0
- package/data/craftbook-templates/co/corpus-synthesis/versions/1.0.5/craftbook.json +419 -0
- package/data/craftbook-templates/co/corpus-synthesis/versions/1.0.5/test.json +172 -0
- package/data/craftbook-templates/cs/csv-transformer/versions/1.2.6/craftbook.json +285 -0
- package/data/craftbook-templates/cs/csv-transformer/versions/1.2.6/test.json +102 -0
- package/data/craftbook-templates/da/data-quality-audit/versions/1.0.5/craftbook.json +431 -0
- package/data/craftbook-templates/da/data-quality-audit/versions/1.0.5/test.json +348 -0
- package/data/craftbook-templates/de/deep-security-review/versions/1.1.5/craftbook.json +452 -0
- package/data/craftbook-templates/de/deep-security-review/versions/1.1.5/test.json +184 -0
- package/data/craftbook-templates/di/digest-from-feeds/versions/1.0.6/craftbook.json +312 -0
- package/data/craftbook-templates/di/digest-from-feeds/versions/1.0.6/test.json +87 -0
- package/data/craftbook-templates/en/engineering-retrospective/versions/2.0.18/craftbook.json +702 -0
- package/data/craftbook-templates/en/engineering-retrospective/versions/2.0.18/test.json +191 -0
- package/data/craftbook-templates/ht/html-arcade-game/versions/1.2.5/craftbook.json +480 -0
- package/data/craftbook-templates/ht/html-arcade-game/versions/1.2.5/test.json +176 -0
- package/data/craftbook-templates/in/investigate/versions/1.1.1/craftbook.json +85 -0
- package/data/craftbook-templates/in/investigate/versions/1.1.1/test.json +118 -0
- package/data/craftbook-templates/in/invoice-run/versions/1.1.9/craftbook.json +515 -0
- package/data/craftbook-templates/in/invoice-run/versions/1.1.9/test.json +140 -0
- package/data/craftbook-templates/index.json +1 -1
- package/data/craftbook-templates/ma/market-scan/versions/1.0.5/craftbook.json +480 -0
- package/data/craftbook-templates/ma/market-scan/versions/1.0.5/test.json +223 -0
- package/data/craftbook-templates/me/meeting-prep-brief/versions/1.0.5/craftbook.json +255 -0
- package/data/craftbook-templates/me/meeting-prep-brief/versions/1.0.5/test.json +140 -0
- package/data/craftbook-templates/mo/morning-brief/versions/1.0.6/craftbook.json +270 -0
- package/data/craftbook-templates/mo/morning-brief/versions/1.0.6/test.json +105 -0
- package/data/craftbook-templates/pe/perf-audit/versions/1.1.3/craftbook.json +320 -0
- package/data/craftbook-templates/pe/perf-audit/versions/1.1.3/test.json +94 -0
- package/data/craftbook-templates/po/powerpoint-deck/versions/1.7.19/craftbook.json +603 -0
- package/data/craftbook-templates/po/powerpoint-deck/versions/1.7.19/test.json +266 -0
- package/data/craftbook-templates/pr/press-release/versions/1.0.6/craftbook.json +450 -0
- package/data/craftbook-templates/pr/press-release/versions/1.0.6/test.json +356 -0
- package/data/craftbook-templates/raw-index.json +1 -1
- package/data/craftbook-templates/re/refactor-module/versions/2.0.7/craftbook.json +753 -0
- package/data/craftbook-templates/re/refactor-module/versions/2.0.7/test.json +241 -0
- package/data/craftbook-templates/re/release-notes/versions/1.0.6/craftbook.json +339 -0
- package/data/craftbook-templates/re/release-notes/versions/1.0.6/test.json +107 -0
- package/data/craftbook-templates/re/research-report/versions/1.0.6/craftbook.json +417 -0
- package/data/craftbook-templates/re/research-report/versions/1.0.6/test.json +183 -0
- package/data/craftbook-templates/ro/rollback-plan/versions/1.0.6/craftbook.json +319 -0
- package/data/craftbook-templates/ro/rollback-plan/versions/1.0.6/test.json +87 -0
- package/data/craftbook-templates/ru/runbook/versions/1.0.5/craftbook.json +491 -0
- package/data/craftbook-templates/ru/runbook/versions/1.0.5/test.json +118 -0
- package/data/craftbook-templates/we/week-plan/versions/1.0.5/craftbook.json +313 -0
- package/data/craftbook-templates/we/week-plan/versions/1.0.5/test.json +175 -0
- package/data/gezel-templates/im/image-editor/manifest.json +21 -0
- package/data/gezel-templates/im/image-editor/versions/1.0.0/about.md +17 -0
- package/data/gezel-templates/im/image-editor/versions/1.0.0/manifest.json +14 -0
- package/data/gezel-templates/index.json +1 -1
- package/data/gezel-templates/raw-index.json +1 -1
- package/data/image-models/fl/flux-2-klein-4b-q4/manifest.json +3 -0
- package/data/image-models/index.json +1 -1
- package/data/image-models/qw/qwen-image-edit-2511-q4/manifest.json +44 -0
- package/data/image-models/qw/qwen-image-edit-2511-q4/versions/1.0.0/manifest.json +36 -0
- package/data/image-models/raw-index.json +1 -1
- package/package.json +1 -1
- package/schemas/image-model-identity.schema.json +16 -0
- package/schemas/image-model-version.schema.json +1 -0
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"title": "Engineering Retrospective — queue reliability window",
|
|
4
|
+
"objective": "Exercise the Engineering Retrospective craftbook on a fixed exported history and require reconciled metrics, contextual interpretation, balanced growth notes, and owned experiments.",
|
|
5
|
+
"tags": [
|
|
6
|
+
"workflow",
|
|
7
|
+
"retrospective",
|
|
8
|
+
"engineering",
|
|
9
|
+
"corpus"
|
|
10
|
+
],
|
|
11
|
+
"prompt": "Use the Engineering Retrospective craftbook for the fixed 2026-07-01 through 2026-07-14 window. This evaluation has no live git repository: `source/git-log.txt` and `source/numstat.tsv` are the authoritative read-only exports, and `source/team-events.md` supplies context. Do not treat unavailable live history as zero or ask for another window. Reconcile human activity, exclude the release bot, identify evidence-backed hotspots and quality/collaboration signals, and write the workflow artifacts ending at `retro/engineering-retrospective.md`. Include constructive notes for Alex Kim and Priya Shah without rankings or volume-as-productivity claims, then propose three to five owner-backed experiments with measurable outcomes and a review date.",
|
|
12
|
+
"setup": {
|
|
13
|
+
"projectName": "Queue reliability engineering retrospective",
|
|
14
|
+
"about": "A self-contained retrospective over exported repository evidence. The export and context files are complete; no network, live git repository, or personnel system is available.",
|
|
15
|
+
"missionObjectives": "Run the Engineering Retrospective craftbook as a real task, reconcile the fixed history, preserve evidence limits, and produce an actionable, fair retrospective.",
|
|
16
|
+
"files": [
|
|
17
|
+
{
|
|
18
|
+
"path": "source/git-log.txt",
|
|
19
|
+
"content": "# sha|date|author|email|subject\na1c001|2026-07-02|Alex Kim|alex@example.test|fix queue timeout classification\na1c002|2026-07-03|Priya Shah|priya@example.test|add queue retry metrics\na1c003|2026-07-06|Priya Shah|priya@example.test|document on-call queue recovery\na1c004|2026-07-09|Alex Kim|alex@example.test|cover refresh-token expiry\na1c005|2026-07-10|Alex Kim|alex@example.test|add queue timeout regression fixture\na1c006|2026-07-12|Priya Shah|priya@example.test|pin parser dependency after advisory review\na1c007|2026-07-14|release-bot|bot@example.test|release 2.8.0\n"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"path": "source/numstat.tsv",
|
|
23
|
+
"content": "sha\tadded\tdeleted\tpath\na1c001\t34\t12\tsrc/queue.ts\na1c001\t22\t0\ttests/queue.test.ts\na1c002\t28\t4\tsrc/queue.ts\na1c002\t40\t2\tsrc/metrics.ts\na1c003\t55\t3\tdocs/oncall.md\na1c004\t18\t7\tsrc/auth.ts\na1c004\t26\t0\ttests/auth.test.ts\na1c005\t12\t6\tsrc/queue.ts\na1c005\t31\t2\ttests/queue.test.ts\na1c006\t3\t3\tpackage.json\na1c006\t14\t14\tpnpm-lock.yaml\na1c007\t2\t2\tCHANGELOG.md\n"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"path": "source/team-events.md",
|
|
27
|
+
"content": "# Team context\n\n- Window: 2026-07-01 through 2026-07-14, UTC. Compare only within this window; no prior baseline export is available.\n- Queue retry incident on 2026-07-02 caused delayed job status for 41 minutes. Priya Shah was primary responder; Alex Kim traced the timeout classification the next morning.\n- Alex was on planned leave July 4-5.\n- Priya paired with Alex on the queue regression fixture; pairing is mentioned in commit a1c005 but the export cannot attribute line-level co-authorship.\n- Release-bot is automation and must not be included in human activity or growth notes.\n- Review comments, meetings, and off-repository operational work are not present in this export.\n- Experiments should be reviewed on 2026-07-28.\n"
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
"mocks": [],
|
|
32
|
+
"success": {
|
|
33
|
+
"summary": "The real craftbook reconciles the exported history into a contextual, non-ranking retrospective with balanced growth notes and measurable experiments.",
|
|
34
|
+
"deliverables": [
|
|
35
|
+
{
|
|
36
|
+
"path": "retro/scope.md",
|
|
37
|
+
"kind": "markdown-notes",
|
|
38
|
+
"minBytes": 600,
|
|
39
|
+
"checks": [
|
|
40
|
+
{
|
|
41
|
+
"kind": "contains",
|
|
42
|
+
"file": "retro/scope.md",
|
|
43
|
+
"pattern": "2026-07-01[\\s\\S]*2026-07-14[\\s\\S]*(Alex Kim|alex@example\\.test)[\\s\\S]*(Priya Shah|priya@example\\.test)[\\s\\S]*(release-bot|automation)",
|
|
44
|
+
"flags": "i",
|
|
45
|
+
"label": "window, identity map, and bot exclusion"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"path": "retro/evidence.md",
|
|
51
|
+
"kind": "markdown-report",
|
|
52
|
+
"minBytes": 1100,
|
|
53
|
+
"checks": [
|
|
54
|
+
{
|
|
55
|
+
"kind": "valueGrounding",
|
|
56
|
+
"file": "retro/evidence.md",
|
|
57
|
+
"facts": [
|
|
58
|
+
{
|
|
59
|
+
"id": "human-commits",
|
|
60
|
+
"label": "six human commits",
|
|
61
|
+
"required": [
|
|
62
|
+
"6\\s+human\\s+commits?|six\\s+human\\s+commits?"
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"id": "bot-exclusion",
|
|
67
|
+
"label": "one excluded bot commit",
|
|
68
|
+
"required": [
|
|
69
|
+
"1\\s+(?:bot|automated)|one\\s+(?:bot|automated)"
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"id": "alex-count",
|
|
74
|
+
"label": "three Alex commits",
|
|
75
|
+
"required": [
|
|
76
|
+
"Alex(?: Kim)?[^\\n]{0,80}3"
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"id": "priya-count",
|
|
81
|
+
"label": "three Priya commits",
|
|
82
|
+
"required": [
|
|
83
|
+
"Priya(?: Shah)?[^\\n]{0,80}3"
|
|
84
|
+
]
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"id": "hotspot",
|
|
88
|
+
"label": "queue file changed in three commits",
|
|
89
|
+
"required": [
|
|
90
|
+
"src/queue\\.ts[^\\n]{0,100}3|3[^\\n]{0,100}src/queue\\.ts"
|
|
91
|
+
]
|
|
92
|
+
}
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"kind": "citationsResolve",
|
|
97
|
+
"file": "retro/evidence.md",
|
|
98
|
+
"minCitations": 3
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"path": "retro/engineering-retrospective.md",
|
|
104
|
+
"kind": "markdown-report",
|
|
105
|
+
"minBytes": 1600,
|
|
106
|
+
"checks": [
|
|
107
|
+
{
|
|
108
|
+
"kind": "contains",
|
|
109
|
+
"file": "retro/engineering-retrospective.md",
|
|
110
|
+
"pattern": "^#{1,3}\\s+Period context\\b[\\s\\S]*^#{1,3}\\s+What went well\\b[\\s\\S]*^#{1,3}\\s+Friction and hotspots\\b[\\s\\S]*^#{1,3}\\s+Collaboration and growth\\b[\\s\\S]*^#{1,3}\\s+Experiments\\b[\\s\\S]*^#{1,3}\\s+Evidence limits\\b",
|
|
111
|
+
"flags": "im",
|
|
112
|
+
"label": "complete retrospective structure"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"kind": "contains",
|
|
116
|
+
"file": "retro/engineering-retrospective.md",
|
|
117
|
+
"pattern": "Alex Kim[\\s\\S]*Priya Shah|Priya Shah[\\s\\S]*Alex Kim",
|
|
118
|
+
"label": "balanced named growth notes"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"kind": "contains",
|
|
122
|
+
"file": "retro/engineering-retrospective.md",
|
|
123
|
+
"pattern": "2026-07-28[\\s\\S]*(owner|Alex|Priya)|(owner|Alex|Priya)[\\s\\S]*2026-07-28",
|
|
124
|
+
"flags": "i",
|
|
125
|
+
"label": "owned experiments with review date"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"kind": "notContains",
|
|
129
|
+
"file": "retro/engineering-retrospective.md",
|
|
130
|
+
"pattern": "top performer|bottom performer|most productive|least productive|performance score|rank(?:ed|ing)?\\s+(?:the\\s+)?(?:engineers|people|team)",
|
|
131
|
+
"flags": "i",
|
|
132
|
+
"label": "no personnel ranking or volume-as-productivity framing"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"kind": "citationsResolve",
|
|
136
|
+
"file": "retro/engineering-retrospective.md",
|
|
137
|
+
"minCitations": 3
|
|
138
|
+
}
|
|
139
|
+
]
|
|
140
|
+
}
|
|
141
|
+
],
|
|
142
|
+
"taskNotes": {
|
|
143
|
+
"minBytes": 180,
|
|
144
|
+
"checks": [
|
|
145
|
+
{
|
|
146
|
+
"kind": "contains",
|
|
147
|
+
"file": "task-notes.md",
|
|
148
|
+
"pattern": "\\bDONE\\b[\\s\\S]*retro/engineering-retrospective\\.md[\\s\\S]*(experiment|evidence)",
|
|
149
|
+
"flags": "i",
|
|
150
|
+
"label": "terminal note records the evidence-backed retrospective"
|
|
151
|
+
}
|
|
152
|
+
],
|
|
153
|
+
"requireCraftbookTask": true
|
|
154
|
+
},
|
|
155
|
+
"taskGraph": {
|
|
156
|
+
"requireCraftbookTask": true,
|
|
157
|
+
"requireTerminalStep": true
|
|
158
|
+
},
|
|
159
|
+
"unchangedFixtures": [
|
|
160
|
+
"source/git-log.txt",
|
|
161
|
+
"source/numstat.tsv",
|
|
162
|
+
"source/team-events.md"
|
|
163
|
+
]
|
|
164
|
+
},
|
|
165
|
+
"rubric": {
|
|
166
|
+
"artifact": {
|
|
167
|
+
"path": "retro/engineering-retrospective.md",
|
|
168
|
+
"kind": "markdown"
|
|
169
|
+
},
|
|
170
|
+
"axes": [
|
|
171
|
+
{
|
|
172
|
+
"name": "Evidence integrity",
|
|
173
|
+
"description": "Counts reconcile to the exports, bot activity is excluded, hotspots are traceable, and missing review or operational data is not treated as zero."
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"name": "Context and fairness",
|
|
177
|
+
"description": "The incident, leave, pairing, and evidence limits shape interpretation; individual notes are constructive and do not rank people by volume."
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"name": "Actionability",
|
|
181
|
+
"description": "The retrospective turns patterns into a small set of owner-backed, measurable experiments with a fixed review date."
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
"contextNote": "The three source exports are the complete evidence set. Do not reward invented review metrics, cycle time, or off-repository work."
|
|
185
|
+
},
|
|
186
|
+
"qualityFocus": [
|
|
187
|
+
"Reconcile six human commits and exclude release automation",
|
|
188
|
+
"Explain the queue hotspot in incident context without equating volume with value",
|
|
189
|
+
"Give Alex and Priya balanced growth notes and measurable experiments"
|
|
190
|
+
]
|
|
191
|
+
}
|
|
@@ -0,0 +1,480 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "html-arcade-game",
|
|
3
|
+
"name": "HTML Arcade Game",
|
|
4
|
+
"description": "Build a playable single-file HTML/canvas arcade game (shooter, runner, dodger, etc.). Splits design into game-mechanics and visual look, builds, then evaluates against a playability bar and loops until it is actually fun and bug-free.\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. Game design (game-designer) — mechanics, controls, win/lose, difficulty → gated on artifact `design/game-design.md` (markdown-notes)\n2. Visual design (visual-designer) — palette, shapes/sprites, layout, juice → gated on artifact `design/visual-design.md` (markdown-notes)\n3. Build (developer) — implement the game in one index.html → gated on `index.html` (html-game)\n\nThe gates never advance with an unmet criterion, and loop back to the\nowning phase to fix named gaps.\n",
|
|
5
|
+
"entryStepId": "game-design",
|
|
6
|
+
"triggers": [
|
|
7
|
+
"arcade game",
|
|
8
|
+
"space shooter",
|
|
9
|
+
"html game",
|
|
10
|
+
"build a game"
|
|
11
|
+
],
|
|
12
|
+
"contract": {
|
|
13
|
+
"goal": "A playable, self-contained arcade game in one index.html: a real game loop and input, a visible win or lose state, and an in-page restart, with scripts that parse and no network assets.",
|
|
14
|
+
"deliverables": [
|
|
15
|
+
{
|
|
16
|
+
"id": "game",
|
|
17
|
+
"path": "index.html",
|
|
18
|
+
"kind": "html-game",
|
|
19
|
+
"description": "The finished game, with its CSS and JavaScript inline"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"criteria": [
|
|
23
|
+
{
|
|
24
|
+
"id": "real-game",
|
|
25
|
+
"kind": "acceptance",
|
|
26
|
+
"text": "index.html is a complete, substantial game page whose HTML is well formed and whose inline scripts parse",
|
|
27
|
+
"checks": [
|
|
28
|
+
{
|
|
29
|
+
"kind": "minBytes",
|
|
30
|
+
"file": "index.html",
|
|
31
|
+
"bytes": 3200
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"kind": "sniff",
|
|
35
|
+
"file": "index.html",
|
|
36
|
+
"sniff": "html-game"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"kind": "htmlLint",
|
|
40
|
+
"file": "index.html"
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"id": "loop-and-input",
|
|
46
|
+
"kind": "acceptance",
|
|
47
|
+
"text": "It runs a game loop and handles player input",
|
|
48
|
+
"checks": [
|
|
49
|
+
{
|
|
50
|
+
"kind": "contains",
|
|
51
|
+
"file": "index.html",
|
|
52
|
+
"pattern": "requestAnimationFrame\\s*\\(|set(?:Interval|Timeout)\\s*\\(",
|
|
53
|
+
"label": "a game loop"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"kind": "contains",
|
|
57
|
+
"file": "index.html",
|
|
58
|
+
"pattern": "addEventListener\\s*\\(\\s*['\"](?:key(?:down|up|press)|pointer(?:down|move|up)|mouse(?:down|move|up)|touch(?:start|move|end)|click)['\"]|\\bon(?:key(?:down|up|press)|pointer(?:down|move)|mouse(?:down|move)|touchstart|click)\\s*=",
|
|
59
|
+
"flags": "i",
|
|
60
|
+
"label": "input handling"
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"id": "end-and-restart",
|
|
66
|
+
"kind": "acceptance",
|
|
67
|
+
"text": "A round reaches a visible win or lose state, and the player can restart in the page",
|
|
68
|
+
"checks": [
|
|
69
|
+
{
|
|
70
|
+
"kind": "contains",
|
|
71
|
+
"file": "index.html",
|
|
72
|
+
"pattern": "game\\s*-?\\s*over|you\\s+(?:win|won|lose|lost)|victory|defeat",
|
|
73
|
+
"flags": "i",
|
|
74
|
+
"label": "visible end state"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"kind": "contains",
|
|
78
|
+
"file": "index.html",
|
|
79
|
+
"pattern": "restart|play\\s*again|new\\s*game|try\\s*again",
|
|
80
|
+
"flags": "i",
|
|
81
|
+
"label": "restart path"
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"id": "self-contained",
|
|
87
|
+
"kind": "acceptance",
|
|
88
|
+
"text": "It loads no network assets: no external scripts, stylesheets, fonts, images or sounds",
|
|
89
|
+
"checks": [
|
|
90
|
+
{
|
|
91
|
+
"kind": "notContains",
|
|
92
|
+
"file": "index.html",
|
|
93
|
+
"pattern": "<(?:script|link|img|audio|video|source|iframe)\\b[^>]*\\s(?:src|href)\\s*=\\s*[\"']?\\s*(?:https?:)?//|@import\\s+(?:url\\()?\\s*[\"']?\\s*(?:https?:)?//|url\\(\\s*[\"']?\\s*(?:https?:)?//",
|
|
94
|
+
"flags": "i",
|
|
95
|
+
"label": "a network asset"
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"id": "playable",
|
|
101
|
+
"kind": "quality",
|
|
102
|
+
"enforce": "advisory",
|
|
103
|
+
"text": "It actually plays: input moves the player, collisions change the score or state, a round can end, and restart starts a fresh round without console errors",
|
|
104
|
+
"judge": {
|
|
105
|
+
"rubric": "Played or traced through its source, does input move the player, do collisions change score or state, can a round reach its end state, and does restart begin a clean round with no errors?"
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"id": "looks-designed",
|
|
110
|
+
"kind": "quality",
|
|
111
|
+
"enforce": "advisory",
|
|
112
|
+
"text": "It looks deliberate: a consistent palette, readable game objects, a HUD showing score, lives or time, and at least one feedback effect",
|
|
113
|
+
"judge": {
|
|
114
|
+
"rubric": "Does the game use a consistent palette, readable shapes, a clear HUD, and at least one feedback effect such as a hit flash, shake or particles?"
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
"steps": [
|
|
120
|
+
{
|
|
121
|
+
"id": "game-design",
|
|
122
|
+
"name": "Game design",
|
|
123
|
+
"description": "mechanics, controls, win/lose, difficulty",
|
|
124
|
+
"prompt": "Design the GAME, not the code. Decide: core mechanic (what the player does), controls (keys/mouse/touch), win and lose conditions, scoring, restart behavior, and the difficulty curve. Then write an **acceptance-criteria checklist** (4-8 concrete, checkable items, e.g. \"arrow keys move the ship\", \"colliding with an enemy ends the game\", \"score increments on hit\", \"restart resets the score\", \"game is playable for >30s without a JS error\"). Save the complete mechanics + checklist to artifact `design/game-design.md` with `write_artifact`, and summarize the path in task notes. No code, no visuals yet.",
|
|
125
|
+
"suggestedRole": "game-designer",
|
|
126
|
+
"toolPolicy": {
|
|
127
|
+
"disallowBuiltinToolsets": [
|
|
128
|
+
"ai-apps",
|
|
129
|
+
"archives",
|
|
130
|
+
"audio",
|
|
131
|
+
"browser-automation",
|
|
132
|
+
"code-execution",
|
|
133
|
+
"craftbooks",
|
|
134
|
+
"data-tables",
|
|
135
|
+
"entity-intel",
|
|
136
|
+
"git",
|
|
137
|
+
"image-intel",
|
|
138
|
+
"images",
|
|
139
|
+
"role-delegation",
|
|
140
|
+
"role-delegation-escalation",
|
|
141
|
+
"security-intel",
|
|
142
|
+
"team-management",
|
|
143
|
+
"videos",
|
|
144
|
+
"web",
|
|
145
|
+
"workspace-fs-write"
|
|
146
|
+
],
|
|
147
|
+
"outputMedium": "artifact",
|
|
148
|
+
"additionalOutputMedia": [
|
|
149
|
+
"task-note"
|
|
150
|
+
]
|
|
151
|
+
},
|
|
152
|
+
"advanceWhen": {
|
|
153
|
+
"file": "design/game-design.md",
|
|
154
|
+
"minBytes": 1,
|
|
155
|
+
"sniff": "nonempty",
|
|
156
|
+
"artifact": true
|
|
157
|
+
},
|
|
158
|
+
"gate": {
|
|
159
|
+
"at": "completion",
|
|
160
|
+
"checks": [
|
|
161
|
+
{
|
|
162
|
+
"kind": "minBytes",
|
|
163
|
+
"file": "design/game-design.md",
|
|
164
|
+
"bytes": 600,
|
|
165
|
+
"artifact": true
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"kind": "sniff",
|
|
169
|
+
"file": "design/game-design.md",
|
|
170
|
+
"sniff": "nonempty",
|
|
171
|
+
"artifact": true
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"kind": "contains",
|
|
175
|
+
"file": "design/game-design.md",
|
|
176
|
+
"pattern": "acceptance|criteria|checklist",
|
|
177
|
+
"flags": "i",
|
|
178
|
+
"label": "acceptance criteria",
|
|
179
|
+
"artifact": true
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"kind": "contains",
|
|
183
|
+
"file": "design/game-design.md",
|
|
184
|
+
"pattern": "control|input|keyboard|mouse|touch",
|
|
185
|
+
"flags": "i",
|
|
186
|
+
"label": "control scheme",
|
|
187
|
+
"artifact": true
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"kind": "contains",
|
|
191
|
+
"file": "design/game-design.md",
|
|
192
|
+
"pattern": "win|lose|game over|victory|defeat",
|
|
193
|
+
"flags": "i",
|
|
194
|
+
"label": "end-state rules",
|
|
195
|
+
"artifact": true
|
|
196
|
+
}
|
|
197
|
+
],
|
|
198
|
+
"onReject": "game-design",
|
|
199
|
+
"maxAttempts": 3
|
|
200
|
+
},
|
|
201
|
+
"next": "visual-design"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"id": "visual-design",
|
|
205
|
+
"name": "Visual design",
|
|
206
|
+
"description": "palette, shapes/sprites, layout, juice",
|
|
207
|
+
"prompt": "Read artifact `design/game-design.md` with `read_artifact`, then decide how the game LOOKS. Pick a palette with exact color values, the canvas shapes or sprites for player/enemies/projectiles, the HUD layout (score, lives or timer), and at least one feedback effect (hit flash, screen shake, or particles). Keep it self-contained — canvas drawing or CSS, no external asset downloads. Save the concrete visual target to artifact `design/visual-design.md` with `write_artifact`, and summarize the path in task notes. Still no game code.",
|
|
208
|
+
"suggestedRole": "visual-designer",
|
|
209
|
+
"toolPolicy": {
|
|
210
|
+
"disallowBuiltinToolsets": [
|
|
211
|
+
"ai-apps",
|
|
212
|
+
"archives",
|
|
213
|
+
"audio",
|
|
214
|
+
"browser-automation",
|
|
215
|
+
"code-execution",
|
|
216
|
+
"craftbooks",
|
|
217
|
+
"data-tables",
|
|
218
|
+
"entity-intel",
|
|
219
|
+
"git",
|
|
220
|
+
"image-intel",
|
|
221
|
+
"images",
|
|
222
|
+
"role-delegation",
|
|
223
|
+
"role-delegation-escalation",
|
|
224
|
+
"security-intel",
|
|
225
|
+
"team-management",
|
|
226
|
+
"videos",
|
|
227
|
+
"web",
|
|
228
|
+
"workspace-fs-write"
|
|
229
|
+
],
|
|
230
|
+
"outputMedium": "artifact",
|
|
231
|
+
"additionalOutputMedia": [
|
|
232
|
+
"task-note"
|
|
233
|
+
]
|
|
234
|
+
},
|
|
235
|
+
"consumes": [
|
|
236
|
+
{
|
|
237
|
+
"file": "design/game-design.md",
|
|
238
|
+
"artifact": true
|
|
239
|
+
}
|
|
240
|
+
],
|
|
241
|
+
"advanceWhen": {
|
|
242
|
+
"file": "design/visual-design.md",
|
|
243
|
+
"minBytes": 1,
|
|
244
|
+
"sniff": "nonempty",
|
|
245
|
+
"artifact": true
|
|
246
|
+
},
|
|
247
|
+
"gate": {
|
|
248
|
+
"at": "completion",
|
|
249
|
+
"checks": [
|
|
250
|
+
{
|
|
251
|
+
"kind": "minBytes",
|
|
252
|
+
"file": "design/visual-design.md",
|
|
253
|
+
"bytes": 450,
|
|
254
|
+
"artifact": true
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"kind": "sniff",
|
|
258
|
+
"file": "design/visual-design.md",
|
|
259
|
+
"sniff": "nonempty",
|
|
260
|
+
"artifact": true
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"kind": "contains",
|
|
264
|
+
"file": "design/visual-design.md",
|
|
265
|
+
"pattern": "#[0-9a-f]{3,8}|rgb\\(|hsl\\(",
|
|
266
|
+
"flags": "i",
|
|
267
|
+
"label": "concrete palette",
|
|
268
|
+
"artifact": true
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"kind": "contains",
|
|
272
|
+
"file": "design/visual-design.md",
|
|
273
|
+
"pattern": "HUD|score|lives|timer",
|
|
274
|
+
"flags": "i",
|
|
275
|
+
"label": "HUD design",
|
|
276
|
+
"artifact": true
|
|
277
|
+
}
|
|
278
|
+
],
|
|
279
|
+
"onReject": "visual-design",
|
|
280
|
+
"maxAttempts": 3
|
|
281
|
+
},
|
|
282
|
+
"next": "build"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"id": "build",
|
|
286
|
+
"name": "Build",
|
|
287
|
+
"description": "implement the game in one index.html",
|
|
288
|
+
"prompt": "Read artifacts `design/game-design.md` and `design/visual-design.md` with `read_artifact`. Implement the game in workspace `index.html` with `write_file` (inline CSS + JS) so it satisfies the acceptance criteria and matches the visual spec. Include a real game loop, real input handling, score/state, a visible win or lose state, and an in-page restart path. Keep it self-contained with no network assets. On a loop-back, fix only the gaps the reviewer named — do not regress criteria that already passed. `write_task_note` the workspace path and which criteria now pass.",
|
|
289
|
+
"suggestedRole": "developer",
|
|
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
|
+
],
|
|
310
|
+
"outputMedium": "workspace",
|
|
311
|
+
"additionalOutputMedia": [
|
|
312
|
+
"task-note"
|
|
313
|
+
]
|
|
314
|
+
},
|
|
315
|
+
"consumes": [
|
|
316
|
+
{
|
|
317
|
+
"file": "design/game-design.md",
|
|
318
|
+
"artifact": true
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"file": "design/visual-design.md",
|
|
322
|
+
"artifact": true
|
|
323
|
+
}
|
|
324
|
+
],
|
|
325
|
+
"advanceWhen": {
|
|
326
|
+
"file": "index.html",
|
|
327
|
+
"minBytes": 1,
|
|
328
|
+
"sniff": "html-complete"
|
|
329
|
+
},
|
|
330
|
+
"gate": {
|
|
331
|
+
"at": "completion",
|
|
332
|
+
"checks": [
|
|
333
|
+
{
|
|
334
|
+
"kind": "minBytes",
|
|
335
|
+
"file": "index.html",
|
|
336
|
+
"bytes": 3200
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"kind": "htmlLint",
|
|
340
|
+
"file": "index.html"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"kind": "contains",
|
|
344
|
+
"file": "index.html",
|
|
345
|
+
"pattern": "game\\s*-?\\s*over|you\\s+(?:win|won|lose|lost)|victory|defeat",
|
|
346
|
+
"flags": "i",
|
|
347
|
+
"label": "visible end state"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"kind": "contains",
|
|
351
|
+
"file": "index.html",
|
|
352
|
+
"pattern": "restart|play\\s*again|new\\s*game|try\\s*again",
|
|
353
|
+
"flags": "i",
|
|
354
|
+
"label": "restart path"
|
|
355
|
+
}
|
|
356
|
+
],
|
|
357
|
+
"scripts": [
|
|
358
|
+
{
|
|
359
|
+
"name": "checkHtmlGame",
|
|
360
|
+
"scope": "standard",
|
|
361
|
+
"inputs": {
|
|
362
|
+
"file": "index.html"
|
|
363
|
+
}
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"name": "checkJsParses",
|
|
367
|
+
"scope": "standard",
|
|
368
|
+
"inputs": {
|
|
369
|
+
"file": "index.html"
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
],
|
|
373
|
+
"onReject": "build",
|
|
374
|
+
"maxAttempts": 4
|
|
375
|
+
},
|
|
376
|
+
"next": "evaluate"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"id": "evaluate",
|
|
380
|
+
"name": "Evaluate",
|
|
381
|
+
"description": "Grade the deliverable against every acceptance criterion. All pass → finish; any fail → loop back and fix the gap.",
|
|
382
|
+
"prompt": "Read workspace `index.html` with `read_file` and actually exercise the game. If a browser/QA capability is available, load it, play it, test restart, and watch the console for errors; otherwise trace the game loop, input listeners, end-state transition, and reset path in source. Check every criterion from artifact `design/game-design.md` and write PASS/FAIL per criterion.\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 `{{task.dir}}/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).",
|
|
383
|
+
"suggestedRole": "reviewer",
|
|
384
|
+
"toolPolicy": {
|
|
385
|
+
"disallowBuiltinToolsets": [
|
|
386
|
+
"ai-apps",
|
|
387
|
+
"archives",
|
|
388
|
+
"audio",
|
|
389
|
+
"browser-automation",
|
|
390
|
+
"code-execution",
|
|
391
|
+
"craftbooks",
|
|
392
|
+
"data-tables",
|
|
393
|
+
"entity-intel",
|
|
394
|
+
"git",
|
|
395
|
+
"image-intel",
|
|
396
|
+
"images",
|
|
397
|
+
"role-delegation",
|
|
398
|
+
"role-delegation-escalation",
|
|
399
|
+
"security-intel",
|
|
400
|
+
"team-management",
|
|
401
|
+
"videos",
|
|
402
|
+
"web",
|
|
403
|
+
"workspace-fs-write"
|
|
404
|
+
],
|
|
405
|
+
"outputMedium": "artifact",
|
|
406
|
+
"additionalOutputMedia": [
|
|
407
|
+
"task-note"
|
|
408
|
+
]
|
|
409
|
+
},
|
|
410
|
+
"consumes": [
|
|
411
|
+
{
|
|
412
|
+
"file": "index.html"
|
|
413
|
+
}
|
|
414
|
+
],
|
|
415
|
+
"advanceWhen": {
|
|
416
|
+
"file": "{{task.dir}}/verdict.md",
|
|
417
|
+
"minBytes": 40,
|
|
418
|
+
"sniff": "nonempty",
|
|
419
|
+
"artifact": true
|
|
420
|
+
},
|
|
421
|
+
"gate": {
|
|
422
|
+
"at": "completion",
|
|
423
|
+
"checks": [
|
|
424
|
+
{
|
|
425
|
+
"kind": "contains",
|
|
426
|
+
"file": "{{task.dir}}/verdict.md",
|
|
427
|
+
"pattern": "(?<!/\\s*)\\bPASS\\b(?!\\s*/)",
|
|
428
|
+
"label": "the verdict marks its criteria PASS",
|
|
429
|
+
"artifact": true
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"kind": "notContains",
|
|
433
|
+
"file": "{{task.dir}}/verdict.md",
|
|
434
|
+
"pattern": "(?<!/\\s*)\\bFAIL\\b(?!\\s*/)",
|
|
435
|
+
"label": "no criterion is marked FAIL",
|
|
436
|
+
"artifact": true
|
|
437
|
+
}
|
|
438
|
+
],
|
|
439
|
+
"onReject": "build",
|
|
440
|
+
"maxAttempts": 3
|
|
441
|
+
},
|
|
442
|
+
"next": "finish"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"id": "finish",
|
|
446
|
+
"name": "Finish",
|
|
447
|
+
"description": "All acceptance criteria met. Stamp a short summary and report DONE.",
|
|
448
|
+
"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.",
|
|
449
|
+
"suggestedRole": "developer",
|
|
450
|
+
"toolPolicy": {
|
|
451
|
+
"disallowBuiltinToolsets": [
|
|
452
|
+
"ai-apps",
|
|
453
|
+
"archives",
|
|
454
|
+
"artifacts",
|
|
455
|
+
"audio",
|
|
456
|
+
"browser-automation",
|
|
457
|
+
"code-execution",
|
|
458
|
+
"craftbooks",
|
|
459
|
+
"data-tables",
|
|
460
|
+
"entity-intel",
|
|
461
|
+
"git",
|
|
462
|
+
"image-intel",
|
|
463
|
+
"images",
|
|
464
|
+
"role-delegation",
|
|
465
|
+
"role-delegation-escalation",
|
|
466
|
+
"security-intel",
|
|
467
|
+
"team-management",
|
|
468
|
+
"videos",
|
|
469
|
+
"web",
|
|
470
|
+
"workspace-fs-write"
|
|
471
|
+
],
|
|
472
|
+
"outputMedium": "task-note"
|
|
473
|
+
},
|
|
474
|
+
"terminal": true
|
|
475
|
+
}
|
|
476
|
+
],
|
|
477
|
+
"version": "1.2.5",
|
|
478
|
+
"releasedAt": "2026-10-23T00:00:00Z",
|
|
479
|
+
"minGezelVersion": "1.26295"
|
|
480
|
+
}
|