About
Straitjacket is a fast, deterministic scanner that flags the weird code and text LLMs produce: emoji glyphs in source files, hardcoded colors that should be theme tokens, sprawling thousand-line files, logic indented past the depth a reader can hold, and deferred-work markers like TODO left behind in comments. It is one static Rust binary with no runtime dependencies, so it drops into any repository's CI regardless of language or stack.
Every rule runs on the text of a file — the same binary works across every language and stack, no toolchain required. The trade is that findings are pattern-level: Straitjacket tells you what is in the source, not what it means. The reasoning behind the rule set is written down in the project philosophy.
Straitjacket is built by Powderworks, an independent workshop of open-source developer tools maintained by Zack Maril. The code is MIT-licensed and lives on GitHub, where releases, checksums, and the full commit history are public.
If you want to shape what it catches — a new smell, a false positive you should not have to live with — the contributing guide is the way in.
Straitjacket