feat(studio): add GoonFi state scenarios - #14
Open
92Infinitus92 wants to merge 3 commits into
Open
Conversation
- GoonFi joins the shared PMM dialog: a protocol dropdown alongside Tessera, a live market catalog read through list_goonfi_markets, and a human price. - Three AI chips (stale quote, drained pool, price dislocation) that drive the GoonFi MCP tools and the raw templates on the generic scenario path. - Protocol icon and a per-protocol catalog fetch in scenarios-api.
Tests weren’t run because dependencies aren’t installed. |
…cted Reselecting the already-selected protocol cleared the catalog without changing `protocol`, so the effect that reloads it never reran and the market listbox stayed disabled on "Loading markets…" with creation blocked.
|
No concrete bugs or regressions found in the specified PR changes. One improvement: add a dialog test where switching to GoonFi returns an empty catalog, then verify submission omits Validation limits: dependencies aren’t installed, so I couldn’t rerun tests. Backend tool/template compatibility requires the companion surfpool PR #13. |
Switching protocol when the new catalog comes back empty has to drop the previous protocol's market, so the request omits `market` and the backend picks its default rather than receiving a Tessera address for GoonFi.
Tests weren’t run because dependencies aren’t installed. Backend tool contracts couldn’t be verified from this repository. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #11 — GoonFi joins the shared PMM dialog Tessera introduced, so this builds on that branch rather than duplicating the dialog.
list_goonfi_markets, and creates scenarios withcreate_goonfi_price_scenario. Switching protocol reloads the catalog and re-normalises the selected market, so a market belonging to the other protocol is never carried over.scenarios-api, reusing the existingcreateScenarioWithMcpToolseam.npx tsc --noEmitclean.npx vitest run: 358 passed, 27 files.Greptile Summary
This PR extends Studio’s shared PMM scenario workflow with GoonFi support.
Confidence Score: 5/5
The PR appears safe to merge because no blocking failure remains within the eligible follow-up-review scope.
No blocking failure remains.
Important Files Changed
Sequence Diagram
Reviews (3): Last reviewed commit: "test(studio): cover an empty GoonFi cata..." | Re-trigger Greptile
Context used: