{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "agent-field-codeaf--hand-coding-fix-to-senior-dev",
 "repo": "Agent-Field/CodeAF",
 "repo_url": "https://github.com/Agent-Field/CodeAF",
 "repo_slug": "agent-field-codeaf",
 "title": "Hand a coding fix to senior-dev on its own branch",
 "page_title": "How to hand a coding fix to senior-dev on its own branch with Code AF",
 "summary": "Describe a bug and let senior-dev change code in a private copy, then check the results.",
 "who": "A developer with a failing test or a known bug who wants a change drafted and tested without touching their working branch.",
 "problem": "Fixing a bug and adding tests takes context switching, and running it in the main working copy risks mixing unrelated edits.",
 "outcome": "A submitted change on its own branch with the project's build and test results, or a plain explanation of what could not be checked.",
 "steps": [
  "Install Code AF with `curl -fsSL https://agentfield.ai/get/codeaf | bash`, then run `codeaf`.",
  "Open a git project in Code AF and connect a provider.",
  "Type `/senior-dev fix the retry bug and add tests` in the chat.",
  "Open the senior-dev task to follow the work or stop it.",
  "Review the submitted change and its build and test results before merging it yourself."
 ],
 "agent_prompt": "Use the CodeAF repo at Agent-Field/CodeAF. Install it, open the git repository at <project-path>, and run `/senior-dev <describe the bug and tests>`. Expected output: a submitted change on its own branch with build and test results. Verify that your working branch and main were not changed and that the reported test results match a local run.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "The README says the senior-dev benchmark used DeepSeek V4 Flash across 113 DeepSWE issues, so its results on your own project will vary.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "go",
 "requirements": [
  "macOS or Linux machine with a terminal",
  "A provider key (OpenRouter, DeepSeek, GLM, Kimi, MiniMax, Qwen), a ChatGPT plan through Codex, or a running Ollama install",
  "A git repository for the project you want to work on",
  "Install CodeAF with the curl script, or build it from source with make build"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "remote-script",
   "notice": "The install step pipes a remote script from agentfield.ai into bash, so review it or pin a version from the releases page first."
  }
 ],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/agent-field-codeaf/hand-coding-fix-to-senior-dev/",
 "md": "https://dedupedai.com/use-cases/agent-field-codeaf/hand-coding-fix-to-senior-dev/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/agent-field-codeaf--hand-coding-fix-to-senior-dev.json",
 "api_version": "v1"
}
