proposal.md 1.4 KB

Why

The previous OpenSpec change established layered governance and structured-state compatibility, but predictive_* and deep_oversold_* logic still lives mostly inside dragon_strategy.py. This keeps the highest-risk weak families coupled to the compatibility facade and limits isolated testing.

What Changes

  • Physically isolate predictive bridge logic into a dedicated module.
  • Physically isolate deep-oversold subtype/classification/confirmation logic into dedicated modules.
  • Keep behavior compatibility by calling new modules from dragon_strategy.py while preserving legacy output schema.
  • Add module-level tests and rerun golden + pipeline gates.

Capabilities

New Capabilities

  • predictive-bridge-module: Dedicated bridge module for predictive break reentry/exit predicates.
  • deep-oversold-module: Dedicated classifier and confirmation predicates for deep oversold flows.
  • module-regression-gates: Focused tests for predictive and deep-oversold module behavior.

Modified Capabilities

  • dragon-strategy-compatibility-facade: Delegates weak-family decision predicates to isolated modules without changing external strategy outputs.

Impact

  • Affected code: dragon_strategy.py, new predictive/deep-oversold modules, tests.
  • Expected runtime impact: none material; predicate calls moved to module functions.
  • Governance impact: weaker family logic becomes independently testable and easier to audit.