Skip to content

fix: add preflight check and --bare for claude CLI client#44

Merged
dacharyc merged 2 commits intomainfrom
fix/claude-cli-isolation
Mar 24, 2026
Merged

fix: add preflight check and --bare for claude CLI client#44
dacharyc merged 2 commits intomainfrom
fix/claude-cli-isolation

Conversation

@dacharyc
Copy link
Copy Markdown
Member

@dacharyc dacharyc commented Mar 24, 2026

Following up to PR #43 to add the --bare flag to avoid injecting CLAUDE.md files, project memory, rules, and other local context into every LLM-as-judge scoring call, and potentially affecting scoring outputs.

However, in testing, it turns out --bare also strips auth, thus negating the benefit of adding the claude-cli client. So I'm removing the --bare flag for now, and have instead added documentation to the README and other relevant spots to indicate that when using claude-cli, the additional context can affect scoring.

I've also filed a request on the Claude Code repo requesting a bare-like flag that retains auth but strips other context: anthropics/claude-code#38022

This PR does add a preflight check for the "claude" binary before executing LLM-as-judge scoring.

@dacharyc dacharyc merged commit eb0e3af into main Mar 24, 2026
2 checks passed
@dacharyc dacharyc deleted the fix/claude-cli-isolation branch March 24, 2026 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant