Answer principles round 1: 0 🔴, 2 🟡 (0 misread); move say beside Effects and drop a clock comparison from the black-box test
This commit is contained in:
@@ -2,13 +2,12 @@ import dataclasses
|
||||
import sys
|
||||
import uuid
|
||||
|
||||
from loop_claude.effects import Effects
|
||||
from loop_claude.effects import Effects, say
|
||||
from failure import Failure
|
||||
from claude_code.transcript import human_turns, read_transcript
|
||||
from loop_claude.stop import needs_human, needs_terminal, Stop
|
||||
from loop_claude.paths import Paths
|
||||
from model_routing.ladder import Rung
|
||||
from loop_claude.terminal import say
|
||||
from claude_code.trust import trust
|
||||
from loop_claude.project.checkout import worktrees
|
||||
|
||||
@@ -35,7 +34,7 @@ def put_question(question: str, answer_here: bool, effects: Effects) -> str | Ta
|
||||
try:
|
||||
answer = effects.input(ASK_ANSWER).strip()
|
||||
except EOFError:
|
||||
print(file=sys.stderr)
|
||||
print(file=sys.stderr) # Ends the prompt's line; it says nothing, so it gets no time.
|
||||
return needs_human(ANSWER_QUESTION, "the input ended")
|
||||
if not answer:
|
||||
return needs_human(ANSWER_QUESTION, "nothing was typed")
|
||||
|
||||
Reference in New Issue
Block a user