@bendyline/gilde 0.3.0 → 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.
Files changed (94) hide show
  1. package/authoring/tactical/wave.json +18 -18
  2. package/data/craftbook-templates/ab/ab-test-readout/versions/1.0.5/craftbook.json +418 -0
  3. package/data/craftbook-templates/ab/ab-test-readout/versions/1.0.5/test.json +196 -0
  4. package/data/craftbook-templates/ab/ab-test-readout/versions/1.0.6/craftbook.json +432 -0
  5. package/data/craftbook-templates/ab/ab-test-readout/versions/1.0.6/test.json +192 -0
  6. package/data/craftbook-templates/al/alert-rules/versions/1.0.5/craftbook.json +384 -0
  7. package/data/craftbook-templates/al/alert-rules/versions/1.0.5/test.json +145 -0
  8. package/data/craftbook-templates/bu/bug-fix-tdd/versions/2.0.6/craftbook.json +736 -0
  9. package/data/craftbook-templates/bu/bug-fix-tdd/versions/2.0.6/test.json +221 -0
  10. package/data/craftbook-templates/bu/bug-fix-tdd/versions/2.0.7/craftbook.json +799 -0
  11. package/data/craftbook-templates/bu/bug-fix-tdd/versions/2.0.7/test.json +221 -0
  12. package/data/craftbook-templates/ch/changelog-writeup/versions/1.0.3/craftbook.json +119 -0
  13. package/data/craftbook-templates/ch/changelog-writeup/versions/1.0.3/test.json +128 -0
  14. package/data/craftbook-templates/co/codemod-sweep/versions/1.0.5/craftbook.json +607 -0
  15. package/data/craftbook-templates/co/codemod-sweep/versions/1.0.5/test.json +252 -0
  16. package/data/craftbook-templates/co/codemod-sweep/versions/1.0.6/craftbook.json +661 -0
  17. package/data/craftbook-templates/co/codemod-sweep/versions/1.0.6/test.json +252 -0
  18. package/data/craftbook-templates/co/cohort-analysis/versions/1.0.5/craftbook.json +416 -0
  19. package/data/craftbook-templates/co/cohort-analysis/versions/1.0.5/test.json +238 -0
  20. package/data/craftbook-templates/co/content-accuracy-review/versions/1.1.2/craftbook.json +494 -0
  21. package/data/craftbook-templates/co/content-accuracy-review/versions/1.1.2/test.json +167 -0
  22. package/data/craftbook-templates/co/corpus-synthesis/versions/1.0.5/craftbook.json +419 -0
  23. package/data/craftbook-templates/co/corpus-synthesis/versions/1.0.5/test.json +172 -0
  24. package/data/craftbook-templates/cs/csv-transformer/versions/1.2.6/craftbook.json +285 -0
  25. package/data/craftbook-templates/cs/csv-transformer/versions/1.2.6/test.json +102 -0
  26. package/data/craftbook-templates/da/data-quality-audit/versions/1.0.5/craftbook.json +431 -0
  27. package/data/craftbook-templates/da/data-quality-audit/versions/1.0.5/test.json +348 -0
  28. package/data/craftbook-templates/de/deep-security-review/versions/1.1.5/craftbook.json +452 -0
  29. package/data/craftbook-templates/de/deep-security-review/versions/1.1.5/test.json +184 -0
  30. package/data/craftbook-templates/de/dependency-upgrade/versions/1.0.6/craftbook.json +625 -0
  31. package/data/craftbook-templates/de/dependency-upgrade/versions/1.0.6/test.json +235 -0
  32. package/data/craftbook-templates/di/digest-from-feeds/versions/1.0.6/craftbook.json +312 -0
  33. package/data/craftbook-templates/di/digest-from-feeds/versions/1.0.6/test.json +87 -0
  34. package/data/craftbook-templates/en/engineering-retrospective/versions/2.0.18/craftbook.json +702 -0
  35. package/data/craftbook-templates/en/engineering-retrospective/versions/2.0.18/test.json +191 -0
  36. package/data/craftbook-templates/fl/flaky-test-fix/versions/1.0.5/craftbook.json +720 -0
  37. package/data/craftbook-templates/fl/flaky-test-fix/versions/1.0.5/test.json +239 -0
  38. package/data/craftbook-templates/ht/html-arcade-game/versions/1.2.5/craftbook.json +480 -0
  39. package/data/craftbook-templates/ht/html-arcade-game/versions/1.2.5/test.json +176 -0
  40. package/data/craftbook-templates/in/investigate/versions/1.1.1/craftbook.json +85 -0
  41. package/data/craftbook-templates/in/investigate/versions/1.1.1/test.json +118 -0
  42. package/data/craftbook-templates/in/invoice-run/versions/1.1.9/craftbook.json +515 -0
  43. package/data/craftbook-templates/in/invoice-run/versions/1.1.9/test.json +140 -0
  44. package/data/craftbook-templates/index.json +1 -1
  45. package/data/craftbook-templates/ma/market-scan/versions/1.0.5/craftbook.json +480 -0
  46. package/data/craftbook-templates/ma/market-scan/versions/1.0.5/test.json +223 -0
  47. package/data/craftbook-templates/me/meeting-prep-brief/versions/1.0.5/craftbook.json +255 -0
  48. package/data/craftbook-templates/me/meeting-prep-brief/versions/1.0.5/test.json +140 -0
  49. package/data/craftbook-templates/mo/morning-brief/versions/1.0.6/craftbook.json +270 -0
  50. package/data/craftbook-templates/mo/morning-brief/versions/1.0.6/test.json +105 -0
  51. package/data/craftbook-templates/pe/perf-audit/versions/1.1.3/craftbook.json +320 -0
  52. package/data/craftbook-templates/pe/perf-audit/versions/1.1.3/test.json +94 -0
  53. package/data/craftbook-templates/pe/perf-optimization/versions/2.0.5/craftbook.json +699 -0
  54. package/data/craftbook-templates/pe/perf-optimization/versions/2.0.5/test.json +235 -0
  55. package/data/craftbook-templates/po/powerpoint-deck/versions/1.7.19/craftbook.json +603 -0
  56. package/data/craftbook-templates/po/powerpoint-deck/versions/1.7.19/test.json +266 -0
  57. package/data/craftbook-templates/pr/press-release/versions/1.0.6/craftbook.json +450 -0
  58. package/data/craftbook-templates/pr/press-release/versions/1.0.6/test.json +356 -0
  59. package/data/craftbook-templates/raw-index.json +1 -1
  60. package/data/craftbook-templates/re/refactor-module/versions/2.0.6/craftbook.json +699 -0
  61. package/data/craftbook-templates/re/refactor-module/versions/2.0.6/test.json +241 -0
  62. package/data/craftbook-templates/re/refactor-module/versions/2.0.7/craftbook.json +753 -0
  63. package/data/craftbook-templates/re/refactor-module/versions/2.0.7/test.json +241 -0
  64. package/data/craftbook-templates/re/release-notes/versions/1.0.6/craftbook.json +339 -0
  65. package/data/craftbook-templates/re/release-notes/versions/1.0.6/test.json +107 -0
  66. package/data/craftbook-templates/re/research-report/versions/1.0.6/craftbook.json +417 -0
  67. package/data/craftbook-templates/re/research-report/versions/1.0.6/test.json +183 -0
  68. package/data/craftbook-templates/ro/rollback-plan/versions/1.0.6/craftbook.json +319 -0
  69. package/data/craftbook-templates/ro/rollback-plan/versions/1.0.6/test.json +87 -0
  70. package/data/craftbook-templates/ru/runbook/versions/1.0.5/craftbook.json +491 -0
  71. package/data/craftbook-templates/ru/runbook/versions/1.0.5/test.json +118 -0
  72. package/data/craftbook-templates/sc/schema-migration/versions/2.0.5/craftbook.json +626 -0
  73. package/data/craftbook-templates/sc/schema-migration/versions/2.0.5/test.json +225 -0
  74. package/data/craftbook-templates/sh/ship/versions/1.1.4/craftbook.json +353 -0
  75. package/data/craftbook-templates/sh/ship/versions/1.1.4/test.json +235 -0
  76. package/data/craftbook-templates/te/test-suite-backfill/versions/2.0.6/craftbook.json +596 -0
  77. package/data/craftbook-templates/te/test-suite-backfill/versions/2.0.6/test.json +195 -0
  78. package/data/craftbook-templates/ty/type-safety-pass/versions/2.0.5/craftbook.json +596 -0
  79. package/data/craftbook-templates/ty/type-safety-pass/versions/2.0.5/test.json +221 -0
  80. package/data/craftbook-templates/we/week-plan/versions/1.0.5/craftbook.json +313 -0
  81. package/data/craftbook-templates/we/week-plan/versions/1.0.5/test.json +175 -0
  82. package/data/gezel-templates/im/image-editor/manifest.json +21 -0
  83. package/data/gezel-templates/im/image-editor/versions/1.0.0/about.md +17 -0
  84. package/data/gezel-templates/im/image-editor/versions/1.0.0/manifest.json +14 -0
  85. package/data/gezel-templates/index.json +1 -1
  86. package/data/gezel-templates/raw-index.json +1 -1
  87. package/data/image-models/fl/flux-2-klein-4b-q4/manifest.json +3 -0
  88. package/data/image-models/index.json +1 -1
  89. package/data/image-models/qw/qwen-image-edit-2511-q4/manifest.json +44 -0
  90. package/data/image-models/qw/qwen-image-edit-2511-q4/versions/1.0.0/manifest.json +36 -0
  91. package/data/image-models/raw-index.json +1 -1
  92. package/package.json +1 -1
  93. package/schemas/image-model-identity.schema.json +16 -0
  94. package/schemas/image-model-version.schema.json +1 -0
@@ -0,0 +1,702 @@
1
+ {
2
+ "id": "engineering-retrospective",
3
+ "name": "Engineering Retrospective",
4
+ "description": "Build a data-grounded engineering retrospective from git history: activity, hotspots, review patterns, and per-person growth notes for a given window.",
5
+ "basedOn": {
6
+ "name": "gstack",
7
+ "url": "https://github.com/garrytan/gstack"
8
+ },
9
+ "plan": "Build an engineering retrospective from reproducible evidence, not memory or a leaderboard. Prefer repository history when it is available, and support authoritative workspace exports when it is not. State the time window, evidence sources, and identity mapping; preserve both counts and qualitative examples; and explain data limits. Interpret activity in context: commit volume is not productivity, review visibility is incomplete, and individual notes must be constructive growth observations rather than performance ratings.",
10
+ "entryStepId": "scope-retro",
11
+ "triggers": [
12
+ "weekly retro",
13
+ "what did we ship",
14
+ "engineering retrospective"
15
+ ],
16
+ "command": "engineering-retrospective",
17
+ "contract": {
18
+ "goal": "An engineering retrospective for the requested window, grounded in repository history or its exports: what went well, friction and hotspots, fair growth notes, and owned experiments, with every count and date cited to the evidence it came from.",
19
+ "deliverables": [
20
+ {
21
+ "id": "retrospective",
22
+ "path": "retro/engineering-retrospective.md",
23
+ "kind": "markdown-report",
24
+ "description": "The retrospective: period context, what went well, friction and hotspots, collaboration and growth, three to five owned experiments with a review date, and the limits of the evidence"
25
+ }
26
+ ],
27
+ "grounding": {
28
+ "citationStyle": "any"
29
+ },
30
+ "criteria": [
31
+ {
32
+ "id": "complete",
33
+ "kind": "acceptance",
34
+ "text": "The retrospective is a full document with the sections Period context, What went well, Friction and hotspots, Collaboration and growth, Experiments, and Evidence limits",
35
+ "checks": [
36
+ {
37
+ "kind": "minBytes",
38
+ "file": "retro/engineering-retrospective.md",
39
+ "bytes": 1600
40
+ },
41
+ {
42
+ "kind": "contains",
43
+ "file": "retro/engineering-retrospective.md",
44
+ "pattern": "^##\\s+Period context",
45
+ "flags": "im",
46
+ "label": "Period context section"
47
+ },
48
+ {
49
+ "kind": "contains",
50
+ "file": "retro/engineering-retrospective.md",
51
+ "pattern": "^##\\s+What went well",
52
+ "flags": "im",
53
+ "label": "What went well section"
54
+ },
55
+ {
56
+ "kind": "contains",
57
+ "file": "retro/engineering-retrospective.md",
58
+ "pattern": "^##\\s+Friction and hotspots",
59
+ "flags": "im",
60
+ "label": "Friction and hotspots section"
61
+ },
62
+ {
63
+ "kind": "contains",
64
+ "file": "retro/engineering-retrospective.md",
65
+ "pattern": "^##\\s+Collaboration and growth",
66
+ "flags": "im",
67
+ "label": "Collaboration and growth section"
68
+ },
69
+ {
70
+ "kind": "contains",
71
+ "file": "retro/engineering-retrospective.md",
72
+ "pattern": "^##\\s+Experiments",
73
+ "flags": "im",
74
+ "label": "Experiments section"
75
+ },
76
+ {
77
+ "kind": "contains",
78
+ "file": "retro/engineering-retrospective.md",
79
+ "pattern": "^##\\s+Evidence limits",
80
+ "flags": "im",
81
+ "label": "Evidence limits section"
82
+ }
83
+ ]
84
+ },
85
+ {
86
+ "id": "review-date",
87
+ "kind": "acceptance",
88
+ "text": "The Experiments section sets a date for checking the results",
89
+ "checks": [
90
+ {
91
+ "kind": "contains",
92
+ "file": "retro/engineering-retrospective.md",
93
+ "pattern": "^#{2,3}\\s+Experiments\\b(?:(?!\\n#{1,2}\\s)[\\s\\S])*?(?:\\b20\\d{2}[-/]\\d{1,2}[-/]\\d{1,2}\\b|\\b(?:jan|feb|mar|apr|may|jun|jul|aug|sep|sept|oct|nov|dec)[a-z]*\\.?\\s+\\d{1,2}\\b|\\b\\d{1,2}\\s+(?:jan|feb|mar|apr|may|jun|jul|aug|sep|sept|oct|nov|dec)[a-z]*\\b|\\b\\d{1,2}/\\d{1,2}/\\d{2,4}\\b)",
94
+ "flags": "im",
95
+ "label": "a review date in the Experiments section"
96
+ }
97
+ ]
98
+ },
99
+ {
100
+ "id": "cited",
101
+ "kind": "quality",
102
+ "text": "Its conclusions cite at least three sources (the history exports, evidence files or repository paths), and every cited file exists",
103
+ "checks": [
104
+ {
105
+ "kind": "citationsResolve",
106
+ "file": "retro/engineering-retrospective.md",
107
+ "minCitations": 3
108
+ }
109
+ ]
110
+ },
111
+ {
112
+ "id": "grounded",
113
+ "kind": "quality",
114
+ "text": "Every count, date and quote it cites appears in the cited evidence; only the experiments' own targets and review date may go uncited",
115
+ "checks": [
116
+ {
117
+ "kind": "claimsGrounded",
118
+ "file": "retro/engineering-retrospective.md",
119
+ "maxUncited": 5
120
+ }
121
+ ]
122
+ },
123
+ {
124
+ "id": "experiments",
125
+ "kind": "quality",
126
+ "enforce": "advisory",
127
+ "text": "There are three to five experiments, each with an owner and a measurable outcome",
128
+ "judge": {
129
+ "rubric": "Does the retrospective end with three to five experiments that each name an owner and an outcome someone could measure by the review date?"
130
+ }
131
+ },
132
+ {
133
+ "id": "fair",
134
+ "kind": "quality",
135
+ "enforce": "advisory",
136
+ "text": "Growth notes are constructive and backed by more than one observation; nobody is ranked, commit volume is not treated as productivity, and missing data is called missing rather than zero",
137
+ "judge": {
138
+ "rubric": "Are the individual notes constructive and evidence-backed, free of rankings or volume-as-productivity framing, and does the retrospective treat missing signals as missing rather than zero?"
139
+ }
140
+ }
141
+ ]
142
+ },
143
+ "steps": [
144
+ {
145
+ "id": "scope-retro",
146
+ "name": "Define the retrospective window and evidence contract",
147
+ "description": "Lock the period, repositories, participants, questions, identity aliases, and privacy boundaries.",
148
+ "prompt": "Confirm the requested time window, repository scope, comparison baseline, participants, timezone, team events, and intended audience. Resolve obvious author aliases from read-only history and label ambiguous identities instead of merging them. Define the questions the retrospective should answer, the datasets required, exclusions, privacy rules, and known blind spots such as squash merges or off-platform reviews.\n\nObservable handoff: write the completed result to `retro/scope.md` in the workspace with `write_file`. Do not merely describe what the file would contain. Re-read it with `read_file` before finishing this phase and repair any incomplete sections.",
149
+ "suggestedRole": "engineering operations analyst",
150
+ "advanceWhen": {
151
+ "file": "retro/scope.md",
152
+ "minBytes": 700,
153
+ "sniff": "nonempty",
154
+ "requireChange": true,
155
+ "goto": "collect-evidence"
156
+ },
157
+ "gate": {
158
+ "at": "completion",
159
+ "checks": [
160
+ {
161
+ "kind": "minBytes",
162
+ "file": "retro/scope.md",
163
+ "bytes": 700
164
+ },
165
+ {
166
+ "kind": "sniff",
167
+ "file": "retro/scope.md",
168
+ "sniff": "nonempty"
169
+ },
170
+ {
171
+ "kind": "contains",
172
+ "file": "retro/scope.md",
173
+ "pattern": "^##\\s+Window",
174
+ "flags": "im",
175
+ "label": "Window section"
176
+ },
177
+ {
178
+ "kind": "contains",
179
+ "file": "retro/scope.md",
180
+ "pattern": "^##\\s+Repositories",
181
+ "flags": "im",
182
+ "label": "Repositories section"
183
+ },
184
+ {
185
+ "kind": "contains",
186
+ "file": "retro/scope.md",
187
+ "pattern": "^##\\s+Identity map",
188
+ "flags": "im",
189
+ "label": "Identity map section"
190
+ },
191
+ {
192
+ "kind": "contains",
193
+ "file": "retro/scope.md",
194
+ "pattern": "^##\\s+Questions",
195
+ "flags": "im",
196
+ "label": "Questions section"
197
+ },
198
+ {
199
+ "kind": "contains",
200
+ "file": "retro/scope.md",
201
+ "pattern": "^##\\s+Limits and privacy",
202
+ "flags": "im",
203
+ "label": "Limits and privacy section"
204
+ }
205
+ ],
206
+ "onReject": "scope-retro",
207
+ "maxAttempts": 3
208
+ },
209
+ "next": "collect-evidence",
210
+ "toolPolicy": {
211
+ "disallowBuiltinToolsets": [
212
+ "ai-apps",
213
+ "archives",
214
+ "audio",
215
+ "browser-automation",
216
+ "code-execution",
217
+ "craftbooks",
218
+ "data-tables",
219
+ "entity-intel",
220
+ "git",
221
+ "image-intel",
222
+ "images",
223
+ "role-delegation",
224
+ "role-delegation-escalation",
225
+ "security-intel",
226
+ "team-management",
227
+ "videos",
228
+ "web"
229
+ ],
230
+ "outputMedium": "workspace"
231
+ }
232
+ },
233
+ {
234
+ "id": "collect-evidence",
235
+ "name": "Collect and reconcile the engineering evidence",
236
+ "description": "Gather reproducible activity, churn, hotspot, collaboration, and quality signals with caveats.",
237
+ "prompt": "Collect the evidence contract defined in `retro/scope.md`. When `run_git` is available in your function schema, use its read-only log, show, and diff subcommands; do not use shell pipelines. Otherwise, inventory and read the authoritative repository exports or workspace records named in the scope, and explicitly record that live history is unavailable. Preserve the exact query arguments or source paths and result counts. Reconcile totals across authors and date boundaries, sample the work behind the numbers, and identify hotspots, change concentration, review or pairing signals visible in the evidence, rework, test activity, documentation, maintenance, and operational work. Compare with the chosen baseline where possible. Treat missing data as missing, not zero, and never invent unavailable repository or review metrics.\n\nObservable handoff: write the completed result to `retro/evidence.md` in the workspace with `write_file`. Do not merely describe what the file would contain. Re-read it with `read_file` before finishing this phase and repair any incomplete sections.",
238
+ "suggestedRole": "engineering data analyst",
239
+ "consumes": [
240
+ {
241
+ "file": "retro/scope.md"
242
+ }
243
+ ],
244
+ "advanceWhen": {
245
+ "file": "retro/evidence.md",
246
+ "minBytes": 1400,
247
+ "sniff": "nonempty",
248
+ "requireChange": true,
249
+ "goto": "synthesize-retro"
250
+ },
251
+ "gate": {
252
+ "at": "completion",
253
+ "checks": [
254
+ {
255
+ "kind": "minBytes",
256
+ "file": "retro/evidence.md",
257
+ "bytes": 1400
258
+ },
259
+ {
260
+ "kind": "sniff",
261
+ "file": "retro/evidence.md",
262
+ "sniff": "nonempty"
263
+ },
264
+ {
265
+ "kind": "contains",
266
+ "file": "retro/evidence.md",
267
+ "pattern": "^##\\s+Queries",
268
+ "flags": "im",
269
+ "label": "Queries section"
270
+ },
271
+ {
272
+ "kind": "contains",
273
+ "file": "retro/evidence.md",
274
+ "pattern": "^##\\s+Activity",
275
+ "flags": "im",
276
+ "label": "Activity section"
277
+ },
278
+ {
279
+ "kind": "contains",
280
+ "file": "retro/evidence.md",
281
+ "pattern": "^##\\s+Hotspots",
282
+ "flags": "im",
283
+ "label": "Hotspots section"
284
+ },
285
+ {
286
+ "kind": "contains",
287
+ "file": "retro/evidence.md",
288
+ "pattern": "^##\\s+Collaboration",
289
+ "flags": "im",
290
+ "label": "Collaboration section"
291
+ },
292
+ {
293
+ "kind": "contains",
294
+ "file": "retro/evidence.md",
295
+ "pattern": "^##\\s+Quality signals",
296
+ "flags": "im",
297
+ "label": "Quality signals section"
298
+ },
299
+ {
300
+ "kind": "contains",
301
+ "file": "retro/evidence.md",
302
+ "pattern": "^##\\s+Data limitations",
303
+ "flags": "im",
304
+ "label": "Data limitations section"
305
+ }
306
+ ],
307
+ "onReject": "collect-evidence",
308
+ "maxAttempts": 3
309
+ },
310
+ "next": "synthesize-retro",
311
+ "toolPolicy": {
312
+ "disallowBuiltinToolsets": [
313
+ "ai-apps",
314
+ "archives",
315
+ "audio",
316
+ "browser-automation",
317
+ "code-execution",
318
+ "craftbooks",
319
+ "data-tables",
320
+ "entity-intel",
321
+ "image-intel",
322
+ "images",
323
+ "role-delegation",
324
+ "role-delegation-escalation",
325
+ "security-intel",
326
+ "team-management",
327
+ "videos",
328
+ "web"
329
+ ],
330
+ "outputMedium": "workspace"
331
+ }
332
+ },
333
+ {
334
+ "id": "synthesize-retro",
335
+ "name": "Write the engineering retrospective",
336
+ "description": "Turn the evidence into balanced lessons, growth notes, and owned experiments.",
337
+ "prompt": "Write a retrospective grounded in `retro/evidence.md`. Explain the period's goals and events before interpreting metrics. Highlight outcomes, strengths, bottlenecks, hotspots, recurring rework, review patterns, maintenance load, and changes from baseline, citing paths or examples. Include constructive per-person growth notes only when supported by multiple observations; name contributions and opportunities without ranking people or equating volume with value. End with three to five owned, measurable experiments and a date for checking results.\n\nObservable handoff: write the completed result to `retro/engineering-retrospective.md` in the workspace with `write_file`. Do not merely describe what the file would contain. Re-read it with `read_file` before finishing this phase and repair any incomplete sections.",
338
+ "suggestedRole": "engineering manager",
339
+ "consumes": [
340
+ {
341
+ "file": "retro/evidence.md"
342
+ }
343
+ ],
344
+ "advanceWhen": {
345
+ "file": "retro/engineering-retrospective.md",
346
+ "minBytes": 1600,
347
+ "sniff": "nonempty",
348
+ "requireChange": true,
349
+ "goto": "evaluate"
350
+ },
351
+ "gate": {
352
+ "at": "completion",
353
+ "checks": [
354
+ {
355
+ "kind": "minBytes",
356
+ "file": "retro/engineering-retrospective.md",
357
+ "bytes": 1600
358
+ },
359
+ {
360
+ "kind": "sniff",
361
+ "file": "retro/engineering-retrospective.md",
362
+ "sniff": "nonempty"
363
+ },
364
+ {
365
+ "kind": "contains",
366
+ "file": "retro/engineering-retrospective.md",
367
+ "pattern": "^##\\s+Period context",
368
+ "flags": "im",
369
+ "label": "Period context section"
370
+ },
371
+ {
372
+ "kind": "contains",
373
+ "file": "retro/engineering-retrospective.md",
374
+ "pattern": "^##\\s+What went well",
375
+ "flags": "im",
376
+ "label": "What went well section"
377
+ },
378
+ {
379
+ "kind": "contains",
380
+ "file": "retro/engineering-retrospective.md",
381
+ "pattern": "^##\\s+Friction and hotspots",
382
+ "flags": "im",
383
+ "label": "Friction and hotspots section"
384
+ },
385
+ {
386
+ "kind": "contains",
387
+ "file": "retro/engineering-retrospective.md",
388
+ "pattern": "^##\\s+Collaboration and growth",
389
+ "flags": "im",
390
+ "label": "Collaboration and growth section"
391
+ },
392
+ {
393
+ "kind": "contains",
394
+ "file": "retro/engineering-retrospective.md",
395
+ "pattern": "^##\\s+Experiments",
396
+ "flags": "im",
397
+ "label": "Experiments section"
398
+ },
399
+ {
400
+ "kind": "contains",
401
+ "file": "retro/engineering-retrospective.md",
402
+ "pattern": "^##\\s+Evidence limits",
403
+ "flags": "im",
404
+ "label": "Evidence limits section"
405
+ }
406
+ ],
407
+ "onReject": "synthesize-retro",
408
+ "maxAttempts": 3
409
+ },
410
+ "next": "evaluate",
411
+ "toolPolicy": {
412
+ "disallowBuiltinToolsets": [
413
+ "ai-apps",
414
+ "archives",
415
+ "audio",
416
+ "browser-automation",
417
+ "code-execution",
418
+ "craftbooks",
419
+ "data-tables",
420
+ "entity-intel",
421
+ "git",
422
+ "image-intel",
423
+ "images",
424
+ "role-delegation",
425
+ "role-delegation-escalation",
426
+ "security-intel",
427
+ "team-management",
428
+ "videos",
429
+ "web"
430
+ ],
431
+ "outputMedium": "workspace"
432
+ }
433
+ },
434
+ {
435
+ "id": "evaluate",
436
+ "name": "Evaluate the deliverable",
437
+ "description": "Independently grade the observable deliverable and route it to finish, repair, or user escalation.",
438
+ "prompt": "Review `retro/engineering-retrospective.md`, `retro/scope.md`, `retro/evidence.md` against every criterion below. Inspect the underlying evidence files named by the workflow; do not grade from the author's summary alone.\n\n1. The time window, repository scope, baseline, identities, and evidence queries are reproducible.\n2. Counts reconcile or discrepancies are explained, and missing signals are not treated as zero.\n3. Every important conclusion traces to multiple observations, paths, or examples rather than activity volume alone.\n4. Strengths, friction, hotspots, maintenance, collaboration, and changes from baseline are balanced and contextualized.\n5. Individual notes are evidence-backed, constructive, privacy-conscious, and never framed as rankings or performance scores.\n6. Experiments have owners, measurable outcomes, and a review date.\n\nOpen `retro/engineering-retrospective.md`, `retro/scope.md`, `retro/evidence.md` with `read_file`. Write the evidence-backed review to `reviews/engineering-retrospective-review.md` in the artifacts drawer with `write_artifact`.\n\nList the findings as a markdown table with columns `| Severity | File | Line | Problem | Fix |` (severities: critical/major/minor/nit; empty table only on PASS). Give each criterion a PASS or FAIL with a concrete path, excerpt, measurement, or observed behavior. End with exactly `Verdict: PASS` or `Verdict: REVISE`. The gate ENFORCES the verdict: a well-formed REVISE is rejected and routed back to `repair` automatically, carrying your findings — so list every finding in the table with a concrete fix. On PASS, call `advance_task_step`; the default edge is `finish`. Never write PASS while a criterion is unmet.",
439
+ "suggestedRole": "engineering leadership reviewer",
440
+ "consumes": [
441
+ {
442
+ "file": "retro/engineering-retrospective.md"
443
+ },
444
+ {
445
+ "file": "retro/scope.md"
446
+ },
447
+ {
448
+ "file": "retro/evidence.md"
449
+ }
450
+ ],
451
+ "gate": {
452
+ "at": "completion",
453
+ "checks": [
454
+ {
455
+ "kind": "minBytes",
456
+ "file": "reviews/engineering-retrospective-review.md",
457
+ "bytes": 400,
458
+ "artifact": true
459
+ },
460
+ {
461
+ "kind": "contains",
462
+ "file": "reviews/engineering-retrospective-review.md",
463
+ "pattern": "Verdict:\\s*(?:PASS|REVISE)",
464
+ "flags": "i",
465
+ "label": "explicit PASS or REVISE verdict",
466
+ "artifact": true
467
+ }
468
+ ],
469
+ "scripts": [
470
+ {
471
+ "name": "checkFixReview",
472
+ "scope": "standard",
473
+ "inputs": {
474
+ "reviewPath": "reviews/engineering-retrospective-review.md",
475
+ "fixStepId": "repair",
476
+ "maxReviewRounds": 3,
477
+ "needsUserStepId": "needs-user"
478
+ }
479
+ }
480
+ ],
481
+ "onReject": "evaluate",
482
+ "maxAttempts": 3
483
+ },
484
+ "next": "finish",
485
+ "toolPolicy": {
486
+ "disallowBuiltinToolsets": [
487
+ "ai-apps",
488
+ "archives",
489
+ "audio",
490
+ "browser-automation",
491
+ "code-execution",
492
+ "craftbooks",
493
+ "data-tables",
494
+ "entity-intel",
495
+ "git",
496
+ "image-intel",
497
+ "images",
498
+ "role-delegation",
499
+ "role-delegation-escalation",
500
+ "security-intel",
501
+ "team-management",
502
+ "videos",
503
+ "web",
504
+ "workspace-fs-write"
505
+ ],
506
+ "outputMedium": "artifact"
507
+ }
508
+ },
509
+ {
510
+ "id": "repair",
511
+ "name": "Repair the deliverable",
512
+ "description": "Fix only the concrete gaps from the latest independent review.",
513
+ "prompt": "Read `reviews/engineering-retrospective-review.md` with `read_artifact` and repair every failed criterion in `retro/engineering-retrospective.md`, `retro/scope.md`, `retro/evidence.md`. Make changes on each file's declared surface (`write_artifact` for artifact inputs, `write_file` for workspace inputs), not in task notes or a reply. Preserve evidence that already passed. Re-run or re-check anything the reviewer found unproven. Ensure `retro/engineering-retrospective.md` is genuinely updated this turn so the repair is observable, then hand it back for independent evaluation.",
514
+ "suggestedRole": "engineering manager",
515
+ "consumes": [
516
+ {
517
+ "file": "reviews/engineering-retrospective-review.md",
518
+ "artifact": true
519
+ },
520
+ {
521
+ "file": "retro/engineering-retrospective.md"
522
+ },
523
+ {
524
+ "file": "retro/scope.md"
525
+ },
526
+ {
527
+ "file": "retro/evidence.md"
528
+ }
529
+ ],
530
+ "advanceWhen": {
531
+ "file": "retro/engineering-retrospective.md",
532
+ "minBytes": 1600,
533
+ "sniff": "nonempty",
534
+ "requireChange": true,
535
+ "goto": "evaluate"
536
+ },
537
+ "gate": {
538
+ "at": "completion",
539
+ "checks": [
540
+ {
541
+ "kind": "minBytes",
542
+ "file": "retro/engineering-retrospective.md",
543
+ "bytes": 1600
544
+ },
545
+ {
546
+ "kind": "sniff",
547
+ "file": "retro/engineering-retrospective.md",
548
+ "sniff": "nonempty"
549
+ },
550
+ {
551
+ "kind": "contains",
552
+ "file": "retro/engineering-retrospective.md",
553
+ "pattern": "^##\\s+Period context",
554
+ "flags": "im",
555
+ "label": "Period context section"
556
+ },
557
+ {
558
+ "kind": "contains",
559
+ "file": "retro/engineering-retrospective.md",
560
+ "pattern": "^##\\s+What went well",
561
+ "flags": "im",
562
+ "label": "What went well section"
563
+ },
564
+ {
565
+ "kind": "contains",
566
+ "file": "retro/engineering-retrospective.md",
567
+ "pattern": "^##\\s+Friction and hotspots",
568
+ "flags": "im",
569
+ "label": "Friction and hotspots section"
570
+ },
571
+ {
572
+ "kind": "contains",
573
+ "file": "retro/engineering-retrospective.md",
574
+ "pattern": "^##\\s+Collaboration and growth",
575
+ "flags": "im",
576
+ "label": "Collaboration and growth section"
577
+ },
578
+ {
579
+ "kind": "contains",
580
+ "file": "retro/engineering-retrospective.md",
581
+ "pattern": "^##\\s+Experiments",
582
+ "flags": "im",
583
+ "label": "Experiments section"
584
+ },
585
+ {
586
+ "kind": "contains",
587
+ "file": "retro/engineering-retrospective.md",
588
+ "pattern": "^##\\s+Evidence limits",
589
+ "flags": "im",
590
+ "label": "Evidence limits section"
591
+ }
592
+ ],
593
+ "onReject": "repair",
594
+ "maxAttempts": 3
595
+ },
596
+ "next": "evaluate",
597
+ "toolPolicy": {
598
+ "disallowBuiltinToolsets": [
599
+ "ai-apps",
600
+ "archives",
601
+ "audio",
602
+ "browser-automation",
603
+ "code-execution",
604
+ "craftbooks",
605
+ "data-tables",
606
+ "entity-intel",
607
+ "git",
608
+ "image-intel",
609
+ "images",
610
+ "role-delegation",
611
+ "role-delegation-escalation",
612
+ "security-intel",
613
+ "team-management",
614
+ "videos",
615
+ "web"
616
+ ],
617
+ "outputMedium": "workspace",
618
+ "additionalOutputMedia": [
619
+ "artifact",
620
+ "task-note"
621
+ ]
622
+ }
623
+ },
624
+ {
625
+ "id": "finish",
626
+ "name": "Finish",
627
+ "description": "All deterministic and reviewer criteria passed.",
628
+ "prompt": "The independent review passed. Read `reviews/engineering-retrospective-review.md` with `read_artifact`, then use `write_task_note` to record a concise DONE summary with the final deliverable paths (`retro/engineering-retrospective.md`, `retro/scope.md`, `retro/evidence.md`) and the evidence that each acceptance criterion passed. Report DONE without starting new work.",
629
+ "suggestedRole": "project lead",
630
+ "consumes": [
631
+ {
632
+ "file": "reviews/engineering-retrospective-review.md",
633
+ "artifact": true
634
+ }
635
+ ],
636
+ "terminal": true,
637
+ "toolPolicy": {
638
+ "disallowBuiltinToolsets": [
639
+ "ai-apps",
640
+ "archives",
641
+ "audio",
642
+ "browser-automation",
643
+ "code-execution",
644
+ "craftbooks",
645
+ "data-tables",
646
+ "entity-intel",
647
+ "git",
648
+ "image-intel",
649
+ "images",
650
+ "role-delegation",
651
+ "role-delegation-escalation",
652
+ "security-intel",
653
+ "team-management",
654
+ "videos",
655
+ "web",
656
+ "workspace-fs-write"
657
+ ],
658
+ "outputMedium": "task-note"
659
+ }
660
+ },
661
+ {
662
+ "id": "needs-user",
663
+ "name": "Escalate unresolved concerns",
664
+ "description": "The bounded repair loop ended without a defensible pass.",
665
+ "prompt": "The deliverable did not pass after 3 review rounds. Do not claim success. Read `reviews/engineering-retrospective-review.md` with `read_artifact`, then use `write_task_note` to record DONE_WITH_CONCERNS: the unmet criteria, what was attempted, the affected paths, and the smallest user decision or missing input needed to continue.",
666
+ "suggestedRole": "project lead",
667
+ "consumes": [
668
+ {
669
+ "file": "reviews/engineering-retrospective-review.md",
670
+ "artifact": true
671
+ }
672
+ ],
673
+ "terminal": true,
674
+ "toolPolicy": {
675
+ "disallowBuiltinToolsets": [
676
+ "ai-apps",
677
+ "archives",
678
+ "audio",
679
+ "browser-automation",
680
+ "code-execution",
681
+ "craftbooks",
682
+ "data-tables",
683
+ "entity-intel",
684
+ "git",
685
+ "image-intel",
686
+ "images",
687
+ "role-delegation",
688
+ "role-delegation-escalation",
689
+ "security-intel",
690
+ "team-management",
691
+ "videos",
692
+ "web",
693
+ "workspace-fs-write"
694
+ ],
695
+ "outputMedium": "task-note"
696
+ }
697
+ }
698
+ ],
699
+ "version": "2.0.18",
700
+ "releasedAt": "2026-10-23T00:00:00Z",
701
+ "minGezelVersion": "1.26295"
702
+ }