chore: add env vars to claude settings - #924
Conversation
Add TURBO_NO_UPDATE_NOTIFIER, AIKIDO_DISABLE, SAFE_CHAIN_LOGGING, and NO_COLOR environment variables to reduce noise in output. Entire-Checkpoint: 0faea2a51ed9
|
You do not have enough credits to review this pull request. Please purchase more credits to continue. |
Summary of ChangesHello @shunkakinoki, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request enhances the configuration for Claude Code by introducing several environment variables designed to minimize verbose or unnecessary output during its operation. The primary goal is to streamline the user experience by reducing noise from various tools and logging mechanisms integrated with Claude Code. Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request adds several environment variables to the config/claude/settings.json file to reduce noisy output. The changes are straightforward configuration updates. The new keys are added while maintaining the alphabetical order within the env object, which is consistent with the file's convention.
Mesa DescriptionTL;DRAdded What changed?Added Description generated by Mesa. Update settings |
There was a problem hiding this comment.
Pull request overview
This PR adds four environment variables to the Claude Code settings configuration to suppress verbose output and notifications during Claude Code sessions. The changes configure the environment to disable specific tools and features that generate unnecessary console output.
Changes:
- Added
AIKIDO_DISABLE=trueto disable Aikido security monitoring - Added
NO_COLOR=1to disable colored output - Added
SAFE_CHAIN_LOGGING=silentto silence SafeChain logging - Added
TURBO_NO_UPDATE_NOTIFIER=1to suppress Turbo update notifications
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
📝 WalkthroughSummary by CodeRabbit
WalkthroughConfiguration file updated to add four new environment variables (AIKIDO_DISABLE, NO_COLOR, SAFE_CHAIN_LOGGING, TURBO_NO_UPDATE_NOTIFIER) and apply a syntactic fix by adding a trailing comma to an existing entry. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@config/claude/settings.json`:
- Line 23: The AIKIDO_DISABLE setting currently set to "true" fully disables the
Aikido Zen runtime WAF instead of just silencing its output; change
AIKIDO_DISABLE to "false" (or remove it) so Aikido Zen protections remain
active, and if you only want to suppress logs use the SAFE_CHAIN_LOGGING
mechanism (SAFE_CHAIN_LOGGING="silent") instead; update the AIKIDO_DISABLE value
and ensure tests/launch config reference the AIKIDO_DISABLE and
SAFE_CHAIN_LOGGING variables to verify protections remain enabled while logs are
silenced.
ℹ️ Review info
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Disabled knowledge base sources:
- Linear integration is disabled
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (1)
config/claude/settings.json
| "worktrunk@worktrunk": true | ||
| }, | ||
| "env": { | ||
| "AIKIDO_DISABLE": "true", |
There was a problem hiding this comment.
AIKIDO_DISABLE fully disables Aikido Zen rather than silencing its output.
The AIKIDO_DISABLE env var disables Zen entirely — this is the runtime WAF (injection/path-traversal protection), not just noisy log output. This is distinct from SAFE_CHAIN_LOGGING=silent on line 29, which controls Safe Chain's output and whose "silent" value suppresses all Safe Chain output except when malware is blocked, leaving the actual protection intact.
If the intent is only to reduce noise, consider whether fully disabling Zen's runtime protections is acceptable for your Claude Code sessions.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In `@config/claude/settings.json` at line 23, The AIKIDO_DISABLE setting currently
set to "true" fully disables the Aikido Zen runtime WAF instead of just
silencing its output; change AIKIDO_DISABLE to "false" (or remove it) so Aikido
Zen protections remain active, and if you only want to suppress logs use the
SAFE_CHAIN_LOGGING mechanism (SAFE_CHAIN_LOGGING="silent") instead; update the
AIKIDO_DISABLE value and ensure tests/launch config reference the AIKIDO_DISABLE
and SAFE_CHAIN_LOGGING variables to verify protections remain enabled while logs
are silenced.
Summary
TURBO_NO_UPDATE_NOTIFIER,AIKIDO_DISABLE,SAFE_CHAIN_LOGGING, andNO_COLORenv vars to Claude Code settings to reduce noisy outputTest plan
🤖 Generated with Claude Code
Summary by cubic
Added environment variables to Claude Code settings to reduce noisy output and keep sessions cleaner. Set AIKIDO_DISABLE=true, NO_COLOR=1, SAFE_CHAIN_LOGGING=silent, and TURBO_NO_UPDATE_NOTIFIER=1.
Written for commit 9f42445. Summary will update on new commits.