# AI use cases for No Human (no-human-ai/no_human)

Repo: [no-human-ai/no_human](https://github.com/no-human-ai/no_human) | Use cases: 4 | Page: https://dedupedai.com/use-cases/no-human-ai-no-human/

no_human is a free, open-source Python tool that turns a ticket into a reviewed pull request on your own machine, with a plan, an independent model review, and a tamper guard.

This file holds every use case of this repo. Each one starts with a "## " heading and ends with its URL.

- Turn one issue into a reviewed pull request: https://dedupedai.com/use-cases/no-human-ai-no-human/ticket-to-reviewed-pr-locally/
- Stop AI changes that delete or weaken tests: https://dedupedai.com/use-cases/no-human-ai-no-human/block-test-weakening-in-ai-diffs/
- Check that a Python bug fix really fixes the bug: https://dedupedai.com/use-cases/no-human-ai-no-human/prove-python-bug-fix-with-repro-gate/
- Add a pass or fail review check to pull requests: https://dedupedai.com/use-cases/no-human-ai-no-human/gate-pull-requests-with-review-action/

## How to turn one issue into a reviewed pull request with No Human

Repo: [no-human-ai/no_human](https://github.com/no-human-ai/no_human) | Difficulty: Intermediate | Time: 30 minutes | Basis: From the README

Send a GitHub issue through a plan, a coder, and an independent review before you approve.

**Who it is for:** A developer with a backlog of small, well-described issues who wants draft changes checked before reading the diff.

**The problem:** Writing and reviewing AI-generated changes by hand takes as long as writing them yourself, and it is easy to approve a diff that never ran its tests.

**The outcome:** A pull request that has a plan, a pass or fail review checklist citing file and line, and a stated test status, ready for your decision.

### Steps

1. Run `uv tool install no-human` (or `pipx install no-human`).
2. Run `nh init && nh doctor` to set the token, config, and first repo, then confirm the install works.
3. Run `nh start` to open the board and worker on 127.0.0.1:8420.
4. Run `nh task add https://github.com/org/repo/issues/42 --repo ~/git/repo` with your own issue and repo.
5. Run `nh review` to read the reviewer's evidence checklist, then `nh diff` to see the change.
6. Run `nh approve` to squash-land the pull request, or `nh reject --reason "..."` to send it back. (inferred, check the README)

### Prompt to paste into your agent

```text
In the no_human repo, install the CLI, add the GitHub issue <issue-url> with --repo <local-repo-path>, and run nh review. Report the checklist items that failed with their file and line citations, and confirm whether the test status reads NOT RUN.
```

### Caveat

The default install needs a configured model credential and a local repo, and the board build from source can take several minutes on a cold first install.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/no-human-ai-no-human/ticket-to-reviewed-pr-locally/

## How to stop AI changes that delete or weaken tests with No Human

Repo: [no-human-ai/no_human](https://github.com/no-human-ai/no_human) | Difficulty: Advanced | Time: 45 minutes | Basis: From the README

Count deleted tests, new skips, and tautological assertions before any review runs.

**Who it is for:** A maintainer who accepts AI-assisted pull requests and needs a mechanical check for tests quietly removed to make a build pass.

**The problem:** A coding agent can go green by deleting or skipping failing tests, and a human reviewer may miss it in a large diff.

**The outcome:** Attempts that delete or weaken tests are stopped before review unless the change is justified against your acceptance criteria.

### Steps

1. Run `uv sync` in a source checkout of No Human to install the `nh` entry point.
2. Run `(cd web && npm install && npm run build)` to build the board.
3. Run `uv run nh init` to set the token, config, and first repo.
4. Run `uv run nh doctor` to verify the install before relying on it.
5. Add a task with `uv run nh task add <issue-url> --repo <local-repo-path>` and watch the run in the event stream. (inferred, check the README)

### Prompt to paste into your agent

```text
Using the no_human repo at <checkout-path>, add the task <issue-url> for the repo at <local-repo-path>. Report whether the tamper guard stopped any attempt for deleted or weakened tests, and cite the event that shows the result.
```

### Caveat

The guard counts deletions and weakened assertions mechanically, so it does not judge whether the remaining tests are correct, and a source build requires Node and npm.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/no-human-ai-no-human/block-test-weakening-in-ai-diffs/

## How to check that a Python bug fix really fixes the bug with No Human

Repo: [no-human-ai/no_human](https://github.com/no-human-ai/no_human) | Difficulty: Intermediate | Time: 30 minutes | Basis: From the README

Require the offered tests to fail on the old code and pass on the new tree.

**Who it is for:** A Python maintainer reviewing an AI-written bug fix who wants evidence that the test would have caught the bug.

**The problem:** A fix can look right while the test offered as proof passes on the old code too, so the bug was never actually reproduced.

**The outcome:** A bug-fix pull request is refused when its evidence test passes on the merge base, and accepted only when the reproduction gate shows the expected pass and fail.

### Steps

1. Run `uv tool install no-human` and then `nh init && nh doctor`.
2. Run `nh start` to open the board and worker.
3. Run `nh task add <issue-url> --repo <local-repo-path>` for the Python bug report. (inferred, check the README)
4. Run `nh review` and check the reproduction gate result in the event log.
5. Run `nh reject --reason "..."` if the evidence test passed on the old code. (inferred, check the README)

### Prompt to paste into your agent

```text
In the no_human repo, add the Python bug issue <issue-url> for the repo at <local-repo-path> and run nh review. Report whether the reproduction gate passed, and state which test was offered as evidence.
```

### Caveat

Out of the box the reproduction gate binds only Python bug fixes, and setting repro_gate.mode to required is needed to apply it to every kind of change.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/no-human-ai-no-human/prove-python-bug-fix-with-repro-gate/

## How to add a pass or fail review check to pull requests with No Human

Repo: [no-human-ai/no_human](https://github.com/no-human-ai/no_human) | Difficulty: Advanced | Time: 30 minutes | Basis: From the README

Run the adversarial reviewer and tamper guard as a GitHub Action on each pull request.

**Who it is for:** A repository owner who wants an automated review comment with file and line citations on every pull request, without running a daemon.

**The problem:** Pull requests from people or agents get merged on a quick read, and the team wants a consistent second review that is recorded on the pull request.

**The outcome:** Each pull request gets one pass or fail checklist comment that updates in place, and runs that cannot review fail with exit code 2 instead of passing.

### Steps

1. Create .github/workflows/review-gate.yml with the example from the README, including the explicit checkout ref for the pull request head SHA.
2. Store your Anthropic credential as the repository secret ANTHROPIC_API_KEY, or a Claude OAuth token from `claude setup-token`.
3. Replace the tag in the uses line with a reviewed commit SHA of no-human-ai/no_human.
4. Open a pull request and read the checklist comment that the Action posts.
5. Treat a skipped fork pull request or an empty-diff synthetic PASS as did not review, not as approval.

### Prompt to paste into your agent

```text
In the repo <owner/repo>, add the no_human review-gate workflow with a pinned reviewed commit SHA and the secret ANTHROPIC_API_KEY. Open a test pull request and report the checklist comment and the exit status, and confirm the head SHA checkout is set.
```

### Caveat

The Action reviews only the diff and does not collect lint, wiring, or type evidence or explore the repository, and there is no v1 tag yet.

Risk, credentials: The Action runs with your Anthropic credential, so store it only as a repository secret and pin a reviewed commit SHA rather than a moving branch or tag.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/no-human-ai-no-human/gate-pull-requests-with-review-action/
