Skip to content

Add Pendle V2 swap context to upgrade explanations - #413

Merged
spalen0 merged 2 commits into
mainfrom
feat/pendle-llm-context
Oct 5, 2026
Merged

spalen0 merged 2 commits into
mainfrom
feat/pendle-llm-context

Conversation

@spalen0

@spalen0 spalen0 commented Oct 4, 2026 •

Copy link
Copy Markdown
Collaborator

Pendle V2 PendleSwap upgrade alerts on Ethereum and Arbitrum now include the proxy's live owner, complete contract-scoped swap/approval/authorization source from the current and proposed implementations, and a pinned reference for the standard Pendle router integration. The context appears in both the LLM prompt and the full report, explaining the optional aggregator leg and exposing payload/enum changes even when the external ABI is unchanged.

The summary critique also checks that removing a scaling branch is not described as disabling every unscaled route, and that unknown storage compatibility is not presented as evidence of increased collision likelihood. The adapter covers direct upgrades and Safe multisend members; nested governance wrappers remain outside its scope.

Validation:

  • 218 relevant tests pass, using small inline source fixtures, both chains, missing evidence, batch failures, flattened bundles, and report links.
  • prek run --all-files passes: Ruff lint/format and ty.
  • Live summary generation and refinement completed for both chains in approximately 76–80 seconds. The earlier stall did not reproduce.

LLM output remains advisory: the live replay correctly described ODOS scaling removal, but refinement accepted an unsupported “v2” implementation-version label in one output, and risk tags varied between MEDIUM and HIGH. This change does not enforce a fixed risk rating or alter provider timeouts.

@spalen0 spalen0 changed the title Add PendleSwap context to upgrade explanations Add Pendle V2 swap context to upgrade explanations Oct 5, 2026
@spalen0
spalen0 merged commit a9e265d into main Oct 5, 2026
3 checks passed
@spalen0
spalen0 deleted the feat/pendle-llm-context branch October 5, 2026 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant