Refuse a Touches: list touch-predictions cannot read in todo-item add and edit, and in rank_todo.py --check

This commit is contained in:
2026-11-18 16:17:23 +01:00
parent 2f4442ea13
commit 83714f095c
6 changed files with 90 additions and 9 deletions
+3 -2
View File
@@ -11,7 +11,8 @@ question rows come first, then security rows, then the rest, each group by score
then by ID. Then it moves each blocker, an item another's Blocked by cell names, that ranks below
an item it blocks to just above the first such item. Orders the details to match. Writes each
item's R, and adds the Blocked by and R columns to a table without them. --check doesn't write
anything and fails when the file is not ranked as it would be.
anything and fails when the file is not ranked as it would be, or when an item's detail holds a
`Touches:` list that touch-predictions cannot read, as `touch-predictions --help` spells it.
A valid todo.md; ## Details and each item's detail are optional:
@@ -87,7 +88,7 @@ Exit 1, saying why, on bad arguments, a checkout no config names or a config tha
file given that is not the config's plan, a file that cannot be read or written, a todo.md, goals file or docs/decisions.md that breaks the
rules above, a scoring run on docs/comprehension-history.md's newest scored commit with no Mean row
ending in its overall, an item that is not exempt scoring under the bar, or --check finding the file
unranked.
unranked or a `Touches:` list it cannot read.
"""
import pathlib
import sys