MIT OPEN-SOURCE CLI & GITHUB ACTION · ZERO LLM CALLS

Zero-flake QA & RBAC gate for every Pull Request.

CleanRepro logs into your staging or preview build as every user role, explores every screen and form, re-verifies each failure on a fresh clean session, and writes a runnable Playwright repro.spec.ts for every confirmed bug.

git clone https://github.com/danvith/cleanrepro && cd cleanrepro && npm i && node examples/demo-run.mjs

Self-contained 25-second local demo against a built-in multi-role SaaS fixture (no API keys, no external services).

demo-run.mjs · acme-saas-demo (Admin, Viewer) OBSERVED OUTPUT
10:42:00 x viewer /dashboard  Click "New Invoice" -> "Save" 500 POST /api/invoices
10:42:01 x viewer /dashboard  Click "Crash Widget"          JS TypeError
10:42:01 x viewer /dashboard  Click "Wide Dialog"           overflows 1440x900
10:42:04 x admin  /dashboard  Click "Flaky Sync"            500 POST /api/flaky-sync
10:42:06 x viewer /projects   Click "Delete Project"        403 POST /api/projects/42
10:42:06 x admin  /reports    open                          UI rendered "NaN"
10:42:07 re-verifying unique findings on clean sessions...
10:42:09 REPRODUCED 500 POST /api/invoices      -> repro/01-server-5xx.spec.ts
10:42:10 REPRODUCED JS TypeError                -> repro/02-js-error.spec.ts
10:42:11 REPRODUCED Wide Settings Dialog        -> repro/03-popup-layout.spec.ts
10:42:12 FILTERED   500 POST /api/flaky-sync    (not reproduced cleanly)
10:42:14 REPRODUCED 403 POST /api/projects/:id  -> repro/04-forbidden.spec.ts
10:42:14 REPRODUCED UI rendered "NaN"           -> repro/05-junk-text.spec.ts
Verified: 6 (5 repro + 1 spec) Flaky filtered: 1 Wall time: 21s
0
LLM API calls per run

Pure Node.js + Playwright. Predictable speed, $0 token bill, no prompt drift.

11
Objective defect classes

5xx, visible-button 403 RBAC leaks, 4xx on filled forms, JS errors, blank screens, junk text, layout overflow/occlusion, stuck loaders, spec drift.

2×
Clean-state replay gate

Every unique root-cause signature is replayed in a brand-new browser context (plus optional DB/stand reset) before failing CI.

1m 31s
Verified GitHub Actions CI

Measured on GitHub Actions ubuntu-latest (commit 2dc53a4): full install, Chromium, and 3/3 end-to-end tests.

VERIFIED ON STOCK OPEN-SOURCE DOCKER IMAGES · 0 LLM CALLS

Three real-world OSS sweeps across Vue 3, Nuxt, and React.

Every finding below was reproduced on a fresh clean session against unmodified upstream Docker containers on December 3, 2026 — with raw reports, PR comments, and generated Playwright .spec.ts files checked into GitHub.

VUE 3 · 2 ROLES · 121 ACTIONS · 0 FALSE POSITIVES

Directus v12.7.0

Non-admin Editor with directus_files:read (without directus_folders:read) opens the visible File Library and hits a blocking 403 Forbidden modal.

403 GET /folders?filter[type][_eq]=files
[FORBIDDEN] You don't have permission to access collection "directus_folders"
Verified: 1 RBAC UX bug Collapsed from: 3 hits
NUXT · 2 ROLES · 20 ACTIONS · 0 FALSE POSITIVES

NocoDB v2026.11.0 CE

In Community Edition, table routes start with /nc/<baseId>. The frontend sends literal nc as a workspace ID across both Super Admin and Viewer.

404 GET /api/v1/auth/user/me?workspace_id=nc
404 GET /api/v2/meta/workspaces/nc/integrations
{"error":"ERR_WORKSPACE_NOT_FOUND"}
Verified: 2 API 404 bugs Collapsed from: 8 hits
REACT · 3 ROLES · 149 ACTIONS · 2 FLAKES FILTERED

Grafana OSS v13.0.2

With expected K8s-style userstorage probes filtered in config, CleanRepro caught uncaught empty-state exceptions in Logs Drilldown & Alerting plus HTTP 404 on first-party sidebar routes.

JS exception: Invalid datasource! (/a/grafana-lokiexplore-app/explore)
Console error: failed to create DAG from queries (/alerting/new/alerting)
404 GET /bookmarks · 404 GET /dashboard/recently-deleted
Verified: 4 bugs (0 FP) Filtered flakes: 2

Honest scope note: mature OSS codebases already run extensive happy-path tests, so none of these 3 sweeps found a catastrophic 500 crash — they caught real RBAC UX gaps, broken CE API parameters, uncaught empty-state JS exceptions, and HTTP 404 SPA route status codes. Starter configs for Directus, NocoDB, Grafana, Plane, Cal.com, and Langfuse live in examples/oss-targets/.

SYSTEM BOUNDARIES · APPROVALS · RECOVERY

What CleanRepro controls — and where it stops.

Built for engineering teams that want deterministic signal without black-box automation touching production.

01 Multi-role UI & form exploration Read + write inside ephemeral preview only
Scope: Visits reachable internal links per role (deduplicated to 2 instances per URL template), clicks visible controls, and submits open dialogs empty and filled.
Guardrails: Logout actions are skipped via neverPattern; destructive buttons (delete, archive, reset) are deferred to the end of each screen; external origins are never followed.
Limitation: Does not replace handwritten tests for drag-and-drop or multi-step cross-role business workflows.
02 Clean-state verification & flake recovery 2-phase replay with optional DB/container reset
Verification: Unique signatures (normalized via apiTemplate so /items/42 and /items/99 collapse to one root cause) are replayed in a brand-new browser context.
Recovery: Configure resetCommand or run --no-verify → reset your container/DB → --verify <dir>. Any failure that does not reproduce cleanly is moved to Filtered Out and does not fail CI.
Time budget: Remaining time slices across waves so late roles are never starved; verification is capped cleanly if a stand hangs.
03 Human approval & CI merge control Posts 1 PR comment · never pushes code or merges
Output: Upserts a single deduplicated PR comment (by hidden HTML marker), uploads screenshots + repro/*.spec.ts artifacts, and exits with code 1 only according to your --fail-on policy (any | high | none).
Ownership: Developers decide whether to fix, update the role spec, or commit the generated repro.spec.ts into their permanent suite.

CONCRETE ARTIFACTS · NO MOCKUPS

What lands on your Pull Request.

Every artifact below was generated directly by examples/demo-run.mjs on our built-in two-role fixture app.

CleanRepro QA Gate — FAIL (High severity) Target: acme-saas-demo · Roles: Admin, Viewer · Verified: 6 · Flaky filtered: 1
# Severity Kind Screen Role(s) Detail Repro
1 high server-5xx /dashboard Viewer, Admin 500 POST /api/invoices 01-server-5xx-dashboard.spec.ts
2 high js-error /dashboard Viewer, Admin JS exception: window.nonExistentFn is not a function 02-js-error-dashboard.spec.ts
3 medium popup-layout /dashboard Viewer, Admin "Wide Settings Dialog" overflows viewport (1440×900) 03-popup-layout-dashboard.spec.ts
4 medium forbidden /projects Viewer 403 POST /api/projects/42/delete 04-forbidden-projects.spec.ts
5 medium spec navigation Viewer Viewer role can see "Billing Admin" in primary navigation —
6 low junk-text /reports Admin, Viewer UI rendered "NaN" 05-junk-text-reports.spec.ts

Filtered 1 finding(s) that did not reproduce on a clean session (500 POST /api/flaky-sync).

OPEN-CORE PRICING

Free open-source core. Pay only to save engineering days.

Run the MIT CLI forever for free, or hire us to wire your ephemeral CI gate in 5 days and join early access for CleanRepro Cloud.

LIVE NOW · MIT

Open-Source CLI & Action

$0 forever
  • Full deterministic multi-role crawler
  • Clean-state verification & flake filtering
  • Playwright repro/*.spec.ts generation
  • GitHub Action & deduplicated PR comment
  • Runs on your own CI runners
Install from GitHub
EARLY ACCESS WAITLIST

CleanRepro Cloud

$149 / month
  • Cross-PR baseline deduplication — alert only on new regressions introduced by the PR
  • Inline screenshots & traces hosted 90 days inside PR comments
  • Hosted parallel Playwright runners (zero CI minute burn)
  • 1-click Linear, Jira & Slack sync
  • Self-hosted VPC Enterprise ($1,500/mo) available on request
Join Cloud Waitlist

SECURITY & DATA HANDLING

No third-party AI APIs. No production credentials.

Zero data leaves your runner

Because CleanRepro makes zero LLM calls, your DOM, staging database contents, and API responses are never sent to external model providers.

Auditable in 10 minutes

MIT-licensed JavaScript with only Playwright as a runtime dependency. Inspect every line in src/crawler.mjs before adding it to CI.

Ephemeral stands only

Designed strictly for PR previews and disposable Docker stands with test seed accounts and outbound mail/webhooks disabled.

Minimal GitHub permissions

Only needs pull-requests: write if you enable PR commenting. Never writes to branches, tags, or repository settings.

FAQ

Common engineering & procurement questions.

Why zero-LLM instead of an AI browser agent?
LLM browser agents cost dollars per PR, take minutes per screen, and invent different paths each run. CleanRepro uses deterministic DOM traversal + objective HTTP/JS/layout assertions + clean-session replay, finishing in seconds with zero token cost and zero hallucinations.
What happens when CleanRepro clicks a delete button?
CleanRepro is built strictly for ephemeral PR previews or disposable Docker stands. Destructive actions are sorted last per screen, logout controls are skipped, and clean-state verification replays bugs after your resetCommand restores fresh seed data.
Can we keep the generated Playwright tests permanently?
Yes. Every repro/*.spec.ts file is standard TypeScript using @playwright/test with no proprietary runtime lock-in. You can commit it directly into your repository as a permanent regression test.
How does licensing work for Cloud / Enterprise?
The open-source CLI and GitHub Action remain MIT-licensed forever. Paid tiers (Setup Sprint, CleanRepro Cloud cross-PR deduplication, and self-hosted VPC Enterprise) are billed via Polar.sh (Merchant of Record handling US sales tax and global VAT) or direct invoice.

QUALIFIED HANDOFF

Start with a free 24-hour staging sweep — or book a Setup Sprint.

Best fit: B2B SaaS teams (5–50 engineers) with ≥2 user roles, CRUD forms, and a staging or PR preview URL.

  • What happens next: submitting prepares a structured GitHub Discussion or copyable brief — zero hidden tracking scripts.
  • Response time: within 1 business day directly from the maintainer.
  • Billing & tax: handled via Polar.sh / invoice (US sales tax & global VAT compliant).
Open GitHub Issue