Claude Code Feature Flag Catalog
- Entity ID:
ent-20260420-featureflagcat - Type:
concept - Scope:
shared - Status:
active - Aliases: bun:bundle feature flags, compile-time feature catalog
Description
Named compile-time flags consumed via import { feature } from 'bun:bundle'. Known flags include PROACTIVE, KAIROS, BRIDGE_MODE, DAEMON, VOICE_MODE, AGENT_TRIGGERS, MONITOR_TOOL, COORDINATOR_MODE, and WORKFLOW_SCRIPTS. Each gate that is off at build time causes the Bun bundler to strip the guarded code entirely (dead-code elimination).
Key claims
- BRIDGE_MODE defaults to false and strips bridge code at build
- Nine named compile-time feature flags ship in Claude Code
Relations
- Claude Code Feature Flag Catalog --[implements]--> Bun DCE Feature-Gate Pattern
- Claude Code Feature Flag Catalog --[contains]--> Bridge System
- Claude Code Feature Flag Catalog --[contains]--> KAIROS
- Claude Code Feature Flag Catalog --[contains]--> Coordinator Mode
- Claude Code Feature Flag Catalog --[contains]--> PROACTIVE Mode