diff --git a/tools/register_check.py b/tools/register_check.py index 0509e81..4f16a5c 100644 --- a/tools/register_check.py +++ b/tools/register_check.py @@ -23,7 +23,9 @@ def date(value): def main() -> int: - fs = [f for f in lib.findings() if f.get("status") == "open"] + # "accepted" is deliberately carried, not closed: it keeps its review + # interval and its production re-score, so the nag must keep watching it. + fs = [f for f in lib.findings() if f.get("status") in ("open", "accepted")] lines: list[str] = [] def section(title: str, rows: list[str], quiet: str) -> None: @@ -87,7 +89,7 @@ def main() -> int: ] section("Owed at the production transition", rescore, "none — no finding is graded lower for build mode") - print(f"Register check — {TODAY}\n{len(fs)} open finding(s)\n") + print(f"Register check — {TODAY}\n{len(fs)} open or accepted finding(s)\n") print("\n".join(lines).rstrip()) return 0