Recoverable agent execution requires restoring both conversational state and the runtime capabilities necessary to continue the original workflow. A persisted transcript records historical messages, tool invocations, and execution results, but it does not preserve live network connections, authenticated transport sessions, or process-local tool registrations.
The replacement worker container successfully restored the conversation history but failed to reconstruct the tool environment used by the original agent. Consequently, Claude requested a previously available carrier booking tool that the replacement harness had not registered.
Anthropic's agent configuration documentation treats the model, system instructions, tools, and MCP server definitions as distinct configuration components. These components collectively establish the capabilities available during agent execution.
The replacement container should load the appropriate versioned tool configuration, establish connections to the required servers, authenticate successfully, and verify tool availability before resuming the interrupted session. Compatibility checks should also confirm that previously referenced tool names and schemas remain supported.
Removing historical tool calls would compromise execution context and potentially conceal completed external operations. Serializing live connections into the transcript is not a reliable persistence mechanism. Instructing the model to proceed without essential tools violates the original workflow requirements.
Reinitializing runtime dependencies before session continuation restores the execution environment required for reliable recovery.
Reference Topics: Agent session recovery, MCP server configuration, tool registration, runtime initialization, dependency restoration, and durable execution architecture.
Submit