From 8b696b9aa46b7792b6f00566c844f157f4b21c90 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Mon, 9 Nov 2026 03:36:16 +0100 Subject: [PATCH] =?UTF-8?q?Answer=20prose=20round=201:=200=20=F0=9F=94=B4,?= =?UTF-8?q?=202=20=F0=9F=9F=A1=20(0=20misread);=20say=20in=20the=20help=20?= =?UTF-8?q?what=20prints=20where,=20the=20render=20docstring=20lists=20the?= =?UTF-8?q?=20joiners'=20details,=20and=20the=20changelog=20bullet=20says?= =?UTF-8?q?=20now?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 2 +- bin/chunk_preflight/main.py | 13 +++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ba141950..9fd4fdd7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## Unreleased -- `chunk-preflight` quotes the detail of each item that may join the chunk, so a worker no longer opens `todo.md` to read it. +- `chunk-preflight` now quotes the detail of each item that may join the chunk, so a worker no longer opens `todo.md` to read it. - `command-patterns []` prints a table of the shell command patterns a release's chunks ran. - `deploy-release --cut` reports each step as it finishes, waits for the checks `main`'s protection requires and names them, deletes the merged release branch, and ends on one line saying the release is cut. - CI runs the test suite on every pull request, and `main` merges nothing until it passes. diff --git a/bin/chunk_preflight/main.py b/bin/chunk_preflight/main.py index 64258584..760f7f38 100644 --- a/bin/chunk_preflight/main.py +++ b/bin/chunk_preflight/main.py @@ -32,11 +32,12 @@ todo.md as the default branch holds it, the plan loop-claude routes on. It print branch. Without --worktree, it prints that none was made; - the open pull requests whose head is the item's branch, each by its number and URL, as gh lists them on a github.com origin, and else as tea does. No title reaches the output; -- the items of that release that a chunk taking the item may take too: those that are not - questions, that have R 5 or less, and that no item outside the chunk blocks; none where the - item's own R is above 5, each with its detail; +- the items of that release that a chunk taking the item may take too, each with its L, E + I, + S and tagline: those that are not questions, that have R 5 or less, and that no item outside + the chunk blocks; none where the item's own R is above 5; - each file or folder git tracks that the item's tagline or detail names in backticks, with a - file's lines or a folder's files, and the item's tagline and detail; + file's lines or a folder's files, then the item's tagline and detail, then the detail of each + of the first {JOINING_DETAILS} items that may join, or that one has none; - where it made or continued the worktree, what `rank_todo.py --check todo.md`, `larv-review needs-scoring-run `, `reading-cost` and `larv-review places` print in it, each with its exit code. reading-cost appends to the worktree's docs/reading-cost.md, for the chunk to @@ -62,8 +63,8 @@ from release_plan.release_standing import default_plan from failure import Failure from chunk_preflight.gathered import Forge, Gathered, ItemFacts, NamedPath, NoItem, Plan, Ran, Worktree from chunk_preflight.choices import forge_of, planned, pulls_command, worktree_add, worktree_on +from chunk_preflight.facts import JOINING_DETAILS, render from release_plan.named_code import named_paths -from chunk_preflight.facts import render BIN = pathlib.Path(__file__).resolve().parents[1] # Each tool run in the item's worktree, {item} standing for the item's ID. @@ -77,7 +78,7 @@ WORKTREE = "--worktree" def main(argv: list[str], env: typing.Mapping[str, str]) -> int: if argv in (["-h"], ["--help"]): - print(__doc__.strip().format(timeout=TIMEOUT)) + print(__doc__.strip().format(timeout=TIMEOUT, JOINING_DETAILS=JOINING_DETAILS)) return 0 if argv not in ([], [WORKTREE]): print(f"unknown arguments {' '.join(argv)}; usage: chunk-preflight [{WORKTREE}]", file=sys.stderr)