Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Appendix D: Full List of 89 Feature Flags

This appendix lists all Feature Flags gated via the feature() function in the Claude Code v2.1.88 source code, categorized by functional domain. Reference counts reflect how frequently each flag appears in the source, offering a rough indication of implementation depth (see Chapter 23 for the maturity inference method).

Autonomous Agent and Background Execution (19)

FlagReferencesDescription
AGENT_MEMORY_SNAPSHOT2Agent memory snapshots
AGENT_TRIGGERS11Scheduled triggers (local cron)
AGENT_TRIGGERS_REMOTE2Remote scheduled triggers (cloud cron)
BG_SESSIONS11Background session management (ps/logs/attach/kill)
BUDDY15Buddy mode: floating UI bubble
BUILTIN_EXPLORE_PLAN_AGENTS1Built-in explore/plan agent types
COORDINATOR_MODE32Coordinator mode: cross-agent task coordination
FORK_SUBAGENT4Sub-agent fork execution mode
KAIROS84Assistant mode core: background autonomous agent, tick wake-up
KAIROS_BRIEF17Brief mode: send progress messages to user
KAIROS_CHANNELS13Channel system: multi-channel communication
KAIROS_DREAM1autoDream memory consolidation trigger
KAIROS_GITHUB_WEBHOOKS2GitHub Webhook subscription: PR event triggers
KAIROS_PUSH_NOTIFICATION2Push notifications: send status updates to user
MONITOR_TOOL5Monitor tool: background process monitoring
PROACTIVE21Proactive work mode: terminal focus awareness, proactive actions
TORCH1Torch command
ULTRAPLAN2Ultraplan: structured task decomposition UI
VERIFICATION_AGENT4Verification agent: automatically verify task completion status

Remote Control and Distributed Execution (10)

FlagReferencesDescription
BRIDGE_MODE14Bridge mode core: remote control protocol
CCR_AUTO_CONNECT3Claude Code Remote auto-connect
CCR_MIRROR3CCR mirror mode: read-only remote mirror
CCR_REMOTE_SETUP1CCR remote setup command
CONNECTOR_TEXT7Connector text block handling
DAEMON1Daemon mode: background daemon worker
DOWNLOAD_USER_SETTINGS5Download user settings from cloud
LODESTONE3Protocol registration (lodestone:// handler)
UDS_INBOX14Unix Domain Socket inbox
UPLOAD_USER_SETTINGS1Upload user settings to cloud

Multimedia and Interaction (17)

FlagReferencesDescription
ALLOW_TEST_VERSIONS2Allow test versions
ANTI_DISTILLATION_CC1Anti-distillation protection
AUTO_THEME1Automatic theme switching
BUILDING_CLAUDE_APPS1Building Claude Apps skill
CHICAGO_MCP12Computer Use MCP integration
HISTORY_PICKER1History picker UI
MESSAGE_ACTIONS2Message actions (copy/edit shortcuts)
NATIVE_CLIENT_ATTESTATION1Native client attestation
NATIVE_CLIPBOARD_IMAGE2Native clipboard image support
NEW_INIT2New initialization flow
POWERSHELL_AUTO_MODE2PowerShell auto mode
QUICK_SEARCH1Quick search UI
REVIEW_ARTIFACT1Review artifact
TEMPLATES5Task templates/categorization
TERMINAL_PANEL3Terminal panel
VOICE_MODE11Voice mode: streaming speech-to-text
WEB_BROWSER_TOOL1Web browser tool (Bun WebView)

Context and Performance Optimization (16)

FlagReferencesDescription
ABLATION_BASELINE1Ablation test baseline
BASH_CLASSIFIER33Bash command classifier
BREAK_CACHE_COMMAND2Force cache break command
CACHED_MICROCOMPACT12Cached micro-compaction strategy
COMPACTION_REMINDERS1Compaction reminder mechanism
CONTEXT_COLLAPSE16Context collapse: fine-grained context management
FILE_PERSISTENCE3File persistence timing
HISTORY_SNIP15History snip command
OVERFLOW_TEST_TOOL2Overflow test tool
PROMPT_CACHE_BREAK_DETECTION9Prompt Cache break detection
REACTIVE_COMPACT4Reactive compaction: on-demand triggering
STREAMLINED_OUTPUT1Streamlined output mode
TOKEN_BUDGET4Token budget tracking UI
TREE_SITTER_BASH3Tree-sitter Bash parser
TREE_SITTER_BASH_SHADOW5Tree-sitter Bash shadow mode (A/B)
ULTRATHINK1Ultra-think mode

Memory and Knowledge Management (13)

FlagReferencesDescription
AWAY_SUMMARY2Away summary: generate progress when away
COWORKER_TYPE_TELEMETRY2Coworker type telemetry
ENHANCED_TELEMETRY_BETA2Enhanced telemetry beta
EXPERIMENTAL_SKILL_SEARCH19Experimental remote skill search
EXTRACT_MEMORIES7Automatic memory extraction
MCP_RICH_OUTPUT3MCP rich text output
MCP_SKILLS9MCP server skill discovery
MEMORY_SHAPE_TELEMETRY3Memory structure telemetry
RUN_SKILL_GENERATOR1Skill generator
SKILL_IMPROVEMENT1Automatic skill improvement
TEAMMEM44Team memory synchronization
WORKFLOW_SCRIPTS6Workflow scripts
TRANSCRIPT_CLASSIFIER69Transcript classifier (auto mode)

Infrastructure and Telemetry (14)

FlagReferencesDescription
COMMIT_ATTRIBUTION11Git commit attribution tracking
HARD_FAIL2Hard failure mode
IS_LIBC_GLIBC1glibc runtime detection
IS_LIBC_MUSL1musl runtime detection
PERFETTO_TRACING1Perfetto performance tracing
SHOT_STATS8Tool call distribution statistics
SLOW_OPERATION_LOGGING1Slow operation logging
UNATTENDED_RETRY1Unattended retry

Statistical Summary

CategoryCountHighest-Reference Flag
Autonomous Agent and Background Execution19KAIROS (84)
Remote Control and Distributed Execution10BRIDGE_MODE (14), UDS_INBOX (14)
Multimedia and Interaction17CHICAGO_MCP (12)
Context and Performance Optimization16TRANSCRIPT_CLASSIFIER (69)
Memory and Knowledge Management13TEAMMEM (44)
Infrastructure and Telemetry14COMMIT_ATTRIBUTION (11)
Total89

Top 5 by reference count: KAIROS (84) > TRANSCRIPT_CLASSIFIER (69) > TEAMMEM (44) > BASH_CLASSIFIER (33) > COORDINATOR_MODE (32)