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>
This commit is contained in:
@@ -1,21 +1,26 @@
|
||||
meta:
|
||||
has_code_implementation: true
|
||||
code_path:
|
||||
- spec\anti_late_entry_contract.yaml
|
||||
schema_version: anti_late_entry_contract.v2
|
||||
goal: Define rules to block late chasing of leading stocks and prevent buying in distribution phases.
|
||||
goal: Define rules to block late chasing of leading stocks and prevent buying in distribution
|
||||
phases.
|
||||
metrics:
|
||||
- id: breakout_quality
|
||||
description: "20D high status and volume acceleration at breakout"
|
||||
- id: flow_acceleration
|
||||
description: "Foreign/Institutional net buying acceleration indicator"
|
||||
- id: distribution_risk
|
||||
description: "Risk score reflecting high-volume churn without price progression"
|
||||
- id: entry_timing_decile
|
||||
description: "Decile rank of entry timing relative to recent price progression"
|
||||
- id: breakout_quality
|
||||
description: 20D high status and volume acceleration at breakout
|
||||
- id: flow_acceleration
|
||||
description: Foreign/Institutional net buying acceleration indicator
|
||||
- id: distribution_risk
|
||||
description: Risk score reflecting high-volume churn without price progression
|
||||
- id: entry_timing_decile
|
||||
description: Decile rank of entry timing relative to recent price progression
|
||||
rules:
|
||||
- id: RULE_OVERHEATED_BLOCK_BUY
|
||||
condition: "entry_timing_decile >= 8 (Overheated zone)"
|
||||
action: "BLOCK new buys until a pullback trigger is confirmed"
|
||||
- id: RULE_DISTRIBUTION_DOWNGRADE
|
||||
condition: "distribution_risk is HIGH"
|
||||
action: "Downgrade BUY to HOLD/WAIT"
|
||||
- id: RULE_LATE_CHASE_ATTRIBUTION
|
||||
condition: "T+5/T+20 operational outcomes are updated to attribute entry quality"
|
||||
action: "Update attribution metrics"
|
||||
- id: RULE_OVERHEATED_BLOCK_BUY
|
||||
condition: entry_timing_decile >= 8 (Overheated zone)
|
||||
action: BLOCK new buys until a pullback trigger is confirmed
|
||||
- id: RULE_DISTRIBUTION_DOWNGRADE
|
||||
condition: distribution_risk is HIGH
|
||||
action: Downgrade BUY to HOLD/WAIT
|
||||
- id: RULE_LATE_CHASE_ATTRIBUTION
|
||||
condition: T+5/T+20 operational outcomes are updated to attribute entry quality
|
||||
action: Update attribution metrics
|
||||
|
||||
Reference in New Issue
Block a user