Don't let your coding agent say "done" until the tests actually pass. Zero-LLM Stop hook, CLI, MCP server and GitHub Action for Claude Code, Codex, Cursor, Gemini CLI, Copilot CLI and 7 more agents.
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
claude mcp add isitdone -- npx -y isitdone{
"mcpServers": {
"isitdone": {
"command": "npx",
"args": ["-y", "isitdone"]
}
}
}Resumen de MCP Servers
# isitdone **Don't let your coding agent say "done" until the tests actually pass.** <p align="center"><img src="docs/demo.svg" alt="isitdone blocks a false 'done': the Stop hook runs the real tests, they fail, the agent fixes them, the receipt says DONE" width="880"></p> *Rendered from a real run (`npm run demo`): the agent lines are narration; the hook and CLI output are captured as-is, with only the temporary path shortened.* `isitdone` is a zero-LLM, zero-dependency Stop hook and CLI for Claude Code, Codex CLI, Cursor, Gemini CLI, GitHub Copilot CLI, Qwen Code, Goose, Factory Droid, Devin, Augment, OpenCode and Junie CLI. When the agent tries to end its turn claiming the work is complete, `isitdone` runs the repository's *real* test, typecheck and lint commands on the *exact* working tree, scans the diff for weakened tests, and refuses the stop until they pass. It also tells the agent mid-turn when an edit just weakened a test, runs the same verification on pull requests as a GitHub Action, offers it as an [MCP server](#mcp-server) to agents that have no stop hook, and leaves a git-bound receipt you can paste into a PR. ``` npx isitdone init ``` No API keys. No network. No telemetry. Just exit codes. ## The moment it exists for Claude Code ends its turn with: > Done. All 4 tests pass and the auth refactor is complete. The Stop hook runs `isitdone` before that turn is allowed to end. The agent receives this instead: ``` isitdone: NOT DONE. 1 check failed on the current working tree (attempt 1/3). You claimed: "All 4 tests pass and the auth refactor is complete." npm run typecheck PASS npm run lint PASS npm test FAIL 1 failed, 3 passed --- npm test (last 24 lines) --- ✖ failing tests: test at test/auth.test.js:14:1 ✖ is case-insensitive about the scheme (1.498ms) AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: null !== 'abc' ... Fix the failures, then run `npx isitdone` and paste its output before claiming completion. Do not skip, delete or weaken tests to make this pass; if a check is wrong for this repo, say so explicitly to the user. ``` The agent keeps working. When it genuinely finishes: ``` $ npx isitdone isitdone main@2429c82 dirty (1 file) npm run typecheck PASS 428ms npm run lint PASS 411ms npm test PASS 532ms DONE receipt -> PASS (tree e5e47d9, 3 checks, 1.8s) ``` ``` $ npx isitdone receipt --md # paste into the PR | check | result | time | |---|---|---| | `npm run typecheck` | PASS | 428ms | | `npm run lint` | PASS | 411ms | | `npm test` | PASS | 532ms | Tree e5e47d9 on main@2429c82 (+1 uncommitted). Receipt: **PASS** · isitdone 0.1.0 ``` Edit one more file and the receipt goes **STALE** until the checks run again. A hand-edited receipt reads **NONE**. (`isitdone` on npm is a short alias of `@aivolution/isitdone`; both commands are the same program.) ## How often does this actually happen? Measure it on your own machine. `isitdone history` reads the transcripts already on disk: Claude Code (`~/.claude/projects`), Codex CLI (`~/.codex/sessions`: legacy, paginated and pre-0.40 rollouts, honouring `/undo` rollbacks), Gemini CLI (`~/.gemini/tmp/<project>/chats`, both the `.json` and the 0.39+ `.jsonl` layouts), Qwen Code (`~/.qwen/projects/<cwd>/chats`) and Cursor (the IDE's `state.vscdb` bubble store, opened read-only in place, which needs Node 22.13+ or 24 for `node:sqlite`; on Node 20 the `agent-transcripts` JSONL is read instead, which carries no exit codes, and the report says so). It finds every turn where the agent edited files and then claimed completion, and checks whether a test command actually passed after the last edit. Nothing leaves your machine; only counts are printed. ``` $ npx isitdone history isitdone history ~/.claude/projects scanned 591 sessions in 9 projects; 1400 turns edited files; 516 of those ended with a completion claim VERIFIED 31% a test command passed after the last edit STALE 37% tests passed, then more edits, no re-run FAILED 0% the last test run failed, "done" claimed anyway NEVER RAN 31% no test command in the turn at all 69% of "done" claims had no passing test run behind them. ``` That is the author's real result over seven months of sessions. Post yours. The longer story of why the gate sits where it does is in [docs/why.md](docs/why.md). ## Install One command per host. Run it inside the repository. | Host | Command | Where it writes | |---|---|---| | Claude Code | `npx isitdone init` | `.claude/settings.json` (Stop) | | Codex CLI | `npx isitdone init --agent codex` | `.codex/hooks.json` (Stop), then run `/hooks` in Codex and trust it | | Cursor | `npx isitdone init --agent cursor` | `.cursor/hooks.json` (stop) | | Gemini CLI | `npx isitdone init --agent gemini` | `.gemini/settings.json` (AfterAgent); or `gemini extensions install https://github.com/raimondasl/isitdone-gemini` | | GitHub Copilot CLI | `npx isitdone init --agent copilot` | `.github/hooks/isitdone.json` (agentStop); restart Copilot | | Qwen Code | `npx isitdone init --agent qwen` | `.qwen/settings.json` (Stop) | | Goose | `npx isitdone init --agent goose` | `.agents/plugins/isitdone/hooks/hooks.json` (Stop) | | Factory Droid | `npx isitdone init --agent droid` | `.factory/hooks.json` (Stop) | | Devin | `npx isitdone init --agent devin` | `.devin/hooks.v1.json` (Stop); skipped when the Claude Code hook is present, since Devin loads that too | | Augment (Auggie) | `npx isitdone init --agent augment` | `.augment/settings.json` (Stop) pointing at `.augment/hooks/isitdone-hook.sh`/`.cmd`, since Auggie runs script files | | OpenCode | `npx isitdone init --agent opencode` | `.opencode/plugins/isitdone.js` (a plugin: OpenCode has no blocking hook, so failed checks come back as a visible `[isitdone]` follow-up message in the same session) | | Junie CLI (early access) | `npx isitdone init --agent junie --user` | `~/.junie/config.json` (Stop) | | Everything | `npx isitdone init --agent all` | all of the above that apply to the repo | `init` detects the checks, writes the Stop hook and (for Claude Code, Codex, Gemini CLI, Qwen Code, Devin and OpenCode) a warn-only post-edit hook, adds `.isitdone/` to `.gitignore`, and runs `doctor`, which pipes a synthetic "all tests pass" stop event through the hook and proves it blocks: ``` $ npx isitdone init isitdone init ~/work/demo-app detected npm run typecheck, npm run lint, npm test profile claim-gated (lite checks on every stop, full checks when the agent claims done) gitignore added .isitdone/ Claude Code added .claude/settings.json isitdone doctor ~/work/demo-app ok git main@2429c82, 0 dirty file(s), tree 8d11d2f ok config no .isitdone.json (auto-detect only) ok checks typecheck: npm run typecheck [lite, 60s]; lint: npm run lint [lite, 60s]; test: npm test [full, 120s] ok hook:claude Claude Code (project) .claude/settings.json -> npx -y @aivolution/isitdone hook --host claude ok probe:claude synthetic "tests pass" stop was blocked in 1.9s (decision block with reason) OK the agent cannot claim done with failing checks in this repo ``` Claude Code users can also install it as a plugin: `/plugin marketplace add raimondasl/isitdone` then `/plugin install isitdone@isitdone`. Gemini CLI users can install it as an extension: `gemini extensions install https://github.com/raimondasl/isitdone-gemini` ([isitdone-gemini](https://github.com/raimondasl/isitdone-gemini)). A paste-to-agent version of these instructions is in [docs/install.md](docs/install.md). How each of these agents' end-of-turn hooks works (config file, payload, how to block, loop flags) is written up vendor-neutrally in [docs/agent-hooks.md](docs/agent-hooks.md), with the same table as data in [docs/agent-hooks.json](docs/agent-hooks.json). Add `--user` to install into your user-level settings instead of the project. `npx isitdone uninstall` removes it. Teach the agent to run it itself with `npx skills add raimondasl/isitdone` (the [`SKILL.md`](SKILL.md) is at the repo root). The code lives in the [`@aivolution/isitdone`](https://www.npmjs.com/package/@aivolution/isitdone) package; `isitdone` on npm is a short alias with the same command, and installed hooks always call the canonical package. `npm i -D @aivolution/isitdone` makes the hook resolve locally, with no registry lookup and offline. ## Updating The hook runs through `npx`, which keeps its own install cache and does not refresh an unpinned package by itself. To move the hook to the latest release: ``` npx isitdone update # clears the cached copies of both packages and re-warms them npx isitdone update --check # only reports whether a newer release exists ``` `doctor` reports the version the hook actually runs and mentions when a newer release is available. Projects that installed `@aivolution/isitdone` as a dev dependency update it with `npm update @aivolution/isitdone` instead. ## Mid-turn warnings The Stop hook is the gate; the post-edit hook is the nudge. On Claude Code, Codex, Gemini CLI, Qwen Code, Devin and OpenCode, `init` also registers a hook that runs after every `Edit`/`Write` (Codex and Devin: `apply_patch`, Gemini and Qwen: `write_file`/`replace`, OpenCode: `edit`/`write`/`apply_patch`). It scans just that file against `HEAD` (so it sees every uncommitted change to the file, not only the lines this edit touched) and, when the tests got weaker, adds a short factual note next to the tool result: ``` isitdone: after your edit, src/auth.test.ts has weaker tests than HEAD (Tests 4 -> 4 Assertions 6 -> 4 Skipped 0 -> 1): - line 12: test skipped or marked expected-failure [high] - line 30: assertion weakened: toEqual -> existence check [medium] If this is intentional, or the change was already there before your edit, tell the user why; otherwise restore the tests. The Stop hook wil
Lo que la gente pregunta sobre isitdone
¿Qué es raimondasl/isitdone?
+
raimondasl/isitdone es mcp servers para el ecosistema de Claude AI. Don't let your coding agent say "done" until the tests actually pass. Zero-LLM Stop hook, CLI, MCP server and GitHub Action for Claude Code, Codex, Cursor, Gemini CLI, Copilot CLI and 7 more agents. Tiene 0 estrellas en GitHub y su última actualización registrada es del 2026-09-20.
¿Cómo se instala isitdone?
+
Puedes instalar isitdone clonando el repositorio (https://github.com/raimondasl/isitdone) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar raimondasl/isitdone?
+
Nuestro agente de seguridad ha analizado raimondasl/isitdone y le ha asignado un Trust Score de 95/100 (tier: Verified). Revisa el desglose completo de comprobaciones superadas y flags en esta página.
¿Quién mantiene raimondasl/isitdone?
+
raimondasl/isitdone es mantenido por raimondasl. La última actividad registrada en GitHub es del 2026-09-20, con 0 issues abiertos.
¿Hay alternativas a isitdone?
+
Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.
Despliega isitdone en tu cloud
Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.
¿Mantienes este repo? Añade un badge a tu README
Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.
[](https://claudewave.com/repo/raimondasl-isitdone)<a href="https://claudewave.com/repo/raimondasl-isitdone"><img src="https://claudewave.com/api/badge/raimondasl-isitdone" alt="Featured on ClaudeWave: raimondasl/isitdone" width="320" height="64" /></a>Más MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ
The fastest path to AI-powered full stack observability, even for lean teams.