Rubberduck: Emulate OpenAI/Anthropic locally with caching and failure injection