Rename loop-claude to build-release, with no alias
This commit is contained in:
@@ -34,7 +34,7 @@ class HumanTurn(UserText):
|
||||
|
||||
|
||||
class LoopPrompt(UserText):
|
||||
"""What loop-claude told the worker in a -p prompt."""
|
||||
"""What build-release told the worker in a -p prompt."""
|
||||
|
||||
|
||||
class InjectedText(UserText):
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
"""The environment variables that cut what one tool result adds to a claude's context: the Bash ceiling loop-claude hands the worker's claude, and the Read limit that review-replay tests for it. Their values: docs/decisions.md → `loop-claude: the worker's claude saves a Bash result of more than 6,000 characters to a file, and rule-hook refuses a Read of a session transcript`.
|
||||
"""The environment variables that cut what one tool result adds to a claude's context: the Bash ceiling build-release hands the worker's claude, and the Read limit that review-replay tests for it. Their values: docs/decisions.md → `build-release: the worker's claude saves a Bash result of more than 6,000 characters to a file, and rule-hook refuses a Read of a session transcript`.
|
||||
|
||||
A subagent inherits both variables, so the ceiling reaches every reviewer the worker launches."""
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
"""One `claude -p --output-format stream-json` run, as loop-claude's judge and the replays start it."""
|
||||
"""One `claude -p --output-format stream-json` run, as build-release's judge and the replays start it."""
|
||||
import dataclasses
|
||||
import subprocess
|
||||
import typing
|
||||
|
||||
@@ -11,7 +11,7 @@ JUDGED_TOOL_INPUT = 400
|
||||
|
||||
|
||||
class Typed(typing.NamedTuple):
|
||||
"""A -p prompt of loop-claude's that carries an answer the human typed: loop-claude's words, and that answer."""
|
||||
"""A -p prompt of build-release's that carries an answer the human typed: build-release's words, and that answer."""
|
||||
loop_words: str
|
||||
answer: str
|
||||
|
||||
@@ -50,7 +50,7 @@ def human_turns(entries: list[Entry]) -> int:
|
||||
|
||||
|
||||
def render(entries: list[Entry], typed_answer: typing.Callable[[str], Typed | None]) -> str:
|
||||
"""The transcript as the judge reads it. typed_answer splits the answer the human typed out of a -p prompt of loop-claude's, so that answer reads as the human's, like one typed in claude."""
|
||||
"""The transcript as the judge reads it. typed_answer splits the answer the human typed out of a -p prompt of build-release's, so that answer reads as the human's, like one typed in claude."""
|
||||
lines = []
|
||||
for entry in entries:
|
||||
if isinstance(entry, AssistantTurn):
|
||||
|
||||
Reference in New Issue
Block a user