{"slug": "show-hn-devloop-a-local-code-review-loop-for-codex-and-claude-code", "title": "Show HN: Devloop, a local code/review loop for Codex and Claude Code", "summary": "Devloop, a new open-source tool, creates an adversarial code/review loop between Codex and Claude Code agents, iterating until all acceptance criteria are met and bugs fixed, aiming to reduce human involvement to spec and PR sign-off stages. The tool generates specs, implements code in isolated worktrees, and reviews adversarially, stopping on accept or after a maximum of five passes.", "body_md": "\n\n```\n░█▀▄░█▀▀░█░█░█░░░█▀█░█▀█░█▀█\n░█░█░█▀▀░▀▄▀░█░░░█░█░█░█░█▀▀\n░▀▀░░▀▀▀░░▀░░▀▀▀░▀▀▀░▀▀▀░▀░░\n```\n\nSpec-driven code/review loop that runs until all acceptance criteria are met and bugs fixed by agents.\n\n``` bash\n$ curl -fsSL https://devloop.sh/install | bash\n```\n\nRequires Codex and Claude Code. Runs on macOS.\n\n## ## WHY\n\nDevelopers now spend most of their time in code\nreview, assisted by coding agents. But the same\nmodel family can't both code and review. It\n[favors](https://arxiv.org/abs/2404.13076) its own outputs. Devloop makes Codex implement and\nClaude Code review adversarially (or vice versa),\nuntil all criteria are met and reviews addressed, so\nhumans only come in where judgment pays off: at the\nspec and PR sign-off stages.\n\n## ## HOW IT WORKS\n\n-\nSpec:\n`/devloop-spec`\n\nskill generates a short markdown spec with a clear problem, outcome, acceptance criteria, and what's in scope as much as what's out. - Code: Codex implements the spec in isolated git worktrees.\n-\nReview: Claude\nCode runs\n`/devloop-review`\n\nagainst the spec to ensure all acceptance gates along with engineering gates (security, maintainability, correctness, simplicity, etc.) are met. - Loop: Iterates on reject, stops on accept or max passes, and generates a PR ready for human review.\n\n## ## SKILLS\n\nDevloop ships two skills, installed for both agents:\n\n-\n`/devloop-spec`\n\n: turns a rough idea, notes, a URL, or an interview into one concrete, devloop-ready spec. -\n`/devloop-review`\n\n: judges each pass against the spec and engineering quality gates, returning ACCEPT, REJECT, or UNCLEAR with fix instructions.\n\n## ## WHEN (NOT) TO USE\n\n### When to use\n\n- The work can be pinned down in a clear spec through an interview with the coding agent.\n- The change is large or multi-step enough that adversarial review actually catches something.\n- You want the agents to iterate unattended and only pull you in for the spec and PR sign-off.\n\n### When not to use\n\n- The task is one-shotable and the scope is tiny: just ask the agent directly.\n- The work is exploratory or open-ended, where acceptance criteria can't be written up front.\n- You want hands-on control of every edit rather than a loop running on its own.\n\n## ## FAQ\n\n## Will it touch my working tree?\n\nNo. It runs in isolated sibling worktrees and\nnever pushes or opens a PR unless you pass\n`--create-pr`\n\n. Pass\n`--in-place`\n\nto work in your\ncurrent checkout instead.\n\n## Which agent codes, which reviews?\n\nCodex codes and Claude reviews by default.\nSwap either with `--coder`\n\n/\n`--reviewer`\n\n.\n\n## Can it run my tests?\n\nYes. Add a `.devloop/verify`\n\nhook\nwith your build, lint, or test command. It\ngates acceptance and blocks the loop when it\nfails.\n\n## When does the loop stop?\n\nOn ACCEPT, on a stall, or when it runs out of passes (up to 5 by default, clamped 1-10). A 30-minute timeout caps each run.\n\n## Any telemetry?\n\nNone. One auditable Bash script; tracks and\nreports land under `.devloop/`\n\n.", "url": "https://wpnews.pro/news/show-hn-devloop-a-local-code-review-loop-for-codex-and-claude-code", "canonical_source": "https://devloop.sh", "published_at": "2026-06-16 02:22:30+00:00", "updated_at": "2026-06-16 02:48:33.047943+00:00", "lang": "en", "topics": ["ai-tools", "developer-tools", "large-language-models", "generative-ai", "ai-agents"], "entities": ["Devloop", "Codex", "Claude Code", "OpenAI", "Anthropic"], "alternates": {"html": "https://wpnews.pro/news/show-hn-devloop-a-local-code-review-loop-for-codex-and-claude-code", "markdown": "https://wpnews.pro/news/show-hn-devloop-a-local-code-review-loop-for-codex-and-claude-code.md", "text": "https://wpnews.pro/news/show-hn-devloop-a-local-code-review-loop-for-codex-and-claude-code.txt", "jsonld": "https://wpnews.pro/news/show-hn-devloop-a-local-code-review-loop-for-codex-and-claude-code.jsonld"}}