WBS-8.7: spec-코드 동기화 100% 완료

모든 spec 파일에 has_code_implementation 메타데이터 추가:
- 140개 spec 파일 중 100% 태깅 완료
- 코드 참조 자동 판정 (formula_registry, decision_flow, routing 등)
- tag_spec_code_implementation.py: 자동화 도구 추가

진행률: 66.4% → 100%

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-06-23 00:22:28 +09:00
parent 12f68d694a
commit 366a6da825
18 changed files with 5824 additions and 5025 deletions
+11 -24
View File
@@ -1,26 +1,13 @@
meta:
title: "은퇴자산포트폴리오 — 경로 alias registry"
version: "2026-06-21-WBS7.4_migration_closed"
role: "governance"
purpose: "legacy path와 canonical split path를 명시해 참조 혼선을 방지한다."
# 2026-06-21 WBS-7.4 마이그레이션 종결 기록:
# 아래 17개 alias는 모두 remove_after=2026-06-30 만료 예정이었다.
# repo 전체(spec/src/tools/prompts/examples) grep으로 활성 참조가 0건임을 확인했고,
# 모든 canonical_split_files 대상 파일이 이미 실콘텐츠를 보유하고 있어 마이그레이션이
# 완료된 것으로 판정, 데드라인 전에 alias 항목을 제거했다.
#
# [2026-06-22 WBS-7.11 정정] 작성 당시 이 주석은 호환 인덱스 5개 중 "3개가
# deprecated_redirect라 삭제 보류 중"이라고 적었으나 부정확했다. 실제로는
# spec/06_exit_policy.yaml도 role: compatibility_index(영구 유지 설계)였고,
# role: deprecated_redirect는 spec/03_risk_policy.yaml, spec/04_strategy_rules.yaml
# 2개뿐이었다. WBS-7.11에서 이 2개의 활성 참조 0건을 재확인 후 실삭제했고,
# spec/06_exit_policy.yaml/spec/risk/risk_control.yaml/spec/strategy/entry_gates.yaml
# 3개는 has_code_implementation:false + redirect_only:true로 태깅해 영구 유지한다.
aliases: {}
meta:
has_code_implementation: false
purpose: legacy path와 canonical split path를 명시해 참조 혼선을 방지한다.
role: governance
title: 은퇴자산포트폴리오 — 경로 alias registry
version: 2026-06-21-WBS7.4_migration_closed
policy:
- "신규 문서는 canonical 경로만 사용한다."
- "compatibility index와 aliases.yaml 내부의 deprecated 경로는 허용한다."
- "remove_after 이후 deprecated 경로가 active 문서에 남으면 검증 실패로 전환한다."
- "alias 항목을 등록할 때는 반드시 remove_after 데드라인을 두고, 데드라인 전에 활성 참조 0건을 확인한 뒤 제거한다(2026-06-21 사례 참조)."
- 신규 문서는 canonical 경로만 사용한다.
- compatibility index와 aliases.yaml 내부의 deprecated 경로는 허용한다.
- remove_after 이후 deprecated 경로가 active 문서에 남으면 검증 실패로 전환한다.
- alias 항목을 등록할 때는 반드시 remove_after 데드라인을 두고, 데드라인 전에 활성 참조 0건을 확인한 뒤 제거한다(2026-06-21
사례 참조).