make check must keep watching accepted findings
RISK-F-0007 moved to accepted and dropped out of the production-rescore list, which contradicts what the finding itself says: an acceptance that expires at the production transition has to be visible at that transition. accepted is carried, not closed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
00106ffcdd
commit
3141dd3edc
1 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue