Skip to content

Attach strategy plugin metadata#50

Merged
Pigbibi merged 3 commits into
mainfrom
codex/strategy-plugin-ai-runtime-20260528
May 28, 2026
Merged

Attach strategy plugin metadata#50
Pigbibi merged 3 commits into
mainfrom
codex/strategy-plugin-ai-runtime-20260528

Conversation

@Pigbibi

@Pigbibi Pigbibi commented May 28, 2026

Copy link
Copy Markdown
Contributor

Summary:\n- Attach allowed strategy plugin metadata to Firstrade portfolio snapshots before strategy evaluation\n\nValidation:\n- ./.venv/bin/python -m pytest tests/test_rebalance_service.py -q\n- git diff --check HEAD~1..HEAD\n\nNote:\n- Ruff is not installed in this repo venv.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bd1c81a9b3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

required_semiconductor_rotation_history_lookback,
)
from quant_platform_kit.common.strategy_plugins import (
attach_strategy_plugin_metadata,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Update the QuantPlatformKit pin for this helper

In a fresh install using this repo's requirements.txt, quant-platform-kit is pinned to ceb84a366ed1bf9a53292ff2c73e06b4baac05e2, and I checked that revision's strategy_plugins.py does not export attach_strategy_plugin_metadata. This new import therefore raises ImportError as soon as application.rebalance_service is imported, preventing the service and tests that import it from starting unless the dependency pin is updated or the helper call is guarded/implemented locally.

Useful? React with 👍 / 👎.

@Pigbibi Pigbibi merged commit 38c3249 into main May 28, 2026
1 check passed
@Pigbibi Pigbibi deleted the codex/strategy-plugin-ai-runtime-20260528 branch May 28, 2026 06:46
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