Commit graph

49 commits

Author SHA1 Message Date
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
7b2dfe6751 update backtest loop roadmap and scenario implementation 2026-06-15 18:05:16 +09:00
33e6ec0254 feat(backtest): 백테스트 선택자 플로우와 관련 테스트를 개선한다 2026-06-15 16:52:36 +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
5488c4bc8b feat(live-trading): 브로커 포트 경계를 추가한다
실거래 경계를 열기 위한 domain, contract, API, worker, client parser 등록을 함께 추가한다.

브로커 capability 조회와 live trading capability 광고가 각 런타임에서 일관되게 검증되도록 테스트와 review artifact를 포함한다.
2026-06-07 10:24:28 +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
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
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
fc1b94bf5c feat: add operator-client-api-core-integration task documents and update client README 2026-06-02 09:42:57 +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
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
a8a0f691cf feat: API-centered proto socket rail milestone completion
- 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
2026-05-30 18:34:50 +09:00
e36d7f3141 chore: update roadmap and client platform registrations 2026-05-30 17:49:51 +09:00
5d6a9617aa refactor: update socket client and clean up backtest analysis files 2026-05-30 16:18:29 +09:00
9efc0a68dc feat: backtest analysis surface implementation
- Add backtest analysis results migration (000002)
- Update backtest proto definitions and generated code
- Extend backtest domain types and engine
- Add parser map for backtest analysis
- Update storage layer with backtest analysis queries and keys
- Add client contract tests and generated code
- Add m-backtest-analysis-surface task documentation
2026-05-30 14:43:40 +09:00
38b68315fc feat: backtest engine baseline implementation
- Add backtest proto definitions and generated code
- Update domain types for backtest results and fixtures
- Add PostgreSQL migrations for backtest tables
- Implement storage layer for backtest result persistence
- Add backtest job definitions and execution pipeline
- Remove obsolete agent-task documents for completed items
2026-05-30 12:13:45 +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
711dbb9f0c 차지: socket 세션 관련 변경사항 적용 및 불필요한 리뷰 파일 제거 2026-05-28 11:05:37 +09:00
e947a1f1a2 feat: update client pubspec, add integration tests, remove completed task files 2026-05-28 10:53:40 +09:00
b9aa02c79a chore: update client contracts and README 2026-05-28 05:54:55 +09:00
88c673d973 feat: contract codegen baseline - add proto code generation for client and server
- Add proto files for backtest and market domains
- Generate Go code in packages/contracts/gen/go
- Generate Dart code in apps/client/lib/src/generated
- Add contracts-gen and contracts-check binaries
- Update pubspec.yaml with protoc dependencies
- Update go.work with new module
2026-05-28 05:29:03 +09:00
5c79ca171e initial: project scaffold with agent-ops, cli, client, services, packages 2026-05-24 21:23:30 +09:00