feat: FastAPI 읽기 전용 대시보드 (issue #96) #127

Merged
jihoson merged 2 commits from feature/issue-96-evolution-main-integration into main 2026-02-14 23:57:18 +09:00
Collaborator

Summary

  • Commit 1: 진화 루프 Telegram 알림 에러 처리 + _handle_market_close 통합 테스트 3개
  • Commit 2: FastAPI 대시보드 7개 읽기 전용 API 엔드포인트
    • /api/status — KR+US 통합 트레이딩 상태
    • /api/playbook/{date}?market=KR — 시장별 플레이북
    • /api/scorecard/{date}?market=KR — 일일 성적표
    • /api/performance?market=all — 성과 지표 (시장별 필터)
    • /api/context/{layer} — 컨텍스트 트리 브라우저
    • /api/decisions?market=KR — 의사결정 로그
    • /api/scenarios/active?market=US — 시나리오 매칭 이력
  • SQLite 별도 연결로 트레이딩 루프와 격리
  • fastapi>=0.110,<1 의존성 추가

Test plan

  • 대시보드 14개 테스트 통과
  • 진화 루프 통합 테스트 3개 통과
  • 535/535 전체 테스트 통과
  • ruff lint 클린

Closes #96

🤖 Generated with Claude Code

## Summary - **Commit 1**: 진화 루프 Telegram 알림 에러 처리 + `_handle_market_close` 통합 테스트 3개 - **Commit 2**: FastAPI 대시보드 7개 읽기 전용 API 엔드포인트 - `/api/status` — KR+US 통합 트레이딩 상태 - `/api/playbook/{date}?market=KR` — 시장별 플레이북 - `/api/scorecard/{date}?market=KR` — 일일 성적표 - `/api/performance?market=all` — 성과 지표 (시장별 필터) - `/api/context/{layer}` — 컨텍스트 트리 브라우저 - `/api/decisions?market=KR` — 의사결정 로그 - `/api/scenarios/active?market=US` — 시나리오 매칭 이력 - SQLite 별도 연결로 트레이딩 루프와 격리 - `fastapi>=0.110,<1` 의존성 추가 ## Test plan - [x] 대시보드 14개 테스트 통과 - [x] 진화 루프 통합 테스트 3개 통과 - [x] 535/535 전체 테스트 통과 - [x] ruff lint 클린 Closes #96 🤖 Generated with [Claude Code](https://claude.com/claude-code)
agentson added 2 commits 2026-02-14 23:56:45 +09:00
Wrap evolution notification in try/except so telegram failures don't
crash the evolution loop. Add integration tests for market close flow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
feat: read-only FastAPI dashboard with 7 API endpoints (issue #96)
Some checks failed
CI / test (pull_request) Has been cancelled
63f4e49d88
Add observability dashboard: status, playbook, scorecard, performance,
context browser, decisions, and active scenarios endpoints.
SQLite read-only on separate connections from trading loop.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
jihoson merged commit ece3c5597b into main 2026-02-14 23:57:18 +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#127