- 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/
packages/domain/market: timeframemap 타입 추가 및 테스트
services/api/internal/socket/market: multi-timeframe 소켓 메시지 지원
services/worker/internal/socket/backtest_mapping: 백테스트 매핑 함수에 multi-timeframe 반영
- 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
- 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
실거래 주문 생성/조회/취소 흐름이 contracts, worker, API, CLI, Flutter parser까지 같은 메시지 경계로 이어져야 한다.\n\n브로커 호출 전 operator confirmation과 malformed order validation을 worker-owned runtime에서 막고, 리뷰 완료 산출물을 archive에 보존한다.
실거래 경계를 열기 위한 domain, contract, API, worker, client parser 등록을 함께 추가한다.
브로커 capability 조회와 live trading capability 광고가 각 런타임에서 일관되게 검증되도록 테스트와 review artifact를 포함한다.
미국장 데이터가 들어와도 API, worker, operator가 한국장과 다른 조회 경로를 쓰면 shared-query 마일스톤을 닫을 수 없다. 기존 ListInstruments/ListBars/ImportDailyBars contract에 US market, NASDAQ venue, provider filter 케이스를 추가하고 완료 로그 기준으로 마일스톤 진행 상태를 동기화한다.
미국장 일봉 import가 국내 KIS chart endpoint에 묶여 있으면 NASDAQ/NYSE 요청을 정상화된 USD bar로 저장할 수 없다. provider capability로 venue/timeframe 지원 여부를 먼저 검증하고, KIS overseas dailyprice 응답을 venue timezone과 USD 통화 기준으로 normalize하도록 경로를 분리한다.
- 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)
- 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
Paper trading readiness에서 API/worker/CLI가 같은 protobuf 계약으로 paper state를 시작하고 조회할 수 있어야 한다. Headless 운영 경로를 먼저 닫기 위해 contract, worker runtime, API forwarding, CLI scenario, client parser map과 검증 artifact를 함께 반영한다.
- 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/)
- Add bin/kis-paper-daily-smoke and bin/kis-sops-env utilities
- Update agent-roadmap for operator surface phase
- Add worker backtest bar source and Kis live client
- Update KIS live secret configuration and documentation
- Refine worker datacheck and daily chart price providers
- 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/
- API 서비스 workerclient Hello 함수에 context.Err() 선행 검증 추가
- Hello 요청을 goroutine으로 비동기 처리하고 select로 ctx.Done() 감지
- 이미 초과된 deadline인 경우 즉시 에러 반환
- worker 서비스 config에서 strconv import를 config.go로 이동
- worker socket session handler 및 registerHandlers 테스트 추가
- parser_map 테스트 파일 신규 추가
- Add parser map for contract type resolution
- Update socket handlers with new message routing
- Add parser map tests
- Remove outdated code review and plan docs for G07
- Add socket handler and server implementations for real-time communication
- Add Mattermost integration (auth service, push client, plugin client)
- Add Mattermost push host integration tests
- Update Flutter client app with new app structure and bootstrap
- Update Android build configurations and add Google Services config
- Add asset keep file for Flutter client
- Update agent-roadmap with api-centered-proto-socket-rail milestone
- Update agent-task with planning and code review documents for all groups
- Update domain rules for api, client, worker and project rules
Backtest run handler에 context.Canceled 상태 전이를 추가한다.
executor가 context.Canceled를 반환하면 run 상태를 canceled로 설정한다.
에러 메시지 포맷팅도 동적 상태로 변경했다.
agent-roadmap을 업데이트한다.
Backtest Engine Baseline을 완료 처리하고 archive로 이동한다.
Backtest Analysis Surface를 진행 중 상태로 전환한다.
Task 검증 조건을 추가하고 완료 기준을 정리한다.
테스트 추가:
- context.Canceled 전이 테스트를 추가한다.