Answer prose round 1: 0 🔴, 4 🟡 (0 misread); restore the decision's first entry, say what the variable claims, name both tools in the title and changelog

This commit is contained in:
2026-10-30 21:53:49 +01:00
parent 4a6cad05ea
commit 87a555b7cd
5 changed files with 8 additions and 9 deletions
+2 -2
View File
@@ -19,9 +19,9 @@ def claude_args(rung: Rung, args: list[str]) -> list[str]:
# CLAUDE_CODE_SANDBOXED, which Claude Code doesn't document, skips its trust dialog without writing ~/.claude.json:
# docs/decisions.md → `loop-claude: every claude it or loop-inbox opens on a terminal has CLAUDE_CODE_SANDBOXED set, …`.
# docs/decisions.md → `loop-claude: every claude it or loop-inbox opens on a terminal has CLAUDE_CODE_SANDBOXED set`.
def hand_over(command: ClaudeCommand, effects: Effects) -> Failure | None:
"""Runs claude on the terminal as command says; the failure is why claude could not start."""
"""Runs claude on the terminal as command says, with CLAUDE_CODE_SANDBOXED=1 added to its environment; the failure is why claude could not start."""
try:
effects.claude_on_terminal(command.args, command.cwd, {**command.env, "CLAUDE_CODE_SANDBOXED": "1"})
except OSError as failure: