feat: GAS_THIN_ADAPTER_POLICY_V1 Phase-1 Inventory 완료

tools/audit_gas_thin_adapter_v1.py 신규 작성:
- src/gas_adapter_parts/*.gs 9개 파일, 총 273개 함수 스캔
- allowed/forbidden/mixed/unknown 키워드 기반 분류
- Temp/gas_business_logic_audit_v1.json 출력 (gitignored)
- 이전 후보(forbidden) 23개 확인: sizing/stop_loss/take_profit/risk_score/decision

결과 요약:
- compliance_pct: 38.1% (allowed 104 / 273)
- forbidden: 23 (calcPrices_, calcTpQuantityLadder_, buildOrderBlueprint_ 등)
- mixed: 15 (collect + forbidden 겸용)

spec/39_gas_thin_adapter_policy.yaml 업데이트:
- migration_plan.status: PLANNED → IN_PROGRESS
- inventory_result 필드 추가 (수치 기록)
- inventory phase status: DONE

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-14 10:25:30 +09:00
parent 7ae7f918aa
commit 09dea9452d
2 changed files with 297 additions and 1 deletions
+12 -1
View File
@@ -15,9 +15,20 @@ forbidden_responsibilities:
- take_profit
- risk_score
migration_plan:
status: PLANNED
status: IN_PROGRESS
inventory_result:
tool: tools/audit_gas_thin_adapter_v1.py
output: Temp/gas_business_logic_audit_v1.json
total_functions: 273
forbidden_count: 23
mixed_count: 15
allowed_count: 104
unknown_count: 131
compliance_pct: 38.1
migration_candidate_count: 23
phases:
- phase: inventory
status: DONE
target: Temp/gas_business_logic_audit_v1.json
action: 분류된 GAS 함수 목록을 확정한다.
- phase: extract