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>
186 lines
4.0 KiB
JSON
186 lines
4.0 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://local.retirement-portfolio/schemas/operational_report.schema.json",
|
|
"title": "Operational Report JSON Contract",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"schema_version",
|
|
"source_json",
|
|
"section_count",
|
|
"sections",
|
|
"summary"
|
|
],
|
|
"properties": {
|
|
"schema_version": {
|
|
"type": "string",
|
|
"const": "2026-05-24-operational-report-v1"
|
|
},
|
|
"source_json": {
|
|
"type": "string",
|
|
"const": "GatherTradingData.json"
|
|
},
|
|
"section_count": {
|
|
"type": "integer",
|
|
"minimum": 1
|
|
},
|
|
"sections": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"name",
|
|
"title",
|
|
"markdown"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"markdown": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"pattern": "^## .+\\n\\n[\\s\\S]+$"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"summary": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"found_settlement",
|
|
"found_heat",
|
|
"found_routing",
|
|
"found_qeh",
|
|
"found_concise_hts_input_sheet",
|
|
"found_reference_price_ledger",
|
|
"canonical_order_ok",
|
|
"json_validation_status"
|
|
],
|
|
"properties": {
|
|
"found_settlement": {
|
|
"type": "boolean"
|
|
},
|
|
"found_heat": {
|
|
"type": "boolean"
|
|
},
|
|
"found_routing": {
|
|
"type": "boolean"
|
|
},
|
|
"found_qeh": {
|
|
"type": "boolean"
|
|
},
|
|
"found_concise_hts_input_sheet": {
|
|
"type": "boolean"
|
|
},
|
|
"found_reference_price_ledger": {
|
|
"type": "boolean"
|
|
},
|
|
"canonical_order_ok": {
|
|
"type": "boolean"
|
|
},
|
|
"json_validation_status": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"found_outcome_eval_window": {
|
|
"type": "boolean"
|
|
},
|
|
"outcome_eval_gate": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"outcome_root_cause_flags": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"score_harness_audit": {
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
},
|
|
"found_algorithm_guidance_proof": {
|
|
"type": "boolean"
|
|
},
|
|
"algorithm_guidance_proof_score": {
|
|
"type": [
|
|
"number",
|
|
"null"
|
|
]
|
|
},
|
|
"algorithm_guidance_proof_gate": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"calibration_state": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"honest_proof_score": {
|
|
"type": [
|
|
"number",
|
|
"null"
|
|
]
|
|
},
|
|
"honest_gate": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"truth_divergence_abs": {
|
|
"type": [
|
|
"number",
|
|
"null"
|
|
]
|
|
},
|
|
"truth_divergence_gate": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"truth_divergence_note": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"pass_100_allowed": {
|
|
"type": [
|
|
"boolean",
|
|
"null"
|
|
]
|
|
},
|
|
"published_verdict": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"headline_score": {
|
|
"type": [
|
|
"number",
|
|
"null"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |