@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,110 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"id": "slack-visibility",
|
|
4
|
+
"title": "A member of #general and #random only sees public channels and nothing private",
|
|
5
|
+
"targetId": "conformance-agent",
|
|
6
|
+
"scenarioId": "baseline",
|
|
7
|
+
"actorId": "contractor",
|
|
8
|
+
"task": {
|
|
9
|
+
"instruction": "Run the visibility conformance flow against the synthetic Slack Tool and fail loudly on any unexpected status or body."
|
|
10
|
+
},
|
|
11
|
+
"assertions": [
|
|
12
|
+
{
|
|
13
|
+
"id": "update-refused",
|
|
14
|
+
"kind": "operation.count",
|
|
15
|
+
"operation": {
|
|
16
|
+
"packageId": "slack",
|
|
17
|
+
"operationId": "chat.update"
|
|
18
|
+
},
|
|
19
|
+
"outcomes": [
|
|
20
|
+
"tool_error"
|
|
21
|
+
],
|
|
22
|
+
"comparison": {
|
|
23
|
+
"operator": "equals",
|
|
24
|
+
"value": 1
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"id": "delete-refused",
|
|
29
|
+
"kind": "operation.count",
|
|
30
|
+
"operation": {
|
|
31
|
+
"packageId": "slack",
|
|
32
|
+
"operationId": "chat.delete"
|
|
33
|
+
},
|
|
34
|
+
"outcomes": [
|
|
35
|
+
"tool_error"
|
|
36
|
+
],
|
|
37
|
+
"comparison": {
|
|
38
|
+
"operator": "equals",
|
|
39
|
+
"value": 1
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"id": "info-hidden",
|
|
44
|
+
"kind": "operation.count",
|
|
45
|
+
"operation": {
|
|
46
|
+
"packageId": "slack",
|
|
47
|
+
"operationId": "conversations.info"
|
|
48
|
+
},
|
|
49
|
+
"outcomes": [
|
|
50
|
+
"tool_error"
|
|
51
|
+
],
|
|
52
|
+
"comparison": {
|
|
53
|
+
"operator": "greater_than_or_equal",
|
|
54
|
+
"value": 1
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"id": "history-refused-then-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": "memberships-grew-by-join-and-im",
|
|
74
|
+
"kind": "state.count",
|
|
75
|
+
"packageId": "slack",
|
|
76
|
+
"namespace": "memberships",
|
|
77
|
+
"comparison": {
|
|
78
|
+
"operator": "equals",
|
|
79
|
+
"value": 33
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"id": "dana-general-message-unchanged",
|
|
84
|
+
"kind": "state.value",
|
|
85
|
+
"packageId": "slack",
|
|
86
|
+
"namespace": "messages",
|
|
87
|
+
"rowId": "C01GENERAL1:1787216400.000101",
|
|
88
|
+
"path": [
|
|
89
|
+
"text"
|
|
90
|
+
],
|
|
91
|
+
"comparison": {
|
|
92
|
+
"operator": "equals",
|
|
93
|
+
"value": "Welcome to Example Team! This is #general — company-wide announcements only. Please keep discussion in the topic channels."
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"id": "one-post",
|
|
98
|
+
"kind": "event.count",
|
|
99
|
+
"event": {
|
|
100
|
+
"packageId": "slack",
|
|
101
|
+
"eventId": "message.posted"
|
|
102
|
+
},
|
|
103
|
+
"phase": "emitted",
|
|
104
|
+
"comparison": {
|
|
105
|
+
"operator": "equals",
|
|
106
|
+
"value": 1
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
}
|