feat(scenarios): add Tessera state preparation - #11
Open
92Infinitus92 wants to merge 1 commit into
Open
Conversation
|
92Infinitus92
force-pushed
the
feat/tessera-support
branch
from
September 1, 2026 13:38
26dd7ea to
8539d42
Compare
|
No actionable findings in the reviewed diff. The previously reported RPC-target issue is fixed at Tests could not run because Rustup attempted to write outside the permitted workspace. |
92Infinitus92
force-pushed
the
feat/tessera-support
branch
from
September 1, 2026 14:48
8539d42 to
c6449f5
Compare
|
Tessera is a proprietary market maker with no IDL, so its market accounts are written through the raw byte layout the BisonFi work introduced. Eight templates cover price, depth, curve, halt, staleness and freshness. The market catalog lists all 26 live markets with their mints, decimals and freshness limit, so the UI constrains the choice and a model can resolve one through search_constant_options. One builder exists, for the only thing a template cannot express: turning a human price into the pair of reciprocal atomic ratios, which needs both mints' decimals.
92Infinitus92
force-pushed
the
feat/tessera-support
branch
from
September 3, 2026 06:47
c6449f5 to
d18d14f
Compare
|
No actionable issues found in the PR changes. Focused tests could not run because Rustup attempted to write under the read-only |
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 #8 — Tessera is the same mechanism class as BisonFi (PMM, no IDL) and reuses the raw-layout engine it introduced.
create_tessera_fair_value_scenario, on the generic scenario path. No protocol HTTP endpoints.monitoring.yamlis documentation only: the program-upgrade fingerprint and the catalog refresh procedure.Greptile Summary
The PR adds Tessera state preparation through raw-layout scenario templates and an MCP fair-value builder.
Confidence Score: 5/5
The PR appears safe to merge.
No blocking failure remains.
Important Files Changed
Flowchart
%%{init: {'theme': 'neutral'}}%% flowchart LR Client[MCP client] --> Tool[create_tessera_fair_value_scenario] Tool -->|surfnetPort| RPC[Target Surfnet RPC] RPC --> Market[Read market account] Market --> Mints[Read referenced mint accounts] Mints --> Builder[Validate layout and derive reciprocal ratios] Builder --> Scenario[Build price and persistent freshness overrides] Scenario --> Studio[Stage through scenarios API]Reviews (4): Last reviewed commit: "feat(scenarios): add Tessera state prepa..." | Re-trigger Greptile