Skip to content

Commit db34866

Browse files
wesmclaude
andcommitted
fix: restore CLAUDE_NO_SOUND=1 for claude subprocess, update review guidelines
Set CLAUDE_NO_SOUND=1 on the claude command directly (appended to inherited env) to suppress audible notifications during automated insight generation. Add review guideline #8: subprocess env inheritance is intentional and env sanitization is the user's responsibility. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d17bb69 commit db34866

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

.roborev.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ Key assumptions reviewers MUST account for:
3838
ORDER BY id or references to tool_calls.id as missing-column
3939
errors without verifying the actual schema.
4040
41+
8. SUBPROCESS ENVIRONMENT: Agent CLI subprocesses (claude, codex,
42+
gemini) intentionally inherit the parent process environment.
43+
Environment sanitization is the user's responsibility when
44+
launching agentsview. Do not flag env var inheritance to agent
45+
CLIs as a security issue.
46+
4147
Do NOT flag issues that only apply to public-facing, multi-tenant,
4248
or network-exposed services. Focus on bugs, logic errors, data
4349
corruption risks, and code quality issues.

internal/insight/generate.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ func generateClaude(
123123
ctx, path,
124124
"-p", "--output-format", "json",
125125
)
126+
cmd.Env = append(os.Environ(), "CLAUDE_NO_SOUND=1")
126127
cmd.Stdin = bytes.NewReader([]byte(prompt))
127128

128129
var stdout, stderr bytes.Buffer

0 commit comments

Comments
 (0)