overview / commands / rabadon lint
rabadon lint [dir]Validate guard.json and refuse to certify a rule the gate will ignore. Run this before trusting a hand-edited guard. (init runs it for you.)
maturity: stable — shipping and tested
Checked:
protectedPathz for protectedPaths),denies for deny, matches for match) — a rule the gate silently skips while it reads as law,deny and match regex actually compiles.Legal beside the pattern: id, why, and the keys rabadon writes itself (authoredBy + incidentAt on incident-authored rules, source on rules from pack import). Anything else in a rule object is dead weight the gate never reads, so lint names it.
Exit: 0 valid · non-zero invalid.