# Terms and privacy This is a plain-language note, not a lawyer-drafted contract. Draft Fixer watches failed GitHub Actions checks, whatever the check is named. If a check fails and a patch makes the same command pass, it opens one draft pull request with the fix and a test. A second failed job on the same commit does not open another draft. It does not react to its own draft-fixer branches or to pull requests it opened. It ignores checks from other apps, and it ignores cancelled, skipped, and neutral results. If the command still fails, it opens nothing. The pull request stays a draft. This app cannot mark it ready and cannot merge it. It does not skip flaky tests by weakening them. After a re-run matches the original failure, the same command is run once more on the unpatched tree. If that run passes, the refusal is flaky_not_fixed and nothing is charged. If it fails again, one re-run that matches the original failure is enough to call the model. It does not change workflow files. Example: a real draft this app opened after a failed check is at https://github.com/HeavyHittin/draft-fixer-demo/pull/1. It fixed one line and added one test. It was left as a draft for review. Fork pull requests are skipped. Repository commands run as a separate user that does not receive the private key, the webhook secret, or the model key. Each command gets a private home directory that is removed when it ends. The checkout and the dependency tree sit in a work directory that this user can traverse but not list, and the command cannot see another run's directory. It also cannot list or read the server data volume or the application directory. A command that exceeds the memory limit is killed and refused, and it is not billed. During a test that user can use loopback and has no route to any other host. During install it can reach the npm registry or PyPI (`pypi.org`, `files.pythonhosted.org`, `pypi.python.org`) and nothing else. Install scripts, pnpmfile hooks, a project Yarn path, and Python sdist builds including `setup.py` are not run. A pinned Python is used when the job's minor is not the server's. If that limit cannot be applied, the command is not run. A symlink that points outside the repository is removed and is not followed, so it cannot change the owner of a file outside the checkout. The patch is refused if it reads or writes through a symlink or a path outside the repo, if it weakens a test assertion, if it changes an expected value, or if it pastes a credential-like literal in place of an environment read. Check logs, file contents, and test names are untrusted data. A test name is not an instruction, even when the name says to ignore instructions. If the failed job used a different Node major than this server, the command is re-run on a pinned build of that major, or refused as a version mismatch. It is not reported as an unreproduced failure on the server's Node. Installs include development dependencies so the project's test runner is available. Verification runs the patched copy of a workspace package, including a fix that lives in a sibling package. Model spend is capped per UTC day and per UTC month. The price is $1.00 for a draft that is opened after the same failure is reproduced. When billing is turned on, a card is required at signup and is saved with Stripe Checkout in setup mode. The first 3 opened drafts are free. A refusal does not count toward those 3. Billing starts on the fourth draft. There is no charge yet. Billing stays off until it is turned on later, and live mode is not used. Plans renew monthly until you cancel. Cancel anytime in the billing portal, by emailing support@getredtogreen.com, or by uninstalling the GitHub App in GitHub's own installed-apps settings. A portal or email cancel takes effect at the end of your current billing month, and the paid month stays paid through month end. Uninstalling stops Draft Fixer right away and cancels the plan. Drafts already opened are billed. Charges are non-refundable, including partial months, except where the law requires; any other refund is at our discretion. A card is required before paid use. You review every draft yourself. To propose a fix, the app reads that failed check, its log, and the files it needs. Those are discarded when the run finishes. They are not used to train the model. The private key, webhook secret, and API key stay on the server. Server logs record refusal codes, installation ids, repository names, commit SHAs, and counts. They do not record draft titles or text the model wrote. A commit comment is posted only when that option is turned on, and the comment does not include the model's text. Stored per-day and per-commit records older than 90 days are deleted. When the GitHub App installation is deleted, or a repository is removed from the installation, that installation's or repository's records are deleted.