Answer stability round 1: 0 🔴, 3 🟡; match the opener at the start of a prompt, always hand the project's rung, and say what the rung spelling carries
This commit is contained in:
@@ -10,8 +10,8 @@ WORKER_RUNG = "LOOP_CLAUDE_WORKER_RUNG"
|
||||
|
||||
|
||||
def environment(project: Rung | None, worker: Rung) -> dict[str, str]:
|
||||
"""The variables a worker's claude starts with; a project off the ladder has no rung to hand."""
|
||||
return ({PROJECT_RUNG: str(project)} if project else {}) | {WORKER_RUNG: str(worker)}
|
||||
"""The variables a worker's claude starts with. A project off the ladder gets an empty rung, so none is inherited from the environment."""
|
||||
return {PROJECT_RUNG: str(project) if project else "", WORKER_RUNG: str(worker)}
|
||||
|
||||
|
||||
def handed(environ: typing.Mapping[str, str]) -> tuple[Rung | None, Rung | None]:
|
||||
|
||||
Reference in New Issue
Block a user