feat(studio): add Phoenix state scenarios - #9
92Infinitus92 wants to merge 3 commits into
Conversation
|
|
could you please check this PR here LimeChain/surfpool#9 as i believe it resolves the above mentioned reported problem |
|
8d8eeeb to
f6fb37f
Compare
|
Found one issue:
|
f6fb37f to
9cb3fbb
Compare
|
Tests weren’t run because dependencies aren’t installed. Backend compatibility could not be verified from this repository. |
Tests were not run because dependencies are not installed. |
Tests were not run; dependencies are unavailable in this checkout. |
Review limited to the specified changes. Tests were not run. |
Could not run the focused tests because |
|
Phoenix state preset and dialog for collateral stress, direct mark shock and spot/perp reference divergence, plus the liquidation cascade AI chip. Collateral goes through the MCP tool for its vault-backing check; market scenarios are built client-side and posted to the generic scenarios API. Market symbols come live from list_phoenix_markets, and the scenario editor renders dynamic_ref properties as that live dropdown. Update Action keeps a saved override's address.
e01ff36 to
3a7d038
Compare
Adds Phoenix Eternal scenario support to Studio:
flows
Verification
divergence, and two-stage cascade scenarios
Stacking
This PR is stacked on
feat/pump-protocol-ui.Once the Pump UI PR is merged into
develop, this branch will be rebased and retargeted todevelop.Greptile Summary
Adds Phoenix Eternal state-scenario support to Studio.
Confidence Score: 5/5
The PR appears safe to merge once its explicitly acknowledged coupled backend dependency is landed.
No blocking failure remains within the eligible follow-up-review findings.
Important Files Changed
Sequence Diagram
sequenceDiagram actor User participant Dialog as Phoenix State Dialog participant API as Studio Scenario API participant MCP as Surfpool MCP User->>Dialog: Select state goal and enter values alt Collateral stress Dialog->>MCP: create_phoenix_collateral_scenario MCP-->>Dialog: Scenario URL / ID else Market-based scenario Dialog->>MCP: list_phoenix_markets MCP-->>Dialog: Live market symbols Dialog->>API: Load template and create scenario API-->>Dialog: Scenario ID end Dialog-->>User: Open created scenarioReviews (14): Last reviewed commit: "fix(phoenix): render explicit scenario i..." | Re-trigger Greptile