thruwire/foreman ? reverse-engineered prompt
Reverse engineered prompt
Build me a Python tool called Foreman that sits above a coding agent and watches what it is doing while it works.
I want it to take a repo path and a job description like a ticket, bug report, or spec, then run a worker in the background and keep checking whether the work is actually progressing, whether the requirements seem satisfied, whether tests look good enough, and whether a human needs to step in. It should keep reading worker output, recent git changes, test results, and any repo instructions, then make a simple decision about whether to continue, steer, stop, retry, verify, or finish.
Please make it work as a small async Python runtime with clear event flow, support at least one real worker backend, and leave room for others. Add sensible docs and a basic test suite. If you need current details from the worker tools or TypeSafe Jev, look them up online first.
Are you gonna build this?
make sure you review the code using coderabbit