WBS-7.3/7.4/7.5/7.11: 거버넌스 문서 정합성 정리 + spec-코드 동기화 게이트

2026-06-21 비판적 리뷰에서 spec/governance YAML이 코드 상태와 어긋난
채로 방치되던 3개 구체적 사례를 발견하고 정정했다. 근본 원인(동기화를
보장하는 장치 없음)에 대응하는 신규 CI 게이트도 함께 추가한다.

- spec/aliases.yaml: deprecated alias 17건 제거(활성 참조 0건 확인 후,
  2026-06-30 데드라인 전). role: deprecated_redirect인 spec/03_risk_policy.yaml,
  spec/04_strategy_rules.yaml 2개만 실삭제 — spec/06_exit_policy.yaml은
  role: compatibility_index(영구유지 설계)였음을 재확인해 보존
- governance/gas_logic_migration_ledger_v1.yaml: 존재하지 않는 파일을
  canonical 구현으로 인용하던 오류 2건 발견·정정, parity 테스트 부재로
  GAS 코드 삭제 보류(F12/F13/F14)
- spec/13_formula_registry.yaml: OVERHANG_PRESSURE_V1의 "-500000"
  절대값 폴백을 avg_volume_5d 비례식으로 교체(EXPERT_PRIOR 등록)
- tools/validate_specs.py: validate_spec_code_sync() 신규 — has_code_implementation/
  code_path 필드가 있는 spec만 검사(점진적 롤아웃, 기존 PASS 상태 비파괴),
  12개 파일 1차 태깅
This commit is contained in:
2026-06-21 20:08:48 +09:00
parent ee4d1fdab8
commit 5166750b53
25 changed files with 351 additions and 165 deletions
+3 -2
View File
@@ -1,6 +1,7 @@
# Strategy Spec Split Plan
`spec/04_strategy_rules.yaml` is now a compatibility index.
`spec/04_strategy_rules.yaml` was a deprecated_redirect-only stub and has been deleted
(2026-06-22, WBS-7.11 — zero active references confirmed before removal).
The canonical strategy rules are the split files in this directory.
Canonical split files:
@@ -17,5 +18,5 @@ Canonical split files:
Migration rule:
- Do not duplicate thresholds without `canonical_ref`.
- Keep old paths valid through `spec/04_strategy_rules.yaml.legacy_path_aliases`.
- Keep old paths valid through `spec/strategy/entry_gates.yaml.legacy_path_aliases` (compatibility index only).
- `spec/09_decision_flow.yaml` controls execution order; strategy split files only define domain logic.
+3 -1
View File
@@ -1,10 +1,12 @@
meta:
title: "은퇴자산포트폴리오 — 진입 게이트 호환 인덱스"
parent_file: "spec/04_strategy_rules.yaml"
parent_file: "RetirementAssetPortfolio.yaml" # 2026-06-22 WBS-7.11: spec/04_strategy_rules.yaml 삭제로 갱신
version: "2026-05-15-F11_index_only"
language: "ko-KR"
timezone: "Asia/Seoul"
role: "compatibility_index"
has_code_implementation: false
redirect_only: true
purpose: >
기존 spec/strategy/entry_gates.yaml 경로를 보존하기 위한 인덱스 파일.
실제 진입 규칙은 세부 split 파일을 canonical로 사용한다.
+1 -1
View File
@@ -1,6 +1,6 @@
meta:
title: "은퇴자산포트폴리오 — 리밸런싱 트리거 분할 후보"
parent_file: "spec/04_strategy_rules.yaml"
parent_file: "RetirementAssetPortfolio.yaml" # 2026-06-22 WBS-7.11: spec/04_strategy_rules.yaml 삭제로 갱신
version: "2026-05-15-F8_split"
language: "ko-KR"
timezone: "Asia/Seoul"
+1 -1
View File
@@ -1,6 +1,6 @@
meta:
title: "은퇴자산포트폴리오 — 섹터 모델 분할 후보"
parent_file: "spec/04_strategy_rules.yaml"
parent_file: "RetirementAssetPortfolio.yaml" # 2026-06-22 WBS-7.11: spec/04_strategy_rules.yaml 삭제로 갱신
version: "2026-05-15-F8_split"
language: "ko-KR"
timezone: "Asia/Seoul"
+1 -1
View File
@@ -1,6 +1,6 @@
meta:
title: "은퇴자산포트폴리오 — 종목 모델 분할 후보"
parent_file: "spec/04_strategy_rules.yaml"
parent_file: "RetirementAssetPortfolio.yaml" # 2026-06-22 WBS-7.11: spec/04_strategy_rules.yaml 삭제로 갱신
version: "2026-05-16-F10_peg_gate"
language: "ko-KR"
timezone: "Asia/Seoul"