Skip to content

feat: QuestionWorker - メンターチャンネルへの整理済み転送 #18

Description

@Asheze1127

Why

メンターには生の質問ではなく整理済み情報を渡すことで対応コストを下げる。

Scope

  • apps/worker/src/slack/escalate.ts
  • should_escalate_to_mentor=true のとき MENTOR_CHANNEL_ID に投稿
  • 投稿内容:
    • 質問タイトル
    • カテゴリ(AI 分類結果)
    • 詳細内容
    • AI の判定理由(escalation_reason
    • 元スレッドへのリンク
  • questions.mentor_channel_ts に投稿 ts を保存
  • questions.escalated_to_mentor = true に更新

Out of scope

メンターの返信機能(Phase 2)

Dependencies

Acceptance Criteria

  • 指定チャンネルにメッセージが届く
  • 元スレッドへのリンクが含まれる
  • questions.escalated_to_mentor = true に更新される
  • mentor_channel_ts が DB に保存される

Size: S | Parallelizable: Yes(#D-03 完了後)

Metadata

Metadata

Assignees

No one assigned

    Labels

    slackSlack integrationworkerLambda Worker

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions