update is git-aware: cache last-run commit (meta.rev), report commits + affected modules since it, --stamp-rev

This commit is contained in:
Xingyu Chen
2026-06-10 18:34:31 -07:00
parent 81b05643a8
commit bf03873d34
5 changed files with 95 additions and 16 deletions
+4
View File
@@ -28,6 +28,10 @@ GRADE_BOUND = {"A": 101, "B": 90, "C": 75, "D": 60, "F": 40}
def main():
try:
sys.stdout.reconfigure(encoding="utf-8") # findings/descriptions may be non-ASCII
except (AttributeError, ValueError):
pass
ap = argparse.ArgumentParser(description="filter modules.json for agents")
ap.add_argument("--state", required=True)
ap.add_argument("--max-grade", choices=list(GRADE_BOUND),