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:
2026-10-16 06:59:47 +02:00
parent 136422031a
commit fbff90d3e4
5 changed files with 10 additions and 9 deletions
+2 -2
View File
@@ -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]: