Answer product-owner round 1: 1 🔴, 2 🟡 (1 misread); list an unscored joining item, and pass rank_todo.py --check for a plan in Jira

This commit is contained in:
2026-11-14 19:40:36 +01:00
parent 8ee67ed2b7
commit 9ac89c3d50
4 changed files with 18 additions and 6 deletions
+3
View File
@@ -106,6 +106,9 @@ def main(argv: list[str]) -> int:
config = located(None, pathlib.Path.home())
if isinstance(config, Failure):
return fail(config)
if config.plan_file is None and args == (True, None):
# Jira's backlog ranks a plan kept there, so the check passes, as silently as on a ranked todo.md: chunk-preflight runs it on every project.
return 0
if config.plan_file is None:
return fail(Failure(f"rank_todo.py ranks a todo.md, and this checkout's config keeps the plan in Jira, whose backlog ranks it: {config.plan_label}"))
check, todo = args[0], args[1] or config.plan_file