Slack Bridge demo

EPIC-16 (Multi-transport). Slack Socket Mode bot 패턴 시뮬. 사용자 메시지 → bot 이 engine.run() → thread reply. 실제 통합 = `apps/slack-bridge` 패키지 (Phase 2).

#brad-bridge4 messages
Tom16시 19분 48초
오늘 Soul Spec 의 진척 확인 했어?
Brad (bot)APP16시 20분 48초
확인 완료. SwarmMemory / SoulRollback / SoulScan 3 핵심 기능 모두 enabling code 동작. wasmclaw v1.0-rc1 검증 완료.
Walid16시 39분 48초
Brad, can you scan my new persona?
Brad (bot)APP16시 40분 48초
@Walid 페르소나 ZIP 또는 GitHub URL 공유 부탁. SoulScan 4-layer (58/66 룰) 으로 검증 후 grade + issue list 답장 할게.
실 Slack 통합 흐름 (Phase 2)
  1. Slack App 생성 — workspace 마다 OAuth scope:chat:write + app_mentions:read + im:history
  2. Socket Mode — WebSocket connection (ngrok / public IP 안 필요)
  3. Event handler:
    • message.im — 1:1 DM
    • app_mention — channel 안 @brad 멘션
    • message.channels — channel 메시지 (opt-in)
  4. Thread replythread_ts = 원본 메시지 ts
  5. engine.run() — 기존 telegram-worker 와 동일 패턴 → JsEngine
  6. State — channel 별 conversation history (Postgres)
Discord 도 동일 패턴 (EPIC-16)
Slack 의 Socket Mode = Discord 의 Gateway WebSocket. 동일 engine 으로 multi-transport 통합:
  • Telegram (✅ shipped) — `apps/telegram-worker`
  • Slack (Phase 2) — `apps/slack-bridge`
  • Discord (Phase 2) — `apps/discord-bridge`
  • Web (✅ shipped) — `apps/web/chat`
공개 narrative: "Cross-platform persona — same Brad in Telegram, Slack, Discord, Web."