Introduction
Janitor is an intelligent error recovery agent for your CI/CD pipeline. It doesn't just report bugs; it writes the code to fix them.
How it works
When your build fails or a runtime error occurs in production, Janitor intercepts the stack trace. It spins up an isolated environment, reproduces the issue, and uses an LLM specifically trained on framework internals (React, Next.js, Vue) to generate a patch.
- Auto-detects hydration mismatches
- Fixes missing dependencies
- Resolves type errors automatically
- Opens a PR with the fix
Installation
Install the Janitor CLI globally or adds it to your project's dev dependencies.
bash
$ npm install -g @janitor/cliOnce installed, initialize it in your project root:
bash
$ janitor init