Repository navigation
gam-script-checker-v0.3.1
Verdicts now come in colour. Every level gets a dot in front of it: green for read-only, orange for changes, white for cannot tell, red for destructive. The idea being that "DESTRUCTIVE" in the same font as everything else is easy to skim past at 5pm on a Friday, and a red dot is not.
Consoles that cannot encode those characters get the plain ASCII report instead, which covers older Windows code pages and anyone driving this over SSH. No mojibake, no row of question marks pretending to be a verdict.
A self-test you can run yourself. The README now has four lines that produce one finding at each level in a single run, plus the commands to check it on Windows, macOS and Linux. If the dots show, your console does Unicode. If clean ASCII shows, it does not, and both are correct answers. It also explains why SSH into a Windows box reports a different encoding than the desktop console does, which is the sort of thing that gets filed as a bug about twice a year.
Green means "this reads", not "this runs". A command can be perfectly harmless and still be rejected by GAM the moment you press enter, and the checker was happy to hand out READ-ONLY to a command GAM7 wants nothing to do with. It was always designed that way: the question it answers is what a command would DO, not whether the syntax is valid. That is now said out loud in the README, in the report footer, and with a worked example, because "it passed the checker" was starting to do more work than it earned.
Nothing about the detection changed. Same tables, same GAM7 7.48.07.
SHA256
0ccac62ffee7dfbedc57ad81871d1c12e87d495f9c7954e08120d707f41791a5 gam-script-checker-v0.3.1.zip
863366fdb64111bc98b3b7c5126df7d1713022c310bcb34b3350d56260f622cd gamcheck.py
94635da34181f137871ed32c03101c08d9c036f0aebd4f5de28ae6949d03903c verbs/gam7.json
c9eb70fb3c7f2aa08fb838679387ee19192f07e4d1af21cb52a06a1bb5b8a87a verbs/gamadv-xtd3.json
a9251216bbe39581dd2723acdfa7652ee463c067128f95a549ba586e178988ec verbs/legacy-gam.json
2d9995ae1eb5c83c9a76aa510c69bf869850adac91a5f530f2d75e1dd7d4a1c6 verbs/wiki.json