Answer architecture round 1: 0 🔴, 2 🟡; name the next release's test, state both cases of the plan reader, keep one release formatter
This commit is contained in:
@@ -279,7 +279,7 @@ def archived_route(archive_folder: pathlib.Path, session: Session) -> Route | No
|
||||
|
||||
|
||||
def chunk_start(session: Session, preflight: pathlib.Path, root: str, effects: Effects) -> tuple[str, typing.Callable[[], Item | None]]:
|
||||
"""The facts for a fresh worker's prompt, empty where the session is open, and the reader of the item that routes the chunk. The preflight runs first, so the reader reads the default branch its fetch just left."""
|
||||
"""The facts for a fresh worker's prompt, empty where the session is open, and the reader of the item that routes the chunk. The reader reads the default branch as last fetched: for a fresh chunk, by the preflight that runs first; for an open session, which runs none, by whatever fetched last."""
|
||||
facts = "" if session_open(session) else chunk_facts(preflight, root, effects)
|
||||
return facts, lambda: plan_item(fetched_plan(root))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user