Kill the surviving mutants of the finish moves: the fake's status and refusal, an unreadable epic, and one more split item per finish

This commit is contained in:
2026-11-19 01:20:30 +01:00
parent e946d71a5e
commit 4cc39b8b20
4 changed files with 38 additions and 8 deletions
+1 -1
View File
@@ -221,7 +221,7 @@ def done_transition(offered: object, key: str, named: str | None) -> str | Failu
if len(chosen) == 1:
return chosen[0][0]
listed = " and ".join(f"{name!r} to {status!r}" for _, name, status in closing)
if len(closing) > 1 and not named:
if closing and not named:
return Failure(f"{key}'s status has more than one transition to a done status, {listed}: name the one to use in `{JIRA_FINISH_TRANSITION}`, in ~/.claude-projects/do-epic/config.toml")
if closing:
return Failure(f"{key}'s status has no transition called {named!r} to a done status, only {listed}: correct `{JIRA_FINISH_TRANSITION}`, in ~/.claude-projects/do-epic/config.toml")