43 lines
1.4 KiB
YAML
43 lines
1.4 KiB
YAML
schema_version: 2026-06-06-gas-thin-adapter-policy-v1
|
|
policy_id: GAS_THIN_ADAPTER_POLICY_V1
|
|
has_code_implementation: true
|
|
code_path: "tools/validate_gas_thin_adapter_v1.py"
|
|
purpose: >
|
|
GAS에서 collect, normalize, export, display만 남기고 decision, sizing,
|
|
stop_loss, take_profit, risk_score 로직은 Python으로 이전하기 위한 migration plan.
|
|
allowed_responsibilities:
|
|
- collect
|
|
- normalize
|
|
- export
|
|
- display
|
|
forbidden_responsibilities:
|
|
- decision
|
|
- sizing
|
|
- stop_loss
|
|
- take_profit
|
|
- risk_score
|
|
migration_plan:
|
|
status: DONE
|
|
phases:
|
|
- phase: inventory
|
|
status: DONE
|
|
target: Temp/gas_business_logic_audit_v1.json
|
|
action: 분류된 GAS 함수 목록을 확정한다.
|
|
- phase: extract
|
|
status: DONE
|
|
target: tools/
|
|
action: business_logic 함수를 Python compiler/stub layer로 이전한다.
|
|
- phase: thin_adapter
|
|
status: DONE
|
|
target: gas_*.gs
|
|
action: collect/normalize/export/display만 남기고 나머지를 호출 위임으로 전환한다.
|
|
- phase: verify
|
|
status: DONE
|
|
target: tools/validate_gas_thin_adapter_v1.py
|
|
action: forbidden_count가 줄어드는지 지속 검증한다.
|
|
exceptions:
|
|
- name: runtime_report_rendering
|
|
reason: 표 렌더링을 위한 문자열 포맷은 허용된다.
|
|
- name: data_collection_helpers
|
|
reason: 외부 JSON/시트 수집은 허용된다.
|