refactor+docs+schema: OAV context injection and address patterns - #37
Open
ajag408 wants to merge 2 commits into
Open
refactor+docs+schema: OAV context injection and address patterns#37ajag408 wants to merge 2 commits into
ajag408 wants to merge 2 commits into
Conversation
ajag408
added this pull request to stack #36
September 12, 2026 00:29
Bugbot is paused — on-demand spend limit reachedBugbot uses usage-based billing for this team and has hit its on-demand spend limit. A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue. |
ajag408
requested review from
Philippoes,
aditya172926,
auralshin,
dnehl,
jdomingos,
nicolasbrugneaux and
raiseerco
September 12, 2026 00:31
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.
Summary
context(additive; bakedvault-registry.jsonis not the freshness gate) and thatcontextis trusted control-plane data, never from the user or the tx.allocatorVaultInputTokenAddressis required for injected-OAV APPROVAL.pattern: '^0x[0-9a-fA-F]{40}$'onallocatorVaultAddressandallocatorVaultInputTokenAddress; handler tests accept valid hex and rejectnot-an-addresswithSCHEMA_VALIDATION_ERROR.QA Proof
What Needs to Be QA'd in Staging
validatewith validcontext.feeConfiguration[].allocatorVaultAddress+allocatorVaultInputTokenAddressstill succeeds (schema layer)allocatorVaultAddress: "not-an-address"returnsSCHEMA_VALIDATION_ERROR(does not run the yield validator)mainvault-registry.jsonas the OAV allowlistQA Team Notification