[codex] Document plugin alert routing boundary#22
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 185517f4a3
ℹ️ 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".
| automation-approved `defend` or `delever` route, the strategy run that applies | ||
| the position impact should carry the user-facing notification. |
There was a problem hiding this comment.
Use the machine route codes in alert guidance
In the unified market_regime_control payload, defend and delever are suggested-action values, while the routable codes for automated position impact are risk_off and risk_reduced in market_regime_control_plugin.py. If an alert bot or strategy integration follows this boundary and filters on route=defend/route=delever, defense signals such as risk_off can be misclassified or fail to hand off notification ownership to the strategy run that actually applies the position impact.
Useful? React with 👍 / 👎.
Summary
Validation