Answer architecture round 1: 0 🔴, 2 🟡; fail on a mark over a live release, pin the second run's reason wording, state the target is for the reader
This commit is contained in:
+6
-2
@@ -60,8 +60,9 @@ A valid todo.md; ## Details and each item's detail are optional:
|
||||
or deleted, and is dropped.
|
||||
- ## Items holds the table and nothing else: an order goes in the scores or the Blocked by column.
|
||||
- ## Renamed is optional: one line `- 0.2.1 renamed to 0.3.0` per release the plan renamed. The tools
|
||||
skip a marked release when they pick the next one, and call no scoring run for it. A release whose
|
||||
items all moved to other releases without a mark reads as finished, so the human cuts it.
|
||||
skip a marked release when they pick the next one, and call no scoring run for it; they read only
|
||||
the old release, the new one is for the reader. No item may sit under a marked release. A release
|
||||
whose items all moved to other releases without a mark reads as finished, so the human cuts it.
|
||||
- The table holds the columns above. One missing L, E or I fails, and so does one with a column this
|
||||
version does not know, since writing it would drop that column.
|
||||
- A table in the old shape, with C, A, G and Goals columns in place of L, E, I and Moves, still
|
||||
@@ -206,6 +207,9 @@ def rank(text: str, readme: str, decisions: str) -> Ranked | Failure:
|
||||
return uncited
|
||||
if isinstance(marked := renames(text), Failure):
|
||||
return marked
|
||||
if live := next((item for item in items if item.release in marked), None):
|
||||
release = ".".join(map(str, live.release))
|
||||
return Failure(f"todo.md marks release {release} renamed but files item {live.id} under it; drop the mark or move the item")
|
||||
scored = ordered(items, scoring)
|
||||
if isinstance(scored, Failure):
|
||||
return scored
|
||||
|
||||
Reference in New Issue
Block a user