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

This commit is contained in:
2026-11-18 23:13:43 +01:00
parent 36dbddfa0b
commit d0ecdd6359
19 changed files with 334 additions and 47 deletions
+2 -5
View File
@@ -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):