tour.mp4
patchix runs fleets of agents to patch packages in nixpkgs. It helps deploy vulnerability fixes at large scale, and works best for deploying a small fix among many packages.
The first campaign is NixOS/nixpkgs#576541: packages with a bundled CA trust store. The check is nix-cacert-harness. It examines the trust stores of a package before and after the fix. It also tests the package with the certificate chains of the eMudhra incident.
Note
AI Disclosure: Claude Code wrote most of this repository using a mix of Fable 5.1 and Opus 5.5. It is human-reviewed. The agent instructions, campaign prompts and the pull request descriptions are written in ASD-STE100 (Simplified Technical English), linted with memelint in strict mode.
It's assumed you have an SSH key configured for pushing.
Create a GitHub classic token with the public_repo scope and put it in ~/.local/share/patchix/.env as GH_TOKEN=....
$(nix-build https://github.com/antimemes/patchix/archive/main.tar.gz --no-out-link)/bin/patchixor, with flakes,
nix run github:antimemes/patchixpatchix strongly abides by the nixpkgs AI policy. Our goal is to accelerate incident response by helping maintainers rapidly review and build confidence in AI-generated output.
