{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "azrtydxb-procoder--stop-agent-closing-unfinished-todos",
 "repo": "azrtydxb/procoder",
 "repo_url": "https://github.com/azrtydxb/procoder",
 "repo_slug": "azrtydxb-procoder",
 "title": "Stop an agent from closing unfinished tasks",
 "page_title": "How to stop an agent from closing unfinished tasks with Procoder",
 "summary": "Make todo close refuse until criteria are checked, evidence is recorded, and the gate is clean.",
 "who": "A developer using an agent for standalone tasks who keeps finding work marked done that was not finished.",
 "problem": "An agent reports a task as complete without checking the acceptance criteria or running verification.",
 "outcome": "A task closes only after every acceptance criterion is checked, evidence is recorded, and the gate is clean.",
 "steps": [
  "Run `/plugin install procoder` in 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 check` and fix every blocking finding",
  "Run `procoder todo close` on the item and read any refusal (inferred, check the README)",
  "Record the missing evidence or unchecked criteria the refusal names, then close again"
 ],
 "agent_prompt": "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.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "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.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "go",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/azrtydxb-procoder/stop-agent-closing-unfinished-todos/",
 "md": "https://dedupedai.com/use-cases/azrtydxb-procoder/stop-agent-closing-unfinished-todos/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/azrtydxb-procoder--stop-agent-closing-unfinished-todos.json",
 "api_version": "v1"
}
