{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "harvil1-codeagent--approve-plan-before-agent-edits",
 "repo": "Harvil1/codeAgent",
 "repo_url": "https://github.com/Harvil1/codeAgent",
 "repo_slug": "harvil1-codeagent",
 "title": "Review an agent's plan before it touches files",
 "page_title": "How to review an agent's plan before it touches files with Code Agent",
 "summary": "Switch to plan mode so the agent proposes steps and waits for your approval before editing anything.",
 "who": "A developer working on a risky or unfamiliar part of a codebase who wants to see the agent's intended steps first.",
 "problem": "An agent that starts editing right away can change many files before you understand what it is doing.",
 "outcome": "You read a proposed plan, approve or adjust it, and only then let the agent make changes.",
 "steps": [
  "Run `uv run python main.py` in the project folder.",
  "Run `/plan` to enter plan mode.",
  "Describe the change you want and read the plan the agent proposes.",
  "Approve the plan or ask for changes, then let the agent carry it out."
 ],
 "agent_prompt": "In the Harvil1/codeAgent repo, start with `uv run python main.py`, run `/plan`, and ask for <describe the change> in <target project path>. Expect a written plan with steps and no file edits yet. Verify that no files in the target project changed before you approve the plan.",
 "agents": [
  "any"
 ],
 "difficulty": "Beginner",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "The README describes plan mode as presenting a plan for approval before action but does not describe how the plan is stored or edited afterward.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "Python 3.11 or newer",
  "uv, the Python package manager",
  "An API key for a supported model provider, such as DeepSeek, OpenAI, Anthropic, OpenRouter, or ZhipuAI",
  "A local Git repository or project folder to point the agent at"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/harvil1-codeagent/approve-plan-before-agent-edits/",
 "md": "https://dedupedai.com/use-cases/harvil1-codeagent/approve-plan-before-agent-edits/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/harvil1-codeagent--approve-plan-before-agent-edits.json",
 "api_version": "v1"
}
