Skip to content

feat(entrypoints): add apply_risk_gate to all HK entrypoints#70

Merged
Pigbibi merged 1 commit into
mainfrom
feat/hk-risk-gate
Jul 8, 2026
Merged

feat(entrypoints): add apply_risk_gate to all HK entrypoints#70
Pigbibi merged 1 commit into
mainfrom
feat/hk-risk-gate

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Copy apply_risk_gate from CnEquityStrategies into entrypoints/_common.py
  • Wire all 3 evaluate_* functions (global ETF, low-vol dividend, combo) to return apply_risk_gate(decision)
  • Aligns HK entrypoints with AGENTS.md hard risk gate requirement

Test plan

  • python3 -m pytest tests/ -q — 117 passed

Made with Cursor

Wire hard risk gate on all three evaluate_* functions per AGENTS.md
compliance, mirroring CnEquityStrategies pattern.

Co-Authored-By: Claude <noreply@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Jul 8, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@chatgpt-codex-connector

This comment has been minimized.

@Pigbibi Pigbibi enabled auto-merge (squash) July 8, 2026 14:27
@Pigbibi Pigbibi merged commit 9b89112 into main Jul 8, 2026
2 checks passed
@Pigbibi Pigbibi deleted the feat/hk-risk-gate branch July 8, 2026 14:32
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