Who it is forA developer using an agent for standalone tasks who keeps finding work marked done that was not finished.
The problemAn agent reports a task as complete without checking the acceptance criteria or running verification.
The outcomeA task closes only after every acceptance criterion is checked, evidence is recorded, and the gate is clean.
What you need first
- A git repository you want the agent to work in
- Claude Code for the plugin install commands shown, or another agent that reads AGENTS.md through the adapters the README links
- Permission to install the procoder plugin and run /procoder:init in that repository
Steps
- Run
/plugin install procoderin the repository if it is not installed yet - Create a todo item with its acceptance criteria using the Procoder todo command (inferred, check the README)
- Run
procoder checkand fix every blocking finding - Run
procoder todo closeon the item and read any refusal (inferred, check the README) - Record the missing evidence or unchecked criteria the refusal names, then close again
Prompt for your agent
In the procoder-enabled repository at <repo-path>, close the todo item <item-id> only after its acceptance criteria are checked and the gate is clean. Report the refusal text if the close is refused. Verify that the item shows as closed only when the gate result is clean.
Caveat. The README names the todo close behavior but does not show the exact todo subcommand syntax, so the steps marked inferred need checking against the command reference.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for azrtydxb/procoder and "Stop an agent from closing unfinished tasks"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer