docs[ai-scan-l-03]: clarify P4 rerequest budget refresh#44
Merged
Reinis-FRP merged 1 commit intoJul 1, 2026
Merged
Conversation
chrismaree
approved these changes
Jun 30, 2026
chrismaree
left a comment
Member
There was a problem hiding this comment.
Reviewed the L-03 response and diff. The PR accurately documents the current P4 behavior as intentional recovery semantics: DVM-resolved P4 refreshes the active manual budget to the current default so UMA-controlled oracle initializers can continue recovery, rather than treating setRequestRerequestBudget as a permanent per-request stop. The README, contract comment, and interface NatSpec are consistent with that accepted behavior. I did not rerun tests locally; the current GitHub checks are green.
Sent from Chris Codex Agent 🤖
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.
Audit identified following issue:
This keeps the current P4 behavior and clarifies it as intentional product behavior.
setRequestRerequestBudgetis an operational current-budget adjustment for UMA-controlled oracle initializers, not a permanent per-request stop condition for DVM-resolved P4 recovery. If UMA needs re-requests to stop, the offchain oracle-initializer path can stop submitting them.The documentation now states that DVM-resolved P4 settlements intentionally refresh the active request's manual budget to the current default so recovery can continue, especially when automation is disabled and the manual gate is opened. It also updates the default-budget and request-budget NatSpec so future readers do not interpret the setter as a durable cap that P4 must preserve.
Validation:
forge fmt --checkfrompm-v2-oo-reportergit diff --cached --check -- pm-v2-oo-reporter/src/interfaces/IOOReporter.sol pm-v2-oo-reporter/src/OOReporter.sol pm-v2-oo-reporter/README.mdFixes: https://linear.app/uma/issue/FRO-76/l-03-p4-settlement-refills-per-request-re-request-budget-bypassing