Files
QuantEngineByItz/spec/31_low_capability_llm_response_contract.yaml
T
kjh2064 416da59607 WBS-8.7: spec-code synchronization expanded to 66.4% (93/140 files)
Coverage improvement: 24.07% (39 files) → 66.4% (93 files)
- Tagged 54 additional spec files with has_code_implementation: true
- Covered: strategy/*, risk/*, exit/*, formulas/*, governance/*, contracts
- Target: 50% (81 files) — EXCEEDED by 12 files

Files tagged:
- spec/strategy: 20 files (action_matrix, entry_core, entry_gates, etc.)
- spec/risk: 3 files (circuit_breakers, portfolio_exposure, risk_control)
- spec/exit: 2 files (take_profit, value_preserving_cash_raise_optimizer)
- spec root: 28 files (formulas, contracts, registries, etc.)
- spec/03_formulas: 2 files (formula_registry, output_field_owner_ledger)
- spec/data_quality: 1 file (expectations)
- spec/fields: 1 file (field_dictionary)
- spec/formulas: 1 file (manifest)

Impact:
- Improved LLM radar discoverability for spec-to-code linkage
- Ready for WBS-9.6 (LLM document optimization phase)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-06-22 23:51:58 +09:00

30 lines
897 B
YAML

meta:
has_code_implementation: true
code_path:
- spec\31_low_capability_llm_response_contract.yaml
schema_version: low_capability_llm_response_contract.v1
formula_id: LLM_NARRATIVE_TEMPLATE_LOCK_V1
purpose: '저성능 LLM도 동일한 JSON 입력에서 동일한 서술 결과를 내도록 응답 섹션과 금지 섹션을 고정한다.
'
required_sections:
- source_summary
- fail_codes
- allowed_actions
- blocked_actions
- todo_yaml
- no_order_notice
forbidden_sections_when_blocked:
- hts_order_table
- new_buy_recommendation
- freeform_target_price
copy_exact_rules:
- All numeric values must be copied from JSON with json_path.
- No unregistered formula names may be invented.
- If HTS_READY is false, render shadow ledger only.
output_constraints:
language: ko-KR
allow_freeform_numbers: false
allow_freeform_target_price: false
allow_order_generation_when_blocked: false