feat: main.py에 일일 리뷰 연결 (issue #93) #122

Merged
jihoson merged 1 commits from feature/issue-93-daily-review-integration into main 2026-02-14 23:15:26 +09:00
Collaborator

Summary

  • _handle_market_close() 헬퍼 추출: EOD 집계 + scorecard 생성 + AI lessons + Telegram 알림
  • DailyReviewer 초기화 (gemini_client=brain) 및 market close 훅에 연결
  • lessons 유무에 따른 scorecard 저장 분기 처리

Test plan

  • test_handle_market_close_runs_daily_review_flow — 전체 흐름 검증
  • test_handle_market_close_without_lessons_stores_once — lessons 없을 때 1회 저장
  • 510/510 전체 테스트 통과
  • ruff lint 클린

Closes #93

🤖 Generated with Claude Code

## Summary - `_handle_market_close()` 헬퍼 추출: EOD 집계 + scorecard 생성 + AI lessons + Telegram 알림 - `DailyReviewer` 초기화 (`gemini_client=brain`) 및 market close 훅에 연결 - lessons 유무에 따른 scorecard 저장 분기 처리 ## Test plan - [x] `test_handle_market_close_runs_daily_review_flow` — 전체 흐름 검증 - [x] `test_handle_market_close_without_lessons_stores_once` — lessons 없을 때 1회 저장 - [x] 510/510 전체 테스트 통과 - [x] ruff lint 클린 Closes #93 🤖 Generated with [Claude Code](https://claude.com/claude-code)
agentson added 1 commit 2026-02-14 23:14:20 +09:00
feat: integrate DailyReviewer into market close flow (issue #93)
Some checks failed
CI / test (pull_request) Has been cancelled
392422992b
Extract _handle_market_close() helper that runs EOD aggregation,
generates scorecard with optional AI lessons, and sends Telegram summary.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
jihoson merged commit 692cb61991 into main 2026-02-14 23:15:26 +09:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jihoson/The-Ouroboros#122