risk-control-audit
Verify DegenExus risk controls, including RiskGate, ExecutionGate, RiskDecision expiry, exposure limits, position sizing, stop-loss/take-profit ordering, and bypass paths.
Files1
View on GitHubSKILL.md.claude/skills/risk-control-audit/SKILL.md
GitHubRisk Control Audit
Workflow
- Identify the proposal-to-execution path for the change.
- Enumerate all hard invariants: max exposure, max open positions, risk/reward, confidence, direction-specific stop/take ordering, stale decision expiry, and execution preconditions.
- Map each invariant to source files and tests.
- Verify there is no route from
TradeProposalto fill simulation that skips deterministic gates. - Require BVA/ECP tests at every threshold and malformed-input tests at every Pydantic boundary.
- Produce
PASSonly with source-of-truth evidence from code and tests; otherwise produceBLOCK.
Evidence Requirements
- Cite exact files and line ranges.
- Include at least three edge cases.
- Distinguish deterministic gate failures from LLM risk-assessment recommendations.