harbor run -t openthoughts/tasktrove-exp-flat25-subtle-debug-v3-5k-subtle-3140harbor download openthoughts/tasktrove-exp-flat25-subtle-debug-v3-5k-subtle-3140Workspace note: The repository contains a partially broken implementation at /app/starter_code.py. The agent must fix the bugs and complete the implementation.
Task: Implement a minimal Gnosis Safe-like deployment flow with a registry and ERC20-style approval so that an AI agent can instantiate a Safe via a proxy, register it in a registry, and automatically grant infinite allowance to a token spender during initialization.
What functionality needs to be implemented (high level)
Concrete tasks and deliverables
Notes and guidance
Files to deliver ( Solidity )
This task focuses on implementing a compact, test-friendly version of a Gnosis Safe deployment flow, a registry integration, and an automatic ERC20 approval during initialization so the provided tests can verify the intended end-state.