모든 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>
*_result, note, pending 등 실행 로그성 블록 제거.
spec은 정책(allowed/forbidden), phase 목록/status, exceptions만 유지.
실행 결과는 Temp/*.json(하네스 산출물)이 source of truth.
validate_gas_thin_adapter_v1 gate=PASS 유지 확인.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
GAS_THIN_ADAPTER_POLICY_V1 Phase 4 (verify) 완료:
- validate_gas_thin_adapter_v1.py gate=PASS 확인
(coverage=100%, migration_plan_exists=true, forbidden=23)
- spec/39: verify phase DONE + verify_result 블록 추가
- migration_plan.note: 사용자 GAS 검증 후 전체 DONE 처리 예정
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
GAS_THIN_ADAPTER_POLICY_V1 Phase 3 (thin_adapter) 진행:
- tools/gas_thin_adapter_phase3_annotate.py: 23개 GAS forbidden 함수에 THIN_ADAPTER 주석 자동 삽입 스크립트
- src/gas_adapter_parts 7개 파일: 각 forbidden 함수 본문 첫 줄에
// THIN_ADAPTER: [<responsibility>] delegated to Python — <module>:<function>
주석 추가 (기능 코드 무변경, additive-only)
- spec/39: thin_adapter phase IN_PROGRESS + thin_adapter_result 블록 추가
⚠ GAS 파일 변경됨 — GAS deploy + 사용자 검증 필요 (runDataFeed 실행)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
주요 변경:
- 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>