{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "ronglecat-grok-app--review-agent-edits-with-git-worktrees",
 "repo": "RongleCat/grok-app",
 "repo_url": "https://github.com/RongleCat/grok-app",
 "repo_slug": "ronglecat-grok-app",
 "title": "Run parallel agent tasks in Git worktrees and review diffs",
 "page_title": "How to run parallel agent tasks in Git worktrees and review diffs with Grok App",
 "summary": "Switch between linked Git worktrees and accept or revert agent changes file by file.",
 "who": "A developer maintaining a Git repository who wants several agent tasks running at once without mixing their changes.",
 "problem": "Parallel agent edits in one checkout are hard to separate and review before committing.",
 "outcome": "Separate sessions working in different worktrees, with each set of changes reviewed through the Git diff view before acceptance.",
 "steps": [
  "Create or confirm linked Git worktrees for the repository you want to work on (inferred: `git worktree add <path> <branch>`). (inferred, check the README)",
  "Open the repository as a project in Grok App so the linked worktrees are discovered.",
  "Start one session per worktree and give each agent a separate task.",
  "Use the Kanban board to track which sessions need input, are working, or are done.",
  "Open the visual Git Diff review and accept, reject, or revert changes for single files or in batches."
 ],
 "agent_prompt": "Using the Grok App repo (https://github.com/RongleCat/grok-app), open <repo-path> as a project and start one agent session per linked Git worktree. Expected output: separate sessions with their own changes visible in the Git diff review. Verify that each session shows the worktree it was assigned to before accepting any edits.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "The worktree discovery depends on the repository already having linked worktrees, and the README does not describe how to create them inside the app.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "Grok Build CLI (grok) version 0.2.112 or newer, installed and signed in, or an API key or custom relay configured in the app",
  "A project folder you are willing to let the agent work in",
  "Git installed if you plan to use Git worktrees or Git diff review"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/ronglecat-grok-app/review-agent-edits-with-git-worktrees/",
 "md": "https://dedupedai.com/use-cases/ronglecat-grok-app/review-agent-edits-with-git-worktrees/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/ronglecat-grok-app--review-agent-edits-with-git-worktrees.json",
 "api_version": "v1"
}
