fix(risk): restore hard exposure and trailing-state gates - #115
Conversation
Co-Authored-By: Codex <noreply@openai.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8e25ae2065
ℹ️ 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".
Co-Authored-By: Codex <noreply@openai.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1fa75756d4
ℹ️ 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".
Co-Authored-By: Codex <noreply@openai.com>
Summary
max_positions=20fixes<= 1.0independently of QPK MEMBER approval; invalid/non-finite weights fail closedhighest_pricebefore trailing-stop evaluation can emitCLEARSafety boundary
Offline code/CI evidence only. This PR does not authorize merge, runtime/provider/credential/deploy/config-sync, broker/account/order/capital, paper/shadow/live, observer execution, or
MATCHED.Tests-first evidence
highest_priceregressions failed as expected2 passed, 7 subtests passed16 passed, 11 subtests passed107 passed, 72 subtests passed