Skip to content

fix: align legacy plugin policies with V2 no-order boundary - #57

Merged
Pigbibi merged 1 commit into
mainfrom
fix/legacy-plugin-policy-no-order
Aug 23, 2026
Merged

fix: align legacy plugin policies with V2 no-order boundary#57
Pigbibi merged 1 commit into
mainfrom
fix/legacy-plugin-policy-no-order

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • downgrade market_regime_control v1 consumption policies to notification-only for TQQQ and SOXL
  • keep legacy position-control-shaped fields readable for deterministic replay
  • add a runner-level fail-closed guard so policy metadata cannot restore direct allocation authority
  • align the catalog and lifecycle documentation with the V2 sidecar boundary

Validation

  • uv run --frozen --extra test python -m pytest -q
  • 181 passed
  • ruff check on changed Python and test files
  • git diff --check

Safety

  • no broker calls or live permissions are added
  • position_mutation_allowed and broker_order_allowed remain false
  • strategy-owned candidates must pass the central Risk Gate for any position target

Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi
Pigbibi enabled auto-merge (squash) August 23, 2026 13:23
@Pigbibi
Pigbibi merged commit 359b603 into main Aug 23, 2026
2 checks passed
@Pigbibi
Pigbibi deleted the fix/legacy-plugin-policy-no-order branch August 23, 2026 13:24
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