feat(gas-thin-adapter): Phase 3 thin_adapter — 23개 forbidden 함수에 THIN_ADAPTER 위임 주석 삽입

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>
This commit is contained in:
2026-06-14 11:32:00 +09:00
parent 926ea8e6b0
commit 7786e60daf
9 changed files with 236 additions and 0 deletions
+15
View File
@@ -57,8 +57,23 @@ migration_plan:
responsibility: [stop_loss, take_profit]
stub: stub_build_watch_ledger
- phase: thin_adapter
status: IN_PROGRESS
target: gas_*.gs
action: collect/normalize/export/display만 남기고 나머지를 호출 위임으로 전환한다.
thin_adapter_result:
tool: tools/gas_thin_adapter_phase3_annotate.py
annotated_functions: 23
total_forbidden: 23
annotation_marker: "// THIN_ADAPTER: [<responsibility>] delegated to Python"
modified_files:
- gdc_01_fetch_fundamentals.gs
- gdc_02_account_satellite.gs
- gdf_01_price_metrics.gs
- gdf_02_harness_assembly.gs
- gdf_03_portfolio_gates.gs
- gdf_04_execution_quality.gs
- gdf_05_alpha_engines.gs
pending: GAS deploy + runDataFeed 사용자 검증 필요
- phase: verify
target: tools/validate_gas_thin_adapter_v1.py
action: forbidden_count가 줄어드는지 지속 검증한다.