Answer principles round 1: 0 🔴, 3 🟡; lower a replayed pass only while the worker runs no higher than the project's rung, confine every agent under agents/ again, type REPLAYED's keys as passes and test its rungs, and state why the other passes are not replayed
This commit is contained in:
@@ -10,10 +10,10 @@ from loop_claude.project.model_choice import read_models_file
|
||||
from loop_claude.stop import Stop
|
||||
|
||||
# What a tool reads from its arguments, such as the project's rung of the model they name.
|
||||
Read = typing.TypeVar("Read")
|
||||
Parsed = typing.TypeVar("Parsed")
|
||||
|
||||
|
||||
def arguments_or_exit(tool: str, argv: list[str], help_text: str, usage: str, read: typing.Callable[[list[str]], Read | None]) -> Read | int:
|
||||
def arguments_or_exit(tool: str, argv: list[str], help_text: str, usage: str, read: typing.Callable[[list[str]], Parsed | None]) -> Parsed | int:
|
||||
"""What read makes of argv, or the exit code: 0 after printing help_text for -h or --help, 1 after saying, with usage, that argv cannot be read, where read gives None."""
|
||||
if argv[:1] in (["-h"], ["--help"]):
|
||||
print(help_text.strip())
|
||||
|
||||
Reference in New Issue
Block a user