From eecaefc26de7f3a63c1ab08d4d53825a0be5da96 Mon Sep 17 00:00:00 2001 From: gahusb Date: Wed, 20 May 2026 03:21:51 +0900 Subject: [PATCH] =?UTF-8?q?docs(CLAUDE):=20agent-office=20=EB=A1=9C?= =?UTF-8?q?=EB=98=90=20=EB=8A=A5=EB=8F=99=20=EC=8B=9C=EA=B7=B8=EB=84=90=20?= =?UTF-8?q?API/=EC=8A=A4=EC=BC=80=EC=A4=84=EB=9F=AC/env=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- CLAUDE.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index cdbc895..b5081ee 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -553,6 +553,11 @@ docker compose up -d - `LOTTO_BACKEND_URL`: 기본 `http://lotto:8000` - `LOTTO_CURATOR_MODEL`: 기본 `claude-sonnet-4-5` - `YOUTUBE_DATA_API_KEY`: YouTube Data API v3 키 (미설정 시 YouTube trending 수집 skip) +- `LOTTO_SIGNAL_WINDOW`: baseline 윈도우 크기 (기본 8) +- `LOTTO_Z_NORMAL`: normal fire 임계치 (기본 1.5) +- `LOTTO_Z_URGENT`: urgent fire 임계치 (기본 2.5) +- `LOTTO_THROTTLE_HOURS`: 같은 메트릭 재발화 throttle (기본 6시간) +- `LOTTO_URGENT_DAILY_MAX`: urgent 하루 cap (기본 3통) **YouTubeResearchAgent (`agents/youtube.py`)** - `agent_id = "youtube"` — AGENT_REGISTRY에 등록 @@ -577,6 +582,10 @@ docker compose up -d - ~~09:15 매일 — 청약 매칭 데일리 리포트~~ (Task 2026-04-28에서 폐기. realestate-lab의 push 트리거로 전환) - 09:00 매일 — YouTube 트렌드 수집 (`youtube_research`) → music-lab `/api/music/market/ingest` push - 매주 월요일 08:00 — YouTube 주간 리포트 텔레그램 발송 (`youtube_weekly_report`) +- 09:15 매일 — 로또 light_check (시뮬·전략 가중치 평가) +- 매 4시간 :15 — 로또 sim_check (00/04/08/12/16/20시) +- 일/수 21:15 — 로또 deep_check (큐레이션 후 confidence 포함 평가) +- 09:25 매일 — 로또 daily_digest (지난 24h 발화 텔레그램 1통) **RealestateAgent (`agents/realestate.py`)** - 진입점: `on_new_matches(matches: list[dict]) -> {sent, sent_ids, message_id}` @@ -608,6 +617,9 @@ docker compose up -d | GET | `/api/agent-office/conversation/stats` | 텔레그램 자연어 대화 토큰·캐시 통계 (`days` 필터) | | POST | `/api/agent-office/youtube/research` | YouTube 트렌드 수집 수동 트리거 (body: `{countries: []}`) | | GET | `/api/agent-office/youtube/research/status` | 마지막 수집 작업 상태 | +| GET | `/api/agent-office/lotto/signals?days=7` | 로또 능동 시그널 이력 (모든 fire_level) | +| GET | `/api/agent-office/lotto/baselines` | 로또 메트릭별 baseline μ/σ + 윈도우 상태 | +| POST | `/api/agent-office/lotto/signal-check?source=light` | 로또 시그널 평가 수동 트리거 (light/sim/deep) | ### personal (personal/) - 개인 서비스 (포트폴리오 + 블로그 + 투두 통합)