Class McpTaskUpdateContext

java.lang.Object
com.soklet.McpTaskUpdateContext

@ThreadSafe public final class McpTaskUpdateContext extends Object
Immutable input to a task input-response update.

The request has already passed Soklet's structural validation and admission pipeline. A task manager must authorize and apply the update as one application-owned operation. It must ignore unknown, already-consumed, or no-longer-outstanding response keys, ignore a response whose MCP union variant does not match the outstanding request, and make accepted responses idempotent according to the MCP Tasks contract. Implementations may perform that correlation through McpInputRequest.matchesInputResponse(McpJsonValue).

Instances intentionally retain reference identity. The nested request context represents one independently admitted invocation and may carry application principal and context objects; structurally equal-looking carriers must not be treated as the same authorization decision.

Author:
Mark Allen