← back

RepoWave — Documentation

RepoWave combines static checks with a separately purchased, human-reviewed Python/FastAPI repository audit. The $750 audit provides verified evidence, priorities, recommended CI configuration, and up to three justified PR candidates. Implementation is separate; see the audit offer.

Install

The Marketplace listing is visible. The RepoWave App was made public on 2026-10-31. The ordinary Free installation flow has been verified on an owner-controlled public repository: installation automatically queued a baseline and delivered findings on the GitHub commit. External customer adoption is not established. If GitHub does not offer installation, contact support; do not make a private repository public to work around this. An audit does not require installing the App.

For an authorized source checkout with Python 3.12+:

uv sync --locked
uv run repowave version
uv run repowave scan /path/to/repo --output-format markdown

The source repository is private. Do not assume anonymous cloning or a PyPI package is available. For a delivered wheel, install into a dedicated environment:

uv venv --python 3.12 .venv
uv pip install --python .venv/bin/python /path/to/repowave-0.1.1-py3-none-any.whl
.venv/bin/repowave version
.venv/bin/repowave scan /path/to/repo --output-format json

Current availability

| Offer | Scope | Automatic edits | |---|---|---| | Free hosted plan | Public repositories; commit-comment findings | None | | $750 human-reviewed audit | One agreed Python/FastAPI repository and revision | None; report and proposed work only | | Recurring paid plans | Not available for purchase | Not available to new buyers |

The code contains paid entitlements, but that does not mean those subscriptions are sold. Free entitlement rules deny private scans and draft fix PRs. An explicit operator-owned repository allowlist enables internal private testing only; it does not change customer plans.

Installation and scan triggers

After installation, RepoWave retrieves the repositories actually authorized to the App and queues an eligible default-branch baseline. Adding selected repositories queues their baselines too. Free baselines scan public repositories and never open fix PRs. Private repositories outside a paid entitlement or explicit internal allowlist are recorded as blocked, not as clean scans. The post-installation page explains where results appear.

Subsequent branch pushes queue that exact commit; tag pushes, branch deletions, and pull-request events do not trigger analysis. A push can repair a missing local installation record from its signed GitHub payload. Repeating baseline requests reuses an existing job for the same installation, repository and SHA.

The analysis checks Python/FastAPI, GitHub Actions, Docker and Python dependency configuration. It does not analyze JavaScript/TypeScript or HTML/CSS, crawl a live website, monitor uptime, or certify security. A JavaScript site with workflows can receive a limited workflow/configuration review; a repository with no supported targets is marked unsupported, never a successful zero-finding scan. Analyzer failures are recorded as failures rather than clean results.

For each eligible commit:

  1. Webhook intake — the push event is signature-verified and persisted as a scan job.
  2. Tarball clone — RepoWave downloads the commit's source tree via the GitHub API using the installation token. The clone is ephemeral and deleted at scan end. No source is persisted.
  3. Static analysis — rules run across Python, FastAPI routes, GitHub Actions workflows, and Dockerfiles. See Rules below.
  4. Commit comment — a summary table is posted on the commit's GitHub page: rule, severity, message, location.
  5. Autofix (implementation capability, disabled for Free) — for findings whose fix category is allow-listed (formatting, import order), RepoWave runs ruff on the affected files in the clone, then opens a draft Pull Request against your default branch with one commit applying the fix.

End-to-end customer latency has not been independently benchmarked.

Rules

| Category | Examples | |---|---| | Python dead code | unused imports, unused functions, unused classes, unreachable blocks | | Python async safety | mixing blocking I/O inside async def | | Python HTTP timeouts | requests.get(...) without timeout= | | Python logging hygiene | log.exception(...) discouraged, structured logging preferred | | Python Pydantic compat | v1 / v2 mixed usage | | FastAPI quality | untyped returns, missing response_model, direct DB access in routes | | GitHub Actions hygiene | unpinned action versions, missing permissions blocks, dangerous patterns | | Docker quality | running as root, missing HEALTHCHECK, layer-cache hygiene |

Each rule reports a finding with severity (critical, high, medium, low, info), confidence (0.0–1.0), file path, and line number.

What autofixes look like

For an entitled installation, the implementation can create a draft PR titled [RepoWave] Apply N safe autofix(es):

Review every proposed change. Closing a PR does not prevent a future scan from proposing the same unresolved change.

Automated-edit exclusions and source access

A hardcoded autofix denylist (core/security/autofix_gate.py) excludes these paths from automated edits:

This is an edit boundary, not a promise that source is never read. The scanner can analyze files in these paths, and the hosted service downloads the repository source tree. Do not include secrets in a repository submitted for review.

Configuration

For local CLI scans, RepoWave reads <repo>/repowave.toml when it exists. The supported fields are:

[scan]
min_severity = "low"
fail_on = "critical"
rules = ["actions.hygiene.unpinned_action"]

CLI flags override the file. Use repowave scan <path> --config <file> to point at a config file outside the repo root.

The hosted GitHub App does not support per-repository configuration today. App defaults are conservative and identical across installations.

Local CLI development

When testing a source checkout as a global CLI, prefer an editable uv tool install:

uv tool install --editable . --force
repowave version

If you need a non-editable source install, use uv tool install --force --reinstall .. A plain forced install can reuse a cached wheel when the package version has not changed.

Future hosted-app config:

Uninstall

  1. Go to your GitHub Settings → Applications → Installed GitHub Apps.
  2. Find RepoWaveAudit → Configure → Uninstall.

Per our Privacy Policy, all data associated with the installation is hard-deleted within 30 days. A five-minute worker maintenance task deletes associated findings, jobs and write audit entries in explicit foreign-key order. Active scans are preserved until they finish; billing records are retained separately. Legacy uninstall records without a timestamp receive a conservative 30-day grace period from their first maintenance pass.

Self-host

The same analysis runs locally for pre-push checks. Contact support@repowave.dev for self-hosting access.

Troubleshooting

The scan ran but no commit comment appeared. Verify: the commit was on a branch (not a tag), the App is still installed on the repo, the App has Contents and Pull-requests write permission. The commit comment is best-effort — if our repo.create_comment(...) call fails the scan is still recorded.

The draft PR opened but I want to disable autofixes. Today: close the PR. Future: per-repo opt-out flag.

I see a finding I disagree with. RepoWave does not block your build. Findings are informational unless you wire them into a check. Open an issue at support@repowave.dev with the rule ID and a reproduction.

Limits

Support

Email: support@repowave.dev

For security disclosures, prefix the subject with SECURITY:. We aim to acknowledge reports within one business day; no 24/7 response guarantee is offered.

Sample audit: outbound HTTP timeouts

Fictional demonstration, not a customer engagement or proof of demand. Scope: examples/audit-demo/before/service.py, timeout rule only. No network requests were executed. This example does not exercise every RepoWave rule, GitHub installation, billing, or live PR delivery.

Findings and evidence

| Priority | Evidence | Consequence | Proposed change | Estimate | |---|---|---|---|---| | High | fetch_legacy calls requests.get(url) without a timeout | A stalled network operation can occupy the worker indefinitely | Choose explicit connect/read timeouts; example uses (3.0, 10.0) | 30–60 minutes plus integration testing | | High | fetch_unbounded calls httpx.get(url, timeout=None) | Explicitly disables HTTPX's timeout | Set a bounded timeout; example uses 10.0 | 30–60 minutes plus integration testing |

fetch_modern is intentionally unchanged: HTTPX already defaults to five seconds of network inactivity. Requiring a keyword there would be a false positive, not a demonstrated reliability improvement.

Verification and limitations

Run scripts/verify-audit-demo.sh with a freshly installed CLI on PATH. It asserts exactly two findings before the edits and zero afterward for the selected timeout rule, verifies the default-HTTPX call is not flagged, and writes JSON, Markdown, and a proposed patch to a temporary delivery directory. No source is executed and no changes are applied to a customer's repository.

Zero findings under this rule does not mean the service is safe or healthy. These timeouts are not a total request deadline. Retry policy, response-body streaming, upstream latency, and client configuration need contextual review. The static rule recognizes direct requests and httpx module calls; it does not resolve aliases, client instances, shadowed names, or runtime expressions.

Scoped implementation candidate

One PR: bound both unbounded calls, retain HTTPX's default where appropriate, and add application tests for timeout/error handling using mocked transports. The sample provides the proposed patch, not that integration test work. There is no evidence here for three distinct PRs; do not invent extra findings.

Suggested CI configuration

For an authorized source installation, start with advisory output and review false positives before enabling a failure threshold:

repowave scan . --rules python.http.missing_timeout --output-format markdown --fail-on critical
# After baseline review, fail CI on high timeout findings:
repowave scan . --rules python.http.missing_timeout --output-format json --fail-on high

Pin the delivered artifact and record its checksum in the real engagement.

Worker lifecycle and bounded maintenance

The API/worker supervisor forwards termination to both processes and exits if either dies. ARQ gets 10 seconds to finish active work; cancellation requeues durable jobs without consuming a failure retry. The supervisor allows 20 seconds total before killing remaining process groups. Synchronous analysis can delay signal handling, so abrupt-kill recovery remains necessary. Every five minutes, maintenance repairs expired running jobs and database/Redis enqueue gaps, then removes terminal scan metadata older than 90 days (from completion, or creation for legacy terminal rows). Expired running jobs are eligible after the configured job timeout plus 60 seconds; active runs are not reclaimed early. Retention handles up to 200 old jobs per tick and 200 terminal jobs per expired installation per tick. Very large backlogs need multiple passes. Uninstall cleanup skips installations with active jobs. This does not erase existing GitHub comments or billing records.

HTTP timeout rule coverage

Ruleset 2026-11-17.1 resolves direct Requests/HTTPX module aliases and imported request functions within lexical scopes. It no longer treats every object named requests as a network client. Missing Requests timeouts and explicit timeout=None are advisories; HTTPX default timeouts are preserved. Reassignment, parameters, wildcard imports and other ambiguous bindings suppress findings conservatively for the entire scope. The rule does not infer Session/Client instances, wrappers, dynamic imports, monkey-patching, comprehension calls or flow-sensitive global/nonlocal bindings. This can miss real problems; absence of a finding is not proof of enforced timeouts. Repository code is parsed, never imported or executed.

python -m benchmarks.recovery_probe is an opt-in local crash/restart check requiring an already-installed Redis server. It creates a private Unix socket, disposable SQLite database and two local ARQ workers, then tests SIGTERM and SIGKILL recovery through the real job lifecycle. It does not exercise GitHub delivery, PostgreSQL or hosted capacity. Its 2-second job timeout is deliberately shorter than the production 600-second timeout, so recovery latency must not be extrapolated to production.

Maintenance sweep limits

Recovery reads at most 200 installation records and 200 queued-job IDs per pass; expired-running recovery updates at most 200 jobs, skipping rows locked by another transaction. Keyset cursors progress even while earlier records remain pending, and wrap after a full sweep. Cursors advance after successful enqueue, and retention advances after its transaction commits. They live in the worker's shared context: restart safely repeats earlier pages, but frequent restarts can delay later pages. This is bounded sweep progress, not strict tenant fairness or durable distributed scheduling.

Retention examines at most 200 deleted installations per pass, skipping active scans, and processes up to 200 jobs per expired installation. Existing dependent-row cleanup is transactional; these limits bound parent records, not total child rows or wall-clock execution. A full sweep may take several five-minute ticks. worker.maintenance_failed is an alertable log event; external notification routing is not configured by this change. Monitor it alongside worker.maintenance_complete and inspected_installations/next_installation_id. Recovery/retention inventory queries are paged; backlog admission control and per-tenant quotas remain follow-up work.