Quote the detail of each item that may join a chunk in chunk-preflight's facts, so a worker stops opening todo.md for it
CI / tests (pull_request) Successful in 4m38s

This commit is contained in:
2026-11-09 03:24:06 +01:00
parent 4593c2969a
commit 447653fda5
9 changed files with 27 additions and 12 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ def planned(todo: str | Failure, cut: LastCut, default: str) -> Plan | NoItem:
return NoItem(f"every item of release {version(pick.release)} in {where} waits." if pick.release is not None else f"{where}'s items table holds no item.")
details = item_details(todo)
detail = details.get(first.id, "") if isinstance(details, dict) else f"(todo.md's details cannot be read: {details.reason})"
return Plan(found, first, f"{first.tagline}\n\n{detail}".strip())
return Plan(found, first, f"{first.tagline}\n\n{detail}".strip(), details if isinstance(details, dict) else {})
def worktree_on(porcelain: str, branch: str) -> pathlib.Path | None: