tarsk 0.5.42 → 0.5.44

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 (107) hide show
  1. package/dist/bundled-skills/skill-creator/LICENSE.txt +202 -0
  2. package/dist/bundled-skills/skill-creator/SKILL.md +510 -0
  3. package/dist/bundled-skills/skill-creator/agents/analyzer.md +283 -0
  4. package/dist/bundled-skills/skill-creator/agents/comparator.md +203 -0
  5. package/dist/bundled-skills/skill-creator/agents/grader.md +227 -0
  6. package/dist/bundled-skills/skill-creator/assets/eval_review.html +292 -0
  7. package/dist/bundled-skills/skill-creator/eval-viewer/generate_review.js +544 -0
  8. package/dist/bundled-skills/skill-creator/eval-viewer/viewer.html +1478 -0
  9. package/dist/bundled-skills/skill-creator/package.json +3 -0
  10. package/dist/bundled-skills/skill-creator/references/schemas.md +423 -0
  11. package/dist/bundled-skills/skill-creator/scripts/aggregate_benchmark.js +377 -0
  12. package/dist/bundled-skills/skill-creator/scripts/generate_report.js +345 -0
  13. package/dist/bundled-skills/skill-creator/scripts/improve_description.js +263 -0
  14. package/dist/bundled-skills/skill-creator/scripts/package_skill.js +147 -0
  15. package/dist/bundled-skills/skill-creator/scripts/quick_validate.js +132 -0
  16. package/dist/bundled-skills/skill-creator/scripts/run_eval.js +345 -0
  17. package/dist/bundled-skills/skill-creator/scripts/run_loop.js +411 -0
  18. package/dist/bundled-skills/skill-creator/scripts/utils.js +60 -0
  19. package/dist/index.js +3779 -2332
  20. package/dist/public/assets/{account-view-BAm4Az95.js → account-view-CTizS7Yb.js} +1 -1
  21. package/dist/public/assets/{api-C44iPrsZ.js → api-Cuj9iSVv.js} +1 -1
  22. package/dist/public/assets/browser-tab-DSpOIu84.js +1 -0
  23. package/dist/public/assets/commit-dialog-kTaKOsNO.js +1 -0
  24. package/dist/public/assets/context-menu-DRXV-Suu.js +1 -0
  25. package/dist/public/assets/create-repo-dialog-gIZLk6LZ.js +1 -0
  26. package/dist/public/assets/dialogs-config-CxRnlUcQ.js +51 -0
  27. package/dist/public/assets/diff-view-B2OdJMRe.js +3 -0
  28. package/dist/public/assets/explorer-tab-view-fejcb7N1.js +2 -0
  29. package/dist/public/assets/explorer-tree-C2kLAwI0.js +1 -0
  30. package/dist/public/assets/explorer-view-BmKKHyrH.js +1 -0
  31. package/dist/public/assets/git-history-dialog-B2ABiCXZ.js +1 -0
  32. package/dist/public/assets/git-ops-button-Bxx_jyqR.js +2 -0
  33. package/dist/public/assets/history-view-DebwP9D7.js +9 -0
  34. package/dist/public/assets/index-C2_gO3dh.css +1 -0
  35. package/dist/public/assets/index-D9aY24hf.js +89 -0
  36. package/dist/public/assets/mcp-server-card-B6iwOybN.js +1 -0
  37. package/dist/public/assets/merged-pr-dialog-CObeSEaB.js +1 -0
  38. package/dist/public/assets/model-star-rating-BgdOyTTO.js +1 -0
  39. package/dist/public/assets/onboarding-BN_K08ma.js +1 -0
  40. package/dist/public/assets/project-settings-view-BDvHOmF8.js +1 -0
  41. package/dist/public/assets/providers-list-view-DydWz8z3.js +1 -0
  42. package/dist/public/assets/pull-request-dialog-LJhZpT8C.js +1 -0
  43. package/dist/public/assets/pull-with-changes-dialog-BPIj9wIk.js +1 -0
  44. package/dist/public/assets/push-before-pr-dialog-DzBp93KT.js +1 -0
  45. package/dist/public/assets/{radio-group-DkDRaQdF.js → radio-group-B9xMCZ1X.js} +1 -1
  46. package/dist/public/assets/react-vendor-CE5Dmjd0.js +16 -0
  47. package/dist/public/assets/settings-general-view-D_44BPVr.js +1 -0
  48. package/dist/public/assets/settings-instructions-view-Y6EK67-G.js +1 -0
  49. package/dist/public/assets/settings-list-BZDwK9bE.js +1 -0
  50. package/dist/public/assets/settings-mcp-servers-view-B8IqOOnN.js +5 -0
  51. package/dist/public/assets/{settings-models-skeleton-C5XrzM39.js → settings-models-skeleton-DAEnT4kC.js} +1 -1
  52. package/dist/public/assets/settings-models-view-CluPgRkw.js +1 -0
  53. package/dist/public/assets/settings-rules-view-CxHrCDwn.js +8 -0
  54. package/dist/public/assets/settings-skills-view-BE9u6FvJ.js +2 -0
  55. package/dist/public/assets/settings-slash-commands-view-CVOZ3GH3.js +1 -0
  56. package/dist/public/assets/settings-subagents-view-mguSf6zE.js +2 -0
  57. package/dist/public/assets/settings-system-prompt-view-0sXVxXh3.js +1 -0
  58. package/dist/public/assets/settings-view-BE8EW7s7.js +2 -0
  59. package/dist/public/assets/{skeleton-HsHVnOKO.js → skeleton-CVhaOA8k.js} +1 -1
  60. package/dist/public/assets/slug-utils-DGOwJkKI.js +1 -0
  61. package/dist/public/assets/terminal-panel-PjkgqbY6.js +1 -0
  62. package/dist/public/assets/{ui-components-CaeQlGTd.js → ui-components-DaffuSG7.js} +1 -1
  63. package/dist/public/assets/use-deferred-search-b843Ztu9.js +1 -0
  64. package/dist/public/assets/{utils-5mrXWXCs.js → utils-BIt9KCVx.js} +1 -1
  65. package/dist/public/assets/vosk-speech-CgILeNJR.js +2 -0
  66. package/dist/public/assets/{web-Gjw6klhQ.js → web-BBGaE-6B.js} +1 -1
  67. package/dist/public/assets/{web-NsuCXAqU.js → web-D6dBzWD1.js} +1 -1
  68. package/dist/public/index.html +8 -8
  69. package/package.json +4 -3
  70. package/dist/public/assets/browser-tab-DV6mFCbu.js +0 -1
  71. package/dist/public/assets/commit-dialog-DYdmiA4p.js +0 -1
  72. package/dist/public/assets/context-menu-BVP2PUoS.js +0 -1
  73. package/dist/public/assets/create-repo-dialog-DrGJUrGO.js +0 -1
  74. package/dist/public/assets/dialogs-config-BPzX42HH.js +0 -51
  75. package/dist/public/assets/diff-view-BnNtDcmG.js +0 -3
  76. package/dist/public/assets/explorer-tab-view-OGWG1dH9.js +0 -2
  77. package/dist/public/assets/explorer-tree--Ho2K8-i.js +0 -1
  78. package/dist/public/assets/explorer-view-Dw0Kyxb8.js +0 -1
  79. package/dist/public/assets/git-history-dialog-BpOpNbze.js +0 -1
  80. package/dist/public/assets/git-ops-button-DKOfNm4s.js +0 -2
  81. package/dist/public/assets/history-view-DwSqsTGI.js +0 -9
  82. package/dist/public/assets/index-BdLH7zyV.css +0 -1
  83. package/dist/public/assets/index-BqaiWs7x.js +0 -88
  84. package/dist/public/assets/mcp-server-card-BbAUiI-X.js +0 -1
  85. package/dist/public/assets/merged-pr-dialog-Cvo93bRH.js +0 -1
  86. package/dist/public/assets/onboarding-BmBbv0At.js +0 -1
  87. package/dist/public/assets/project-settings-view-D-8Ua1Tu.js +0 -1
  88. package/dist/public/assets/providers-list-view-Gm13Fagd.js +0 -1
  89. package/dist/public/assets/pull-request-dialog-BkzdP5F2.js +0 -1
  90. package/dist/public/assets/pull-with-changes-dialog-DQU7jHYL.js +0 -1
  91. package/dist/public/assets/push-before-pr-dialog-DII3gUVw.js +0 -1
  92. package/dist/public/assets/react-vendor-BmFalJ0W.js +0 -16
  93. package/dist/public/assets/settings-general-view-Br89Vrbv.js +0 -1
  94. package/dist/public/assets/settings-instructions-view-ByxlAb9U.js +0 -1
  95. package/dist/public/assets/settings-list-DSrSoTv7.js +0 -1
  96. package/dist/public/assets/settings-mcp-servers-view-U_la7C8z.js +0 -5
  97. package/dist/public/assets/settings-models-view-obQa4doG.js +0 -1
  98. package/dist/public/assets/settings-rules-view-Cd9WHEAE.js +0 -8
  99. package/dist/public/assets/settings-skills-view-B81njz98.js +0 -2
  100. package/dist/public/assets/settings-slash-commands-view-Ct8WC1Z0.js +0 -1
  101. package/dist/public/assets/settings-subagents-view-BwNTnGkz.js +0 -2
  102. package/dist/public/assets/settings-system-prompt-view-C4uLn68y.js +0 -1
  103. package/dist/public/assets/settings-view-DQW_9pnm.js +0 -2
  104. package/dist/public/assets/terminal-panel-wOltBu70.js +0 -2
  105. package/dist/public/assets/whisper-wasm-EGutPGND.js +0 -2
  106. package/dist/public/wasm/libmain-CWYJvMY5.js +0 -3318
  107. package/dist/public/wasm/libmain-D9-QM3iM.mjs +0 -3301
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "commonjs"
3
+ }
@@ -0,0 +1,423 @@
1
+ # JSON Schemas
2
+
3
+ This document defines the JSON schemas used by skill-creator.
4
+
5
+ ---
6
+
7
+ ## evals.json
8
+
9
+ Defines the evals for a skill. Located at `evals/evals.json` within the skill directory.
10
+
11
+ ```json
12
+ {
13
+ "skill_name": "example-skill",
14
+ "evals": [
15
+ {
16
+ "id": 1,
17
+ "prompt": "User's example prompt",
18
+ "expected_output": "Description of expected result",
19
+ "files": ["evals/files/sample1.pdf"],
20
+ "expectations": ["The output includes X", "The skill used script Y"]
21
+ }
22
+ ]
23
+ }
24
+ ```
25
+
26
+ **Fields:**
27
+
28
+ - `skill_name`: Name matching the skill's frontmatter
29
+ - `evals[].id`: Unique integer identifier
30
+ - `evals[].prompt`: The task to execute
31
+ - `evals[].expected_output`: Human-readable description of success
32
+ - `evals[].files`: Optional list of input file paths (relative to skill root)
33
+ - `evals[].expectations`: List of verifiable statements
34
+
35
+ ---
36
+
37
+ ## history.json
38
+
39
+ Tracks version progression in Improve mode. Located at workspace root.
40
+
41
+ ```json
42
+ {
43
+ "started_at": "2026-01-15T10:30:00Z",
44
+ "skill_name": "pdf",
45
+ "current_best": "v2",
46
+ "iterations": [
47
+ {
48
+ "version": "v0",
49
+ "parent": null,
50
+ "expectation_pass_rate": 0.65,
51
+ "grading_result": "baseline",
52
+ "is_current_best": false
53
+ },
54
+ {
55
+ "version": "v1",
56
+ "parent": "v0",
57
+ "expectation_pass_rate": 0.75,
58
+ "grading_result": "won",
59
+ "is_current_best": false
60
+ },
61
+ {
62
+ "version": "v2",
63
+ "parent": "v1",
64
+ "expectation_pass_rate": 0.85,
65
+ "grading_result": "won",
66
+ "is_current_best": true
67
+ }
68
+ ]
69
+ }
70
+ ```
71
+
72
+ **Fields:**
73
+
74
+ - `started_at`: ISO timestamp of when improvement started
75
+ - `skill_name`: Name of the skill being improved
76
+ - `current_best`: Version identifier of the best performer
77
+ - `iterations[].version`: Version identifier (v0, v1, ...)
78
+ - `iterations[].parent`: Parent version this was derived from
79
+ - `iterations[].expectation_pass_rate`: Pass rate from grading
80
+ - `iterations[].grading_result`: "baseline", "won", "lost", or "tie"
81
+ - `iterations[].is_current_best`: Whether this is the current best version
82
+
83
+ ---
84
+
85
+ ## grading.json
86
+
87
+ Output from the grader agent. Located at `<run-dir>/grading.json`.
88
+
89
+ ```json
90
+ {
91
+ "expectations": [
92
+ {
93
+ "text": "The output includes the name 'John Smith'",
94
+ "passed": true,
95
+ "evidence": "Found in transcript Step 3: 'Extracted names: John Smith, Sarah Johnson'"
96
+ },
97
+ {
98
+ "text": "The spreadsheet has a SUM formula in cell B10",
99
+ "passed": false,
100
+ "evidence": "No spreadsheet was created. The output was a text file."
101
+ }
102
+ ],
103
+ "summary": {
104
+ "passed": 2,
105
+ "failed": 1,
106
+ "total": 3,
107
+ "pass_rate": 0.67
108
+ },
109
+ "execution_metrics": {
110
+ "tool_calls": {
111
+ "Read": 5,
112
+ "Write": 2,
113
+ "Bash": 8
114
+ },
115
+ "total_tool_calls": 15,
116
+ "total_steps": 6,
117
+ "errors_encountered": 0,
118
+ "output_chars": 12450,
119
+ "transcript_chars": 3200
120
+ },
121
+ "timing": {
122
+ "executor_duration_seconds": 165.0,
123
+ "grader_duration_seconds": 26.0,
124
+ "total_duration_seconds": 191.0
125
+ },
126
+ "claims": [
127
+ {
128
+ "claim": "The form has 12 fillable fields",
129
+ "type": "factual",
130
+ "verified": true,
131
+ "evidence": "Counted 12 fields in field_info.json"
132
+ }
133
+ ],
134
+ "user_notes_summary": {
135
+ "uncertainties": ["Used 2023 data, may be stale"],
136
+ "needs_review": [],
137
+ "workarounds": ["Fell back to text overlay for non-fillable fields"]
138
+ },
139
+ "eval_feedback": {
140
+ "suggestions": [
141
+ {
142
+ "assertion": "The output includes the name 'John Smith'",
143
+ "reason": "A hallucinated document that mentions the name would also pass"
144
+ }
145
+ ],
146
+ "overall": "Assertions check presence but not correctness."
147
+ }
148
+ }
149
+ ```
150
+
151
+ **Fields:**
152
+
153
+ - `expectations[]`: Graded expectations with evidence
154
+ - `summary`: Aggregate pass/fail counts
155
+ - `execution_metrics`: Tool usage and output size (from executor's metrics.json)
156
+ - `timing`: Wall clock timing (from timing.json)
157
+ - `claims`: Extracted and verified claims from the output
158
+ - `user_notes_summary`: Issues flagged by the executor
159
+ - `eval_feedback`: (optional) Improvement suggestions for the evals, only present when the grader identifies issues worth raising
160
+
161
+ ---
162
+
163
+ ## metrics.json
164
+
165
+ Output from the executor agent. Located at `<run-dir>/outputs/metrics.json`.
166
+
167
+ ```json
168
+ {
169
+ "tool_calls": {
170
+ "Read": 5,
171
+ "Write": 2,
172
+ "Bash": 8,
173
+ "Edit": 1,
174
+ "Glob": 2,
175
+ "Grep": 0
176
+ },
177
+ "total_tool_calls": 18,
178
+ "total_steps": 6,
179
+ "files_created": ["filled_form.pdf", "field_values.json"],
180
+ "errors_encountered": 0,
181
+ "output_chars": 12450,
182
+ "transcript_chars": 3200
183
+ }
184
+ ```
185
+
186
+ **Fields:**
187
+
188
+ - `tool_calls`: Count per tool type
189
+ - `total_tool_calls`: Sum of all tool calls
190
+ - `total_steps`: Number of major execution steps
191
+ - `files_created`: List of output files created
192
+ - `errors_encountered`: Number of errors during execution
193
+ - `output_chars`: Total character count of output files
194
+ - `transcript_chars`: Character count of transcript
195
+
196
+ ---
197
+
198
+ ## timing.json
199
+
200
+ Wall clock timing for a run. Located at `<run-dir>/timing.json`.
201
+
202
+ **How to capture:** When a subagent task completes, the task notification includes `total_tokens` and `duration_ms`. Save these immediately — they are not persisted anywhere else and cannot be recovered after the fact.
203
+
204
+ ```json
205
+ {
206
+ "total_tokens": 84852,
207
+ "duration_ms": 23332,
208
+ "total_duration_seconds": 23.3,
209
+ "executor_start": "2026-01-15T10:30:00Z",
210
+ "executor_end": "2026-01-15T10:32:45Z",
211
+ "executor_duration_seconds": 165.0,
212
+ "grader_start": "2026-01-15T10:32:46Z",
213
+ "grader_end": "2026-01-15T10:33:12Z",
214
+ "grader_duration_seconds": 26.0
215
+ }
216
+ ```
217
+
218
+ ---
219
+
220
+ ## benchmark.json
221
+
222
+ Output from Benchmark mode. Located at `benchmarks/<timestamp>/benchmark.json`.
223
+
224
+ ```json
225
+ {
226
+ "metadata": {
227
+ "skill_name": "pdf",
228
+ "skill_path": "/path/to/pdf",
229
+ "executor_model": "Tarsk-sonnet-4-20250514",
230
+ "analyzer_model": "most-capable-model",
231
+ "timestamp": "2026-01-15T10:30:00Z",
232
+ "evals_run": [1, 2, 3],
233
+ "runs_per_configuration": 3
234
+ },
235
+
236
+ "runs": [
237
+ {
238
+ "eval_id": 1,
239
+ "eval_name": "Ocean",
240
+ "configuration": "with_skill",
241
+ "run_number": 1,
242
+ "result": {
243
+ "pass_rate": 0.85,
244
+ "passed": 6,
245
+ "failed": 1,
246
+ "total": 7,
247
+ "time_seconds": 42.5,
248
+ "tokens": 3800,
249
+ "tool_calls": 18,
250
+ "errors": 0
251
+ },
252
+ "expectations": [{ "text": "...", "passed": true, "evidence": "..." }],
253
+ "notes": ["Used 2023 data, may be stale", "Fell back to text overlay for non-fillable fields"]
254
+ }
255
+ ],
256
+
257
+ "run_summary": {
258
+ "with_skill": {
259
+ "pass_rate": { "mean": 0.85, "stddev": 0.05, "min": 0.8, "max": 0.9 },
260
+ "time_seconds": { "mean": 45.0, "stddev": 12.0, "min": 32.0, "max": 58.0 },
261
+ "tokens": { "mean": 3800, "stddev": 400, "min": 3200, "max": 4100 }
262
+ },
263
+ "without_skill": {
264
+ "pass_rate": { "mean": 0.35, "stddev": 0.08, "min": 0.28, "max": 0.45 },
265
+ "time_seconds": { "mean": 32.0, "stddev": 8.0, "min": 24.0, "max": 42.0 },
266
+ "tokens": { "mean": 2100, "stddev": 300, "min": 1800, "max": 2500 }
267
+ },
268
+ "delta": {
269
+ "pass_rate": "+0.50",
270
+ "time_seconds": "+13.0",
271
+ "tokens": "+1700"
272
+ }
273
+ },
274
+
275
+ "notes": [
276
+ "Assertion 'Output is a PDF file' passes 100% in both configurations - may not differentiate skill value",
277
+ "Eval 3 shows high variance (50% ± 40%) - may be flaky or model-dependent",
278
+ "Without-skill runs consistently fail on table extraction expectations",
279
+ "Skill adds 13s average execution time but improves pass rate by 50%"
280
+ ]
281
+ }
282
+ ```
283
+
284
+ **Fields:**
285
+
286
+ - `metadata`: Information about the benchmark run
287
+ - `skill_name`: Name of the skill
288
+ - `timestamp`: When the benchmark was run
289
+ - `evals_run`: List of eval names or IDs
290
+ - `runs_per_configuration`: Number of runs per config (e.g. 3)
291
+ - `runs[]`: Individual run results
292
+ - `eval_id`: Numeric eval identifier
293
+ - `eval_name`: Human-readable eval name (used as section header in the viewer)
294
+ - `configuration`: Must be `"with_skill"` or `"without_skill"` (the viewer uses this exact string for grouping and color coding)
295
+ - `run_number`: Integer run number (1, 2, 3...)
296
+ - `result`: Nested object with `pass_rate`, `passed`, `total`, `time_seconds`, `tokens`, `errors`
297
+ - `run_summary`: Statistical aggregates per configuration
298
+ - `with_skill` / `without_skill`: Each contains `pass_rate`, `time_seconds`, `tokens` objects with `mean` and `stddev` fields
299
+ - `delta`: Difference strings like `"+0.50"`, `"+13.0"`, `"+1700"`
300
+ - `notes`: Freeform observations from the analyzer
301
+
302
+ **Important:** The viewer reads these field names exactly. Using `config` instead of `configuration`, or putting `pass_rate` at the top level of a run instead of nested under `result`, will cause the viewer to show empty/zero values. Always reference this schema when generating benchmark.json manually.
303
+
304
+ ---
305
+
306
+ ## comparison.json
307
+
308
+ Output from blind comparator. Located at `<grading-dir>/comparison-N.json`.
309
+
310
+ ```json
311
+ {
312
+ "winner": "A",
313
+ "reasoning": "Output A provides a complete solution with proper formatting and all required fields. Output B is missing the date field and has formatting inconsistencies.",
314
+ "rubric": {
315
+ "A": {
316
+ "content": {
317
+ "correctness": 5,
318
+ "completeness": 5,
319
+ "accuracy": 4
320
+ },
321
+ "structure": {
322
+ "organization": 4,
323
+ "formatting": 5,
324
+ "usability": 4
325
+ },
326
+ "content_score": 4.7,
327
+ "structure_score": 4.3,
328
+ "overall_score": 9.0
329
+ },
330
+ "B": {
331
+ "content": {
332
+ "correctness": 3,
333
+ "completeness": 2,
334
+ "accuracy": 3
335
+ },
336
+ "structure": {
337
+ "organization": 3,
338
+ "formatting": 2,
339
+ "usability": 3
340
+ },
341
+ "content_score": 2.7,
342
+ "structure_score": 2.7,
343
+ "overall_score": 5.4
344
+ }
345
+ },
346
+ "output_quality": {
347
+ "A": {
348
+ "score": 9,
349
+ "strengths": ["Complete solution", "Well-formatted", "All fields present"],
350
+ "weaknesses": ["Minor style inconsistency in header"]
351
+ },
352
+ "B": {
353
+ "score": 5,
354
+ "strengths": ["Readable output", "Correct basic structure"],
355
+ "weaknesses": ["Missing date field", "Formatting inconsistencies", "Partial data extraction"]
356
+ }
357
+ },
358
+ "expectation_results": {
359
+ "A": {
360
+ "passed": 4,
361
+ "total": 5,
362
+ "pass_rate": 0.8,
363
+ "details": [{ "text": "Output includes name", "passed": true }]
364
+ },
365
+ "B": {
366
+ "passed": 3,
367
+ "total": 5,
368
+ "pass_rate": 0.6,
369
+ "details": [{ "text": "Output includes name", "passed": true }]
370
+ }
371
+ }
372
+ }
373
+ ```
374
+
375
+ ---
376
+
377
+ ## analysis.json
378
+
379
+ Output from post-hoc analyzer. Located at `<grading-dir>/analysis.json`.
380
+
381
+ ```json
382
+ {
383
+ "comparison_summary": {
384
+ "winner": "A",
385
+ "winner_skill": "path/to/winner/skill",
386
+ "loser_skill": "path/to/loser/skill",
387
+ "comparator_reasoning": "Brief summary of why comparator chose winner"
388
+ },
389
+ "winner_strengths": [
390
+ "Clear step-by-step instructions for handling multi-page documents",
391
+ "Included validation script that caught formatting errors"
392
+ ],
393
+ "loser_weaknesses": [
394
+ "Vague instruction 'process the document appropriately' led to inconsistent behavior",
395
+ "No script for validation, agent had to improvise"
396
+ ],
397
+ "instruction_following": {
398
+ "winner": {
399
+ "score": 9,
400
+ "issues": ["Minor: skipped optional logging step"]
401
+ },
402
+ "loser": {
403
+ "score": 6,
404
+ "issues": [
405
+ "Did not use the skill's formatting template",
406
+ "Invented own approach instead of following step 3"
407
+ ]
408
+ }
409
+ },
410
+ "improvement_suggestions": [
411
+ {
412
+ "priority": "high",
413
+ "category": "instructions",
414
+ "suggestion": "Replace 'process the document appropriately' with explicit steps",
415
+ "expected_impact": "Would eliminate ambiguity that caused inconsistent behavior"
416
+ }
417
+ ],
418
+ "transcript_insights": {
419
+ "winner_execution_pattern": "Read skill -> Followed 5-step process -> Used validation script",
420
+ "loser_execution_pattern": "Read skill -> Unclear on approach -> Tried 3 different methods"
421
+ }
422
+ }
423
+ ```