Answer stability round 1: 0 🔴, 2 🟡 (0 misread); state the warning as a fact and key the rule on the fact line
This commit is contained in:
@@ -9,7 +9,7 @@ from chunk_preflight.gathered import Gathered, ItemFacts, NamedPath, Ran
|
||||
from text_files.markdown_text import listed, quoted
|
||||
from chunk_preflight.choices import PULLS_LIST
|
||||
from chunk_preflight.indentation import SpaceIndented
|
||||
from plan.touches import unpredicted
|
||||
from plan.touches import unpredicted, without_a_list
|
||||
from plan.release import version
|
||||
|
||||
|
||||
@@ -150,7 +150,7 @@ def beside(plan: NextChunk) -> list[str]:
|
||||
|
||||
|
||||
def unpredicted_lines(plan: NextChunk) -> list[str]:
|
||||
"""The items of first's release without a `Touches:` list, for the worker to have a subagent write; no line where each holds one or first is alone in its release, where no chunk could start beside its.
|
||||
"""The line that names the items of first's release without a `Touches:` list and has the worker launch a subagent to write the lists. No line where each item holds a list. No line either where first is alone in its release: no chunk could start beside first's then.
|
||||
|
||||
Only the chunk of the plan's next item gets the line: a chunk that starts beside it would have a second subagent write the same lists."""
|
||||
first = plan.first
|
||||
@@ -158,8 +158,8 @@ def unpredicted_lines(plan: NextChunk) -> list[str]:
|
||||
alone = sum(item.release == first.release for item in plan.items) < 2
|
||||
if not missing or alone or next_item(plan.items) != first:
|
||||
return []
|
||||
them = "them" if missing.startswith("items") else "it"
|
||||
return [f'- {missing[0].upper()}{missing[1:]}. Before the chunk, have one subagent write {them}, as `~/.claude/CLAUDE.md` → "Working loop" says.']
|
||||
clause = without_a_list(missing, first.release)
|
||||
return [f'- {clause[0].upper()}{clause[1:]}. Before the chunk, have one subagent write each missing list, as `~/.claude/CLAUDE.md` → "Working loop" says.']
|
||||
|
||||
|
||||
def named_lines(named: list[NamedPath] | Failure) -> list[str]:
|
||||
|
||||
Reference in New Issue
Block a user