Project

General

Profile

Actions

새기능 #500

open

러너 골격 + 설계서 (Design-First)

Added by joungmin ko about 2 months ago. Updated about 2 months ago.

Status:
진행
Priority:
보통
Assignee:
-
Start date:
06/27/2026
Due date:
% Done:

0%

Estimated time:

Description

Discord 프라이빗 채널 메시지 -> Claude Code(claude -p 헤드리스) 실행 -> 결과 회신 다리.

현재 상태 (Draft 골격)

  • 설계서: docs/design/discord-claude-runner/README.md
  • ADR-0001: 가드레일 = 격리 대신 권한 deny + 화이트리스트
  • 가드레일 settings: ~/.claude/discord-bot-settings.json (트레이딩 경로/시크릿/pm2 stop/업비트 API 차단)
  • 골격 구현: index.js (discord.js + spawn claude -p)
  • git: gittea.cloud-handson.com/joungmin/discord-claude-runner (commit dd94c1d)

남은 작업 (TODO)

  • npm install + 실제 Discord 봇 토큰/채널ID 연결 후 E2E 검증
  • 가드레일 deny 실증 (~/.env 읽기, pm2 stop 차단 확인)
  • 테스트 코드 (reply 분할, 화이트리스트 판정, 셸 인젝션 비전파)
  • (선택) 멀티 repo 라우팅, stream-json 진행표시, 토큰 상한
  • pm2 등록 + 부팅 자동시작
Actions

Also available in: Atom PDF