miller345 commited on
Commit
e26dff0
·
verified ·
1 Parent(s): 25f7e93

Add seeded environment data, provenance, statistics, and dataset card

Browse files
.gitattributes CHANGED
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ data/posts.jsonl filter=lfs diff=lfs merge=lfs -text
LICENSES.md ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ # Source licenses and attribution
2
+
3
+ No explicit dataset redistribution license was found in the source corpus repository. Attribution is retained, but this private release does not assign a new license to Slack message text or synthetic benchmark fixtures.
4
+
5
+ Imported message text comes from [Software-related Slack Chats with Disentangled Conversations](https://github.com/preethac/Software-related-Slack-Chats-with-Disentangled-Conversations). The direct source contains disentangled conversations from public software-development Slack communities. Original task messages and benchmark user/channel fixtures are synthetic.
6
+
7
+ No blanket license is assigned to components whose reuse terms are undocumented. Source-specific declarations and per-item notices describe their respective content. Synthetic benchmark fixtures are identified separately from source-derived records.
README.md ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: "Mattermost Data"
3
+ tags:
4
+ - webarena-pro
5
+ - web-agents
6
+ - benchmark-environment
7
+ - text
8
+ ---
9
+
10
+ **Mattermost Data** provides conversation content and channel metadata for WebArena-Pro’s Mattermost environment, a locally hosted team-messaging application for evaluating web agents. It supports channel browsing, search, threaded conversations, and direct/group messaging.
11
+
12
+ Imported message text comes from [Software-related Slack Chats with Disentangled Conversations](https://github.com/preethac/Software-related-Slack-Chats-with-Disentangled-Conversations). The direct source contains disentangled conversations from public software-development Slack communities. Original task messages and benchmark user/channel fixtures are synthetic.
13
+
14
+ We prepared the released content for local use in the environment:
15
+
16
+ - Mapped anonymized source participants deterministically onto local benchmark users.
17
+ - Retained whole conversations as threads across 24 added engineering channels and a topic-matched backfill for original channels.
18
+ - Exported content records from the exact SQL snapshot consumed by the application build. Authentication and session tables are not part of the content export.
19
+
20
+ | Statistic | Value |
21
+ |---|---:|
22
+ | Imported corpus messages | 31615 |
23
+ | Total post records including fixtures and system messages | 32389 |
24
+ | Channel records including direct/default channels | 59 |
25
+ | User profile records | 19 |
26
+ | Local release files before documentation | 9 |
27
+ | Local payload size | 27,189,124 bytes (27.19 MB / 25.93 MiB) |
28
+
29
+ Content JSONL files are under `data/`, original JSON seed layers under `seed_inputs/`, and source-selection scripts under `preparation/`. Post counts include repeated message text and system events; they are not unique-sentence counts.
30
+
31
+ No explicit dataset redistribution license was found in the source corpus repository. Attribution is retained, but this private release does not assign a new license to Slack message text or synthetic benchmark fixtures.
32
+
33
+ The application is maintained in the [WebArena-Pro repository](https://github.com/McGill-NLP/webarena-pro).
data/channels.jsonl ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"id": "c8sz8dja63nu7ms3jjtyws3ora", "teamid": "s8e39snm5tnbxbgpeia5kpwzuo", "type": "O", "displayname": "Town Square", "name": "town-square", "header": "", "purpose": ""}
2
+ {"id": "oqcewxpjqtdgxn91q6ehrqgzdr", "teamid": "s8e39snm5tnbxbgpeia5kpwzuo", "type": "O", "displayname": "Off-Topic", "name": "off-topic", "header": "", "purpose": ""}
3
+ {"id": "ody3wrq1o7rpjpzxsx7sqtdqdo", "teamid": "dehiwb8q9bnoi8f4mxzsh8dayr", "type": "O", "displayname": "Town Square", "name": "town-square", "header": "", "purpose": ""}
4
+ {"id": "nih4d7rfsir4xpi8tidfcunqrr", "teamid": "dehiwb8q9bnoi8f4mxzsh8dayr", "type": "O", "displayname": "Off-Topic", "name": "off-topic", "header": "", "purpose": ""}
5
+ {"id": "jy91zp8mu7yk5gb5hy9qhdcfeh", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "Town Square", "name": "town-square", "header": "", "purpose": ""}
6
+ {"id": "q9g6zsqkfty78mguucajfoqcir", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "Off-Topic", "name": "off-topic", "header": "", "purpose": ""}
7
+ {"id": "5swgwrkocprjmrngo4qj4o74io", "teamid": "", "type": "D", "displayname": "", "name": "4zd57afzr3f4mbydt14j5mzqza__x916bcascjyyjrc5y8e5hbrgna", "header": "", "purpose": ""}
8
+ {"id": "qk34pb8dffr4ibk69r3xkzmy9o", "teamid": "", "type": "D", "displayname": "", "name": "3bekgg684bb5iq6tfq1h95az3r__ccmjk1p1abffx87a4zni7n4uoh", "header": "", "purpose": ""}
9
+ {"id": "ik8xxjatdfn75comxgxnq189iw", "teamid": "", "type": "D", "displayname": "", "name": "93n7axewi7n9xpsis8z5d99bre__9mbmdxz1kidnmemmqi9ou5w1ah", "header": "", "purpose": ""}
10
+ {"id": "mjjwsjpbnt8rxyp7n5mt1f3syw", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "P", "displayname": "Security Alerts", "name": "security-alerts", "header": "CONFIDENTIAL - Do not share outside this channel", "purpose": "Security vulnerabilities and incident reports"}
11
+ {"id": "7aqugqd4dprbzcfcnm8ouuqczc", "teamid": "dehiwb8q9bnoi8f4mxzsh8dayr", "type": "O", "displayname": "Events", "name": "events", "header": "Next event: Team Lunch - March 20 at Bella Italia", "purpose": "Company events, team outings, and celebrations"}
12
+ {"id": "5b4hke3753y73feti3hhtfbgiy", "teamid": "dehiwb8q9bnoi8f4mxzsh8dayr", "type": "O", "displayname": "Announcements", "name": "announcements", "header": "Only managers and above can post here", "purpose": "Company-wide announcements and news"}
13
+ {"id": "5xxxy5dojj8pmbg441q5og511e", "teamid": "", "type": "D", "displayname": "", "name": "6a4bti99g3rtdmx11dhnihhg6r__cxtqjdhuqiydtmdmtdc1mesbfo", "header": "", "purpose": ""}
14
+ {"id": "f3kpgwu4biddpbpyf18nbu6mpe", "teamid": "", "type": "G", "displayname": "admin, emma.davis, frank.miller, grace.lee, ivy.chen", "name": "dd68759a1d56710ebcc6ae5667000c2503880ed3", "header": "", "purpose": ""}
15
+ {"id": "e4yfhpb1rjbizxy8ygcf3u7w1r", "teamid": "", "type": "D", "displayname": "", "name": "udhm7t7fqfgc9k9funqdejmeea__x916bcascjyyjrc5y8e5hbrgna", "header": "", "purpose": ""}
16
+ {"id": "kya468ab3tg6frrhnb4dw79kwr", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "Racket Macros", "name": "racket-macros", "header": "Imported verbatim from the Software-related Slack Chats with Disentangled Conversations dataset.", "purpose": "Racket macros, syntax objects, expansion, and language extension."}
17
+ {"id": "yqgz91hjutf87xmt8wds1a19qe", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "Racket Packages & Tooling", "name": "racket-packages", "header": "Imported verbatim from the Software-related Slack Chats with Disentangled Conversations dataset.", "purpose": "Racket packages, documentation, testing, installation, and command-line tools."}
18
+ {"id": "jnn51yt417r4djtrkdeggytxio", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "Elm Architecture", "name": "elm-architecture", "header": "Imported verbatim from the Software-related Slack Chats with Disentangled Conversations dataset.", "purpose": "The Elm Architecture, application state, commands, and subscriptions."}
19
+ {"id": "ofr41qz4pjdtiyzza51qu7bxny", "teamid": "", "type": "D", "displayname": "", "name": "46fd55wk57bdzq89debc4cxugr__g7r88gtyqjfdzgnwhr9xyumzce", "header": "", "purpose": ""}
20
+ {"id": "rffhn6t6jbfkiebs9cmahu7gae", "teamid": "", "type": "G", "displayname": "admin, jane.smith, john.doe, kevin.martinez", "name": "b29057c84f852748be174f8787c5b240c46449ea", "header": "", "purpose": ""}
21
+ {"id": "eqd8ng3az7fuiyq7qf84r4tfbw", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "Clojure Build Tools", "name": "clojure-build-tools", "header": "Imported verbatim from the Software-related Slack Chats with Disentangled Conversations dataset.", "purpose": "Clojure dependencies, builds, packaging, classpaths, and project tooling."}
22
+ {"id": "ku1o7hir73fubk31ehm5wcp7zy", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "Python Testing", "name": "python-testing", "header": "Imported verbatim from the Software-related Slack Chats with Disentangled Conversations dataset.", "purpose": "Python test design, fixtures, mocking, coverage, linting, and type checks."}
23
+ {"id": "ftd56wtustrd3meqwscm8dxnoh", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "Python Language", "name": "python-language", "header": "Imported verbatim from the Software-related Slack Chats with Disentangled Conversations dataset.", "purpose": "Python syntax, object model, functions, modules, and language behavior."}
24
+ {"id": "ku7dw41hxtgsipn378kbgytcpa", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "Elm UI & Styling", "name": "elm-ui-styling", "header": "Imported verbatim from the Software-related Slack Chats with Disentangled Conversations dataset.", "purpose": "Elm user interfaces, HTML, CSS, forms, layout, and visual components."}
25
+ {"id": "pyfbguqr8tnhfn6benyog4kh8w", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "Clojure Web Services", "name": "clojure-web-services", "header": "Imported verbatim from the Software-related Slack Chats with Disentangled Conversations dataset.", "purpose": "Clojure HTTP servers, web frameworks, routing, APIs, and middleware."}
26
+ {"id": "q4xwuzac7b89ud4ohhki5ghedw", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "Clojure Concurrency", "name": "clojure-concurrency", "header": "Imported verbatim from the Software-related Slack Chats with Disentangled Conversations dataset.", "purpose": "core.async, channels, state coordination, parallelism, and concurrency."}
27
+ {"id": "i9ndmpskibb15r5rji6451b1zw", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "Elm Routing & Navigation", "name": "elm-routing", "header": "Imported verbatim from the Software-related Slack Chats with Disentangled Conversations dataset.", "purpose": "Elm URLs, routers, navigation, pages, and single-page applications."}
28
+ {"id": "ethhgg4ryffgbn37d8yedmsppo", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "Python Async & Concurrency", "name": "python-async-concurrency", "header": "Imported verbatim from the Software-related Slack Chats with Disentangled Conversations dataset.", "purpose": "Async IO, threads, processes, queues, and concurrent Python systems."}
29
+ {"id": "dz968gjiwjrsxpaprrhbn69yfe", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "Python Web Services", "name": "python-web-services", "header": "Imported verbatim from the Software-related Slack Chats with Disentangled Conversations dataset.", "purpose": "Python web frameworks, APIs, HTTP services, and server-side development."}
30
+ {"id": "wnrktfozbffs7dpb5u86mga3uy", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "Standup Notes", "name": "standup-notes", "header": "Format: Yesterday | Today | Blockers", "purpose": "Daily standup updates from the engineering team"}
31
+ {"id": "gpnacbc67bnyjxmo65fwxmzrcy", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "Elm Language", "name": "elm-language", "header": "Imported verbatim from the Software-related Slack Chats with Disentangled Conversations dataset.", "purpose": "Elm types, functions, records, collections, modules, and language semantics."}
32
+ {"id": "ymcwoy7fsbyy98a7e33eryhtty", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "ClojureScript Frontend", "name": "clojurescript-frontend", "header": "Imported verbatim from the Software-related Slack Chats with Disentangled Conversations dataset.", "purpose": "ClojureScript, browser applications, React wrappers, and frontend tooling."}
33
+ {"id": "gmyyngqu13g6jfogwg1abf97cc", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "Racket Web Services", "name": "racket-web-services", "header": "Imported verbatim from the Software-related Slack Chats with Disentangled Conversations dataset.", "purpose": "Racket web servers, servlets, HTTP applications, HTML, and APIs."}
34
+ {"id": "mw8a6iygp7dutfnq5gcxwo8yce", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "Racket Language", "name": "racket-language", "header": "Imported verbatim from the Software-related Slack Chats with Disentangled Conversations dataset.", "purpose": "Racket functions, modules, structures, contracts, and language semantics."}
35
+ {"id": "f1rkk6xde38t98wfunijbbawmy", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "Racket Data Structures", "name": "racket-data-structures", "header": "Imported verbatim from the Software-related Slack Chats with Disentangled Conversations dataset.", "purpose": "Lists, vectors, hashes, sequences, streams, trees, and collection processing."}
36
+ {"id": "1ozepbr6z7ri3dnhm1hnjo6k6w", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "Elm Build Tools", "name": "elm-build-tools", "header": "Imported verbatim from the Software-related Slack Chats with Disentangled Conversations dataset.", "purpose": "Elm packages, dependencies, compilers, builds, and JavaScript integration."}
37
+ {"id": "rki33ig8g3yubefxpk84c3xp4c", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "Clojure Data Systems", "name": "clojure-data-systems", "header": "Imported verbatim from the Software-related Slack Chats with Disentangled Conversations dataset.", "purpose": "Databases, queries, schemas, serialization, and data processing in Clojure."}
38
+ {"id": "pghpt8krwbnsbmbi6wbtqycgwy", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "Racket GUI & Graphics", "name": "racket-gui-graphics", "header": "Imported verbatim from the Software-related Slack Chats with Disentangled Conversations dataset.", "purpose": "Racket desktop interfaces, drawing, images, games, and visual programs."}
39
+ {"id": "a9biawxagib5zeue79pex6pquw", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "Clojure Language", "name": "clojure-language", "header": "Imported verbatim from the Software-related Slack Chats with Disentangled Conversations dataset.", "purpose": "Clojure functions, macros, sequences, protocols, namespaces, and idioms."}
40
+ {"id": "e8hdw8af8i88un55unwa6zj8oc", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "Python Data Science", "name": "python-data-science", "header": "Imported verbatim from the Software-related Slack Chats with Disentangled Conversations dataset.", "purpose": "Python data analysis, scientific computing, visualization, and ML."}
41
+ {"id": "remore8tx3f688ma1ap6b55seh", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "Python Packaging & Environments", "name": "python-packaging", "header": "Imported verbatim from the Software-related Slack Chats with Disentangled Conversations dataset.", "purpose": "Python packages, dependency management, installation, and environments."}
42
+ {"id": "ccryekaxn7rx7enjwhidenxf4c", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "Elm HTTP & JSON", "name": "elm-http-json", "header": "Imported verbatim from the Software-related Slack Chats with Disentangled Conversations dataset.", "purpose": "Elm HTTP requests, APIs, JSON decoding, encoding, and remote data."}
43
+ {"id": "et85fk3eqpgrip4z9eydcg4weo", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "DevOps", "name": "devops", "header": "AWS Status: Green | K8s Cluster: Healthy", "purpose": "Infrastructure, CI/CD, and operations"}
44
+ {"id": "scj33w14etykfdaydd3cqcae5w", "teamid": "s8e39snm5tnbxbgpeia5kpwzuo", "type": "O", "displayname": "Campaigns", "name": "campaigns", "header": "Q1 Campaign: 'Innovate Together' | Budget: $50K", "purpose": "Plan and track marketing campaigns"}
45
+ {"id": "j443od6puifhjf85mfwk55h8ec", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "Deployments", "name": "deployments", "header": "Check #runbooks before deploying | On-call: Bob Wilson", "purpose": "Deployment coordination and status updates"}
46
+ {"id": "qiiq57tw6jbru8zhkytut8i64e", "teamid": "s8e39snm5tnbxbgpeia5kpwzuo", "type": "O", "displayname": "Analytics", "name": "analytics", "header": "Weekly report due every Friday by 3pm", "purpose": "Marketing analytics and reporting"}
47
+ {"id": "xbdo3t9uq7gxmgnk4xopy1pkee", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "Project Alpha", "name": "project-alpha", "header": "Project Alpha | Sprint 12 | Release: March 30", "purpose": "Discussion and updates for Project Alpha - our new customer portal"}
48
+ {"id": "7ijgcabphifx7mwe9g6w9paemy", "teamid": "s8e39snm5tnbxbgpeia5kpwzuo", "type": "O", "displayname": "Social Media", "name": "social-media", "header": "Posting schedule: Mon/Wed/Fri | Tools: Hootsuite, Canva", "purpose": "Social media strategy and content planning"}
49
+ {"id": "rmsexzhn3jgy7f4kbgnczsa3sa", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "Tech Discussions", "name": "tech-discussions", "header": "Share interesting articles, discuss tech trends, and propose RFCs", "purpose": "Technical discussions, architecture decisions, and knowledge sharing"}
50
+ {"id": "qk4rrkf1stnn5ydh15bgh16nth", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "Project Beta", "name": "project-beta", "header": "Project Beta | Planning Phase | Lead: Jane Smith", "purpose": "Internal dashboard redesign project"}
51
+ {"id": "3zf3d5jjnfymug7cq1ucdwqrmo", "teamid": "s8e39snm5tnbxbgpeia5kpwzuo", "type": "O", "displayname": "Design Requests", "name": "design-requests", "header": "Use the pinned template for new requests | SLA: 3 business days", "purpose": "Submit and track design requests"}
52
+ {"id": "bbekt5pgxfnc5qmpwaxux3py1a", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "Bugs and Issues", "name": "bugs-and-issues", "header": "Use format: [PROJECT] Brief description | Priority: High/Med/Low", "purpose": "Report and track bugs across all projects"}
53
+ {"id": "cezphe918fgxifgg7s8ja6xe4r", "teamid": "", "type": "D", "displayname": "", "name": "7kq76ce63id48nkz4hcp5rg3xh__93n7axewi7n9xpsis8z5d99bre", "header": "", "purpose": ""}
54
+ {"id": "1s9nagudoiboirmb7ckj1mukfy", "teamid": "dehiwb8q9bnoi8f4mxzsh8dayr", "type": "O", "displayname": "Random", "name": "random", "header": "Keep it friendly and respectful!", "purpose": "Non-work banter and fun stuff"}
55
+ {"id": "dewd9f48ij85xgq7tfte859qfa", "teamid": "tufgabb37pdmzfspeitber78oa", "type": "O", "displayname": "Code Reviews", "name": "code-reviews", "header": "Please include PR link and brief description when requesting reviews", "purpose": "Request and discuss code reviews"}
56
+ {"id": "i14jg6ym6tbfmpa93dq5usgrty", "teamid": "dehiwb8q9bnoi8f4mxzsh8dayr", "type": "O", "displayname": "Help Desk", "name": "help-desk", "header": "For urgent issues, contact IT at ext. 5555", "purpose": "IT support and general help requests"}
57
+ {"id": "8k1ahz7c8pgmjyco414pgi5f4y", "teamid": "dehiwb8q9bnoi8f4mxzsh8dayr", "type": "O", "displayname": "Water Cooler", "name": "watercooler", "header": "What's everyone watching this weekend?", "purpose": "Casual conversations and team bonding"}
58
+ {"id": "4rt4rx5mt38b38y9ec93k89boo", "teamid": "s8e39snm5tnbxbgpeia5kpwzuo", "type": "O", "displayname": "Content Calendar", "name": "content-calendar", "header": "Next blog post due: March 15 | Author: Frank Miller", "purpose": "Blog posts, newsletters, and content scheduling"}
59
+ {"id": "h4d4ekghxin7bnutsuomgd776w", "teamid": "dehiwb8q9bnoi8f4mxzsh8dayr", "type": "O", "displayname": "New Joiners", "name": "new-joiners", "header": "Welcome to TechCorp! Check pinned posts for onboarding guide", "purpose": "Welcome new team members and onboarding info"}
data/posts.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:44fc32368cca04f6bc767f30518d87063e79a5d0c0447a0768121c4f49378ebe
3
+ size 17925616
data/teams.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {"id": "tufgabb37pdmzfspeitber78oa", "displayname": "Engineering", "name": "engineering", "description": "Software Engineering team at TechCorp", "type": "O"}
2
+ {"id": "s8e39snm5tnbxbgpeia5kpwzuo", "displayname": "Marketing", "name": "marketing", "description": "Marketing and Growth team", "type": "O"}
3
+ {"id": "dehiwb8q9bnoi8f4mxzsh8dayr", "displayname": "TechCorp General", "name": "general", "description": "Company-wide communication hub", "type": "O"}
data/users.jsonl ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"id": "yfzsakkjsigrmnw7fh6gmj7bgr", "username": "playbooks", "email": "playbooks@localhost", "nickname": "", "firstname": "Playbooks", "lastname": "", "locale": "en"}
2
+ {"id": "4zd57afzr3f4mbydt14j5mzqza", "username": "jane.smith", "email": "jane.smith@techcorp.com", "nickname": "jsmith", "firstname": "Jane", "lastname": "Smith", "locale": "en"}
3
+ {"id": "46fd55wk57bdzq89debc4cxugr", "username": "bob.wilson", "email": "bob.wilson@techcorp.com", "nickname": "bobw", "firstname": "Bob", "lastname": "Wilson", "locale": "en"}
4
+ {"id": "6a4bti99g3rtdmx11dhnihhg6r", "username": "alice.johnson", "email": "alice.johnson@techcorp.com", "nickname": "alicej", "firstname": "Alice", "lastname": "Johnson", "locale": "en"}
5
+ {"id": "ccmjk1p1abffx87a4zni7n4uoh", "username": "charlie.brown", "email": "charlie.brown@techcorp.com", "nickname": "charlie", "firstname": "Charlie", "lastname": "Brown", "locale": "en"}
6
+ {"id": "3bekgg684bb5iq6tfq1h95az3r", "username": "diana.prince", "email": "diana.prince@techcorp.com", "nickname": "diana", "firstname": "Diana", "lastname": "Prince", "locale": "en"}
7
+ {"id": "93n7axewi7n9xpsis8z5d99bre", "username": "emma.davis", "email": "emma.davis@techcorp.com", "nickname": "emmad", "firstname": "Emma", "lastname": "Davis", "locale": "en"}
8
+ {"id": "m16j1q6rkfdpxguuksz7wmpuba", "username": "frank.miller", "email": "frank.miller@techcorp.com", "nickname": "frankm", "firstname": "Frank", "lastname": "Miller", "locale": "en"}
9
+ {"id": "dp4jszrpsjnjpjw1mth4ygithy", "username": "grace.lee", "email": "grace.lee@techcorp.com", "nickname": "gracel", "firstname": "Grace", "lastname": "Lee", "locale": "en"}
10
+ {"id": "udhm7t7fqfgc9k9funqdejmeea", "username": "henry.taylor", "email": "henry.taylor@techcorp.com", "nickname": "henryt", "firstname": "Henry", "lastname": "Taylor", "locale": "en"}
11
+ {"id": "cxtqjdhuqiydtmdmtdc1mesbfo", "username": "mike.ross", "email": "mike.ross@techcorp.com", "nickname": "miker", "firstname": "Mike", "lastname": "Ross", "locale": "en"}
12
+ {"id": "1zqu9xgdf38tzkdrbt5opkixtw", "username": "system-bot", "email": "system-bot@localhost", "nickname": "", "firstname": "System", "lastname": "", "locale": "en"}
13
+ {"id": "7e4ojpbykjntdmpu94y5ekub1c", "username": "ivy.chen", "email": "ivy.chen@techcorp.com", "nickname": "ivyc", "firstname": "Ivy", "lastname": "Chen", "locale": "en"}
14
+ {"id": "g7r88gtyqjfdzgnwhr9xyumzce", "username": "lisa.wang", "email": "lisa.wang@techcorp.com", "nickname": "lisaw", "firstname": "Lisa", "lastname": "Wang", "locale": "en"}
15
+ {"id": "x916bcascjyyjrc5y8e5hbrgna", "username": "john.doe", "email": "john.doe@techcorp.com", "nickname": "JD", "firstname": "John", "lastname": "Doe", "locale": "en"}
16
+ {"id": "9mbmdxz1kidnmemmqi9ou5w1ah", "username": "kevin.martinez", "email": "kevin.martinez@techcorp.com", "nickname": "kevinm", "firstname": "Kevin", "lastname": "Martinez", "locale": "en"}
17
+ {"id": "hacoqz1mijy8db1u95mwsgt6pe", "username": "natalie.kim", "email": "natalie.kim@techcorp.com", "nickname": "nataliek", "firstname": "Natalie", "lastname": "Kim", "locale": "en"}
18
+ {"id": "uw9ayeotajnate67greqnm1t6w", "username": "calls", "email": "calls@localhost", "nickname": "", "firstname": "Calls", "lastname": "", "locale": "en"}
19
+ {"id": "7kq76ce63id48nkz4hcp5rg3xh", "username": "admin", "email": "admin@techcorp.com", "nickname": "", "firstname": "System", "lastname": "Admin", "locale": "en"}
preparation/build_existing_channel_backfill.py ADDED
@@ -0,0 +1,454 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Build a topic-matched dataset backfill for the original 20 channels.
3
+
4
+ Messages come verbatim from the public Software-related Slack Chats with
5
+ Disentangled Conversations corpus. Whole source conversations are retained as
6
+ Mattermost threads. Source participant names are deterministically mapped to
7
+ members of the destination team.
8
+
9
+ The generated posts carry their original dataset timestamps in ``props``. Run
10
+ ``finalize_task_ready_seed.sql`` after importing the seed to apply those fixed
11
+ timestamps, trim the task user's channel membership, and establish the bounded
12
+ unread state.
13
+ """
14
+
15
+ from __future__ import annotations
16
+
17
+ import argparse
18
+ import hashlib
19
+ import json
20
+ import re
21
+ import sys
22
+ import xml.etree.ElementTree as ET
23
+ from collections import defaultdict
24
+ from dataclasses import dataclass
25
+ from datetime import datetime, timezone
26
+ from pathlib import Path
27
+
28
+
29
+ MAX_MESSAGE_CHARS = 16_000
30
+ SEED_BATCH = "existing-channel-backfill-v1"
31
+ REPOSITORY = (
32
+ "https://github.com/preethac/"
33
+ "Software-related-Slack-Chats-with-Disentangled-Conversations"
34
+ )
35
+
36
+
37
+ @dataclass(frozen=True)
38
+ class Topic:
39
+ team: str
40
+ channel: str
41
+ keywords: tuple[str, ...]
42
+
43
+
44
+ TOPICS = (
45
+ Topic(
46
+ "engineering",
47
+ "project-alpha",
48
+ (
49
+ "project", "sprint", "milestone", "roadmap", "feature", "ticket",
50
+ "requirement", "deadline", "release", "product",
51
+ ),
52
+ ),
53
+ Topic(
54
+ "engineering",
55
+ "project-beta",
56
+ (
57
+ "architecture", "frontend", "dashboard", "component", "state",
58
+ "model", "design", "framework", "application", "interface",
59
+ ),
60
+ ),
61
+ Topic(
62
+ "engineering",
63
+ "deployments",
64
+ (
65
+ "deploy", "deployment", "release", "production", "version",
66
+ "rollback", "build", "server", "environment", "configuration",
67
+ ),
68
+ ),
69
+ Topic(
70
+ "engineering",
71
+ "code-reviews",
72
+ (
73
+ "pull request", "code review", "review", "commit", "merge", "github",
74
+ "git ", "refactor", "diff", "branch",
75
+ ),
76
+ ),
77
+ Topic(
78
+ "engineering",
79
+ "bugs-and-issues",
80
+ (
81
+ "bug", "error", "exception", "failure", "failed", "crash", "issue",
82
+ "fix", "debug", "broken", "problem",
83
+ ),
84
+ ),
85
+ Topic(
86
+ "engineering",
87
+ "standup-notes",
88
+ (
89
+ "today", "yesterday", "tomorrow", "working on", "worked on",
90
+ "blocker", "blocked", "progress", "this week", "next week",
91
+ ),
92
+ ),
93
+ Topic(
94
+ "engineering",
95
+ "tech-discussions",
96
+ (
97
+ "api", "language", "function", "type", "library", "framework",
98
+ "architecture", "protocol", "implementation", "programming",
99
+ ),
100
+ ),
101
+ Topic(
102
+ "engineering",
103
+ "devops",
104
+ (
105
+ "docker", "kubernetes", "server", "cluster", "database", "postgres",
106
+ "continuous integration", " ci ", "pipeline", "cloud", "infrastructure",
107
+ ),
108
+ ),
109
+ Topic(
110
+ "engineering",
111
+ "security-alerts",
112
+ (
113
+ "security", "authentication", "authorization", "password", "vulnerability",
114
+ "attack", "permission", "encrypt", "token", "credential",
115
+ ),
116
+ ),
117
+ Topic(
118
+ "marketing",
119
+ "campaigns",
120
+ (
121
+ "launch", "campaign", "adoption", "community", "announce", "promotion",
122
+ "audience", "user", "conference", "release",
123
+ ),
124
+ ),
125
+ Topic(
126
+ "marketing",
127
+ "social-media",
128
+ (
129
+ "twitter", "social", "reddit", "blog", "post", "share", "link",
130
+ "community", "public", "online",
131
+ ),
132
+ ),
133
+ Topic(
134
+ "marketing",
135
+ "analytics",
136
+ (
137
+ "analytics", "data", "metric", "performance", "benchmark", "statistics",
138
+ "count", "rate", "measure", "report",
139
+ ),
140
+ ),
141
+ Topic(
142
+ "marketing",
143
+ "content-calendar",
144
+ (
145
+ "documentation", "docs", "guide", "tutorial", "example", "blog",
146
+ "article", "write", "publish", "content",
147
+ ),
148
+ ),
149
+ Topic(
150
+ "marketing",
151
+ "design-requests",
152
+ (
153
+ "design", " ui ", " ux ", "css", "layout", "color", "image", "graphic",
154
+ "font", "svg", "visual",
155
+ ),
156
+ ),
157
+ Topic(
158
+ "general",
159
+ "announcements",
160
+ (
161
+ "announce", "announcement", "released", "new version", "available",
162
+ "launch", "update", "news", "published", "welcome",
163
+ ),
164
+ ),
165
+ Topic(
166
+ "general",
167
+ "random",
168
+ (
169
+ "interesting", "anyone", "thought", "idea", "curious", "thanks",
170
+ "question", "wonder", "cool", "discussion",
171
+ ),
172
+ ),
173
+ Topic(
174
+ "general",
175
+ "watercooler",
176
+ (
177
+ "coffee", "food", "drink", "lunch", "weekend", "music", "game",
178
+ "fun", "restaurant", "beer", "pizza",
179
+ ),
180
+ ),
181
+ Topic(
182
+ "general",
183
+ "events",
184
+ (
185
+ "conference", "meetup", "event", "talk", "workshop", "schedule",
186
+ "session", "presentation", "attend", "speaker",
187
+ ),
188
+ ),
189
+ Topic(
190
+ "general",
191
+ "help-desk",
192
+ (
193
+ "help", "how do", "how can", "anyone know", "problem", "issue",
194
+ "trying to", "does anyone", "question", "error",
195
+ ),
196
+ ),
197
+ Topic(
198
+ "general",
199
+ "new-joiners",
200
+ (
201
+ "beginner", "new to", "getting started", "learn", "tutorial", "hello",
202
+ "first time", "newbie", "introduction", "welcome",
203
+ ),
204
+ ),
205
+ )
206
+
207
+
208
+ def parse_args() -> argparse.Namespace:
209
+ parser = argparse.ArgumentParser()
210
+ parser.add_argument("dataset_root", type=Path)
211
+ parser.add_argument(
212
+ "--base-seed",
213
+ type=Path,
214
+ default=Path(__file__).resolve().parents[1] / "seed_data.json",
215
+ )
216
+ parser.add_argument(
217
+ "--output",
218
+ type=Path,
219
+ default=Path(__file__).resolve().parents[1]
220
+ / "existing_channel_backfill_seed.json",
221
+ )
222
+ parser.add_argument("--messages-per-channel", type=int, default=250)
223
+ return parser.parse_args()
224
+
225
+
226
+ def normalized_text(text: str) -> str:
227
+ return " " + re.sub(r"\s+", " ", text.lower()) + " "
228
+
229
+
230
+ def keyword_score(text: str, topic: Topic) -> int:
231
+ return sum(text.count(keyword) for keyword in topic.keywords)
232
+
233
+
234
+ def source_timestamp_ms(value: str) -> int:
235
+ parsed = datetime.fromisoformat(value.replace("Z", "+00:00"))
236
+ if parsed.tzinfo is None:
237
+ parsed = parsed.replace(tzinfo=timezone.utc)
238
+ return int(parsed.timestamp() * 1000)
239
+
240
+
241
+ def iter_conversations(dataset_root: Path):
242
+ data_dir = dataset_root / "data"
243
+ if not data_dir.is_dir():
244
+ raise FileNotFoundError(f"Missing dataset directory: {data_dir}")
245
+
246
+ for xml_path in sorted(data_dir.rglob("*.xml")):
247
+ conversations: dict[str, list[dict[str, str]]] = defaultdict(list)
248
+ for _, element in ET.iterparse(xml_path, events=("end",)):
249
+ if element.tag != "message":
250
+ continue
251
+ conversation_id = element.attrib.get("conversation_id", "")
252
+ text = element.findtext("text") or ""
253
+ timestamp = element.findtext("ts") or ""
254
+ source_user = element.findtext("user") or "Unknown"
255
+ if (
256
+ conversation_id
257
+ and text.strip()
258
+ and timestamp
259
+ and len(text) <= MAX_MESSAGE_CHARS
260
+ ):
261
+ conversations[conversation_id].append(
262
+ {"timestamp": timestamp, "source_user": source_user, "text": text}
263
+ )
264
+ element.clear()
265
+
266
+ relative_path = xml_path.relative_to(dataset_root)
267
+ for conversation_id, messages in conversations.items():
268
+ messages.sort(key=lambda message: message["timestamp"])
269
+ yield f"{relative_path}:{conversation_id}", messages
270
+
271
+
272
+ def classify(dataset_root: Path):
273
+ candidates: dict[str, list[tuple[int, str, list[dict[str, str]]]]] = defaultdict(list)
274
+ for source_id, messages in iter_conversations(dataset_root):
275
+ searchable = normalized_text("\n".join(message["text"] for message in messages))
276
+ for topic in TOPICS:
277
+ score = keyword_score(searchable, topic)
278
+ if score:
279
+ candidates[topic.channel].append((score, source_id, messages))
280
+
281
+ for topic in TOPICS:
282
+ candidates[topic.channel].sort(key=lambda item: (-item[0], item[1]))
283
+ return candidates
284
+
285
+
286
+ def team_usernames(base_seed: dict, team_name: str) -> list[str]:
287
+ team = next(team for team in base_seed["teams"] if team["name"] == team_name)
288
+ members = team["members"]
289
+ if members == "__all__":
290
+ return [user["username"] for user in base_seed["users"]]
291
+ return list(members)
292
+
293
+
294
+ def mapped_user(source_user: str, usernames: list[str]) -> str:
295
+ digest = hashlib.sha256(source_user.encode("utf-8")).digest()
296
+ return usernames[int.from_bytes(digest[:4], "big") % len(usernames)]
297
+
298
+
299
+ def message_props(source_id: str, message: dict[str, str]) -> dict:
300
+ return {
301
+ "seed_batch": SEED_BATCH,
302
+ "seed_source": "software-slack-corpus",
303
+ "source_conversation": source_id,
304
+ "source_user": message["source_user"],
305
+ "source_timestamp": message["timestamp"],
306
+ "source_create_at_ms": source_timestamp_ms(message["timestamp"]),
307
+ }
308
+
309
+
310
+ def build_channel_post(
311
+ source_id: str, messages: list[dict[str, str]], usernames: list[str]
312
+ ) -> dict:
313
+ first = messages[0]
314
+ root = {
315
+ "user": mapped_user(first["source_user"], usernames),
316
+ "message": first["text"],
317
+ "props": message_props(source_id, first),
318
+ }
319
+ if len(messages) > 1:
320
+ root["replies"] = [
321
+ {
322
+ "user": mapped_user(message["source_user"], usernames),
323
+ "message": message["text"],
324
+ "props": message_props(source_id, message),
325
+ }
326
+ for message in messages[1:]
327
+ ]
328
+ return root
329
+
330
+
331
+ def select_conversations(candidates, target: int, globally_used: set[str]):
332
+ selected = []
333
+ message_count = 0
334
+ for score, source_id, messages in candidates:
335
+ if message_count >= target:
336
+ break
337
+ if source_id in globally_used:
338
+ continue
339
+ globally_used.add(source_id)
340
+ selected.append((score, source_id, messages))
341
+ message_count += len(messages)
342
+ return selected, message_count
343
+
344
+
345
+ def build_recent_emma_dm(candidates, used: set[str]) -> tuple[dict, str]:
346
+ """Create fixed recent-interaction evidence required by two cross-site tasks."""
347
+ for _, source_id, messages in candidates:
348
+ searchable = normalized_text("\n".join(message["text"] for message in messages))
349
+ is_casual = any(
350
+ keyword in searchable
351
+ for keyword in (" coffee", " lunch", " weekend", " restaurant", " beer", " pizza")
352
+ )
353
+ contains_code = "```" in searchable or "&lt;" in searchable
354
+ if (
355
+ source_id in used
356
+ or not 2 <= len(messages) <= 6
357
+ or not is_casual
358
+ or contains_code
359
+ ):
360
+ continue
361
+ used.add(source_id)
362
+ fixed_start = 1_777_636_800_000 # 2026-05-01 12:00:00 UTC
363
+ # Keep this task-state conversation deliberately short: two messages
364
+ # are enough to make Emma the unambiguous most recent interaction.
365
+ selected_messages = messages[-2:]
366
+ source_start_index = len(messages) - len(selected_messages)
367
+ dm_messages = []
368
+ for index, message in enumerate(selected_messages):
369
+ source_index = source_start_index + index
370
+ author = "emma.davis" if index == len(selected_messages) - 1 else "admin"
371
+ props = message_props(source_id, message)
372
+ props["source_create_at_ms"] = fixed_start + source_index * 1_000
373
+ props["fixed_task_timestamp"] = True
374
+ if index == len(selected_messages) - 1:
375
+ props["task_evidence_key"] = "recent-emma-interaction"
376
+ dm_messages.append(
377
+ {"user": author, "message": message["text"], "props": props}
378
+ )
379
+ return {
380
+ "participants": ["admin", "emma.davis"],
381
+ "messages": dm_messages,
382
+ }, source_id
383
+ raise RuntimeError("No short, unused watercooler conversation available for Emma DM")
384
+
385
+
386
+ def build_seed(base_seed: dict, candidates, target: int) -> tuple[dict, dict]:
387
+ conversations: dict[str, dict[str, list[dict]]] = defaultdict(dict)
388
+ stats = {}
389
+ used: set[str] = set()
390
+
391
+ for topic in TOPICS:
392
+ selected, message_count = select_conversations(
393
+ candidates[topic.channel], target, used
394
+ )
395
+ if message_count < target:
396
+ raise RuntimeError(
397
+ f"{topic.channel} has only {message_count} unique relevant messages; "
398
+ f"target is {target}"
399
+ )
400
+ usernames = team_usernames(base_seed, topic.team)
401
+ conversations[topic.team][topic.channel] = [
402
+ build_channel_post(source_id, messages, usernames)
403
+ for _, source_id, messages in selected
404
+ ]
405
+ stats[f"{topic.team}/{topic.channel}"] = {
406
+ "conversations": len(selected),
407
+ "messages": message_count,
408
+ "minimum_keyword_score": min(score for score, _, _ in selected),
409
+ }
410
+
411
+ emma_dm, emma_source = build_recent_emma_dm(candidates["watercooler"], used)
412
+ seed = {
413
+ "admin": base_seed["admin"],
414
+ "users": base_seed["users"],
415
+ "teams": base_seed["teams"],
416
+ "channels": {},
417
+ "conversations": conversations,
418
+ "direct_messages": [emma_dm],
419
+ "group_messages": [],
420
+ "dataset_provenance": {
421
+ "name": "Software-related Slack Chats with Disentangled Conversations",
422
+ "repository": REPOSITORY,
423
+ "message_text_policy": "verbatim",
424
+ "participant_mapping": "deterministic mapping to destination-team users",
425
+ "seed_batch": SEED_BATCH,
426
+ "target_messages_per_channel": target,
427
+ "recent_emma_dm_source": emma_source,
428
+ "stats": stats,
429
+ },
430
+ }
431
+ return seed, stats
432
+
433
+
434
+ def main() -> int:
435
+ args = parse_args()
436
+ base_seed = json.loads(args.base_seed.read_text())
437
+ candidates = classify(args.dataset_root.resolve())
438
+ seed, stats = build_seed(base_seed, candidates, args.messages_per_channel)
439
+ args.output.parent.mkdir(parents=True, exist_ok=True)
440
+ args.output.write_text(json.dumps(seed, indent=2, ensure_ascii=False) + "\n")
441
+
442
+ print(f"{'channel':38} {'messages':>9} {'threads':>8} {'min score':>9}")
443
+ print("-" * 69)
444
+ for channel, values in stats.items():
445
+ print(
446
+ f"{channel:38} {values['messages']:9,d} "
447
+ f"{values['conversations']:8,d} {values['minimum_keyword_score']:9,d}"
448
+ )
449
+ print(f"\nWrote {args.output} ({args.output.stat().st_size:,} bytes)")
450
+ return 0
451
+
452
+
453
+ if __name__ == "__main__":
454
+ sys.exit(main())
preparation/build_slack_channel_seed.py ADDED
@@ -0,0 +1,506 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Build topic-focused Mattermost channels from the public Slack XML corpus.
3
+
4
+ The input is the "Software-related Slack Chats with Disentangled
5
+ Conversations" dataset. Message text is copied verbatim. Dataset participant
6
+ names are deterministically mapped onto the seeded Engineering users because
7
+ the source identities are anonymized and do not exist in Mattermost.
8
+
9
+ The output is a supplemental seed file: it contains the existing users and
10
+ teams, but only the 24 new channels and their imported conversations. This
11
+ makes it safe to apply to an already-seeded Mattermost instance without
12
+ duplicating the original channel conversations.
13
+ """
14
+
15
+ from __future__ import annotations
16
+
17
+ import argparse
18
+ import hashlib
19
+ import json
20
+ import re
21
+ import sys
22
+ import xml.etree.ElementTree as ET
23
+ from collections import defaultdict
24
+ from dataclasses import dataclass
25
+ from pathlib import Path
26
+
27
+
28
+ MAX_MESSAGE_CHARS = 16_000
29
+
30
+
31
+ @dataclass(frozen=True)
32
+ class Topic:
33
+ community: str
34
+ name: str
35
+ display_name: str
36
+ purpose: str
37
+ keywords: tuple[str, ...]
38
+
39
+
40
+ TOPICS = (
41
+ Topic(
42
+ "pythondev",
43
+ "python-web-services",
44
+ "Python Web Services",
45
+ "Python web frameworks, APIs, HTTP services, and server-side development.",
46
+ (
47
+ "django", "flask", "pyramid", "bottle", "wsgi", "asgi", "jinja",
48
+ "web app", "web server", "rest api", "http request", "endpoint",
49
+ "middleware", "gunicorn", "uwsgi", "fastapi", "aiohttp",
50
+ ),
51
+ ),
52
+ Topic(
53
+ "pythondev",
54
+ "python-data-science",
55
+ "Python Data Science",
56
+ "Python data analysis, scientific computing, visualization, and ML.",
57
+ (
58
+ "pandas", "numpy", "scipy", "matplotlib", "dataframe", "jupyter",
59
+ "notebook", "scikit", "sklearn", "tensorflow", "keras", "machine learning",
60
+ "data science", "seaborn", "csv", "array", "plot", "statistics",
61
+ ),
62
+ ),
63
+ Topic(
64
+ "pythondev",
65
+ "python-packaging",
66
+ "Python Packaging & Environments",
67
+ "Python packages, dependency management, installation, and environments.",
68
+ (
69
+ "pip", "virtualenv", "venv", "conda", "setuptools", "requirements.txt",
70
+ "setup.py", "pyproject", "wheel", "pypi", "package", "dependency",
71
+ "dependencies", "install", "poetry", "pipenv", "environment",
72
+ ),
73
+ ),
74
+ Topic(
75
+ "pythondev",
76
+ "python-async-concurrency",
77
+ "Python Async & Concurrency",
78
+ "Async IO, threads, processes, queues, and concurrent Python systems.",
79
+ (
80
+ "asyncio", "async ", "await ", "coroutine", "event loop", "thread",
81
+ "threading", "multiprocessing", "concurrent", "concurrency", "celery",
82
+ "queue", "future", "gevent", "twisted", "parallel",
83
+ ),
84
+ ),
85
+ Topic(
86
+ "pythondev",
87
+ "python-testing",
88
+ "Python Testing",
89
+ "Python test design, fixtures, mocking, coverage, linting, and type checks.",
90
+ (
91
+ "pytest", "unittest", "test case", "test suite", "fixture", "mock",
92
+ "coverage", "tox", "assert", "hypothesis", "mypy", "pylint", "flake8",
93
+ "lint", "type check", "testing", "tests",
94
+ ),
95
+ ),
96
+ Topic(
97
+ "pythondev",
98
+ "python-language",
99
+ "Python Language",
100
+ "Python syntax, object model, functions, modules, and language behavior.",
101
+ (
102
+ "decorator", "generator", "iterator", "comprehension", "metaclass",
103
+ "context manager", "__init__", "class ", "function", "exception",
104
+ "import ", "module", "attribute", "method", "lambda", "dictionary",
105
+ "list ", "tuple", "python",
106
+ ),
107
+ ),
108
+ Topic(
109
+ "clojurians",
110
+ "clojurescript-frontend",
111
+ "ClojureScript Frontend",
112
+ "ClojureScript, browser applications, React wrappers, and frontend tooling.",
113
+ (
114
+ "clojurescript", "cljs", "reagent", "re-frame", "figwheel", "shadow-cljs",
115
+ "shadow cljs", "javascript", "react", "browser", "frontend", "front-end",
116
+ "npm", "webpack", "dom", "node.js", "nodejs",
117
+ ),
118
+ ),
119
+ Topic(
120
+ "clojurians",
121
+ "clojure-web-services",
122
+ "Clojure Web Services",
123
+ "Clojure HTTP servers, web frameworks, routing, APIs, and middleware.",
124
+ (
125
+ "ring", "compojure", "luminus", "pedestal", "http", "web server",
126
+ "web app", "request", "response", "middleware", "route", "router",
127
+ "servlet", "endpoint", "rest api", "reitit", "aleph",
128
+ ),
129
+ ),
130
+ Topic(
131
+ "clojurians",
132
+ "clojure-data-systems",
133
+ "Clojure Data Systems",
134
+ "Databases, queries, schemas, serialization, and data processing in Clojure.",
135
+ (
136
+ "datomic", "database", "postgres", "sql", "jdbc", "query", "datalog",
137
+ "schema", "transaction", "datascript", "mongo", "redis", "json", "edn",
138
+ "transit", "dataset", "data ",
139
+ ),
140
+ ),
141
+ Topic(
142
+ "clojurians",
143
+ "clojure-build-tools",
144
+ "Clojure Build Tools",
145
+ "Clojure dependencies, builds, packaging, classpaths, and project tooling.",
146
+ (
147
+ "lein", "leiningen", "deps.edn", "tools.deps", "boot", "classpath",
148
+ "dependency", "dependencies", "maven", "jar", "project.clj", "clj -",
149
+ "package", "install", "repository", "artifact", "build",
150
+ ),
151
+ ),
152
+ Topic(
153
+ "clojurians",
154
+ "clojure-concurrency",
155
+ "Clojure Concurrency",
156
+ "core.async, channels, state coordination, parallelism, and concurrency.",
157
+ (
158
+ "core.async", "go block", "channel", "alts!", "atom", "agent", "future",
159
+ "promise", "thread", "concurrent", "concurrency", "parallel", "locking",
160
+ "transaction", "ref ", "stm", "async",
161
+ ),
162
+ ),
163
+ Topic(
164
+ "clojurians",
165
+ "clojure-language",
166
+ "Clojure Language",
167
+ "Clojure functions, macros, sequences, protocols, namespaces, and idioms.",
168
+ (
169
+ "macro", "transducer", "sequence", "lazy", "protocol", "multimethod",
170
+ "namespace", "function", "defn", "let ", "spec", "keyword", "vector",
171
+ "map ", "reduce", "clojure", "repl",
172
+ ),
173
+ ),
174
+ Topic(
175
+ "elmlang",
176
+ "elm-architecture",
177
+ "Elm Architecture",
178
+ "The Elm Architecture, application state, commands, and subscriptions.",
179
+ (
180
+ "model", "update", "view", "the elm architecture", "tea", "msg",
181
+ "message", "command", "cmd", "subscription", "subscriptions", "program",
182
+ "init", "state", "architecture",
183
+ ),
184
+ ),
185
+ Topic(
186
+ "elmlang",
187
+ "elm-ui-styling",
188
+ "Elm UI & Styling",
189
+ "Elm user interfaces, HTML, CSS, forms, layout, and visual components.",
190
+ (
191
+ "elm-ui", "html", "css", "style", "layout", "element", "button", "form",
192
+ "input", "view", "attribute", "class", "flex", "grid", "svg", "modal",
193
+ "component", "design",
194
+ ),
195
+ ),
196
+ Topic(
197
+ "elmlang",
198
+ "elm-http-json",
199
+ "Elm HTTP & JSON",
200
+ "Elm HTTP requests, APIs, JSON decoding, encoding, and remote data.",
201
+ (
202
+ "http", "request", "response", "json", "decoder", "decode", "encoder",
203
+ "encode", "api", "graphql", "websocket", "remote data", "fetch", "ajax",
204
+ "endpoint", "server", "url",
205
+ ),
206
+ ),
207
+ Topic(
208
+ "elmlang",
209
+ "elm-routing",
210
+ "Elm Routing & Navigation",
211
+ "Elm URLs, routers, navigation, pages, and single-page applications.",
212
+ (
213
+ "route", "router", "routing", "navigation", "navigate", "url", "browser.history",
214
+ "browser.application", "location", "history", "page", "single page", "spa",
215
+ "path", "link", "fragment",
216
+ ),
217
+ ),
218
+ Topic(
219
+ "elmlang",
220
+ "elm-build-tools",
221
+ "Elm Build Tools",
222
+ "Elm packages, dependencies, compilers, builds, and JavaScript integration.",
223
+ (
224
+ "elm-package", "elm.json", "package", "dependency", "dependencies", "npm",
225
+ "webpack", "compile", "compiler", "build", "install", "version", "upgrade",
226
+ "elm make", "elm reactor", "javascript", "port",
227
+ ),
228
+ ),
229
+ Topic(
230
+ "elmlang",
231
+ "elm-language",
232
+ "Elm Language",
233
+ "Elm types, functions, records, collections, modules, and language semantics.",
234
+ (
235
+ "type alias", "union type", "maybe", "result", "function", "record",
236
+ "list", "tuple", "pattern match", "case ", "module", "import", "map",
237
+ "fold", "lambda", "elm", "type ",
238
+ ),
239
+ ),
240
+ Topic(
241
+ "racket",
242
+ "racket-macros",
243
+ "Racket Macros",
244
+ "Racket macros, syntax objects, expansion, and language extension.",
245
+ (
246
+ "macro", "syntax-rules", "syntax-case", "syntax/parse", "syntax parse",
247
+ "transformer", "expand", "expander", "datum->syntax", "quasisyntax",
248
+ "define-syntax", "reader", "language extension", "syntax", "#lang",
249
+ "quasiquote", "unquote", "hygien", "template", "pattern",
250
+ ),
251
+ ),
252
+ Topic(
253
+ "racket",
254
+ "racket-gui-graphics",
255
+ "Racket GUI & Graphics",
256
+ "Racket desktop interfaces, drawing, images, games, and visual programs.",
257
+ (
258
+ "racket/gui", "gui", "frame%", "canvas", "pict", "image", "drawing",
259
+ "graphics", "2htdp/image", "big-bang", "universe", "game", "window",
260
+ "bitmap", "render", "animation", "draw", "color", "widget", "panel",
261
+ "editor", "plot", "mouse", "keyboard", "screen", "visual",
262
+ ),
263
+ ),
264
+ Topic(
265
+ "racket",
266
+ "racket-data-structures",
267
+ "Racket Data Structures",
268
+ "Lists, vectors, hashes, sequences, streams, trees, and collection processing.",
269
+ (
270
+ "list", "vector", "hash", "sequence", "stream", "set ", "map ",
271
+ "fold", "tree", "dictionary", "pair", "cons", "car ", "cdr", "append",
272
+ "sort", "filter", "collection", "immutable", "mutable",
273
+ ),
274
+ ),
275
+ Topic(
276
+ "racket",
277
+ "racket-web-services",
278
+ "Racket Web Services",
279
+ "Racket web servers, servlets, HTTP applications, HTML, and APIs.",
280
+ (
281
+ "web-server", "web server", "servlet", "http", "request", "response",
282
+ "html", "xexpr", "url", "web app", "api", "endpoint", "dispatch-rules",
283
+ "send/suspend", "server", "database",
284
+ ),
285
+ ),
286
+ Topic(
287
+ "racket",
288
+ "racket-packages",
289
+ "Racket Packages & Tooling",
290
+ "Racket packages, documentation, testing, installation, and command-line tools.",
291
+ (
292
+ "raco", "package", "pkg", "install", "scribble", "documentation", "docs",
293
+ "rackunit", "test", "collection", "planet", "dependency", "build", "compile",
294
+ "command line", "library", "module path",
295
+ ),
296
+ ),
297
+ Topic(
298
+ "racket",
299
+ "racket-language",
300
+ "Racket Language",
301
+ "Racket functions, modules, structures, contracts, and language semantics.",
302
+ (
303
+ "lambda", "function", "struct", "module", "require",
304
+ "provide", "recursion", "define", "match", "parameter", "continuation",
305
+ "racket", "scheme",
306
+ ),
307
+ ),
308
+ )
309
+
310
+
311
+ def parse_args() -> argparse.Namespace:
312
+ parser = argparse.ArgumentParser()
313
+ parser.add_argument("dataset_root", type=Path, help="Path to the cloned Slack dataset")
314
+ parser.add_argument(
315
+ "--base-seed",
316
+ type=Path,
317
+ default=Path(__file__).resolve().parents[1] / "seed_data.json",
318
+ )
319
+ parser.add_argument(
320
+ "--output",
321
+ type=Path,
322
+ default=Path(__file__).resolve().parents[1] / "slack_channel_seed.json",
323
+ )
324
+ parser.add_argument("--messages-per-channel", type=int, default=1_000)
325
+ parser.add_argument("--analyze-only", action="store_true")
326
+ return parser.parse_args()
327
+
328
+
329
+ def normalized_text(text: str) -> str:
330
+ return re.sub(r"\s+", " ", text.lower())
331
+
332
+
333
+ def keyword_score(text: str, topic: Topic) -> int:
334
+ return sum(text.count(keyword) for keyword in topic.keywords)
335
+
336
+
337
+ def parse_community_conversations(dataset_root: Path, community: str):
338
+ data_dir = dataset_root / "data" / community
339
+ if not data_dir.is_dir():
340
+ raise FileNotFoundError(f"Missing dataset community directory: {data_dir}")
341
+
342
+ for xml_path in sorted(data_dir.rglob("*.xml")):
343
+ conversations: dict[str, list[dict[str, str]]] = defaultdict(list)
344
+ for _, element in ET.iterparse(xml_path, events=("end",)):
345
+ if element.tag != "message":
346
+ continue
347
+ conversation_id = element.attrib.get("conversation_id", "")
348
+ text = element.findtext("text") or ""
349
+ timestamp = element.findtext("ts") or ""
350
+ source_user = element.findtext("user") or "Unknown"
351
+ if conversation_id and text.strip() and len(text) <= MAX_MESSAGE_CHARS:
352
+ conversations[conversation_id].append(
353
+ {"timestamp": timestamp, "source_user": source_user, "text": text}
354
+ )
355
+ element.clear()
356
+
357
+ for conversation_id, messages in conversations.items():
358
+ messages.sort(key=lambda message: message["timestamp"])
359
+ yield f"{xml_path.relative_to(dataset_root)}:{conversation_id}", messages
360
+
361
+
362
+ def assign_conversations(dataset_root: Path):
363
+ assigned: dict[str, list[tuple[int, str, list[dict[str, str]]]]] = defaultdict(list)
364
+ for community in sorted({topic.community for topic in TOPICS}):
365
+ topics = [topic for topic in TOPICS if topic.community == community]
366
+ for source_id, messages in parse_community_conversations(dataset_root, community):
367
+ searchable = normalized_text("\n".join(message["text"] for message in messages))
368
+ scored = [(keyword_score(searchable, topic), topic) for topic in topics]
369
+ best_score, best_topic = max(scored, key=lambda item: (item[0], item[1].name))
370
+ if best_score > 0:
371
+ assigned[best_topic.name].append((best_score, source_id, messages))
372
+
373
+ for topic in TOPICS:
374
+ assigned[topic.name].sort(key=lambda item: (-item[0], item[1]))
375
+ return assigned
376
+
377
+
378
+ def mapped_user(source_user: str, usernames: list[str]) -> str:
379
+ digest = hashlib.sha256(source_user.encode("utf-8")).digest()
380
+ return usernames[int.from_bytes(digest[:4], "big") % len(usernames)]
381
+
382
+
383
+ def select_conversations(conversations, target_message_count: int):
384
+ selected = []
385
+ message_count = 0
386
+ for score, source_id, messages in conversations:
387
+ if message_count >= target_message_count:
388
+ break
389
+ selected.append((score, source_id, messages))
390
+ message_count += len(messages)
391
+ return selected, message_count
392
+
393
+
394
+ def build_seed(base_seed: dict, assigned, target_message_count: int) -> tuple[dict, dict]:
395
+ engineering_team = next(team for team in base_seed["teams"] if team["name"] == "engineering")
396
+ usernames = list(engineering_team["members"])
397
+ channels = []
398
+ conversations: dict[str, list[dict]] = {}
399
+ stats = {}
400
+
401
+ for topic in TOPICS:
402
+ selected, message_count = select_conversations(
403
+ assigned[topic.name], target_message_count
404
+ )
405
+ if message_count < target_message_count:
406
+ raise RuntimeError(
407
+ f"{topic.name} has only {message_count} classified messages; "
408
+ f"target is {target_message_count}"
409
+ )
410
+
411
+ channels.append(
412
+ {
413
+ "name": topic.name,
414
+ "display_name": topic.display_name,
415
+ "purpose": topic.purpose,
416
+ "header": (
417
+ "Imported verbatim from the Software-related Slack Chats with "
418
+ "Disentangled Conversations dataset."
419
+ ),
420
+ "type": "O",
421
+ }
422
+ )
423
+
424
+ channel_posts = []
425
+ for _, source_id, messages in selected:
426
+ root = {
427
+ "user": mapped_user(messages[0]["source_user"], usernames),
428
+ "message": messages[0]["text"],
429
+ "source": source_id,
430
+ }
431
+ if len(messages) > 1:
432
+ root["replies"] = [
433
+ {
434
+ "user": mapped_user(message["source_user"], usernames),
435
+ "message": message["text"],
436
+ }
437
+ for message in messages[1:]
438
+ ]
439
+ channel_posts.append(root)
440
+ conversations[topic.name] = channel_posts
441
+ stats[topic.name] = {
442
+ "conversations": len(selected),
443
+ "messages": message_count,
444
+ "classified_messages": sum(
445
+ len(messages) for _, _, messages in assigned[topic.name]
446
+ ),
447
+ }
448
+
449
+ seed = {
450
+ "admin": base_seed["admin"],
451
+ "users": base_seed["users"],
452
+ "teams": base_seed["teams"],
453
+ "channels": {"engineering": channels},
454
+ "conversations": {"engineering": conversations},
455
+ "direct_messages": [],
456
+ "group_messages": [],
457
+ "dataset_provenance": {
458
+ "name": "Software-related Slack Chats with Disentangled Conversations",
459
+ "repository": (
460
+ "https://github.com/preethac/"
461
+ "Software-related-Slack-Chats-with-Disentangled-Conversations"
462
+ ),
463
+ "message_text_policy": "verbatim",
464
+ "participant_mapping": "deterministic mapping to seeded Engineering users",
465
+ "channel_count": len(TOPICS),
466
+ "target_messages_per_channel": target_message_count,
467
+ "stats": stats,
468
+ },
469
+ }
470
+ return seed, stats
471
+
472
+
473
+ def print_stats(assigned, selected_stats: dict | None = None):
474
+ print(f"{'channel':30} {'classified':>12} {'selected':>10} {'threads':>9}")
475
+ print("-" * 67)
476
+ for topic in TOPICS:
477
+ classified = sum(len(messages) for _, _, messages in assigned[topic.name])
478
+ if selected_stats:
479
+ selected = selected_stats[topic.name]["messages"]
480
+ threads = selected_stats[topic.name]["conversations"]
481
+ else:
482
+ selected = 0
483
+ threads = len(assigned[topic.name])
484
+ print(f"{topic.name:30} {classified:12,d} {selected:10,d} {threads:9,d}")
485
+
486
+
487
+ def main() -> int:
488
+ args = parse_args()
489
+ dataset_root = args.dataset_root.resolve()
490
+ base_seed = json.loads(args.base_seed.read_text())
491
+ assigned = assign_conversations(dataset_root)
492
+
493
+ if args.analyze_only:
494
+ print_stats(assigned)
495
+ return 0
496
+
497
+ seed, stats = build_seed(base_seed, assigned, args.messages_per_channel)
498
+ args.output.parent.mkdir(parents=True, exist_ok=True)
499
+ args.output.write_text(json.dumps(seed, indent=2, ensure_ascii=False) + "\n")
500
+ print_stats(assigned, stats)
501
+ print(f"\nWrote {args.output} ({args.output.stat().st_size:,} bytes)")
502
+ return 0
503
+
504
+
505
+ if __name__ == "__main__":
506
+ sys.exit(main())
release-manifest.json ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repo_id": "WebArena-Pro/mattermost-data",
3
+ "application_repository": "https://github.com/McGill-NLP/webarena-pro",
4
+ "prepared_at_utc": "2026-11-13T20:57:14.060723+00:00",
5
+ "visibility": "private",
6
+ "source_urls": [
7
+ "https://github.com/preethac/Software-related-Slack-Chats-with-Disentangled-Conversations"
8
+ ],
9
+ "files": [
10
+ {
11
+ "path": "LICENSES.md",
12
+ "bytes": 875,
13
+ "sha256": "c7028c1fd22c298caef0f88edd8da63edadf824953e0bbbb6656dd39178b7dd7"
14
+ },
15
+ {
16
+ "path": "README.md",
17
+ "bytes": 2108,
18
+ "sha256": "acdc4ddbc7457e420c54a3fd48d61ee55ee4de96050a504f7172dc822acd1525"
19
+ },
20
+ {
21
+ "path": "data/channels.jsonl",
22
+ "bytes": 16425,
23
+ "sha256": "5940eafffd91ce1d6d24bfbd0719f00bd6dc3873af6e777562f7cd0063eedfef"
24
+ },
25
+ {
26
+ "path": "data/posts.jsonl",
27
+ "bytes": 17925616,
28
+ "sha256": "44fc32368cca04f6bc767f30518d87063e79a5d0c0447a0768121c4f49378ebe"
29
+ },
30
+ {
31
+ "path": "data/teams.jsonl",
32
+ "bytes": 455,
33
+ "sha256": "241ad7e7e343a39f4a6e4b1363fd25c44f93edb0e3738bd6d5091c8cd01abd97"
34
+ },
35
+ {
36
+ "path": "data/users.jsonl",
37
+ "bytes": 3362,
38
+ "sha256": "211fbefaf9ef3ece99366e1874ccdee1b5e9664a7620d4e83b76985edbaaea3c"
39
+ },
40
+ {
41
+ "path": "preparation/build_existing_channel_backfill.py",
42
+ "bytes": 15091,
43
+ "sha256": "6b98669cc19ff7ff7efa78a89f8c012fed76d1518bef3ede0c3ab8771cc3c2ec"
44
+ },
45
+ {
46
+ "path": "preparation/build_slack_channel_seed.py",
47
+ "bytes": 19127,
48
+ "sha256": "8ff9de24c93f544774951bfd2a7589801b739a9285876d632f033cb87d38e4bd"
49
+ },
50
+ {
51
+ "path": "seed_inputs/existing_channel_backfill_seed.json",
52
+ "bytes": 3993734,
53
+ "sha256": "5f76a03a8ac5183a87f3055afa9f79ac262ad4d41fc686a2f7ebc81e993d7fa8"
54
+ },
55
+ {
56
+ "path": "seed_inputs/seed_data.json",
57
+ "bytes": 58769,
58
+ "sha256": "a6f5096da458c7a4356286956b3f8eaa3654e8b535d25cd3edb51381ef7b7964"
59
+ },
60
+ {
61
+ "path": "seed_inputs/slack_channel_seed.json",
62
+ "bytes": 5156545,
63
+ "sha256": "112e6fd066606627b8cc8e12c2d524808fa3f3c463207c79626af01f912af1a1"
64
+ }
65
+ ],
66
+ "remote_media_preserved": false
67
+ }
seed_inputs/existing_channel_backfill_seed.json ADDED
The diff for this file is too large to render. See raw diff
 
seed_inputs/seed_data.json ADDED
@@ -0,0 +1,820 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "admin": {
3
+ "username": "admin",
4
+ "password": "Admin@Secure123",
5
+ "email": "admin@techcorp.com",
6
+ "first_name": "System",
7
+ "last_name": "Admin",
8
+ "position": "System Administrator"
9
+ },
10
+ "users": [
11
+ {
12
+ "username": "john.doe",
13
+ "password": "User@Secure123",
14
+ "email": "john.doe@techcorp.com",
15
+ "first_name": "John",
16
+ "last_name": "Doe",
17
+ "nickname": "JD",
18
+ "position": "Engineering Manager"
19
+ },
20
+ {
21
+ "username": "jane.smith",
22
+ "password": "User@Secure123",
23
+ "email": "jane.smith@techcorp.com",
24
+ "first_name": "Jane",
25
+ "last_name": "Smith",
26
+ "nickname": "jsmith",
27
+ "position": "Senior Developer"
28
+ },
29
+ {
30
+ "username": "bob.wilson",
31
+ "password": "User@Secure123",
32
+ "email": "bob.wilson@techcorp.com",
33
+ "first_name": "Bob",
34
+ "last_name": "Wilson",
35
+ "nickname": "bobw",
36
+ "position": "DevOps Engineer"
37
+ },
38
+ {
39
+ "username": "alice.johnson",
40
+ "password": "User@Secure123",
41
+ "email": "alice.johnson@techcorp.com",
42
+ "first_name": "Alice",
43
+ "last_name": "Johnson",
44
+ "nickname": "alicej",
45
+ "position": "Frontend Developer"
46
+ },
47
+ {
48
+ "username": "charlie.brown",
49
+ "password": "User@Secure123",
50
+ "email": "charlie.brown@techcorp.com",
51
+ "first_name": "Charlie",
52
+ "last_name": "Brown",
53
+ "nickname": "charlie",
54
+ "position": "Backend Developer"
55
+ },
56
+ {
57
+ "username": "diana.prince",
58
+ "password": "User@Secure123",
59
+ "email": "diana.prince@techcorp.com",
60
+ "first_name": "Diana",
61
+ "last_name": "Prince",
62
+ "nickname": "diana",
63
+ "position": "QA Engineer"
64
+ },
65
+ {
66
+ "username": "emma.davis",
67
+ "password": "User@Secure123",
68
+ "email": "emma.davis@techcorp.com",
69
+ "first_name": "Emma",
70
+ "last_name": "Davis",
71
+ "nickname": "emmad",
72
+ "position": "Marketing Manager"
73
+ },
74
+ {
75
+ "username": "frank.miller",
76
+ "password": "User@Secure123",
77
+ "email": "frank.miller@techcorp.com",
78
+ "first_name": "Frank",
79
+ "last_name": "Miller",
80
+ "nickname": "frankm",
81
+ "position": "Content Writer"
82
+ },
83
+ {
84
+ "username": "grace.lee",
85
+ "password": "User@Secure123",
86
+ "email": "grace.lee@techcorp.com",
87
+ "first_name": "Grace",
88
+ "last_name": "Lee",
89
+ "nickname": "gracel",
90
+ "position": "UI/UX Designer"
91
+ },
92
+ {
93
+ "username": "henry.taylor",
94
+ "password": "User@Secure123",
95
+ "email": "henry.taylor@techcorp.com",
96
+ "first_name": "Henry",
97
+ "last_name": "Taylor",
98
+ "nickname": "henryt",
99
+ "position": "HR Manager"
100
+ },
101
+ {
102
+ "username": "ivy.chen",
103
+ "password": "User@Secure123",
104
+ "email": "ivy.chen@techcorp.com",
105
+ "first_name": "Ivy",
106
+ "last_name": "Chen",
107
+ "nickname": "ivyc",
108
+ "position": "Data Analyst"
109
+ },
110
+ {
111
+ "username": "kevin.martinez",
112
+ "password": "User@Secure123",
113
+ "email": "kevin.martinez@techcorp.com",
114
+ "first_name": "Kevin",
115
+ "last_name": "Martinez",
116
+ "nickname": "kevinm",
117
+ "position": "Product Manager"
118
+ },
119
+ {
120
+ "username": "lisa.wang",
121
+ "password": "User@Secure123",
122
+ "email": "lisa.wang@techcorp.com",
123
+ "first_name": "Lisa",
124
+ "last_name": "Wang",
125
+ "nickname": "lisaw",
126
+ "position": "Security Engineer"
127
+ },
128
+ {
129
+ "username": "mike.ross",
130
+ "password": "User@Secure123",
131
+ "email": "mike.ross@techcorp.com",
132
+ "first_name": "Mike",
133
+ "last_name": "Ross",
134
+ "nickname": "miker",
135
+ "position": "Junior Developer"
136
+ },
137
+ {
138
+ "username": "natalie.kim",
139
+ "password": "User@Secure123",
140
+ "email": "natalie.kim@techcorp.com",
141
+ "first_name": "Natalie",
142
+ "last_name": "Kim",
143
+ "nickname": "nataliek",
144
+ "position": "Technical Writer"
145
+ }
146
+ ],
147
+ "teams": [
148
+ {
149
+ "name": "engineering",
150
+ "display_name": "Engineering",
151
+ "description": "Software Engineering team at TechCorp",
152
+ "type": "O",
153
+ "members": ["john.doe", "jane.smith", "bob.wilson", "alice.johnson", "charlie.brown", "diana.prince", "kevin.martinez", "lisa.wang", "mike.ross", "natalie.kim"]
154
+ },
155
+ {
156
+ "name": "marketing",
157
+ "display_name": "Marketing",
158
+ "description": "Marketing and Growth team",
159
+ "type": "O",
160
+ "members": ["emma.davis", "frank.miller", "grace.lee", "ivy.chen", "kevin.martinez"]
161
+ },
162
+ {
163
+ "name": "general",
164
+ "display_name": "TechCorp General",
165
+ "description": "Company-wide communication hub",
166
+ "type": "O",
167
+ "members": "__all__"
168
+ }
169
+ ],
170
+ "channels": {
171
+ "engineering": [
172
+ {
173
+ "name": "project-alpha",
174
+ "display_name": "Project Alpha",
175
+ "purpose": "Discussion and updates for Project Alpha - our new customer portal",
176
+ "header": "Project Alpha | Sprint 12 | Release: March 30",
177
+ "type": "O"
178
+ },
179
+ {
180
+ "name": "project-beta",
181
+ "display_name": "Project Beta",
182
+ "purpose": "Internal dashboard redesign project",
183
+ "header": "Project Beta | Planning Phase | Lead: Jane Smith",
184
+ "type": "O"
185
+ },
186
+ {
187
+ "name": "deployments",
188
+ "display_name": "Deployments",
189
+ "purpose": "Deployment coordination and status updates",
190
+ "header": "Check #runbooks before deploying | On-call: Bob Wilson",
191
+ "type": "O"
192
+ },
193
+ {
194
+ "name": "code-reviews",
195
+ "display_name": "Code Reviews",
196
+ "purpose": "Request and discuss code reviews",
197
+ "header": "Please include PR link and brief description when requesting reviews",
198
+ "type": "O"
199
+ },
200
+ {
201
+ "name": "bugs-and-issues",
202
+ "display_name": "Bugs and Issues",
203
+ "purpose": "Report and track bugs across all projects",
204
+ "header": "Use format: [PROJECT] Brief description | Priority: High/Med/Low",
205
+ "type": "O"
206
+ },
207
+ {
208
+ "name": "standup-notes",
209
+ "display_name": "Standup Notes",
210
+ "purpose": "Daily standup updates from the engineering team",
211
+ "header": "Format: Yesterday | Today | Blockers",
212
+ "type": "O"
213
+ },
214
+ {
215
+ "name": "tech-discussions",
216
+ "display_name": "Tech Discussions",
217
+ "purpose": "Technical discussions, architecture decisions, and knowledge sharing",
218
+ "header": "Share interesting articles, discuss tech trends, and propose RFCs",
219
+ "type": "O"
220
+ },
221
+ {
222
+ "name": "devops",
223
+ "display_name": "DevOps",
224
+ "purpose": "Infrastructure, CI/CD, and operations",
225
+ "header": "AWS Status: Green | K8s Cluster: Healthy",
226
+ "type": "O"
227
+ },
228
+ {
229
+ "name": "security-alerts",
230
+ "display_name": "Security Alerts",
231
+ "purpose": "Security vulnerabilities and incident reports",
232
+ "header": "CONFIDENTIAL - Do not share outside this channel",
233
+ "type": "P"
234
+ }
235
+ ],
236
+ "marketing": [
237
+ {
238
+ "name": "campaigns",
239
+ "display_name": "Campaigns",
240
+ "purpose": "Plan and track marketing campaigns",
241
+ "header": "Q1 Campaign: 'Innovate Together' | Budget: $50K",
242
+ "type": "O"
243
+ },
244
+ {
245
+ "name": "social-media",
246
+ "display_name": "Social Media",
247
+ "purpose": "Social media strategy and content planning",
248
+ "header": "Posting schedule: Mon/Wed/Fri | Tools: Hootsuite, Canva",
249
+ "type": "O"
250
+ },
251
+ {
252
+ "name": "analytics",
253
+ "display_name": "Analytics",
254
+ "purpose": "Marketing analytics and reporting",
255
+ "header": "Weekly report due every Friday by 3pm",
256
+ "type": "O"
257
+ },
258
+ {
259
+ "name": "content-calendar",
260
+ "display_name": "Content Calendar",
261
+ "purpose": "Blog posts, newsletters, and content scheduling",
262
+ "header": "Next blog post due: March 15 | Author: Frank Miller",
263
+ "type": "O"
264
+ },
265
+ {
266
+ "name": "design-requests",
267
+ "display_name": "Design Requests",
268
+ "purpose": "Submit and track design requests",
269
+ "header": "Use the pinned template for new requests | SLA: 3 business days",
270
+ "type": "O"
271
+ }
272
+ ],
273
+ "general": [
274
+ {
275
+ "name": "announcements",
276
+ "display_name": "Announcements",
277
+ "purpose": "Company-wide announcements and news",
278
+ "header": "Only managers and above can post here",
279
+ "type": "O"
280
+ },
281
+ {
282
+ "name": "random",
283
+ "display_name": "Random",
284
+ "purpose": "Non-work banter and fun stuff",
285
+ "header": "Keep it friendly and respectful!",
286
+ "type": "O"
287
+ },
288
+ {
289
+ "name": "watercooler",
290
+ "display_name": "Water Cooler",
291
+ "purpose": "Casual conversations and team bonding",
292
+ "header": "What's everyone watching this weekend?",
293
+ "type": "O"
294
+ },
295
+ {
296
+ "name": "events",
297
+ "display_name": "Events",
298
+ "purpose": "Company events, team outings, and celebrations",
299
+ "header": "Next event: Team Lunch - March 20 at Bella Italia",
300
+ "type": "O"
301
+ },
302
+ {
303
+ "name": "help-desk",
304
+ "display_name": "Help Desk",
305
+ "purpose": "IT support and general help requests",
306
+ "header": "For urgent issues, contact IT at ext. 5555",
307
+ "type": "O"
308
+ },
309
+ {
310
+ "name": "new-joiners",
311
+ "display_name": "New Joiners",
312
+ "purpose": "Welcome new team members and onboarding info",
313
+ "header": "Welcome to TechCorp! Check pinned posts for onboarding guide",
314
+ "type": "O"
315
+ }
316
+ ]
317
+ },
318
+ "conversations": {
319
+ "engineering": {
320
+ "project-alpha": [
321
+ {
322
+ "user": "john.doe",
323
+ "message": "Team, I want to kick off the Sprint 12 planning for Project Alpha. We need to finalize the customer portal authentication flow and the dashboard widgets. @jane.smith can you take the lead on the auth module?",
324
+ "replies": [
325
+ {"user": "jane.smith", "message": "Sure John! I've been looking into OAuth 2.0 with PKCE flow. I think we should support both Google and GitHub SSO along with email/password."},
326
+ {"user": "alice.johnson", "message": "I can handle the frontend components for the login/signup pages. Should I use the new design system components?"},
327
+ {"user": "john.doe", "message": "Yes, use the new design system. @grace.lee already finalized the auth page mockups."},
328
+ {"user": "charlie.brown", "message": "For the backend, should we use JWT or session-based auth? I'd recommend JWT with refresh tokens for the API."},
329
+ {"user": "jane.smith", "message": "JWT with refresh tokens sounds good. Let's set access token expiry to 15 minutes and refresh token to 7 days."},
330
+ {"user": "kevin.martinez", "message": "Just a heads up - the customer demo is scheduled for March 28. We need the auth flow working end-to-end by March 25 at the latest."}
331
+ ]
332
+ },
333
+ {
334
+ "user": "alice.johnson",
335
+ "message": "I've pushed the initial PR for the dashboard layout: https://github.com/techcorp/portal/pull/142. It includes the grid system and the widget container components. Would love some feedback!",
336
+ "replies": [
337
+ {"user": "jane.smith", "message": "Looks great! Left a few comments on the PR. Mainly about the responsive breakpoints - I think we should add a tablet view."},
338
+ {"user": "mike.ross", "message": "I can work on the chart widgets if you need help. I've been working with Recharts and it integrates nicely with our stack."},
339
+ {"user": "alice.johnson", "message": "That would be awesome Mike! Let me create tickets for the individual widgets. We need: line chart, bar chart, pie chart, and a KPI card widget."},
340
+ {"user": "diana.prince", "message": "I'll start writing test cases for the dashboard components. Should I use React Testing Library or Cypress for this?"},
341
+ {"user": "alice.johnson", "message": "RTL for unit tests, Cypress for the E2E flows. Let's discuss in standup tomorrow."}
342
+ ]
343
+ },
344
+ {
345
+ "user": "kevin.martinez",
346
+ "message": "Product update: Based on customer feedback, we're adding a notification center to the portal. Users want real-time alerts for order status changes, payment confirmations, and system alerts. Adding this to the Sprint 12 backlog.",
347
+ "replies": [
348
+ {"user": "charlie.brown", "message": "We'll need WebSocket support for real-time notifications. I can set up a Socket.io server alongside our REST API."},
349
+ {"user": "jane.smith", "message": "Let's also add a notification preferences page so users can choose which alerts they want. Email, in-app, or both."},
350
+ {"user": "john.doe", "message": "Good call. @bob.wilson can we use Redis pub/sub for the notification queue in our k8s setup?"},
351
+ {"user": "bob.wilson", "message": "Yes, we already have a Redis cluster running. I'll configure a dedicated channel for notifications. Should be straightforward."}
352
+ ]
353
+ },
354
+ {
355
+ "user": "diana.prince",
356
+ "message": "QA Report for Sprint 11:\n\n**Passed:** 45/52 test cases\n**Failed:** 7 test cases\n**Blockers:**\n- Login page crashes on Safari 16 when using autofill\n- Payment form validation not triggered on mobile keyboards\n- API returns 500 on concurrent cart updates\n\n**Notes:** Overall good quality. The Safari issue is the most critical since 15% of our users are on Safari.",
357
+ "replies": [
358
+ {"user": "john.doe", "message": "Thanks Diana. The Safari issue is P1. @alice.johnson can you look into this today?"},
359
+ {"user": "alice.johnson", "message": "On it. I think it's related to the autofill event handler. Safari handles it differently from Chrome/Firefox."},
360
+ {"user": "charlie.brown", "message": "I'll fix the concurrent cart update issue. Likely a race condition in the transaction handling. Should have a fix by EOD."},
361
+ {"user": "diana.prince", "message": "I'll re-run the failed tests once fixes are in. Also setting up automated Safari testing in our CI pipeline with BrowserStack."}
362
+ ]
363
+ }
364
+ ],
365
+ "project-beta": [
366
+ {
367
+ "user": "jane.smith",
368
+ "message": "Starting the architecture planning for Project Beta (Internal Dashboard Redesign). Here's my proposal:\n\n**Tech Stack:**\n- Frontend: Next.js 14 with App Router\n- State Management: Zustand\n- UI: Tailwind CSS + Radix UI\n- Charts: D3.js for custom visualizations\n- API: tRPC for type-safe API calls\n\nThoughts?",
369
+ "replies": [
370
+ {"user": "charlie.brown", "message": "I like the tRPC choice. It'll save us a lot of boilerplate compared to REST. Can we also use Prisma for the ORM?"},
371
+ {"user": "alice.johnson", "message": "Zustand over Redux? I'm in favor - much simpler API and less boilerplate. But we need to make sure the DevTools support is adequate."},
372
+ {"user": "jane.smith", "message": "Yes, Prisma is great with tRPC. And Zustand has excellent DevTools support now. I'll create the RFC document and share it by Thursday."},
373
+ {"user": "john.doe", "message": "Looks solid. Let's schedule an architecture review meeting for Friday. I want @lisa.wang to review the security aspects too."},
374
+ {"user": "lisa.wang", "message": "I'll be there. Main concerns will be around data access controls and API authentication for internal tools."}
375
+ ]
376
+ },
377
+ {
378
+ "user": "kevin.martinez",
379
+ "message": "Here are the key metrics we need to display on the new internal dashboard:\n\n1. **Sales Metrics:** Revenue, orders, avg order value, conversion rate\n2. **User Metrics:** DAU, MAU, retention, churn rate\n3. **System Health:** API latency, error rate, uptime\n4. **Support Metrics:** Open tickets, avg response time, CSAT score\n\nEach section should be a separate dashboard page with drill-down capabilities.",
380
+ "replies": [
381
+ {"user": "ivy.chen", "message": "I can help define the data models and write the SQL queries for these metrics. Most of the raw data is already in our data warehouse."},
382
+ {"user": "jane.smith", "message": "Perfect. Let's set up a meeting with Ivy to map out the data pipeline. We'll need real-time updates for system health and hourly updates for business metrics."},
383
+ {"user": "mike.ross", "message": "Should I start prototyping the chart components? I can create a Storybook with sample visualizations for each metric type."}
384
+ ]
385
+ }
386
+ ],
387
+ "deployments": [
388
+ {
389
+ "user": "bob.wilson",
390
+ "message": ":rocket: **Deployment Notice**\n\n**Service:** Customer API v2.4.1\n**Environment:** Production\n**Time:** Today, 2:00 PM EST\n**Changes:**\n- Fix for payment processing timeout\n- New rate limiting middleware\n- Updated error response format\n\n**Rollback Plan:** Revert to v2.4.0 via Helm chart\n**Monitoring:** Grafana dashboard #12\n\nPlease hold off on non-critical deploys until 3:00 PM.",
391
+ "replies": [
392
+ {"user": "jane.smith", "message": "Acknowledged. I'll monitor the error rates during the deployment."},
393
+ {"user": "charlie.brown", "message": "The rate limiting config is in the ConfigMap. Default is 100 req/min per API key. Should we adjust for the initial rollout?"},
394
+ {"user": "bob.wilson", "message": "Let's keep it at 100 for now and monitor. We can adjust without redeploying since it reads from the ConfigMap."},
395
+ {"user": "diana.prince", "message": "I'll run the smoke tests right after deployment. Estimated 15 min for the full suite."},
396
+ {"user": "bob.wilson", "message": ":white_check_mark: Deployment complete! All health checks passing. Monitoring for the next hour."}
397
+ ]
398
+ },
399
+ {
400
+ "user": "bob.wilson",
401
+ "message": ":warning: **Infrastructure Alert**\n\nOur staging environment database (PostgreSQL) is running low on disk space. Current usage: 87%. I'm scheduling a cleanup of old test data and will increase the volume size from 50GB to 100GB tonight.\n\nThis will require a brief downtime of the staging environment from 11 PM to 12 AM EST.",
402
+ "replies": [
403
+ {"user": "john.doe", "message": "Thanks for the heads up. Everyone please wrap up your staging testing before 11 PM."},
404
+ {"user": "lisa.wang", "message": "Bob, can we also enable automated log rotation while you're at it? The pg_log directory is growing unbounded."},
405
+ {"user": "bob.wilson", "message": "Good catch Lisa. I'll add log rotation config. Max 7 days retention, 100MB per file."}
406
+ ]
407
+ },
408
+ {
409
+ "user": "bob.wilson",
410
+ "message": "**Weekly Deployment Schedule (March 10-14):**\n\n| Day | Service | Version | Owner |\n|---|---|---|---|\n| Mon | Auth Service | v1.8.0 | Jane |\n| Tue | Payment Gateway | v3.2.1 | Charlie |\n| Wed | No deployments (Change Freeze) | - | - |\n| Thu | Frontend Bundle | v5.1.0 | Alice |\n| Fri | No deployments (End of week) | - | - |\n\nAll deployments require at least 1 approval from @john.doe or @jane.smith.",
411
+ "replies": [
412
+ {"user": "jane.smith", "message": "Auth Service v1.8.0 is ready. All tests passing. I'll do the deployment Monday morning."},
413
+ {"user": "charlie.brown", "message": "Payment Gateway v3.2.1 includes the Stripe API upgrade. @diana.prince can you run the payment flow tests on staging Monday evening?"},
414
+ {"user": "diana.prince", "message": "Will do. I'll have the test results ready by Tuesday morning before the deployment."}
415
+ ]
416
+ }
417
+ ],
418
+ "code-reviews": [
419
+ {
420
+ "user": "charlie.brown",
421
+ "message": "Need a review on PR #287: Refactored the order processing pipeline to use async/await instead of callbacks. Also added retry logic with exponential backoff for payment API calls.\n\nhttps://github.com/techcorp/api/pull/287\n\nKey changes:\n- `OrderService.processOrder()` is now async\n- Added `RetryHelper` utility class\n- Updated 12 test files",
422
+ "replies": [
423
+ {"user": "jane.smith", "message": "I'll review this afternoon. The retry logic sounds important - what's the max retry count and backoff ceiling?"},
424
+ {"user": "charlie.brown", "message": "Max 3 retries, starting at 1s, ceiling at 8s. So: 1s, 2s, 4s then fail."},
425
+ {"user": "lisa.wang", "message": "Security review note: Make sure the retry logic doesn't retry on 4xx errors, only 5xx and network timeouts. Otherwise we might duplicate payments."},
426
+ {"user": "charlie.brown", "message": "Great point Lisa! I've already handled that - only retrying on 502, 503, 504, and ECONNRESET. 4xx errors fail immediately."}
427
+ ]
428
+ },
429
+ {
430
+ "user": "mike.ross",
431
+ "message": "My first PR! :tada: Added the user activity heatmap component for the dashboard.\n\nhttps://github.com/techcorp/portal/pull/156\n\nUsed D3.js for the calendar heatmap visualization. Would appreciate thorough feedback since I'm still learning our codebase.",
432
+ "replies": [
433
+ {"user": "alice.johnson", "message": "Welcome to the review process Mike! I'll take a look. One thing I noticed quickly - you should use our `useTheme()` hook for the color palette instead of hardcoded values."},
434
+ {"user": "jane.smith", "message": "Nice work for a first PR! A few suggestions:\n1. Extract the D3 rendering into a custom hook\n2. Add error boundary around the chart\n3. Memoize the data transformation\n\nOverall structure is good though!"},
435
+ {"user": "mike.ross", "message": "Thanks for the feedback! I'll address all comments and push an update today."}
436
+ ]
437
+ }
438
+ ],
439
+ "bugs-and-issues": [
440
+ {
441
+ "user": "diana.prince",
442
+ "message": "[ALPHA] **Critical Bug** - Shopping cart total shows $0.00 when applying a percentage discount code.\n\n**Steps to Reproduce:**\n1. Add any product to cart\n2. Apply discount code 'SAVE20'\n3. Cart total shows $0.00 instead of the discounted price\n\n**Expected:** Total should show original price minus 20%\n**Actual:** Total shows $0.00\n**Browser:** Chrome 121, Firefox 122\n**Priority:** High",
443
+ "replies": [
444
+ {"user": "charlie.brown", "message": "Found it. There's a floating point issue in the discount calculation. `price * (1 - discount/100)` becomes `price * 0` when discount is stored as an integer. Fixing now."},
445
+ {"user": "diana.prince", "message": "Thanks Charlie. I have 5 related test cases ready. Let me know when the fix is pushed and I'll verify."},
446
+ {"user": "charlie.brown", "message": "Fix pushed in commit `a3f8d2e`. Changed the discount to use `BigDecimal` for price calculations. @diana.prince ready for verification."},
447
+ {"user": "diana.prince", "message": ":white_check_mark: Verified! All 5 test cases pass now. Marking as resolved."}
448
+ ]
449
+ },
450
+ {
451
+ "user": "alice.johnson",
452
+ "message": "[ALPHA] **UI Bug** - Product images not loading on slow connections (3G simulation).\n\nThe lazy loading implementation doesn't have a proper fallback. Users on slow connections see broken image icons for 10+ seconds before images load.\n\n**Suggested Fix:** Add skeleton placeholders and progressive image loading (blur-up technique).\n**Priority:** Medium",
453
+ "replies": [
454
+ {"user": "grace.lee", "message": "I can provide the skeleton placeholder designs. We should also add a subtle loading animation."},
455
+ {"user": "alice.johnson", "message": "That would be great Grace. I'll implement blur-up using next/image's `placeholder='blur'` prop which generates a base64 preview automatically."},
456
+ {"user": "mike.ross", "message": "I can help with this! I worked on a similar image loading solution at my previous job. Want me to pair on it?"},
457
+ {"user": "alice.johnson", "message": "Sure Mike, let's pair tomorrow morning. Grab the 10 AM slot on my calendar."}
458
+ ]
459
+ }
460
+ ],
461
+ "standup-notes": [
462
+ {
463
+ "user": "jane.smith",
464
+ "message": "**Standup - Monday March 10**\n\n**Yesterday:** Finalized OAuth 2.0 architecture design, reviewed 3 PRs\n**Today:** Start implementing the auth middleware, set up token refresh endpoint\n**Blockers:** Need AWS Cognito access from Bob"
465
+ },
466
+ {
467
+ "user": "alice.johnson",
468
+ "message": "**Standup - Monday March 10**\n\n**Yesterday:** Pushed dashboard grid layout PR, started on responsive fixes\n**Today:** Fix Safari autofill bug (P1), tablet responsive view\n**Blockers:** None"
469
+ },
470
+ {
471
+ "user": "charlie.brown",
472
+ "message": "**Standup - Monday March 10**\n\n**Yesterday:** Fixed cart discount calculation bug, started async refactor for order pipeline\n**Today:** Complete async refactor, add retry logic for payment API\n**Blockers:** Need staging environment access to test payment flow"
473
+ },
474
+ {
475
+ "user": "bob.wilson",
476
+ "message": "**Standup - Monday March 10**\n\n**Yesterday:** Completed staging DB disk expansion, set up log rotation\n**Today:** Deploy Auth Service v1.8.0, configure Redis notification channel\n**Blockers:** None"
477
+ },
478
+ {
479
+ "user": "diana.prince",
480
+ "message": "**Standup - Monday March 10**\n\n**Yesterday:** Wrote Sprint 11 QA report, set up BrowserStack for Safari CI\n**Today:** Verify cart bug fix, prepare payment flow test suite for Tuesday\n**Blockers:** None"
481
+ },
482
+ {
483
+ "user": "mike.ross",
484
+ "message": "**Standup - Monday March 10**\n\n**Yesterday:** Worked on activity heatmap component, addressed PR feedback\n**Today:** Pair with Alice on image loading fix, update heatmap PR\n**Blockers:** Still waiting for D3.js license clarification from legal"
485
+ }
486
+ ],
487
+ "tech-discussions": [
488
+ {
489
+ "user": "jane.smith",
490
+ "message": "I've been evaluating different approaches for our API versioning strategy. Here are the options:\n\n1. **URL Path Versioning:** `/api/v1/users`, `/api/v2/users`\n2. **Header Versioning:** `Accept: application/vnd.techcorp.v2+json`\n3. **Query Parameter:** `/api/users?version=2`\n\nI'm leaning towards option 1 (URL path) for simplicity. Thoughts?",
491
+ "replies": [
492
+ {"user": "charlie.brown", "message": "I agree with URL path versioning. It's the most explicit and easiest to debug. We can use a reverse proxy to route between versions."},
493
+ {"user": "lisa.wang", "message": "From a security perspective, URL path versioning also makes it easier to apply different rate limiting and auth policies per version."},
494
+ {"user": "john.doe", "message": "Let's go with URL path versioning. Please document this in our architecture decision records (ADR). I'll create ADR-015 for this."},
495
+ {"user": "natalie.kim", "message": "I'll update our API documentation template to include version information prominently. Should I also add a deprecation notice section?"},
496
+ {"user": "jane.smith", "message": "Yes please Natalie. We should have clear deprecation timelines: announce 6 months before, sunset 3 months after the new version is stable."}
497
+ ]
498
+ },
499
+ {
500
+ "user": "lisa.wang",
501
+ "message": "**Security Update:** I've completed the quarterly dependency audit. Here are the findings:\n\n:red_circle: **Critical:** 2 vulnerabilities in `lodash` (prototype pollution) - PR #301 ready\n:orange_circle: **High:** 1 vulnerability in `jsonwebtoken` < 9.0.0 - PR #302 ready\n:yellow_circle: **Medium:** 3 vulnerabilities in dev dependencies - tracking in JIRA\n\nPRs #301 and #302 should be merged and deployed this week.",
502
+ "replies": [
503
+ {"user": "john.doe", "message": "Thanks Lisa. PRs #301 and #302 are approved. @bob.wilson please prioritize deploying these patches."},
504
+ {"user": "bob.wilson", "message": "Will do. I'll add them to Monday's deployment. The lodash update might need some testing since we use it heavily."},
505
+ {"user": "charlie.brown", "message": "I'll run the full test suite against the lodash update today. We use `_.merge`, `_.cloneDeep`, and `_.debounce` extensively."}
506
+ ]
507
+ }
508
+ ],
509
+ "devops": [
510
+ {
511
+ "user": "bob.wilson",
512
+ "message": "**Infrastructure Status Report - Week of March 10**\n\n**Production:**\n- Uptime: 99.97% (1 brief outage on Wed, 3 min)\n- Avg API Latency: 45ms (p99: 180ms)\n- Error Rate: 0.02%\n- CPU Utilization: 35% avg, 62% peak\n\n**Kubernetes:**\n- Cluster nodes: 8 (3 spot instances)\n- Pod restarts this week: 2 (payment-service OOM, fixed)\n- HPA events: 4 scale-ups during peak hours\n\n**Action Items:**\n- Increase payment-service memory limit from 512MB to 768MB\n- Investigate p99 latency spike on Wednesday",
513
+ "replies": [
514
+ {"user": "john.doe", "message": "Good report. The p99 spike - was that related to the 3-min outage?"},
515
+ {"user": "bob.wilson", "message": "Yes, it was caused by a PostgreSQL connection pool exhaustion. I've increased the pool size from 20 to 50 connections and added connection timeout handling."},
516
+ {"user": "lisa.wang", "message": "Can we set up an alert for when the connection pool goes above 80% utilization? That way we catch it before it becomes an outage."},
517
+ {"user": "bob.wilson", "message": "Good idea. I'll add a Prometheus alert rule: `pg_stat_activity_count / pg_settings_max_connections > 0.8` triggers a warning."}
518
+ ]
519
+ }
520
+ ],
521
+ "security-alerts": [
522
+ {
523
+ "user": "lisa.wang",
524
+ "message": ":rotating_light: **Security Incident Report - March 8**\n\n**Severity:** Medium\n**Type:** Unauthorized API access attempt\n**Details:** Detected 500+ failed authentication attempts from IP range 203.0.113.0/24 targeting `/api/v1/admin/users` endpoint over a 2-hour period.\n\n**Actions Taken:**\n1. IP range blocked at WAF level\n2. Rate limiting tightened on admin endpoints (10 req/min)\n3. All admin accounts verified - no breach detected\n4. Enhanced logging enabled for admin endpoints\n\n**Recommendation:** Implement IP-based progressive lockout for failed auth attempts.",
525
+ "replies": [
526
+ {"user": "john.doe", "message": "Thanks for the quick response Lisa. Let's add the progressive lockout to Sprint 12."},
527
+ {"user": "bob.wilson", "message": "I've verified the WAF rules are in place. Also added the IP range to our permanent block list. The attack pattern looks like a credential stuffing attempt."},
528
+ {"user": "jane.smith", "message": "Should we also implement CAPTCHA after 3 failed login attempts on the admin portal? That would add another layer of defense."},
529
+ {"user": "lisa.wang", "message": "Yes, CAPTCHA is a good idea. I'll add it to the security backlog. Also scheduling a post-incident review for Tuesday at 2 PM."}
530
+ ]
531
+ }
532
+ ]
533
+ },
534
+ "marketing": {
535
+ "campaigns": [
536
+ {
537
+ "user": "emma.davis",
538
+ "message": "Team, let's kick off planning for our Q2 campaign: **'Innovate Together'**\n\n**Objective:** Increase brand awareness and drive 30% more sign-ups\n**Budget:** $50,000\n**Timeline:** April 1 - June 30\n**Channels:** Social media, email, content marketing, paid ads\n\nI've created the campaign brief in our shared drive. Let's discuss the strategy in our Thursday meeting.",
539
+ "replies": [
540
+ {"user": "frank.miller", "message": "I'll start drafting the blog series. Thinking 6 posts over 3 months: customer stories, product deep-dives, and thought leadership pieces."},
541
+ {"user": "grace.lee", "message": "I'll work on the visual identity for the campaign. Should I create a mood board first or go straight to mockups?"},
542
+ {"user": "emma.davis", "message": "Start with a mood board Grace. Let's align on the visual direction before investing in full mockups."},
543
+ {"user": "ivy.chen", "message": "I've set up tracking in Google Analytics for the campaign. UTM parameters are ready: `utm_campaign=innovate-together-q2`. I'll create a real-time dashboard for tracking."}
544
+ ]
545
+ },
546
+ {
547
+ "user": "emma.davis",
548
+ "message": "**Q1 Campaign Results: 'Build Better'**\n\n:chart_with_upwards_trend: **Results:**\n- Website traffic: +42% (target was +25%)\n- New sign-ups: 3,847 (target was 3,000)\n- Email open rate: 28.3% (industry avg: 21%)\n- Social engagement: +65% across all platforms\n- Cost per acquisition: $12.40 (target was $15)\n\n:tada: Great work everyone! The content series by Frank and Grace's social graphics were the top performers.",
549
+ "replies": [
550
+ {"user": "frank.miller", "message": "Amazing results! The 'Customer Success Stories' blog series got the most organic traffic. I think we should continue this format in Q2."},
551
+ {"user": "ivy.chen", "message": "The data shows that Tuesday and Thursday posts performed 2.3x better than other days. I recommend we focus our publishing schedule on those days."},
552
+ {"user": "grace.lee", "message": "The carousel posts on Instagram had 3x the engagement of single images. Let's make carousels our default format for Q2."},
553
+ {"user": "kevin.martinez", "message": "Excellent ROI on this campaign. I'll share these results with the leadership team. This should help with the Q2 budget approval."}
554
+ ]
555
+ }
556
+ ],
557
+ "social-media": [
558
+ {
559
+ "user": "frank.miller",
560
+ "message": "**Content Schedule - Week of March 10:**\n\n**Monday:** LinkedIn - Blog post share: '5 Ways to Streamline Your Workflow'\n**Tuesday:** Twitter/X - Product tip thread (5 tweets)\n**Wednesday:** Instagram - Behind-the-scenes team photo carousel\n**Thursday:** LinkedIn - Industry insights article\n**Friday:** All platforms - 'Feature Friday' spotlight\n\nAll drafts are in Hootsuite. @grace.lee the Instagram carousel images are pending.",
561
+ "replies": [
562
+ {"user": "grace.lee", "message": "Carousel images will be ready by tonight. I'm using the new brand photography from last week's photoshoot."},
563
+ {"user": "emma.davis", "message": "Let's also add a poll to the Friday post. Something like 'Which feature do you use most?' with 4 options. Polls boost engagement by ~40%."},
564
+ {"user": "ivy.chen", "message": "Last week's posts peaked at 2-3 PM EST. I'd recommend scheduling all posts for 2 PM."}
565
+ ]
566
+ }
567
+ ],
568
+ "analytics": [
569
+ {
570
+ "user": "ivy.chen",
571
+ "message": "**Weekly Marketing Analytics Report - March 3-9**\n\n**Website:**\n- Sessions: 45,230 (+12% WoW)\n- Unique visitors: 32,100 (+8% WoW)\n- Bounce rate: 38% (improved from 42%)\n- Avg session duration: 3:42\n\n**Top Pages:**\n1. /features - 8,200 views\n2. /pricing - 6,100 views\n3. /blog/workflow-tips - 4,800 views\n4. /demo - 3,200 views\n\n**Conversion Funnel:**\n- Landing page → Sign-up page: 15%\n- Sign-up page → Registration: 42%\n- Registration → First action: 68%\n\n**Recommendation:** The pricing page has high traffic but we're not tracking scroll depth. I'll add heatmap tracking this week.",
572
+ "replies": [
573
+ {"user": "emma.davis", "message": "Great report Ivy. The pricing page analytics are important - can we also A/B test two different pricing layouts?"},
574
+ {"user": "kevin.martinez", "message": "The demo page conversion looks good at 3,200 views. How many actually booked a demo?"},
575
+ {"user": "ivy.chen", "message": "Good question Kevin. 312 demo requests from 3,200 views = 9.75% conversion. That's above our 8% benchmark. The new demo page design is working well."}
576
+ ]
577
+ }
578
+ ],
579
+ "content-calendar": [
580
+ {
581
+ "user": "frank.miller",
582
+ "message": "**March Content Calendar:**\n\n| Date | Type | Title | Status |\n|---|---|---|---|\n| Mar 11 | Blog | 5 Ways to Streamline Your Workflow | Draft Ready |\n| Mar 15 | Case Study | How Acme Corp Saved 40% with TechCorp | In Progress |\n| Mar 18 | Newsletter | Monthly Product Update - March | Not Started |\n| Mar 22 | Blog | The Future of Enterprise Collaboration | Outline Done |\n| Mar 25 | Whitepaper | 2024 Industry Trends Report | In Progress |\n| Mar 29 | Blog | Customer Spotlight: DataFlow Inc | Not Started |\n\n@emma.davis I need interview quotes from the Acme Corp PM for the case study. Can you intro me?",
583
+ "replies": [
584
+ {"user": "emma.davis", "message": "I'll send the intro email today. Their PM is Sarah Chen - she's very responsive. CC me on the thread."},
585
+ {"user": "natalie.kim", "message": "I can help with the whitepaper. I have access to the industry survey data from last quarter. Want me to draft the data visualization section?"},
586
+ {"user": "frank.miller", "message": "That would be fantastic Natalie! Let's sync tomorrow to divide up the sections. I'll handle the narrative, you handle data & visuals."},
587
+ {"user": "grace.lee", "message": "I'll start on the whitepaper cover design and infographics. Frank, can you share the key stats I should highlight?"}
588
+ ]
589
+ }
590
+ ],
591
+ "design-requests": [
592
+ {
593
+ "user": "frank.miller",
594
+ "message": "**Design Request**\n\n**Type:** Blog header images\n**Quantity:** 4 images for March blog posts\n**Dimensions:** 1200x630px (OG image compatible)\n**Style:** Clean, modern, matching our brand guidelines\n**Deadline:** March 14\n\nBlog titles:\n1. '5 Ways to Streamline Your Workflow'\n2. 'The Future of Enterprise Collaboration'\n3. 'Customer Spotlight: DataFlow Inc'\n4. 'Q1 Product Roundup'\n\nBrand assets are in the shared Figma library.",
595
+ "replies": [
596
+ {"user": "grace.lee", "message": "Got it! I'll have the first two ready by Wednesday. For the 'Customer Spotlight' one - do we have DataFlow's logo and brand colors I can incorporate?"},
597
+ {"user": "frank.miller", "message": "Yes, their brand kit is in the `Partner Assets` folder on Google Drive. Primary color is #2563EB."},
598
+ {"user": "emma.davis", "message": "Grace, can you also create social media versions (1080x1080 for Instagram, 1200x628 for LinkedIn) while you're at it?"},
599
+ {"user": "grace.lee", "message": "Sure! I'll export all three sizes for each blog post. That makes it 12 images total. Will update the deadline to March 15."}
600
+ ]
601
+ }
602
+ ]
603
+ },
604
+ "general": {
605
+ "announcements": [
606
+ {
607
+ "user": "henry.taylor",
608
+ "message": ":mega: **Company Announcement**\n\nI'm thrilled to announce that TechCorp has been named one of the **Top 50 Places to Work in Tech** by TechReview Magazine! :trophy:\n\nThis achievement reflects our commitment to building an inclusive, innovative, and supportive workplace. Thank you all for making TechCorp a great place to work!\n\nWe'll be celebrating with a company-wide virtual happy hour this Friday at 4 PM. Details to follow.",
609
+ "pin": true,
610
+ "replies": [
611
+ {"user": "emma.davis", "message": "Congratulations everyone! I'll be sharing this on our social channels. So proud of this team!"},
612
+ {"user": "john.doe", "message": "Well deserved! The engineering team is the best I've ever worked with."},
613
+ {"user": "jane.smith", "message": "This is amazing news! Looking forward to the celebration!"},
614
+ {"user": "frank.miller", "message": "I'll draft a press release and blog post about this. Should be live by tomorrow."},
615
+ {"user": "kevin.martinez", "message": ":clap: Incredible! Our Glassdoor reviews and employee satisfaction scores made this possible. Keep the feedback coming!"}
616
+ ]
617
+ },
618
+ {
619
+ "user": "henry.taylor",
620
+ "message": ":wave: **New Hire Announcement**\n\nPlease join me in welcoming our newest team members joining this month:\n\n- **Mike Ross** - Junior Developer (Engineering)\n- **Natalie Kim** - Technical Writer (Engineering)\n\nBoth will be going through onboarding this week. Please make them feel welcome and don't hesitate to reach out if you see them in the channels!\n\nOnboarding buddy assignments:\n- Mike → Jane Smith\n- Natalie → Frank Miller",
621
+ "pin": true,
622
+ "replies": [
623
+ {"user": "jane.smith", "message": "Welcome Mike! I've already sent you a calendar invite for our first 1:1 on Monday. Looking forward to working with you!"},
624
+ {"user": "frank.miller", "message": "Welcome Natalie! I'll give you a tour of our content systems and documentation tools. See you Monday!"},
625
+ {"user": "mike.ross", "message": "Thanks everyone! Super excited to be here. Looking forward to contributing to the team!"},
626
+ {"user": "natalie.kim", "message": "Thank you for the warm welcome! I've already started reading through the existing docs. Really impressed with the codebase!"},
627
+ {"user": "alice.johnson", "message": "Welcome to the team! If you need any help navigating the codebase or our tools, don't hesitate to ask!"}
628
+ ]
629
+ },
630
+ {
631
+ "user": "john.doe",
632
+ "message": ":calendar: **Engineering All-Hands - March 14, 10:00 AM**\n\nAgenda:\n1. Q1 OKR Review\n2. Project Alpha demo and timeline\n3. Project Beta kickoff\n4. Infrastructure roadmap update\n5. Open Q&A\n\nPlease submit your questions in advance using the thread below. Recording will be available for those who can't attend.",
633
+ "replies": [
634
+ {"user": "charlie.brown", "message": "Question for the infra section: Are we still planning to migrate from AWS ECS to EKS in Q2?"},
635
+ {"user": "bob.wilson", "message": "Yes, the EKS migration is on track for Q2. I'll cover the timeline and migration plan in the all-hands."},
636
+ {"user": "diana.prince", "message": "Can we also discuss the testing infrastructure? I'd like to propose adding visual regression testing to our CI pipeline."},
637
+ {"user": "kevin.martinez", "message": "I'll present the updated Q2 product roadmap as well. Some exciting features coming up!"}
638
+ ]
639
+ }
640
+ ],
641
+ "random": [
642
+ {
643
+ "user": "alice.johnson",
644
+ "message": "Anyone else watching the new season of 'The Developer' on Netflix? The episode about the startup pivoting from B2B to B2C was SO relatable :joy:",
645
+ "replies": [
646
+ {"user": "charlie.brown", "message": "YES! And the scene where they deployed to production on a Friday night... I felt that in my soul :skull:"},
647
+ {"user": "mike.ross", "message": "Haven't started it yet but it's on my list! No spoilers please!"},
648
+ {"user": "jane.smith", "message": "The rubber duck debugging scene in episode 3 is peak comedy :duck:"},
649
+ {"user": "bob.wilson", "message": "The DevOps character is surprisingly accurate. They even got the 'everything is on fire but we're fine' energy right :fire:"}
650
+ ]
651
+ },
652
+ {
653
+ "user": "frank.miller",
654
+ "message": "Our office coffee machine has been upgraded! We now have a proper espresso machine in the kitchen. Who wants to learn latte art? I'm hosting an informal session this Thursday during lunch :coffee:",
655
+ "replies": [
656
+ {"user": "grace.lee", "message": "Count me in! I've been trying to learn the rosetta pour for months."},
657
+ {"user": "henry.taylor", "message": "The new machine was a popular request in our last employee survey. Enjoy!"},
658
+ {"user": "emma.davis", "message": "I'll bring some specialty beans from that local roaster I mentioned. They have an amazing Ethiopian single origin."},
659
+ {"user": "diana.prince", "message": "Can we do a virtual session too for the remote folks? I'd love to participate from home!"},
660
+ {"user": "frank.miller", "message": "Great idea Diana! I'll set up a camera at the coffee station and stream it on Zoom."}
661
+ ]
662
+ },
663
+ {
664
+ "user": "bob.wilson",
665
+ "message": "I found this amazing mechanical keyboard on sale - the Keychron Q1 Pro with Gateron Jupiter Banana switches. It types like a dream and the sound is so satisfying. Anyone else here a keyboard enthusiast?",
666
+ "replies": [
667
+ {"user": "charlie.brown", "message": "Fellow mech keyboard nerd here! I'm rocking a ZSA Moonlander with Kailh Box Whites. Split ergonomic is the way to go."},
668
+ {"user": "alice.johnson", "message": "I use a HHKB Professional Classic. The Topre switches are addictive once you get used to them."},
669
+ {"user": "jane.smith", "message": "You all are making me want to upgrade from my basic Apple keyboard... any recommendations for a first mechanical?"},
670
+ {"user": "bob.wilson", "message": "Jane, the Keychron K2 is a great starter. Wireless, hot-swappable, and works great with Mac. Around $80."}
671
+ ]
672
+ }
673
+ ],
674
+ "watercooler": [
675
+ {
676
+ "user": "grace.lee",
677
+ "message": "I tried a new recipe this weekend - Korean fried chicken with gochujang glaze. It turned out amazing! I'll bring some for the team lunch on Wednesday if anyone's interested :yum:",
678
+ "replies": [
679
+ {"user": "emma.davis", "message": "YES PLEASE! Your cooking is always incredible. Should I bring anything to complement it?"},
680
+ {"user": "charlie.brown", "message": "Grace's cooking is legendary. Last time she brought homemade ramen and I still think about it."},
681
+ {"user": "ivy.chen", "message": "Can you share the recipe? I've been trying to perfect my fried chicken game."},
682
+ {"user": "grace.lee", "message": "Of course! The secret is double-frying at different temperatures. I'll share the full recipe in a doc after lunch."}
683
+ ]
684
+ }
685
+ ],
686
+ "events": [
687
+ {
688
+ "user": "henry.taylor",
689
+ "message": ":calendar: **Upcoming Events:**\n\n**March 14** - Engineering All-Hands (10:00 AM, Virtual)\n**March 15** - Team Trivia Night (6:00 PM, Slack #trivia-night)\n**March 20** - Team Lunch at Bella Italia (12:30 PM)\n**March 22** - Volunteer Day at City Food Bank (9:00 AM - 1:00 PM)\n**March 28** - Project Alpha Customer Demo (2:00 PM, Conference Room A)\n**March 31** - Q1 Company Town Hall (3:00 PM, Virtual)\n\nRSVP in the thread below! :point_down:",
690
+ "pin": true,
691
+ "replies": [
692
+ {"user": "alice.johnson", "message": "I'll be at the team lunch and volunteer day! :raised_hand:"},
693
+ {"user": "jane.smith", "message": "Count me in for everything except trivia night - I have a prior commitment."},
694
+ {"user": "mike.ross", "message": "Excited for trivia night! Is it general knowledge or tech-themed?"},
695
+ {"user": "henry.taylor", "message": "Mix of both Mike! 5 rounds: General Knowledge, Tech & Science, Pop Culture, Geography, and a Mystery Round."},
696
+ {"user": "frank.miller", "message": "Volunteer day sounds great! How many spots are available?"},
697
+ {"user": "henry.taylor", "message": "We have 20 spots for the food bank. First come, first served. 12 signed up so far."}
698
+ ]
699
+ }
700
+ ],
701
+ "help-desk": [
702
+ {
703
+ "user": "mike.ross",
704
+ "message": "Hi! I'm having trouble connecting to the VPN from home. I installed GlobalProtect but it's giving me a 'Gateway Timeout' error. I'm on macOS Sonoma 14.3. Any help?",
705
+ "replies": [
706
+ {"user": "bob.wilson", "message": "Hi Mike, this is a known issue with the latest macOS update. Try this:\n1. Go to System Settings → Privacy & Security → Allow GlobalProtect\n2. Restart the GlobalProtect service\n3. Connect to gateway: `vpn.techcorp.com`\n\nIf that doesn't work, I'll remote in and take a look."},
707
+ {"user": "mike.ross", "message": "That fixed it! The security permission was the issue. Thanks Bob!"},
708
+ {"user": "bob.wilson", "message": "Glad it worked! I should add this to our IT FAQ. @natalie.kim could you add a troubleshooting section for VPN on the latest macOS?"},
709
+ {"user": "natalie.kim", "message": "On it! I'll add it to the IT Knowledge Base by end of day."}
710
+ ]
711
+ },
712
+ {
713
+ "user": "emma.davis",
714
+ "message": "Is anyone else having issues with Jira loading slowly today? It's taking 20+ seconds to load any page. Cleared cache and tried different browsers.",
715
+ "replies": [
716
+ {"user": "bob.wilson", "message": "Let me check the Jira server status... Yep, it's running at 95% memory utilization. I'm restarting the service now. Should be back to normal in 5 minutes."},
717
+ {"user": "bob.wilson", "message": "Update: Jira is back to normal. The issue was caused by a runaway automation rule that was processing 10K tickets in a loop. I've disabled it and will work with the Jira admins to fix it."},
718
+ {"user": "emma.davis", "message": "It's fast again now. Thanks for the quick fix Bob!"}
719
+ ]
720
+ }
721
+ ],
722
+ "new-joiners": [
723
+ {
724
+ "user": "henry.taylor",
725
+ "message": ":wave: **Welcome to TechCorp!**\n\nHere's your onboarding checklist:\n\n:white_check_mark: Set up your laptop and accounts (IT will help)\n:white_check_mark: Join all relevant Mattermost teams and channels\n:white_check_mark: Read the Employee Handbook (link in pinned posts)\n:white_check_mark: Meet your onboarding buddy\n:white_check_mark: Complete security training by end of Week 1\n:white_check_mark: Attend your first team standup\n:white_check_mark: Set up development environment (Engineering only)\n:white_check_mark: Schedule 1:1s with your manager and skip-level\n\nDon't hesitate to ask questions here or in #help-desk!",
726
+ "pin": true,
727
+ "replies": [
728
+ {"user": "mike.ross", "message": "Thanks Henry! I've completed most of the checklist. Just need to finish the security training. Where do I find the development environment setup guide?"},
729
+ {"user": "jane.smith", "message": "Mike, the dev setup guide is in our Engineering wiki: https://wiki.techcorp.com/dev-setup. I'll walk you through it in our 1:1 tomorrow."},
730
+ {"user": "natalie.kim", "message": "The Employee Handbook link doesn't seem to work. Can someone share the updated URL?"},
731
+ {"user": "henry.taylor", "message": "Sorry about that Natalie! Here's the correct link: https://handbook.techcorp.com. I'll update the pinned post."}
732
+ ]
733
+ }
734
+ ]
735
+ }
736
+ },
737
+ "direct_messages": [
738
+ {
739
+ "participants": ["john.doe", "jane.smith"],
740
+ "messages": [
741
+ {"user": "john.doe", "message": "Hey Jane, wanted to chat privately about the tech lead role. I'm recommending you for the promotion. Your work on Project Alpha has been outstanding."},
742
+ {"user": "jane.smith", "message": "Wow, thank you John! That means a lot. I've really enjoyed leading the technical direction for the project."},
743
+ {"user": "john.doe", "message": "You've earned it. The promotion committee meets next week. I'll submit my recommendation today. Keep up the great work!"},
744
+ {"user": "jane.smith", "message": "I really appreciate your support. I'll make sure Project Alpha is a success. Let me know if you need anything from me for the submission."}
745
+ ]
746
+ },
747
+ {
748
+ "participants": ["kevin.martinez", "emma.davis"],
749
+ "messages": [
750
+ {"user": "kevin.martinez", "message": "Emma, great results on the Q1 campaign! I showed the numbers to the CEO and she was very impressed."},
751
+ {"user": "emma.davis", "message": "That's wonderful to hear! The team really came together on this one. Frank's content strategy and Grace's design work were standout."},
752
+ {"user": "kevin.martinez", "message": "Absolutely. I want to increase the Q2 budget to $75K based on these results. Can you put together a revised plan by Friday?"},
753
+ {"user": "emma.davis", "message": "Definitely! I'll have the updated plan with projected ROI ready by Thursday EOD so you have time to review before presenting to leadership."}
754
+ ]
755
+ },
756
+ {
757
+ "participants": ["bob.wilson", "lisa.wang"],
758
+ "messages": [
759
+ {"user": "lisa.wang", "message": "Bob, I noticed some unusual outbound traffic patterns from the staging environment last night. Can you check the firewall logs?"},
760
+ {"user": "bob.wilson", "message": "Checking now... I see it. There's a container making requests to an external IP that's not in our allowlist. Let me isolate it."},
761
+ {"user": "lisa.wang", "message": "Good. Can you also check if it matches the IP range from the credential stuffing attempt we saw last week?"},
762
+ {"user": "bob.wilson", "message": "Different IP range. Looks like it was a misconfigured test container that was running a webhook to an external service. I've shut it down and added egress filtering for staging."},
763
+ {"user": "lisa.wang", "message": "Thanks for the quick response. I'll update the security report. Let's also add egress allowlisting to our deployment checklist."}
764
+ ]
765
+ },
766
+ {
767
+ "participants": ["alice.johnson", "mike.ross"],
768
+ "messages": [
769
+ {"user": "alice.johnson", "message": "Hey Mike! Ready for our pairing session tomorrow? We'll be working on the image loading optimization."},
770
+ {"user": "mike.ross", "message": "Yes! I've been reading up on progressive image loading techniques. I found a really cool approach using blurhash."},
771
+ {"user": "alice.johnson", "message": "Blurhash is great! We actually considered it but went with next/image's built-in blur placeholder since we're already using Next.js. But good research!"},
772
+ {"user": "mike.ross", "message": "Makes sense to use what's already in the framework. I'll prepare some test images and a benchmark script so we can measure the improvement."},
773
+ {"user": "alice.johnson", "message": "Perfect! Bring your laptop to the 3rd floor collaboration area. I'll book the space from 10-12."}
774
+ ]
775
+ },
776
+ {
777
+ "participants": ["henry.taylor", "john.doe"],
778
+ "messages": [
779
+ {"user": "henry.taylor", "message": "John, just a heads up - the annual employee satisfaction survey results are in. Engineering scored 4.5/5 overall, highest in the company!"},
780
+ {"user": "john.doe", "message": "That's great to hear! Any areas where we can improve?"},
781
+ {"user": "henry.taylor", "message": "Two areas flagged: work-life balance (some folks mentioned on-call stress) and career growth (junior devs want more mentorship). Overall though, the team is very happy."},
782
+ {"user": "john.doe", "message": "Valid feedback. I'll address the on-call rotation - maybe we can reduce it from weekly to bi-weekly. And I'll set up a formal mentorship program pairing seniors with juniors."},
783
+ {"user": "henry.taylor", "message": "Those sound like great initiatives. Let me know if HR can help facilitate the mentorship program. We have some templates and frameworks from other departments."}
784
+ ]
785
+ },
786
+ {
787
+ "participants": ["diana.prince", "charlie.brown"],
788
+ "messages": [
789
+ {"user": "diana.prince", "message": "Charlie, I found another edge case in the payment flow. When a user applies two discount codes simultaneously, the second one overwrites the first instead of stacking."},
790
+ {"user": "charlie.brown", "message": "That's actually by design - we only allow one discount code per order. But I agree the UX is confusing. The user should see a message saying 'Only one discount code allowed'."},
791
+ {"user": "diana.prince", "message": "Ah got it. Then it's a UX bug, not a logic bug. I'll update the ticket and reassign to Alice for the frontend fix."},
792
+ {"user": "charlie.brown", "message": "Good call. I'll also add a validation check on the backend to return a proper error message instead of silently overwriting. Belt and suspenders approach."}
793
+ ]
794
+ }
795
+ ],
796
+ "group_messages": [
797
+ {
798
+ "participants": ["john.doe", "jane.smith", "kevin.martinez"],
799
+ "messages": [
800
+ {"user": "john.doe", "message": "Quick sync about the Project Alpha demo on March 28. Kevin, what are the client's main expectations?"},
801
+ {"user": "kevin.martinez", "message": "They want to see: 1) The authentication flow with SSO, 2) The dashboard with real-time data, 3) The notification center. They're particularly excited about the real-time features."},
802
+ {"user": "jane.smith", "message": "Auth flow will be ready. For the dashboard, I suggest we use mock data that mirrors their actual use case. Mike's heatmap component would be a nice touch to show."},
803
+ {"user": "john.doe", "message": "Agreed. Let's do a dry run on March 26. I'll book the conference room. Jane, can you prepare the demo environment?"},
804
+ {"user": "jane.smith", "message": "Will do. I'll set up a separate staging instance with the demo data preloaded."},
805
+ {"user": "kevin.martinez", "message": "Perfect. I'll also prepare the slide deck with the product roadmap. The client wants to know about upcoming features for Q3-Q4."}
806
+ ]
807
+ },
808
+ {
809
+ "participants": ["emma.davis", "frank.miller", "grace.lee", "ivy.chen"],
810
+ "messages": [
811
+ {"user": "emma.davis", "message": "Marketing standup! Quick updates from everyone please."},
812
+ {"user": "frank.miller", "message": "Blog post 'Streamline Your Workflow' is published and performing well - 1,200 views in the first 24 hours. Working on the Acme Corp case study, interview scheduled for Wednesday."},
813
+ {"user": "grace.lee", "message": "Finished 3 of 4 blog header images. The DataFlow spotlight one is pending their logo approval. Also completed the Instagram carousel for tomorrow's post."},
814
+ {"user": "ivy.chen", "message": "Weekly analytics report is ready and shared in #analytics. Key highlight: organic search traffic is up 18% month-over-month. Our SEO efforts are paying off."},
815
+ {"user": "emma.davis", "message": "Great progress everyone! Grace, follow up with DataFlow today on the logo. Ivy, can you add a section on competitor analysis to next week's report?"},
816
+ {"user": "ivy.chen", "message": "Sure thing. I'll pull data from SEMrush and SimilarWeb for the competitive analysis."}
817
+ ]
818
+ }
819
+ ]
820
+ }
seed_inputs/slack_channel_seed.json ADDED
The diff for this file is too large to render. See raw diff