Answer product-owner round 1: 0 🔴, 3 🟡 (0 misread); comment before the scores are set, score no issue whose work has landed, and say after which issues one starts

This commit is contained in:
Lilleman
2026-11-20 15:14:14 +01:00
parent 6c406b2609
commit 4557dced58
8 changed files with 45 additions and 22 deletions
+12
View File
@@ -376,6 +376,18 @@ class Planning(DoEpicTest):
found, store, out = self.plan(fake)
self.assertEqual((found, store.writes, out, fake.made("claude")), (self.issues, [], "", []))
def test_scores_no_issue_whose_work_has_landed(self) -> None:
with (self.home / ".claude-projects/do-epic/config.toml").open("a", encoding="utf-8") as config:
config.write('\njira-unblocking-statuses = ["Release Ready"]\n')
self.rule()
self.description = RANKED
self.issues = [issue("ABC-20", "do-epic-claude", status="release ready"), issue("ABC-21", "do-epic-claude"), scored("ABC-22", "epic 1 by 2", "do-epic-claude")]
fake = FakeEffects(claude=[says(ANSWER)])
found, store, _ = self.plan(fake)
assert not isinstance(found, Failure | Limited), found
self.assertEqual([write.split(" L ")[0] for write in store.writes], ["score ABC-21"])
self.assertEqual(planning.start_order(self.epic, found), ["ABC-21", "ABC-22"])
def test_names_an_issue_whose_scoring_fails_and_scores_the_next(self) -> None:
self.rule()
self.description = RANKED