Skip to content

Register market regime control plugin#70

Merged
Pigbibi merged 2 commits into
mainfrom
codex/market-regime-control-20260528
May 28, 2026
Merged

Register market regime control plugin#70
Pigbibi merged 2 commits into
mainfrom
codex/market-regime-control-20260528

Conversation

@Pigbibi

@Pigbibi Pigbibi commented May 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add platform contract for market_regime_control
  • add alert guidance and supported strategy validation
  • export the new plugin constants from common helpers

Validation

  • slowrun bash -lc ".venv/bin/python -m pytest tests/test_strategy_plugins.py -q"
  • .venv/bin/python -m ruff check touched platform files

@Pigbibi

Pigbibi commented May 28, 2026

Copy link
Copy Markdown
Contributor Author

Added version-aware plugin registry support.

Highlights:

  • StrategyPluginDefinition now carries supported_schema_versions, default_schema_version, deprecated, and successor_plugin.
  • mounts can optionally set expected_schema_version; artifact loading validates it.
  • market_regime_control.v1 is the default contract and supports TQQQ + SOXL; legacy plugins remain accepted but deprecated.

Validation:

  • slowrun bash -lc ".venv/bin/python -m pytest tests/test_strategy_plugins.py -q"
  • slowrun bash -lc ".venv/bin/ruff check src/quant_platform_kit/common/strategy_plugins.py src/quant_platform_kit/common/__init__.py tests/test_strategy_plugins.py"

@Pigbibi Pigbibi merged commit 390c780 into main May 28, 2026
1 check passed
@Pigbibi Pigbibi deleted the codex/market-regime-control-20260528 branch May 28, 2026 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant