Skip to content

chore: add env vars to claude settings - #924

Merged
shunkakinoki merged 1 commit into
mainfrom
chore/claude-env-vars
Feb 25, 2026
Merged

chore: add env vars to claude settings#924
shunkakinoki merged 1 commit into
mainfrom
chore/claude-env-vars

Conversation

@shunkakinoki

@shunkakinoki shunkakinoki commented Feb 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add TURBO_NO_UPDATE_NOTIFIER, AIKIDO_DISABLE, SAFE_CHAIN_LOGGING, and NO_COLOR env vars to Claude Code settings to reduce noisy output

Test plan

  • Verify env vars are set in Claude Code sessions

🤖 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.

Add TURBO_NO_UPDATE_NOTIFIER, AIKIDO_DISABLE, SAFE_CHAIN_LOGGING,
and NO_COLOR environment variables to reduce noise in output.

Entire-Checkpoint: 0faea2a51ed9
Copilot AI review requested due to automatic review settings February 25, 2026 12:06
@mesa-dot-dev

mesa-dot-dev Bot commented Feb 25, 2026

Copy link
Copy Markdown

You do not have enough credits to review this pull request. Please purchase more credits to continue.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @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

  • Environment Variables: Added TURBO_NO_UPDATE_NOTIFIER, AIKIDO_DISABLE, SAFE_CHAIN_LOGGING, and NO_COLOR environment variables to the Claude Code settings.
  • Noise Reduction: The newly added environment variables aim to reduce noisy output during Claude Code sessions.
Changelog
  • config/claude/settings.json
    • Added "AIKIDO_DISABLE": "true"
    • Added "NO_COLOR": "1"
    • Added "SAFE_CHAIN_LOGGING": "silent"
    • Added "TURBO_NO_UPDATE_NOTIFIER": "1"
Activity
  • The author has outlined a test plan to verify that the environment variables are correctly set in Claude Code sessions.
Using Gemini Code Assist

The 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 /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

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 .gemini/ folder in the base of the repository. Detailed instructions can be found here.

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

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-dot-dev

mesa-dot-dev Bot commented Feb 25, 2026

Copy link
Copy Markdown

Mesa Description

TL;DR

Added TURBO_NO_UPDATE_NOTIFIER, AIKIDO_DISABLE, SAFE_CHAIN_LOGGING, and NO_COLOR environment variables to Claude Code settings to reduce noisy output.

What changed?

Added TURBO_NO_UPDATE_NOTIFIER, AIKIDO_DISABLE, SAFE_CHAIN_LOGGING, and NO_COLOR environment variables to the Claude Code settings.

Description generated by Mesa. Update settings

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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=true to disable Aikido security monitoring
  • Added NO_COLOR=1 to disable colored output
  • Added SAFE_CHAIN_LOGGING=silent to silence SafeChain logging
  • Added TURBO_NO_UPDATE_NOTIFIER=1 to suppress Turbo update notifications

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@coderabbitai

coderabbitai Bot commented Feb 25, 2026

Copy link
Copy Markdown
📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Updated internal environment configuration settings to optimize application behavior and logging management.

Walkthrough

Configuration 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

Cohort / File(s) Summary
Configuration Updates
config/claude/settings.json
Added four environment variables for disabling updates, color output, logging verbosity, and agent teams feature. Fixed trailing comma syntax on existing CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS entry.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

  • #511: Updates allow-list entries in the same config/claude/settings.json configuration file.

Poem

🐰 A config so neat, with variables spry,
Environment flags set just right on high,
No colors, no updates, logging kept mute,
And that trailing comma—chef's kiss, so cute!

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: adding environment variables to Claude settings configuration file.
Description check ✅ Passed The description clearly explains the purpose of adding environment variables to reduce noisy output in Claude Code sessions, which aligns with the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/claude-env-vars

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

📥 Commits

Reviewing files that changed from the base of the PR and between c866694 and 9f42445.

📒 Files selected for processing (1)
  • config/claude/settings.json

"worktrunk@worktrunk": true
},
"env": {
"AIKIDO_DISABLE": "true",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

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.

@shunkakinoki
shunkakinoki merged commit 7a4295d into main Feb 25, 2026
37 checks passed
@shunkakinoki
shunkakinoki deleted the chore/claude-env-vars branch February 25, 2026 12:44
@coderabbitai coderabbitai Bot mentioned this pull request Mar 23, 2026
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.

2 participants