ee3e799de1
주요 변경: - tools/build_rebalance_engine_v1.py: REBALANCE_ENGINE_V1 신규 * account_snapshot 직접 합산(_build_snap_position_map) → 소수주 분리 행 병합 * 레짐 소스 macro.REGIME_PRELIM 최우선 (GAS 와 동일) - src/gas_adapter_parts/gdf_06_rebalance.gs: runRebalanceSheet_() 신규 * Logger.log / getSpreadsheet_() 로 run_all 연동 수정 - src/gas_adapter_parts/gdc_01_fetch_fundamentals.gs * _mergePositionRecord_(): 소수주 중복 행 합산 신규 * parseInt → parseFloat (qty, availQty) - src/gas_adapter_parts/gdf_01_price_metrics.gs * 미보유 종목 SELL_READY → WATCH_EXIT_SIGNAL - spec/41_release_dag.yaml: build_rebalance_sheet 노드 추가 (step_count 63) - spec/51_formula_lifecycle_registry.yaml: REBALANCE_ENGINE_V1 등록 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2.0 KiB
2.0 KiB
Review Prompt
Use this prompt when reviewing a proposed recommendation or document change.
Review priority:
- Identify violations of
spec/risk/risk_control.yamlandspec/risk/portfolio_exposure.yaml. - Identify missing data gates from
spec/02_data_contract.yaml. - Check hard filters and rule IDs in
spec/08_scoring_rules.yaml. - Verify decision order against
spec/09_decision_flow.yaml. - Verify portfolio/account constraints against
spec/10_portfolio_rules.yaml. - Verify market regime classification against
spec/11_market_regime.yaml. - Validate output against
schemas/output_schema.jsonwhen JSON output exists. - Verify human report rendering against
spec/07_output_schema.yaml:human_reportandRetirementAssetPortfolioReportTemplate.yaml:output_format_templates.rendering_contract. - Verify APEX harness sections before any HTS order table:
alpha_lead_table,anti_distribution_table,profit_preservation_table,smart_cash_raise_table,execution_quality_table. - Verify
routing_serving_traceappears beforeQEH_AUDIT_BLOCK, and both appear beforeconcise_hts_input_sheet.
Return findings first, ordered by severity. If no findings exist, state that explicitly and list residual risks or missing tests.
Do not approve:
- BUY before hard filters
- order quantity before ATR20 and cash validation
- sell quantity before confirmed holdings
- A grade from stale or incomplete data
- any recommendation without rule path citations
- HTS order table without
decision_trace_table - BUY/ADD_ON table without
alpha_lead_tableandanti_distribution_table - cash-raise SELL/TRIM table without
smart_cash_raise_table - PASS order without
execution_quality_table - WATCH ledger using HTS order columns such as
지정가,손절가,익절가,주문수량, or주문금액 - prose headers such as
이번 주 결론,현재 포트폴리오 핵심 진단,보유 종목별 운용 지침,종합 의견replacing required tables