# 뉴스 시스템 통합 계획 **작성일**: 2025-09-06 **목적**: skill-news, rb8001, skill-publish 통합 연동 --- ## 1. 아키텍처 ### 서비스 구조 ``` APScheduler → skill-news:8505 → rb8001 → Slack 채널 ↓ 사용자 버튼 클릭 ↓ skill-publish:8511 → Squarespace ``` ### 데이터 흐름 - 수집: skill-news (Google News API) - 요약: Gemini LLM - 전송: skill-slack (Block Kit) - 게시: skill-publish (Squarespace CMS) --- ## 2. 구현 완료 → 상세: `troubleshooting/250907_company_x_news_zero_articles.md` 외 다수 --- ## 3. 구현 완료 → 상세: `troubleshooting/260127_news_history_api_implementation.md` --- ## 4. 환경 설정 ### rb8001 (.env) ```bash COMPANY_X_NEWS_CHANNEL_ID=C09CP4MDX71 SKILL_NEWS_URL=http://localhost:8505 SKILL_PUBLISH_URL=http://localhost:8511 ``` ### Slack App - Interactivity URL: https://ro-being.com/api/slack/interactive - Scopes: chat:write, chat:write.public --- ## 5. 참고 문서 ### 구현 관련 - `troubleshooting/250907_company_x_news_zero_articles.md` - `troubleshooting/250908_skill_news_companyx_data_integration.md` - `troubleshooting/250908_slack_interactive_gateway_proxy.md` - `troubleshooting/250920_news_db_persistence_implementation.md` - `troubleshooting/260127_news_history_api_implementation.md` ### 원칙 문서 - `book/300_architecture/311_backend_coding_principles.md` - 계층 분리, Repository 패턴, 테스트 원칙 - `book/300_architecture/312_writing-principles.md` - 문서 작성 규칙 - `book/300_architecture/database/tables.md` - rb_news 테이블 스키마 참고