Scan your whole stack
Latest version: v0.88.0
io.github.hmamut39/tewip was last scanned on 26 Nov 2026 at version 0.88.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.88.0 LATEST | 26 Nov 2026 | No rules fired |
| 0.87.0 | 26 Nov 2026 | No rules fired |
| 0.86.0 | 22 Nov 2026 | No rules fired |
| 0.85.1 | 22 Nov 2026 | Not shown |
| 0.84.0 | 21 Nov 2026 | Not shown |
Findings for v0.88.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.88.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Tewip (Uyghur téwip, تېۋىپ: healer, doctor) is the layer that proves software work - written by a person or by an agent.
Created and maintained by Mamuti Aishan (Hasan) (@hmamut39).
It finds why each failing test failed (a real bug, a flaky test, the environment, test data, or a changed selector), says whether a test could ever fail at all, breaks your code to find out whether the tests would notice, reads what a migration will do to a live database, and gives one verdict on whether a change is done. Every answer carries its evidence and names what decided it: a deterministic rule, the AI model, or a person's correction.
What makes it worth installing is what it refuses to say. It answers "cannot say" rather than guessing, it will not narrow a test run it cannot prove safe to narrow, and every report ends with what it did not check. Every number below says where it came from, and the two columns come from different places. Precision is measured on strangers' real code — the projects pinned in corpus/expected.json, with every accusation checked by hand — except for eight rows that count planted decoys instead. The table's wording does not reliably tell you which is which, so engine/evidence/confidence.ts names the pinned repositories for every row that has them, and a row with none is a row counting decoys. Recall is measured on planted controls: each one twice, in the shape a published standard warns against and in the shape it recommends. It has to be, because recall needs the complete list of what is actually in the file, and nobody can know that for a stranger's repository — a check that found nothing there would be indistinguishable from a file with nothing in it. vouch is the exception: its recall comes from mutating real source and watching which real tests stop catching the mutation.
It works for every stack: Node.js (node:test, Jest, Vitest, Mocha), Python (pytest, including unittest-style tests), Java (Maven Surefire, JUnit 5), Go (gotestsum), .NET (dotnet test, TRX and JUnit), Ruby (RSpec), PHP (PHPUnit) and Rust (cargo nextest) — each of those runners is run for real in CI by .github/workflows/polyglot-fixtures.yml and Tewip is pointed at the report it actually produced (the full list), plus Playwright in depth with traces, selector drift and verified fixes. Two things that list does not claim: a native TestNG testng-results.xml is not a format Tewip reads — it says so and tells you to point it at the Surefire report instead — and Kotlin is not among the runners CI exercises, though Kotlin under Maven or Gradle writes the same JUnit XML that Java does. It also reads the failure wording of the browser and component-test tools on top of those runners (Selenium, WebdriverIO, Cypress, Testing Library for React, Vue and Angular, Vue Test Utils, jest-dom and Jasmine), each read from the wording that tool really prints — the messages are in engine/test/driver-errors.test.ts, including variants taken from public issue threads, and every one of them runs on every commit. What this does not claim: the wordings of these seven tools appear nowhere in the labelled failure data Tewip's triage accuracy is measured on — checked, and it is zero across the 8,041 records collected there, because those are all Playwright projects (node eval/driver-wordings.ts). The rules for these tools are checked against the wordings they print, not against a labelled corpus of their own.
| Where | How |
|---|---|
| Terminal | npm install -g tewip-ai, then tewip explain report.xml, tewip ci owner/repo --pr 12, tewip mcp |
| VS Code, Cursor, Windsurf, VSCodium | the Tewip extension (download): registers Tewip with the editor's AI assistant and adds 23 commands - explain a report, why CI failed on this branch, the risk review of your change, which flaky tests to quarantine, the security check, what a migration will do to a live database, whether everybody can use the interface, and the rest |
| JetBrains, Claude, other AI assistants | add the MCP server tewip mcp: 25 tools, including has this happened here before?, is this requirement covered and passing? and what should be done next about this goal? (see editor setup) |
| Any model, including none | OpenAI, Claude, Gemini, Azure, or a model on your own machine with Ollama - no account, no key, and no source code leaving the building: TEWIP_PROVIDER=ollama. Three quarters of what Tewip answers calls no model at all. How |
| GitHub CI | the Tewip Action: a comment on every pull request, an optional merge gate, verified fix PRs (QUICKSTART) |
Formerly triage-agent: the repository moved to hmamut39/tewip, and GitHub redirects the old address. See ROADMAP.md for the plan.
Status: built, and measured on other people's code. Tewip collects failures from any framework, diagnoses them with rules first and a model only for what rules cannot settle, and turns that into work for each role: a CI comment and merge gate, test plans and verified tests, a flake dossier, a PR-risk review, security scanning, tickets in Jira, Rally, GitHub Issues, Azure Boards or Linear, checks generated from a Figma design, specifications written for people, and - opt in, and only when proved - fixes to test or application code. The fix loops are built and measured, not planned: on real labelled CI failures every one of 17 locator suggestions was the locator the developers themselves wrote, a wait fix is kept only after three passes in a row, and a change to application code is kept only when the failing test passes and the whole suite still does. It runs live in GitHub CI and answers questions from AI assistants through MCP. Accuracy, measured rules-only on 15 November 2026 across eight labelled datasets of real CI failures, ranges from 72.9% (Gutenberg held-out) to 100% (Penpot, on only 5 cases); the fresh Gutenberg set, frozen before labelling, is 83.1%. The per-dataset table is in engine/measured.ts and re-derives with node eval/dataset-accuracy.ts. Three things that figure is not. It is not the 86.1%–99.7% this file used to claim: those were measured with the model layer on, and not one of them reproduces today. The rules layer was unchanged wherever this project recorded it until Phase 179, which added one rule and is described below. What the model layer does is narrower than this file claimed for a day, in both directions. It is asked only what the rules refuse, and it mostly declines: across 1,961 labelled failures from seven projects it was asked 148 cases, answered 31 and refused 117, and of the 31 it answered 23 were right (74%). The sentence here once read "right on 7 of the 39 cases it decides" — 39 was what it was asked. Being asked is not deciding, and refusing is not failing. What it is not is a way to raise the headline: it declines so often that the rules-only figure above is the one worth quoting, and the 93.4% this file once claimed still does not reproduce. Per cause it is uneven — REAL_BUG 5 of 5, ENV 17 of 23, TIMING 1 of 3 — and it named LOCATOR_DRIFT and TEST_DATA thirteen times between them while being right none of those times, so since 15 November 2026 it is not allowed to claim either. That change left accuracy identical and cut the wrong causes people are shown from 21 to 8. The table is in engine/measured.ts and re-derives with node eval/model-layer.ts. It is not re-derivable from a clean checkout, because the labelled failures are gitignored and are not in this repository. And it is not what the engine does per category — it finds 44 of 119 real bugs — better than one in three, up from one in seven on 15 November 2026 — and refuses most of the rest, which is the number actually worth reading, and it is in eval/README.md. That rise came from a single rule: where no other rule applies and a failure is an assertion about a value that names no element, on a test whose history is a clean failing streak, it is a real bug. Measured across every labelled corpus it fires 27 times and is right 27, including on a corpus it was not chosen from, and the number of failures put in the wrong category did not move. Its first draft had no history guard, scored 100% on the four harvests it was chosen from, and was right 4 times out of 19 on the one it was not; that is what the guard is for.
Tewip decides what a test reaches by following imports, which is a fact rather than a name match -
and which cannot see a test that posts a GraphQL query, hits an HTTP route or renders a controller.
On a Django, Rails or Spring codebase that is most of the suite, so tewip done used to answer
"cannot say" to the question that matters most.
It is narrower than that, and the report now says so. Following an import means finding from x,
import x or require(x) in a test. C# writes using Bit.Core;, Go imports a package and never a
file, in Java an import is never a path, and Ruby's require_relative is not require(. Sampling
25 source files evenly through each corpus repository, not one import resolved in keycloak
(1,958 test files), bitwarden-server (1,173), gin (38) or discourse (765), against 26 of 25 in
immich and 10 of 25 in dispatch. So in those languages a zero means not read, and done reports
it as "not checked" with that reason rather than as "nothing tests this".
A coverage report settles it, and CI almost certainly produces one already. Nothing to configure:
| format | written by | found at |
|---|---|---|
lcov.info |
JavaScript, TypeScript, Rust, Go, C++ | coverage/lcov.info, lcov.info |
Cobertura coverage.xml |
pytest-cov, coverlet (.NET), simplecov | coverage.xml, coverage/coverage.xml |
| JaCoCo | Java, Kotlin | target/site/jacoco/jacoco.xml, build/reports/... |
| Clover | PHPUnit | clover.xml, build/logs/clover.xml |
With one present, done stops guessing:
### Is the changed code tested?
Yes: the suite executes saleor/graphql/utils/sorting.py.
_Decided by coverage.xml, which records what ran rather than what imports what._
and it will say the opposite just as plainly - "is in coverage.xml with no line executed, so the suite runs none of this" is a not ready, not a shrug.
What a coverage report cannot do. It records which lines ran during the whole suite, not which
test ran them, so it answers "is this code tested" and not "which tests would notice a change
here". tewip pick still narrows from imports and still refuses to narrow when it cannot show the
rest are unaffected. A report from a different checkout is ignored rather than believed: if the files
it names are not on disk, Tewip says nothing instead of reporting the whole change as untested.
A hospital, a bank or a government department usually cannot send source code to a hosted API, and that is most of who this is built for. Tewip runs against a model on the same machine:
# once
curl -fsSL https://ollama.com/install.sh | sh # or ollama.com for Windows and macOS
ollama pull qwen3:8b
# then
export TEWIP_PROVIDER=ollama
tewip done --diff main...HEAD
No key, no account, no network call off the machine. TEWIP_BASE_URL points the same path at
LM Studio, vLLM, llama.cpp's server, or anything else that speaks the OpenAI shape.
What changes and what does not. The deterministic layers - vouch, schema, access, perf,
standards - call no model at any time, with any provider, and are unaffected. Only the parts that
need judgement use one: explaining a failure, writing a test, drafting a plan. A smaller local model
is less accurate at those than a frontier one, and Tewip says which layer decided every answer, so
the difference is visible rather than hidden.
A local model is also less likely to be constrained to the schema it was asked for: some backends accept the request and quietly do not enforce it. Tewip reads a reply that arrives inside a markdown fence or after a sentence of preamble, and still refuses one with no JSON in it at all.
Most failures never reach a model. On 3,556 real CI failures from six public projects, the deterministic rules answered 75.1% on their own - and on the labelled ones they answered correctly 1,979 times out of 2,012 (98.4%). A rule-answered failure costs nothing, explains itself, and gives the same answer every time.
Only the remaining quarter is sent to a model, so triaging 1,000 real failures costs about $1.12 at gpt-5.4-mini's published price. That is measured, not estimated: three real uncached calls on held-out failures billed 3,624 prompt and 499 completion tokens each. A real week costs less, because a failure that repeats is answered from cache, and a failure someone has corrected never goes to the model again.
Tewip prints what every command costs, caps its own spend, and works with no key at all - the rules run on their own and everything they cannot settle is left as UNKNOWN rather than guessed.
npm i -g tewip-ai
cd your-project
tewip
tewip on its own looks at your project and names the two or three commands that will tell you
something, with your own paths in them — and says plainly what it cannot answer here. It reads the
directory and stops: nothing is run, nothing is written, about a second.
Here is what Tewip can tell you about **this** project, in the order worth doing.
**1. `tewip vouch`**
282 test files here (282 JavaScript or TypeScript). This reads them and names the ones
that cannot fail - no model, a second or two.
**2. `tewip schema --diff main...HEAD`**
165 migrations here (165 SQL). This says what a change would do to a live database
before it runs.
## What it will not do here
- No k6, JMeter or Lighthouse report was found. Tewip judges one you produce; it does
not run load tests itself. Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.