feat: 플래너에 자기 시장 성적표 주입 (issue #94) #124

Merged
jihoson merged 1 commits from feature/issue-94-planner-scorecard-injection into main 2026-02-14 23:34:09 +09:00
Collaborator

Summary

  • build_self_market_scorecard() 신규: 전일 자기 시장 L6 scorecard 조회
  • _build_prompt()에 "My Market Previous Day" 섹션 추가
  • 크로스마켓 + 자기 시장 scorecard 동시 주입 통합 테스트
  • scorecard_map fixture로 멀티 scorecard mock 지원

Test plan

  • test_reads_previous_day_scorecard — 전일 조회 및 데이터 검증
  • test_missing_scorecard_returns_none — 데이터 없을 때 None
  • test_generate_playbook_injects_self_and_cross_scorecards — 양쪽 프롬프트 주입
  • test_prompt_contains_self_market_scorecard — 프롬프트 내용 검증
  • 515/515 전체 테스트 통과
  • ruff lint 클린

Closes #94

🤖 Generated with Claude Code

## Summary - `build_self_market_scorecard()` 신규: 전일 자기 시장 L6 scorecard 조회 - `_build_prompt()`에 "My Market Previous Day" 섹션 추가 - 크로스마켓 + 자기 시장 scorecard 동시 주입 통합 테스트 - `scorecard_map` fixture로 멀티 scorecard mock 지원 ## Test plan - [x] `test_reads_previous_day_scorecard` — 전일 조회 및 데이터 검증 - [x] `test_missing_scorecard_returns_none` — 데이터 없을 때 None - [x] `test_generate_playbook_injects_self_and_cross_scorecards` — 양쪽 프롬프트 주입 - [x] `test_prompt_contains_self_market_scorecard` — 프롬프트 내용 검증 - [x] 515/515 전체 테스트 통과 - [x] ruff lint 클린 Closes #94 🤖 Generated with [Claude Code](https://claude.com/claude-code)
agentson added 1 commit 2026-02-14 23:33:42 +09:00
feat: inject self-market scorecard into planner prompt (issue #94)
Some checks failed
CI / test (pull_request) Has been cancelled
6b3960a3a4
Add build_self_market_scorecard() to read previous day's own market
performance, and include it in the Gemini planning prompt alongside
cross-market context.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
jihoson merged commit ab7f0444b2 into main 2026-02-14 23:34:09 +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#124