record_check.py moves a finding along the cadence ladder and writes the dated line into the finding at the same time — a check that is not written down did not happen, which is the rule the register applies to everyone else. make checked ARGS="RISK-F-0002 clean". make check now also reports duplicate finding ids. The RISK-F-0004 collision was resolved by hand yesterday; the next one gets caught by the tooling instead of by someone noticing a file listed twice. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
21 lines
536 B
Makefile
21 lines
536 B
Makefile
PY := python3
|
|
TOOLS := tools
|
|
|
|
.PHONY: help register check checked
|
|
|
|
help:
|
|
@echo "make register - rebuild REGISTER.md from findings/"
|
|
@echo "make check - verify the index is current, then report what is going quiet"
|
|
@echo "make checked - record a check outcome: make checked ARGS=\"RISK-F-0002 clean\""
|
|
|
|
register:
|
|
@$(PY) $(TOOLS)/register_index.py
|
|
|
|
check:
|
|
@$(PY) $(TOOLS)/register_index.py --check
|
|
@echo
|
|
@$(PY) $(TOOLS)/register_check.py
|
|
|
|
checked:
|
|
@$(PY) $(TOOLS)/record_check.py $(ARGS)
|
|
@$(PY) $(TOOLS)/register_index.py
|