{"slug": "git-push-no-mistakes", "title": "Git Push No-Mistakes", "summary": "A new open-source tool called 'no-mistakes' acts as a local Git proxy that runs an AI-driven validation pipeline on disposable worktrees before pushing branches to a remote repository and automatically opening a clean pull request. The tool supports multiple AI agents, keeps the human in charge by escalating decisions, and can auto-fix safe issues while requiring approval for changes that affect intent.", "body_md": "**English** · [简体中文](/kunchenguid/no-mistakes/blob/main/README.zh-CN.md)\n\n`no-mistakes`\n\nputs a local git proxy in front of your real remote.\nPush to `no-mistakes`\n\ninstead of `origin`\n\n, and it spins up a disposable worktree, runs an AI-driven validation pipeline, forwards the branch to the configured push target only after every check passes, and opens a clean PR automatically.\n\n**Non-blocking**- the pipeline runs in an isolated worktree without disrupting your work.** Agent-agnostic**-`claude`\n\n,`codex`\n\n,`rovodev`\n\n,`opencode`\n\n,`pi`\n\n,`copilot`\n\n, or`acp:<target>`\n\nvia`acpx`\n\n.**Agent-native**-`/no-mistakes`\n\nlets your coding agent do a task and gate it, or gate existing committed work: it runs the pipeline, has the pipeline apply safe fixes, and escalates the rest to you.**Human stays in charge**- auto-fix or review findings, your call.** Clean PRs by default**- push, open PR, watch CI, and auto-fix failures in one shot.\n\nFull documentation: [https://kunchenguid.github.io/no-mistakes/](https://kunchenguid.github.io/no-mistakes/)\n\n```\n        your branch\n            │  git push no-mistakes\n            ▼\n   ┌──────────────────────────────────────────────┐\n   │  disposable worktree — your work stays put     │\n   │  review → test → docs → lint → push → PR → CI  │\n   └──────────────────────────────────────────────┘\n            │  every check green\n            ▼\n        clean PR, opened for you\n```\n\nEach step either passes on its own or stops with a **finding** for you to act on.\nSafe, mechanical fixes are applied automatically; anything that touches your intent is escalated for you to **approve**, **fix**, or **skip**.\nNothing reaches the configured push target until every check is green.\n\n```\ncurl -fsSL https://raw.githubusercontent.com/kunchenguid/no-mistakes/main/docs/install.sh | sh\n```\n\nWindows, Go install, and build-from-source instructions are in the [installation guide](https://kunchenguid.github.io/no-mistakes/start-here/installation/).\n\n``` bash\n$ no-mistakes init\n  ✓ Gate initialized\n\n    repo  /Users/you/src/my-repo\n    gate  no-mistakes → /Users/you/.no-mistakes/repos/abc123def456.git\n  remote  git@github.com:you/my-repo.git\n   skill  /no-mistakes installed for agents at user level\n\n  Push through the gate with:\n  git push no-mistakes <branch>\n\n$ git checkout my-branch\n\n# do some work in the branch...\n\n$ git push no-mistakes\n  * Pipeline started\n\n  Run no-mistakes to review.\n\n$ no-mistakes\n# opens the TUI for the active run\n```\n\nFor GitHub fork contributions, keep `origin`\n\npointed at the parent repository and initialize with `no-mistakes init --fork-url <your-fork-url>`\n\n.\n\nFrom the TUI you act on each **finding**: **auto-fix** ones are applied for you (or approve to let them), **ask-user** ones are a judgement call you approve, fix, or skip.\nOnce every check is green, the gate forwards your branch to the configured push target and opens the PR for you, so there is no manual `git push origin`\n\nand no hand-written PR body.\nPrefer to let your coding agent drive the same flow headlessly?\nUse `/no-mistakes`\n\n(see below).\n\nEvery change runs through the same pipeline. Pick the entry point that fits how you're working when the change is ready:\n\n- the explicit Git path. Push a committed branch to the gate remote instead of`git push no-mistakes`\n\n`origin`\n\n.- the TUI. Run it after making changes (no commit needed) and a wizard walks you through creating a branch, committing, and pushing through the gate, then attaches to the run.`no-mistakes`\n\n`no-mistakes -y`\n\ndoes all of that automatically.- the agent skill. Tell the coding agent to do a task and gate it with`/no-mistakes`\n\n`/no-mistakes <task>`\n\n, or use bare`/no-mistakes`\n\nto gate existing committed work. It runs the pipeline, has the pipeline apply safe fixes, and stops to ask you about anything that needs a human call.\n\n`no-mistakes init`\n\ninstalls the `/no-mistakes`\n\nskill for Claude Code and other agents. Under the hood the skill drives `no-mistakes axi`\n\n, a non-interactive TOON interface to the same approval flow.\n\nSee the [quick start](https://kunchenguid.github.io/no-mistakes/start-here/quick-start/) for the full first-run walkthrough.\n\n```\nmake build   # Build bin/no-mistakes with version info\nmake test    # Run go test -race ./... (excludes the e2e suite)\nmake e2e     # Run the tagged end-to-end agent journey suite\nmake e2e-record # Re-record e2e fixtures when agent wire formats change\nmake lint    # Check generated skill drift and run go vet ./...\nmake skill   # Regenerate committed no-mistakes skill files\nmake fmt     # Run gofmt -w .\nmake demo    # Regenerate demo.gif and demo.mp4 (needs vhs and ffmpeg)\nmake docs    # Build the Astro docs site in docs/dist\n```\n\nSee `Makefile`\n\nfor the full target list.\n\n`make e2e-record`\n\noverwrites `internal/e2e/fixtures/`\n\nfrom the real `claude`\n\n, `codex`\n\n, and `opencode`\n\nCLIs, spends real API quota, and should be reviewed before committing.", "url": "https://wpnews.pro/news/git-push-no-mistakes", "canonical_source": "https://github.com/kunchenguid/no-mistakes", "published_at": "2026-06-27 07:28:55+00:00", "updated_at": "2026-06-27 07:35:05.645827+00:00", "lang": "en", "topics": ["developer-tools", "ai-agents", "generative-ai"], "entities": ["no-mistakes", "Git", "Claude Code", "GitHub"], "alternates": {"html": "https://wpnews.pro/news/git-push-no-mistakes", "markdown": "https://wpnews.pro/news/git-push-no-mistakes.md", "text": "https://wpnews.pro/news/git-push-no-mistakes.txt", "jsonld": "https://wpnews.pro/news/git-push-no-mistakes.jsonld"}}