feat: add normalized PostgreSQL learning history
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Failing after 17s
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 56s

This commit is contained in:
2026-07-12 11:44:00 +09:00
parent c25e3bee7a
commit 1d90580854
2 changed files with 122 additions and 1 deletions
+5 -1
View File
@@ -176,7 +176,9 @@ quant_feed_contract:
database_first_operating_model:
purpose: "운영 이력, 원천 팩터, 파생 최종 팩터, 시장-결과 괴리를 PostgreSQL에 누적해 엔진을 고도화한다."
canonical_store:
primary: "PostgreSQL"
primary: "PostgreSQL"
canonical_engine_history_migration: "src/dotnet/QuantEngine.Infrastructure/Migrations/V5__Add_Normalized_Learning_History.sql"
learning_projection: "engine_history.training_example_v1"
secondary: "SQLite transient cache only"
prohibited_operating_path:
- "Excel workbook as operational source"
@@ -190,6 +192,8 @@ quant_feed_contract:
policy:
- "최종 팩터와 최종 판단은 DB 이력 테이블에 버전과 시각을 함께 남긴다."
- "시장 raw와 엔진 결과의 괴리는 별도 gap history로 적재한다."
- "원천 관측·factor·decision·outcome은 정규화된 PostgreSQL event store에 적재한다."
- "학습/캘리브레이션 입력은 training_example_v1 역정규화 view에서만 생성한다."
- "엑셀/시트/Apps Script는 더 이상 운영 경로가 아니라, 역사적 import/export 또는 폐기 대상만 허용한다."
- "새 분석·리포트는 PostgreSQL snapshot을 1차 진실원천으로 사용한다."
xlsx_analysis_protocol: