Hacker News new | ask | show | jobs
by a3nz3g 43 days ago
Define the task, delegate, then review is pretty much how I work with agents now too. How does a card move to review: does the agent decide it's done, or do tests in the sandbox have to pass first?
1 comments

It depends on the operating mode you choose and your prompt/AGENTS.md file.

The "Act" operating mode has strict guardrails, and a card only moves into review if the agent explicitly asks for your review (via tool call) or has a question. It's less prone to unnecessary interruptions. For example agents often decide to pause during a multi-phase plan even though no human input is needed. If an agent decides to pause in this mode, the harness automatically nudges it forward.

The "Explore" operating mode works more like most other harnesses: if the agent decides it's done then it lands in review.

Most recent models (pretty much anything released within the past year) will automatically run tests before it thinks it's done, but you can define this for example by specifying a TDD approach in AGENTS.md. In practice when a task is sitting in review, the agent typically provides a summary about test status; and this is without any special guidance.

I also implemented a "Plan" operating mode, but nowadays models are good enough at following instructions that it might be a bit overkill. This mode mounts the workspace as read-only. I originally made this out of frustration when I used to use Cline (the agent would make changes even when their plan mode was enabled). Another reason why it's overkill is because each task in MIKE already has an isolated workspace. This mode still has some advantages though, especially if you have independent subtasks that can run in parallel.

Hi, very interesting. I am curious: when an agent says it is done, who checks that the agent at least did due diligence tests, and who checks that the real end-to-end tests were really done, maybe based on a list of scenario situations created by agents to be tested?
By default, you'd be the reviewer. This project does not attempt to automate any reviews, and instead tries to make it easier for a human to review via easy access to diffs and terminal within the agent's workspace. Personally I ask the agent questions and look at the code diffs, similar to what I'd normally do in a code review.

If you wanted to be more thorough, you could scroll up in the chat and see the output of the test runs. Or to help ensure that the agent doesn't cheat, the test suite could be mounted as read-only. A custom extension could also be set up to run tests independently, and set up as a pre-review gate. However in practice (with recent models), a simple "run e2e tests" instruction in AGENTS.md would make the agent do this reliably, and I don't think I've ever seen a situation where the agent requests review without having run tests (again, with recent models). Specifying that you want to use a Test-Driven Development approach seriously goes a long way too.

Thank you, this is clear and helpful.