SYSE.42:4.2 - Execute within the interface’s effect boundary
For an invocation, check the expression or layout against the required operation. For a structured call, validate the syntax and check the request’s meaning in the current state. Establish any current-state precondition that could change its effect. Perform the supported operation when its execution is due or it supplies a result still needed.
For a state-changing call, preserve any identity the interface needs for recovery. Distinguish rejection before effect, accepted work in progress, a confirmed result and an unresolved effect. Under SYSE.26, use the original attempt’s result if the contract can recover it. A permitted repeat can serve the task when its contract covers every still-possible outcome, including partial or external effects and intervening changes. If those states require different actions, resolve the difference or return the limit. Attribute a historical effect to an attempt only on evidence for that attempt.
Keep the effort and waiting within the task’s remaining budget. SYSE.40 supplies combined resource and retry limits when several calls or services share them. On exhaustion, return the unfinished condition and recoverable state.