File a finding and record a decision in a do-epic epic, and give the judge the epic's records beside the repo's
CI / tests (pull_request) Failing after 4m22s
CI / tests (pull_request) Failing after 4m22s
This commit is contained in:
@@ -85,6 +85,8 @@ import pathlib
|
||||
import sys
|
||||
import typing
|
||||
|
||||
from text_files.piped_text import piped
|
||||
|
||||
from plan.todo_table import BLOCKED_BY, MOVES
|
||||
from failure import Failure
|
||||
from project_config.main import located
|
||||
@@ -184,11 +186,6 @@ def fields(args: argparse.Namespace) -> dict[str, str]:
|
||||
return {field: value for field, value in given.items() if value is not None}
|
||||
|
||||
|
||||
def piped(stdin: typing.TextIO) -> str:
|
||||
"""The text piped in, empty from a terminal. Claude Code's Bash tool gives a command /dev/null as stdin (readlink /proc/self/fd/0 shows it), so without a heredoc read() returns "" at once."""
|
||||
return "" if stdin.isatty() else stdin.read()
|
||||
|
||||
|
||||
def reported(written: Written | Failure, refusal: str, done: typing.Callable[[Written], str]) -> str | Failure:
|
||||
"""What a write prints: done's line, after the backend's notes on stderr; else the Failure, opened with refusal."""
|
||||
if isinstance(written, Failure):
|
||||
|
||||
Reference in New Issue
Block a user