Answer architecture round 1: 2 🔴, 4 🟡 (0 misread); one branch_chunks reader with a pure fix rule, routed chunks matched by item

This commit is contained in:
2026-10-28 21:22:25 +01:00
parent 1a81b55925
commit a16f0e4625
22 changed files with 639 additions and 595 deletions
+1 -8
View File
@@ -6,7 +6,6 @@ import termios
import time
import typing
from failure import Failure
import git_repo
from machine_load.memory import Memory, read_memory
@@ -14,12 +13,6 @@ from machine_load.memory import Memory, read_memory
PYTHON_TIMEOUT = 600
class Git(typing.Protocol):
"""Runs git in cwd, as git_repo.git does."""
def __call__(self, *args: str, cwd: str) -> str | Failure: ...
class Streaming(typing.Protocol):
"""A started claude whose stream-json lines arrive as it works."""
@@ -35,7 +28,7 @@ class Effects:
# Drops what was typed on the terminal and not yet read.
discard_typed: typing.Callable[[], None]
execv: typing.Callable[[str, list[str]], None]
git: Git
git: git_repo.Git
input: typing.Callable[[str], str]
# A date and time in the machine's zone, as `2026-10-28 11:46:01`. lilleman chose this spelling and local time over UTC on 2026-10-28, since the human reads these on their own clock.
local_time: typing.Callable[[float], str]