@firedrill-tools/slack 0.1.1
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/LICENSE +201 -0
- package/README.md +369 -0
- package/firedrill/agent.target.json +17 -0
- package/firedrill/baseline.scenario.json +5 -0
- package/firedrill/bounds.scenario.json +112 -0
- package/firedrill/conformance.suite.json +21 -0
- package/firedrill/history-unavailable.scenario.json +11 -0
- package/firedrill/open-long-handles.scenario.json +263 -0
- package/firedrill/open-member-bound.scenario.json +24 -0
- package/firedrill/post-rate-limited.scenario.json +11 -0
- package/firedrill/response-budget.scenario.json +24 -0
- package/firedrill/slack-bounds.drill.json +428 -0
- package/firedrill/slack-denied.drill.json +74 -0
- package/firedrill/slack-fresh-install.drill.json +132 -0
- package/firedrill/slack-history-unavailable.drill.json +83 -0
- package/firedrill/slack-invalid-auth.drill.json +408 -0
- package/firedrill/slack-mcp-aliases.drill.json +219 -0
- package/firedrill/slack-open-long-handles.drill.json +82 -0
- package/firedrill/slack-open-member-bound.drill.json +135 -0
- package/firedrill/slack-post-rate-limited.drill.json +96 -0
- package/firedrill/slack-response-budget.drill.json +118 -0
- package/firedrill/slack-thread-many-repliers.drill.json +100 -0
- package/firedrill/slack-ts-sequence-full.drill.json +165 -0
- package/firedrill/slack-visibility.drill.json +110 -0
- package/firedrill/slack-web-api-flow.drill.json +896 -0
- package/firedrill/thread-many-repliers.scenario.json +79 -0
- package/firedrill/tools/slack/app/assets/ATTRIBUTION.md +40 -0
- package/firedrill/tools/slack/app/assets/fonts/OFL.txt +93 -0
- package/firedrill/tools/slack/app/assets/fonts/lato-latin-400.woff2 +0 -0
- package/firedrill/tools/slack/app/assets/fonts/lato-latin-700.woff2 +0 -0
- package/firedrill/tools/slack/app/assets/fonts/lato-latin-900.woff2 +0 -0
- package/firedrill/tools/slack/app/assets/slack-wordmark.svg +1 -0
- package/firedrill/tools/slack/app/assets/slack.svg +1 -0
- package/firedrill/tools/slack/app/site/app.js +2202 -0
- package/firedrill/tools/slack/app/site/assets/fonts/lato-latin-400.woff2 +0 -0
- package/firedrill/tools/slack/app/site/assets/fonts/lato-latin-700.woff2 +0 -0
- package/firedrill/tools/slack/app/site/assets/fonts/lato-latin-900.woff2 +0 -0
- package/firedrill/tools/slack/app/site/assets/slack-wordmark.svg +1 -0
- package/firedrill/tools/slack/app/site/assets/slack.svg +1 -0
- package/firedrill/tools/slack/app/site/chrome.css +73 -0
- package/firedrill/tools/slack/app/site/chrome.js +96 -0
- package/firedrill/tools/slack/app/site/icons.js +96 -0
- package/firedrill/tools/slack/app/site/index.html +253 -0
- package/firedrill/tools/slack/app/site/styles.css +2719 -0
- package/firedrill/tools/slack/app/site/ui.js +491 -0
- package/firedrill/tools/slack/behavior.mjs +1171 -0
- package/firedrill/tools/slack/lib/access.mjs +138 -0
- package/firedrill/tools/slack/lib/budget.mjs +67 -0
- package/firedrill/tools/slack/lib/ids.mjs +146 -0
- package/firedrill/tools/slack/lib/search.mjs +172 -0
- package/firedrill/tools/slack/lib/wire.mjs +144 -0
- package/firedrill/tools/slack/slack.tool.json +6114 -0
- package/firedrill/ts-sequence-full.scenario.json +38 -0
- package/firedrill/world.json +2008 -0
- package/firedrill.json +5 -0
- package/package.json +62 -0
- package/starter.json +1562 -0
- package/test/conformance.mjs +1166 -0
|
@@ -0,0 +1,408 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"id": "slack-invalid-auth",
|
|
4
|
+
"title": "A token that resolves to no workspace member fails invalid_auth on every operation",
|
|
5
|
+
"targetId": "conformance-agent",
|
|
6
|
+
"scenarioId": "baseline",
|
|
7
|
+
"actorId": "ghost",
|
|
8
|
+
"task": {
|
|
9
|
+
"instruction": "Run the invalid-auth conformance flow against the synthetic Slack Tool and fail loudly on any unexpected status or body."
|
|
10
|
+
},
|
|
11
|
+
"assertions": [
|
|
12
|
+
{
|
|
13
|
+
"id": "auth-test-invalid-auth",
|
|
14
|
+
"kind": "operation.count",
|
|
15
|
+
"operation": {
|
|
16
|
+
"packageId": "slack",
|
|
17
|
+
"operationId": "auth.test"
|
|
18
|
+
},
|
|
19
|
+
"outcomes": [
|
|
20
|
+
"tool_error"
|
|
21
|
+
],
|
|
22
|
+
"comparison": {
|
|
23
|
+
"operator": "equals",
|
|
24
|
+
"value": 1
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"id": "users-list-invalid-auth",
|
|
29
|
+
"kind": "operation.count",
|
|
30
|
+
"operation": {
|
|
31
|
+
"packageId": "slack",
|
|
32
|
+
"operationId": "users.list"
|
|
33
|
+
},
|
|
34
|
+
"outcomes": [
|
|
35
|
+
"tool_error"
|
|
36
|
+
],
|
|
37
|
+
"comparison": {
|
|
38
|
+
"operator": "equals",
|
|
39
|
+
"value": 1
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"id": "users-info-invalid-auth",
|
|
44
|
+
"kind": "operation.count",
|
|
45
|
+
"operation": {
|
|
46
|
+
"packageId": "slack",
|
|
47
|
+
"operationId": "users.info"
|
|
48
|
+
},
|
|
49
|
+
"outcomes": [
|
|
50
|
+
"tool_error"
|
|
51
|
+
],
|
|
52
|
+
"comparison": {
|
|
53
|
+
"operator": "equals",
|
|
54
|
+
"value": 1
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"id": "users-profile-get-invalid-auth",
|
|
59
|
+
"kind": "operation.count",
|
|
60
|
+
"operation": {
|
|
61
|
+
"packageId": "slack",
|
|
62
|
+
"operationId": "users.profile.get"
|
|
63
|
+
},
|
|
64
|
+
"outcomes": [
|
|
65
|
+
"tool_error"
|
|
66
|
+
],
|
|
67
|
+
"comparison": {
|
|
68
|
+
"operator": "equals",
|
|
69
|
+
"value": 1
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"id": "conversations-list-invalid-auth",
|
|
74
|
+
"kind": "operation.count",
|
|
75
|
+
"operation": {
|
|
76
|
+
"packageId": "slack",
|
|
77
|
+
"operationId": "conversations.list"
|
|
78
|
+
},
|
|
79
|
+
"outcomes": [
|
|
80
|
+
"tool_error"
|
|
81
|
+
],
|
|
82
|
+
"comparison": {
|
|
83
|
+
"operator": "equals",
|
|
84
|
+
"value": 1
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"id": "conversations-info-invalid-auth",
|
|
89
|
+
"kind": "operation.count",
|
|
90
|
+
"operation": {
|
|
91
|
+
"packageId": "slack",
|
|
92
|
+
"operationId": "conversations.info"
|
|
93
|
+
},
|
|
94
|
+
"outcomes": [
|
|
95
|
+
"tool_error"
|
|
96
|
+
],
|
|
97
|
+
"comparison": {
|
|
98
|
+
"operator": "equals",
|
|
99
|
+
"value": 1
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"id": "conversations-members-invalid-auth",
|
|
104
|
+
"kind": "operation.count",
|
|
105
|
+
"operation": {
|
|
106
|
+
"packageId": "slack",
|
|
107
|
+
"operationId": "conversations.members"
|
|
108
|
+
},
|
|
109
|
+
"outcomes": [
|
|
110
|
+
"tool_error"
|
|
111
|
+
],
|
|
112
|
+
"comparison": {
|
|
113
|
+
"operator": "equals",
|
|
114
|
+
"value": 1
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"id": "conversations-create-invalid-auth",
|
|
119
|
+
"kind": "operation.count",
|
|
120
|
+
"operation": {
|
|
121
|
+
"packageId": "slack",
|
|
122
|
+
"operationId": "conversations.create"
|
|
123
|
+
},
|
|
124
|
+
"outcomes": [
|
|
125
|
+
"tool_error"
|
|
126
|
+
],
|
|
127
|
+
"comparison": {
|
|
128
|
+
"operator": "equals",
|
|
129
|
+
"value": 1
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"id": "conversations-join-invalid-auth",
|
|
134
|
+
"kind": "operation.count",
|
|
135
|
+
"operation": {
|
|
136
|
+
"packageId": "slack",
|
|
137
|
+
"operationId": "conversations.join"
|
|
138
|
+
},
|
|
139
|
+
"outcomes": [
|
|
140
|
+
"tool_error"
|
|
141
|
+
],
|
|
142
|
+
"comparison": {
|
|
143
|
+
"operator": "equals",
|
|
144
|
+
"value": 1
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"id": "conversations-invite-invalid-auth",
|
|
149
|
+
"kind": "operation.count",
|
|
150
|
+
"operation": {
|
|
151
|
+
"packageId": "slack",
|
|
152
|
+
"operationId": "conversations.invite"
|
|
153
|
+
},
|
|
154
|
+
"outcomes": [
|
|
155
|
+
"tool_error"
|
|
156
|
+
],
|
|
157
|
+
"comparison": {
|
|
158
|
+
"operator": "equals",
|
|
159
|
+
"value": 1
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"id": "conversations-open-invalid-auth",
|
|
164
|
+
"kind": "operation.count",
|
|
165
|
+
"operation": {
|
|
166
|
+
"packageId": "slack",
|
|
167
|
+
"operationId": "conversations.open"
|
|
168
|
+
},
|
|
169
|
+
"outcomes": [
|
|
170
|
+
"tool_error"
|
|
171
|
+
],
|
|
172
|
+
"comparison": {
|
|
173
|
+
"operator": "equals",
|
|
174
|
+
"value": 1
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"id": "conversations-archive-invalid-auth",
|
|
179
|
+
"kind": "operation.count",
|
|
180
|
+
"operation": {
|
|
181
|
+
"packageId": "slack",
|
|
182
|
+
"operationId": "conversations.archive"
|
|
183
|
+
},
|
|
184
|
+
"outcomes": [
|
|
185
|
+
"tool_error"
|
|
186
|
+
],
|
|
187
|
+
"comparison": {
|
|
188
|
+
"operator": "equals",
|
|
189
|
+
"value": 1
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"id": "conversations-set-topic-invalid-auth",
|
|
194
|
+
"kind": "operation.count",
|
|
195
|
+
"operation": {
|
|
196
|
+
"packageId": "slack",
|
|
197
|
+
"operationId": "conversations.set-topic"
|
|
198
|
+
},
|
|
199
|
+
"outcomes": [
|
|
200
|
+
"tool_error"
|
|
201
|
+
],
|
|
202
|
+
"comparison": {
|
|
203
|
+
"operator": "equals",
|
|
204
|
+
"value": 1
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"id": "conversations-history-invalid-auth",
|
|
209
|
+
"kind": "operation.count",
|
|
210
|
+
"operation": {
|
|
211
|
+
"packageId": "slack",
|
|
212
|
+
"operationId": "conversations.history"
|
|
213
|
+
},
|
|
214
|
+
"outcomes": [
|
|
215
|
+
"tool_error"
|
|
216
|
+
],
|
|
217
|
+
"comparison": {
|
|
218
|
+
"operator": "equals",
|
|
219
|
+
"value": 1
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"id": "conversations-replies-invalid-auth",
|
|
224
|
+
"kind": "operation.count",
|
|
225
|
+
"operation": {
|
|
226
|
+
"packageId": "slack",
|
|
227
|
+
"operationId": "conversations.replies"
|
|
228
|
+
},
|
|
229
|
+
"outcomes": [
|
|
230
|
+
"tool_error"
|
|
231
|
+
],
|
|
232
|
+
"comparison": {
|
|
233
|
+
"operator": "equals",
|
|
234
|
+
"value": 1
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"id": "chat-post-message-invalid-auth",
|
|
239
|
+
"kind": "operation.count",
|
|
240
|
+
"operation": {
|
|
241
|
+
"packageId": "slack",
|
|
242
|
+
"operationId": "chat.post-message"
|
|
243
|
+
},
|
|
244
|
+
"outcomes": [
|
|
245
|
+
"tool_error"
|
|
246
|
+
],
|
|
247
|
+
"comparison": {
|
|
248
|
+
"operator": "equals",
|
|
249
|
+
"value": 1
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"id": "chat-reply-invalid-auth",
|
|
254
|
+
"kind": "operation.count",
|
|
255
|
+
"operation": {
|
|
256
|
+
"packageId": "slack",
|
|
257
|
+
"operationId": "chat.reply"
|
|
258
|
+
},
|
|
259
|
+
"outcomes": [
|
|
260
|
+
"tool_error"
|
|
261
|
+
],
|
|
262
|
+
"comparison": {
|
|
263
|
+
"operator": "equals",
|
|
264
|
+
"value": 1
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"id": "chat-update-invalid-auth",
|
|
269
|
+
"kind": "operation.count",
|
|
270
|
+
"operation": {
|
|
271
|
+
"packageId": "slack",
|
|
272
|
+
"operationId": "chat.update"
|
|
273
|
+
},
|
|
274
|
+
"outcomes": [
|
|
275
|
+
"tool_error"
|
|
276
|
+
],
|
|
277
|
+
"comparison": {
|
|
278
|
+
"operator": "equals",
|
|
279
|
+
"value": 1
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"id": "chat-delete-invalid-auth",
|
|
284
|
+
"kind": "operation.count",
|
|
285
|
+
"operation": {
|
|
286
|
+
"packageId": "slack",
|
|
287
|
+
"operationId": "chat.delete"
|
|
288
|
+
},
|
|
289
|
+
"outcomes": [
|
|
290
|
+
"tool_error"
|
|
291
|
+
],
|
|
292
|
+
"comparison": {
|
|
293
|
+
"operator": "equals",
|
|
294
|
+
"value": 1
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"id": "reactions-add-invalid-auth",
|
|
299
|
+
"kind": "operation.count",
|
|
300
|
+
"operation": {
|
|
301
|
+
"packageId": "slack",
|
|
302
|
+
"operationId": "reactions.add"
|
|
303
|
+
},
|
|
304
|
+
"outcomes": [
|
|
305
|
+
"tool_error"
|
|
306
|
+
],
|
|
307
|
+
"comparison": {
|
|
308
|
+
"operator": "equals",
|
|
309
|
+
"value": 1
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"id": "reactions-remove-invalid-auth",
|
|
314
|
+
"kind": "operation.count",
|
|
315
|
+
"operation": {
|
|
316
|
+
"packageId": "slack",
|
|
317
|
+
"operationId": "reactions.remove"
|
|
318
|
+
},
|
|
319
|
+
"outcomes": [
|
|
320
|
+
"tool_error"
|
|
321
|
+
],
|
|
322
|
+
"comparison": {
|
|
323
|
+
"operator": "equals",
|
|
324
|
+
"value": 1
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"id": "pins-add-invalid-auth",
|
|
329
|
+
"kind": "operation.count",
|
|
330
|
+
"operation": {
|
|
331
|
+
"packageId": "slack",
|
|
332
|
+
"operationId": "pins.add"
|
|
333
|
+
},
|
|
334
|
+
"outcomes": [
|
|
335
|
+
"tool_error"
|
|
336
|
+
],
|
|
337
|
+
"comparison": {
|
|
338
|
+
"operator": "equals",
|
|
339
|
+
"value": 1
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"id": "pins-remove-invalid-auth",
|
|
344
|
+
"kind": "operation.count",
|
|
345
|
+
"operation": {
|
|
346
|
+
"packageId": "slack",
|
|
347
|
+
"operationId": "pins.remove"
|
|
348
|
+
},
|
|
349
|
+
"outcomes": [
|
|
350
|
+
"tool_error"
|
|
351
|
+
],
|
|
352
|
+
"comparison": {
|
|
353
|
+
"operator": "equals",
|
|
354
|
+
"value": 1
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"id": "pins-list-invalid-auth",
|
|
359
|
+
"kind": "operation.count",
|
|
360
|
+
"operation": {
|
|
361
|
+
"packageId": "slack",
|
|
362
|
+
"operationId": "pins.list"
|
|
363
|
+
},
|
|
364
|
+
"outcomes": [
|
|
365
|
+
"tool_error"
|
|
366
|
+
],
|
|
367
|
+
"comparison": {
|
|
368
|
+
"operator": "equals",
|
|
369
|
+
"value": 1
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"id": "search-messages-invalid-auth",
|
|
374
|
+
"kind": "operation.count",
|
|
375
|
+
"operation": {
|
|
376
|
+
"packageId": "slack",
|
|
377
|
+
"operationId": "search.messages"
|
|
378
|
+
},
|
|
379
|
+
"outcomes": [
|
|
380
|
+
"tool_error"
|
|
381
|
+
],
|
|
382
|
+
"comparison": {
|
|
383
|
+
"operator": "equals",
|
|
384
|
+
"value": 1
|
|
385
|
+
}
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"id": "memberships-untouched",
|
|
389
|
+
"kind": "state.count",
|
|
390
|
+
"packageId": "slack",
|
|
391
|
+
"namespace": "memberships",
|
|
392
|
+
"comparison": {
|
|
393
|
+
"operator": "equals",
|
|
394
|
+
"value": 30
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"id": "messages-untouched",
|
|
399
|
+
"kind": "state.count",
|
|
400
|
+
"packageId": "slack",
|
|
401
|
+
"namespace": "messages",
|
|
402
|
+
"comparison": {
|
|
403
|
+
"operator": "equals",
|
|
404
|
+
"value": 38
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
]
|
|
408
|
+
}
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"id": "slack-mcp-aliases",
|
|
4
|
+
"title": "Reference Slack MCP tool names resolve to the same operations, state and errors",
|
|
5
|
+
"targetId": "conformance-agent",
|
|
6
|
+
"scenarioId": "baseline",
|
|
7
|
+
"actorId": "member",
|
|
8
|
+
"task": {
|
|
9
|
+
"instruction": "Run the mcp-aliases conformance flow against the synthetic Slack Tool and fail loudly on any unexpected status or body."
|
|
10
|
+
},
|
|
11
|
+
"assertions": [
|
|
12
|
+
{
|
|
13
|
+
"id": "users-list-ok",
|
|
14
|
+
"kind": "operation.count",
|
|
15
|
+
"operation": {
|
|
16
|
+
"packageId": "slack",
|
|
17
|
+
"operationId": "users.list"
|
|
18
|
+
},
|
|
19
|
+
"outcomes": [
|
|
20
|
+
"ok"
|
|
21
|
+
],
|
|
22
|
+
"comparison": {
|
|
23
|
+
"operator": "greater_than_or_equal",
|
|
24
|
+
"value": 1
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"id": "users-profile-get-ok",
|
|
29
|
+
"kind": "operation.count",
|
|
30
|
+
"operation": {
|
|
31
|
+
"packageId": "slack",
|
|
32
|
+
"operationId": "users.profile.get"
|
|
33
|
+
},
|
|
34
|
+
"outcomes": [
|
|
35
|
+
"ok"
|
|
36
|
+
],
|
|
37
|
+
"comparison": {
|
|
38
|
+
"operator": "greater_than_or_equal",
|
|
39
|
+
"value": 1
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"id": "conversations-list-ok",
|
|
44
|
+
"kind": "operation.count",
|
|
45
|
+
"operation": {
|
|
46
|
+
"packageId": "slack",
|
|
47
|
+
"operationId": "conversations.list"
|
|
48
|
+
},
|
|
49
|
+
"outcomes": [
|
|
50
|
+
"ok"
|
|
51
|
+
],
|
|
52
|
+
"comparison": {
|
|
53
|
+
"operator": "greater_than_or_equal",
|
|
54
|
+
"value": 1
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"id": "conversations-history-ok",
|
|
59
|
+
"kind": "operation.count",
|
|
60
|
+
"operation": {
|
|
61
|
+
"packageId": "slack",
|
|
62
|
+
"operationId": "conversations.history"
|
|
63
|
+
},
|
|
64
|
+
"outcomes": [
|
|
65
|
+
"ok"
|
|
66
|
+
],
|
|
67
|
+
"comparison": {
|
|
68
|
+
"operator": "greater_than_or_equal",
|
|
69
|
+
"value": 1
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"id": "conversations-replies-ok",
|
|
74
|
+
"kind": "operation.count",
|
|
75
|
+
"operation": {
|
|
76
|
+
"packageId": "slack",
|
|
77
|
+
"operationId": "conversations.replies"
|
|
78
|
+
},
|
|
79
|
+
"outcomes": [
|
|
80
|
+
"ok"
|
|
81
|
+
],
|
|
82
|
+
"comparison": {
|
|
83
|
+
"operator": "greater_than_or_equal",
|
|
84
|
+
"value": 1
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"id": "chat-post-message-ok",
|
|
89
|
+
"kind": "operation.count",
|
|
90
|
+
"operation": {
|
|
91
|
+
"packageId": "slack",
|
|
92
|
+
"operationId": "chat.post-message"
|
|
93
|
+
},
|
|
94
|
+
"outcomes": [
|
|
95
|
+
"ok"
|
|
96
|
+
],
|
|
97
|
+
"comparison": {
|
|
98
|
+
"operator": "greater_than_or_equal",
|
|
99
|
+
"value": 1
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"id": "chat-reply-ok",
|
|
104
|
+
"kind": "operation.count",
|
|
105
|
+
"operation": {
|
|
106
|
+
"packageId": "slack",
|
|
107
|
+
"operationId": "chat.reply"
|
|
108
|
+
},
|
|
109
|
+
"outcomes": [
|
|
110
|
+
"ok"
|
|
111
|
+
],
|
|
112
|
+
"comparison": {
|
|
113
|
+
"operator": "greater_than_or_equal",
|
|
114
|
+
"value": 1
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"id": "reactions-add-ok",
|
|
119
|
+
"kind": "operation.count",
|
|
120
|
+
"operation": {
|
|
121
|
+
"packageId": "slack",
|
|
122
|
+
"operationId": "reactions.add"
|
|
123
|
+
},
|
|
124
|
+
"outcomes": [
|
|
125
|
+
"ok"
|
|
126
|
+
],
|
|
127
|
+
"comparison": {
|
|
128
|
+
"operator": "greater_than_or_equal",
|
|
129
|
+
"value": 1
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"id": "messages-posted",
|
|
134
|
+
"kind": "event.count",
|
|
135
|
+
"event": {
|
|
136
|
+
"packageId": "slack",
|
|
137
|
+
"eventId": "message.posted"
|
|
138
|
+
},
|
|
139
|
+
"phase": "emitted",
|
|
140
|
+
"comparison": {
|
|
141
|
+
"operator": "equals",
|
|
142
|
+
"value": 2
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"id": "reactions-added",
|
|
147
|
+
"kind": "event.count",
|
|
148
|
+
"event": {
|
|
149
|
+
"packageId": "slack",
|
|
150
|
+
"eventId": "reaction.added"
|
|
151
|
+
},
|
|
152
|
+
"phase": "emitted",
|
|
153
|
+
"comparison": {
|
|
154
|
+
"operator": "equals",
|
|
155
|
+
"value": 1
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"id": "thread-grew",
|
|
160
|
+
"kind": "state.value",
|
|
161
|
+
"packageId": "slack",
|
|
162
|
+
"namespace": "messages",
|
|
163
|
+
"rowId": "C01ENGINEER:1787562900.000120",
|
|
164
|
+
"path": [
|
|
165
|
+
"reply_count"
|
|
166
|
+
],
|
|
167
|
+
"comparison": {
|
|
168
|
+
"operator": "equals",
|
|
169
|
+
"value": 5
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"id": "order",
|
|
174
|
+
"kind": "operation.order",
|
|
175
|
+
"sequence": [
|
|
176
|
+
{
|
|
177
|
+
"anyOf": [
|
|
178
|
+
{
|
|
179
|
+
"packageId": "slack",
|
|
180
|
+
"operationId": "users.list"
|
|
181
|
+
}
|
|
182
|
+
]
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"anyOf": [
|
|
186
|
+
{
|
|
187
|
+
"packageId": "slack",
|
|
188
|
+
"operationId": "conversations.history"
|
|
189
|
+
}
|
|
190
|
+
]
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"anyOf": [
|
|
194
|
+
{
|
|
195
|
+
"packageId": "slack",
|
|
196
|
+
"operationId": "chat.post-message"
|
|
197
|
+
}
|
|
198
|
+
]
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"anyOf": [
|
|
202
|
+
{
|
|
203
|
+
"packageId": "slack",
|
|
204
|
+
"operationId": "chat.reply"
|
|
205
|
+
}
|
|
206
|
+
]
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"anyOf": [
|
|
210
|
+
{
|
|
211
|
+
"packageId": "slack",
|
|
212
|
+
"operationId": "reactions.add"
|
|
213
|
+
}
|
|
214
|
+
]
|
|
215
|
+
}
|
|
216
|
+
]
|
|
217
|
+
}
|
|
218
|
+
]
|
|
219
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"id": "slack-open-long-handles",
|
|
4
|
+
"title": "conversations.open creates group DMs of members with 21-character handles; names that would exceed 80 characters are bounded and distinct, and nothing fails",
|
|
5
|
+
"targetId": "conformance-agent",
|
|
6
|
+
"scenarioId": "open-long-handles",
|
|
7
|
+
"actorId": "member",
|
|
8
|
+
"task": {
|
|
9
|
+
"instruction": "Run the open-long-handles conformance flow against the synthetic Slack Tool and fail loudly on any unexpected status or body."
|
|
10
|
+
},
|
|
11
|
+
"assertions": [
|
|
12
|
+
{
|
|
13
|
+
"id": "open-ok",
|
|
14
|
+
"kind": "operation.count",
|
|
15
|
+
"operation": {
|
|
16
|
+
"packageId": "slack",
|
|
17
|
+
"operationId": "conversations.open"
|
|
18
|
+
},
|
|
19
|
+
"outcomes": [
|
|
20
|
+
"ok"
|
|
21
|
+
],
|
|
22
|
+
"comparison": {
|
|
23
|
+
"operator": "equals",
|
|
24
|
+
"value": 6
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"id": "open-never-fails",
|
|
29
|
+
"kind": "operation.count",
|
|
30
|
+
"operation": {
|
|
31
|
+
"packageId": "slack",
|
|
32
|
+
"operationId": "conversations.open"
|
|
33
|
+
},
|
|
34
|
+
"outcomes": [
|
|
35
|
+
"tool_error"
|
|
36
|
+
],
|
|
37
|
+
"comparison": {
|
|
38
|
+
"operator": "equals",
|
|
39
|
+
"value": 0
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"id": "post-ok",
|
|
44
|
+
"kind": "operation.count",
|
|
45
|
+
"operation": {
|
|
46
|
+
"packageId": "slack",
|
|
47
|
+
"operationId": "chat.post-message"
|
|
48
|
+
},
|
|
49
|
+
"outcomes": [
|
|
50
|
+
"ok"
|
|
51
|
+
],
|
|
52
|
+
"comparison": {
|
|
53
|
+
"operator": "equals",
|
|
54
|
+
"value": 1
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"id": "four-group-dms-added",
|
|
59
|
+
"kind": "state.count",
|
|
60
|
+
"packageId": "slack",
|
|
61
|
+
"namespace": "conversations",
|
|
62
|
+
"comparison": {
|
|
63
|
+
"operator": "equals",
|
|
64
|
+
"value": 14
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"id": "nine-member-name-bounded",
|
|
69
|
+
"kind": "state.value",
|
|
70
|
+
"packageId": "slack",
|
|
71
|
+
"namespace": "conversations",
|
|
72
|
+
"rowId": "C000000001H",
|
|
73
|
+
"path": [
|
|
74
|
+
"name"
|
|
75
|
+
],
|
|
76
|
+
"comparison": {
|
|
77
|
+
"operator": "equals",
|
|
78
|
+
"value": "mpdm-dana.reyes--longhandle1xxxxxxxxxx--longhandle2xxxxxxxxxx--longha-98de6b61-1"
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
}
|