Every codebase has load-bearing code nobody wants to touch. Fragile finds it, scores it, and tells you why — before you find out the hard way.
Add to your repoTouched 47 times in the last 6 months, referenced by 23 files, and has zero test coverage. This is the single riskiest file in the codebase.
High change frequency with multiple contributors. Last 3 changes introduced regressions that were caught in production.
Central request handler with 31 dependents. Well-tested but any change ripples through the entire API surface.
How it works
Drop two lines of YAML into your workflow. Fragile analyzes your repo and generates a risk report automatically.
Step 01
Two lines of YAML. Point it at your repo, give it your OpenAI key, and you're done.
Step 02
Git history, file references, test coverage — all analyzed locally. No source code sent anywhere.
Step 03
A ranked list of your riskiest files with scores and plain-English explanations for each one.
The output
Not just a list of files — Fragile tells you why each file is dangerous so you know what to do about it.
Touched 47 times in the last 6 months, referenced by 23 files, and has zero test coverage. This is the single riskiest file in the codebase.
Core caching layer with complex invalidation logic. 8 different contributors have touched this file, and the last two changes caused cache poisoning bugs.
High change frequency with multiple contributors. Last 3 changes introduced regressions that were caught in production.
Central request handler with 31 dependents. Well-tested but any change ripples through the entire API surface.
Used by 44 files across the codebase. Low change frequency but timezone edge cases have caused bugs twice this quarter.
Pricing
Public repos are always free. Private repo support requires a license key.
Free
$0
For open source and public repos
Indie
$9/mo
For solo devs with private repos
Teams
$29/mo
For organizations
Get a license key at usefragile.dev
Bring your own key
Billed directly to you. No middleman, no markup, no usage caps from us.
Quick start
Add the following workflow file to your repo. Fragile will generate a risk report on every push to main.
name: Fragile on: push: branches: [main] workflow_dispatch: jobs: fragile: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: fetch-depth: 0 # REQUIRED - Fragile needs full git history - uses: patchwork-eng/fragile@v1 with: openai_key: ${{ secrets.OPENAI_KEY }} # license_key: ${{ secrets.FRAGILE_LICENSE_KEY }} # Required for private repos
Add your OpenAI API key to Settings → Secrets and variables → Actions as OPENAI_KEY. That's it.
Also from patchwork-eng
Reads your git commits when you ship and writes a human-readable changelog automatically. Same BYOK model.
Check out Difflog →Reads your diff when a PR opens and writes the description for you — what changed, what to test, what broke.
Check out AutoPR →