yanchenko-igor/meeseeks ? reverse-engineered prompt

Reverse engineered prompt

Build me a Python tool called Meeseeks that acts like an autonomous coding assistant. I want to give it a plain text task file, have it create a fresh git worktree, make changes in isolation, run commands and tests, and keep iterating until the task is done or it hits a limit. When it finishes successfully, it should merge the changes back into the main branch and clean up after itself.

I also want a simple init command that creates a config file in the current project, and a run command that accepts a task file plus an optional repo path, config path, model, provider, base URL, and max iterations. Support local Ollama, OpenRouter, and NVIDIA NIM, with environment variables for API keys and sensible defaults. Include a judge step that checks whether the task is complete, and make test passing part of completion when configured. Please add the core code and some tests, and look up current docs online if you need to.