Answer prose round 1: 1 🔴, 10 🟡 (0 misread); say which tools still parse todo.md and how, drop the door metaphor, and reword the help, the rule's hand edits and six docstrings

This commit is contained in:
2026-11-14 16:01:55 +01:00
parent d6e8b7b105
commit a040b1e882
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ from release_plan.todo_table import Item, parse_row, SHAPE, Table
@dataclasses.dataclass
class MemoryPlan:
"""A plan held in memory, as a tracker holds one: in the order filed, unranked, with no bar. Set fails to make every read and write fail with that reason."""
"""A plan held in memory, as a tracker holds one: in the order filed, unranked, with no bar. Where fails is set, every read and write fails with it as the reason."""
rows: dict[int, dict[str, str]] = dataclasses.field(default_factory=dict)
details: dict[int, str] = dataclasses.field(default_factory=dict)
next_id: int = 1
@@ -39,7 +39,7 @@ class MemoryPlan:
return Written(id_)
def put(self, id_: int, row: dict[str, str], detail: str) -> Written | Failure:
"""Holds row as item id_ where it reads as an item."""
"""Holds row as item id_, or fails where row's cells don't make an item."""
if self.fails:
return Failure(self.fails)
row = row | {"Item": bold_cell(plain(row.get("Item", "")))}