Commit graph

50 commits

Author SHA1 Message Date
47109b4e42 feat: monthly aggregation and backtest multi-timeframe coverage
- Add monthly bars aggregation in worker (services/worker/internal/marketdata/aggregation/)
- Support monthly timeframe in operator runner and output
- Add monthly aggregation test data and test cases
- Update contracts (proto, Dart, Go) for monthly timeframe support
- Sync parser_map, socket handlers, and worker client across services
- Add code review and plan logs for multi-timeframe coverage milestones
2026-06-19 19:51:05 +09:00
1e788f3121 feat: monthly aggregation implementation and code review 2026-06-19 10:22:43 +09:00
76d916f1df feat: backtest multi-timeframe coverage - minute import rejection archive, monthly aggregation, runner/scenario fixes
- Archive G06 minute import rejection task files (plan, code review, complete)
- Add monthly aggregation module (services/worker/internal/marketdata/aggregation/)
- Fix runner and scenario handling for rejected minute imports
- Update tests and testdata for minute import rejection flow
- Update G05 code review for monthly aggregation
2026-06-19 08:23:28 +09:00
dfabb9bfef feat: backtest multi-timeframe coverage - import timeframe contract & archive migration 2026-06-18 16:22:36 +09:00
65f037bc79 feat: market data daily chart update and task archive
- Update MarketDailyItemchartprice to include volume field
- Add unit tests for market domain types
- Update market data job to map volume field
- Update KIS provider for daily chart price API
- Archive completed task files to 2026/06/
2026-06-18 09:45:41 +09:00
353584c8f9 chore: update domain types and archive backtest task files 2026-06-18 07:33:11 +09:00
793e38cad8 fix: backtest result output and scenario automation updates 2026-06-17 07:35:20 +09:00
9d947f6be9 chore: archive old task files and update backtest matrix seed data 2026-06-16 22:46:20 +09:00
72ff5d1369 chore: archive 05+04 runtime startup files and update milestone 2026-06-16 21:53:12 +09:00
6cf66682ef feat: backtest scenario automation task files and milestone update 2026-06-16 17:09:49 +09:00
243a1293f4 feat: backtest scenario automation and handoff validation
- Add backtest matrix test cases (success, failed, mismatch, timeout)
- Update runner with backtest scenario support
- Update scenario.go with handoff validation
- Update handoff tests for backtest scenarios
- Remove obsolete plan/review documents (moved to archive)
2026-06-16 07:55:09 +09:00
1266d6ab83 feat: backtest scenario automation G06-G07 완료 및 아카이브
- batch runner 구현 및 테스트 (G06: local 검증, G07: cloud 통합)
- scenario automation 파일들을 archive로 이동
- runner, scenario, output 개선
2026-06-15 22:46:01 +09:00
d770a195ff feat: backtest scenario automation 구현
- cli: scenario 실행 명령어 추가
- operator: scenario 처리 로직 구현 및 테스트
2026-06-15 21:13:32 +09:00
60440f83de feat: add backtest selector flow task files 2026-06-15 17:15:05 +09:00
f084fa6916 feat: backtest data collection infrastructure milestone completion
- Update backtest-data-collection-infrastructure roadmap
- Archive completed 02+01_storage_bar_selector task files
- Refactor bar_source, engine, and related tests in worker service
2026-06-15 15:30:12 +09:00
a533efce9e feat: backtest data collection infrastructure implementation
- Add backtest proto definitions with selector and state types
- Update domain types for backtest session and configuration
- Implement backtest selector flow for data range input
- Add CLI operator client and handoff test coverage
- Update generated code for proto changes
- Add worker socket backtest mapping implementations
- Include agent-task for milestone tracking
2026-06-14 20:39:44 +09:00
5f7b972c44 feat: backtest gap handling task and operator updates 2026-06-14 19:28:24 +09:00
8d4cb785e8 feat: backtest data collection infrastructure freshness status and operator updates 2026-06-14 17:59:01 +09:00
d1bfc28d34 feat: backtest data collection infrastructure and agent-tooling phase add 2026-06-14 16:44:11 +09:00
c0db4b24c1 feat(live-trading): 계좌 동기화와 감사 추적을 추가한다
Live Trading Boundary의 남은 account-sync/audit-trail 작업을 완료해 운영자 headless workflow와 roadmap 완료 후보 상태를 함께 반영한다.
2026-06-08 11:18:41 +09:00
c23fea2342 feat(live-trading): 실거래 risk guard를 추가한다
실거래 주문이 브로커에 도달하기 전에 kill switch와 계정별 주문 한도를 검증해야 한다. API, CLI, client parser surface와 완료된 review archive를 함께 정리한다.
2026-06-08 05:36:59 +09:00
adc0b12d82 feat(live-trading): 실거래 주문 lifecycle을 연결한다
실거래 주문 생성/조회/취소 흐름이 contracts, worker, API, CLI, Flutter parser까지 같은 메시지 경계로 이어져야 한다.\n\n브로커 호출 전 operator confirmation과 malformed order validation을 worker-owned runtime에서 막고, 리뷰 완료 산출물을 archive에 보존한다.
2026-06-07 17:29:45 +09:00
87c7f9cdee chore(ports): 워크스페이스 포트를 표준화한다
API/worker runtime default와 local infra host publish가 같은 포트 정책을 사용하도록 맞춘다.\n\nagent-task 리뷰 산출물을 함께 남겨 포트 표준화 작업의 검토 이력을 추적할 수 있게 한다.
2026-06-07 13:44:37 +09:00
5488c4bc8b feat(live-trading): 브로커 포트 경계를 추가한다
실거래 경계를 열기 위한 domain, contract, API, worker, client parser 등록을 함께 추가한다.

브로커 capability 조회와 live trading capability 광고가 각 런타임에서 일관되게 검증되도록 테스트와 review artifact를 포함한다.
2026-06-07 10:24:28 +09:00
8335800de5 test(worker): 미국장 백테스트 스모크를 추가한다
US market daily bars가 backtest source와 engine fixture에서 USD 기준으로 동작하는지 잠그고, 완료된 agent-task 리뷰 산출물을 archive 상태로 정리한다.
2026-06-06 19:41:11 +09:00
9eef0b5460 test(marketdata): 미국장 공통 조회 검증을 추가한다
미국장 데이터가 들어와도 API, worker, operator가 한국장과 다른 조회 경로를 쓰면 shared-query 마일스톤을 닫을 수 없다. 기존 ListInstruments/ListBars/ImportDailyBars contract에 US market, NASDAQ venue, provider filter 케이스를 추가하고 완료 로그 기준으로 마일스톤 진행 상태를 동기화한다.
2026-06-06 19:09:49 +09:00
f38cbbc5cb feat(marketdata): KIS 미국장 일봉 수집을 추가한다
미국장 일봉 import가 국내 KIS chart endpoint에 묶여 있으면 NASDAQ/NYSE 요청을 정상화된 USD bar로 저장할 수 없다. provider capability로 venue/timeframe 지원 여부를 먼저 검증하고, KIS overseas dailyprice 응답을 venue timezone과 USD 통화 기준으로 normalize하도록 경로를 분리한다.
2026-06-06 17:54:52 +09:00
f552dfc3ef feat: US market expansion & asset type instrument support
- Add asset_type column to instrument table (migration 000003)
- Extend market domain types with asset_type and related fields
- Update proto definitions for common and market messages
- Regenerate Dart and Go protobuf code
- Add shared query surface for US market data
- Add KIS US daily itemchartprice provider and tests
- Update backtest and operator components for US market support
- Update socket market mapping for new asset types
- Move paper-trading-command-workflow to archive
- Add agent-task for m-us-market-expansion (subtasks 02+01, 03+01, 04+02,03)
2026-06-06 15:56:21 +09:00
db0b417f94 test(operator): paper handoff 검증을 보강한다
paper UI handoff 완료 근거를 남기기 위해 order lifecycle matrix row와 row-level assertion을 추가하고 리뷰 산출물을 archive한다.
2026-06-06 12:59:48 +09:00
daa29d6807 feat: paper trading command workflow completed (G08, G09)
- Archive completed subtasks (02+01_risk_command, 03+02_order_lifecycle)
- Add paper_order_lifecycle test data and expected output
- Update paper trading proto and regenerate code (Dart, Go)
- Fix order lifecycle handling in CLI operator, API socket, worker socket
- Update parser maps across CLI, API, and worker services
- Update backtest and paper trading tests
2026-06-06 11:36:50 +09:00
1ad517beec feat(paper-trading): 상태 출력 검증 흐름을 확장한다
paper trading command workflow를 진행 상태로 열고, loop smoke evidence와 후속 risk/order/UI handoff plan을 기록한다.

CLI 상태 출력에는 risk 기본값과 equity summary를 포함해 headless 검증 key가 안정적으로 남도록 한다.
2026-06-05 17:12:40 +09:00
aaf1af6387 feat(paper-trading): paper 상태 모니터링을 연결한다
Paper trading readiness에서 API/worker/CLI가 같은 protobuf 계약으로 paper state를 시작하고 조회할 수 있어야 한다. Headless 운영 경로를 먼저 닫기 위해 contract, worker runtime, API forwarding, CLI scenario, client parser map과 검증 artifact를 함께 반영한다.
2026-06-05 15:14:41 +09:00
26aa98a0fa feat: paper-trading-readiness milestone and backtest domain updates
- Update roadmap and trading-expansion phase for paper trading readiness
- Add backtest domain types and tests
- Add agent-task for paper-trading-readiness (G06/G07)
- Include archive logs for domain paper model work
2026-06-05 08:11:30 +09:00
d017747862 archive: operator-surface milestone and G05/G06 operator handoff task artifacts
- Move command-first-operator-workflow milestone to archive
- Archive operator handoff plan and code review logs (G05, G06)
- Update agent-roadmap and PHASE.md accordingly
- Update handoff_test.go and headless_validation.md
2026-06-04 20:58:49 +09:00
96e7c85c6f update operator workflow tests and backtest runtime 2026-06-03 22:28:59 +09:00
473934212c refactor: operator workflow G07 completed and archived
- Move G07 import CLI scenario docs to archive
- Update operator client, runner, scenario implementations
- Add kis_daily_import_smoke test fixtures
- Update handoff and output tests
2026-06-03 21:26:06 +09:00
620ca92e2e refactor: market status parsing과 backtest runtime 흐름 통합
- parser_map.go 업데이트하여 market status 파싱 로직 통일
- protobuf market.proto 변경사항 적용 (market.pb.go, market.pb.dart)
- socket handlers, market, backtest 관련 테스트 및 런타임 코드 개선
- workerclient와 alt-worker main.go 변경사항 반영
- agent-task archive 이동 (01_import_contract_worker_api → archive/2026/06/)
2026-06-03 20:26:56 +09:00
c4702ea692 feat: backtest feature implementation and reorganize agent-task 2026-06-02 10:58:01 +09:00
b5a544aa97 chore: archive G06 market repository task files and add client market feature 2026-06-02 10:41:41 +09:00
48ee5189a9 refactor: socket state management and dashboard screen updates
- Move G06 task to archive
- Update dashboard screen presentation
- Refactor socket connection controller
- Add socket connection controller unit test
2026-06-02 10:32:29 +09:00
259a86c2fa chore: archive completed task files and add contract-related files
- Move 01_contract_mapping files to archive
- Add alt_api_result.dart contract implementation
- Add alt_api_result_test.dart
2026-06-02 10:15:26 +09:00
1c11a17eff feat: operator headless workflow validation and backtest support
- Implement backtest workflow validation for headless operator mode
- Add handoff evidence tracking for backtest runs
- Update operator client, runner, scenario, and output modules
- Add test files for handoff, backtest runner, and error handling
- Add test data for backtest scenarios and validation
2026-06-01 13:21:20 +09:00
6ad82e2417 feat(cli): add operator market data workflow support
- Add client, output, parser_map, runner for headless operator workflow
- Support market data status query scenario
- Archive completed G07 subtask documents (02+01_api_market)
- Update CLI and scenario implementations
2026-06-01 10:45:09 +09:00
2310c90f10 feat: add cli internal packages, testdata, iOS/macos Podfiles, and workflow validation tasks 2026-06-01 09:27:00 +09:00
1f1527d7c6 feat: Flutter Operator Console milestone completion and migration to archive
- Move flutter-operator-console milestone to archive (completed)
- Add AltWorkbenchShell for workbench pattern migration
- Update router and dashboard screen for workbench integration
- Update agent-roadmap and phase documentation
- Headless workflow validation complete (02+01_headless_validation)
- Update client domain rules and README
2026-05-31 21:11:10 +09:00
57000c8cb6 feat(operator-runtime-refactor): complete subtasks 02+01 and 03, refactor client bootstrap and API socket layer
- Archive completed subtask documents (02+01_api_lifecycle_capabilities, 03_client_bootstrap)
- Update roadmap and PHASE.md for operator-surface progress
- Refactor apps/client/lib/src/app/bootstrap.dart for client initialization
- Update API socket layer: backtest, handlers, market, server, workerclient
- Add bootstrap_test.dart for client app
2026-05-31 09:43:42 +09:00
24983ad72a feat: operator runtime refactor - API lifecycle capabilities, client bootstrap, and socket handler updates 2026-05-31 09:08:03 +09:00
ec938475e0 chore: socket rail implementation and task archival
- Add backtest and market socket handlers for API and Worker
- Add proto definitions for backtest and market services
- Update client socket integration and tests
- Generate protobuf code for Go and Dart
- Archive completed agent tasks under agent-task/archive/2026/05/
2026-05-30 22:57:18 +09:00
6cd08cdaf4 archive: persistence-worker-backbone milestone and add user review 2026-05-28 20:31:47 +09:00
f762d2abd9 feat: worker persistence layer and socket session updates
- Add worker storage layer with PostgreSQL/sqlc setup
- Add migration files for worker backbone schema
- Add job runner and built-in jobs implementation
- Add Redis key definitions for worker state management
- Archive socket-session-loop milestone (completed/renamed)
- Update roadmap current.md and foundation-alignment phase
- Add socket endpoint integration and runtime smoke tests
- Add infra-check, worker-storage-check, worker-storage-gen CLI tools
- Update API socket server and config
- Add pubspec dependencies and client socket endpoint changes
- Add config tests for API and worker services
2026-05-28 19:05:10 +09:00