6.2 Full Compile-Flag Reference (50 feature() flags)

Derived from all feature('...') calls in source code, with descriptions and scope.


Core feature gates (not enabled externally)

FlagDescriptionRelated source
BUDDYAI desktop pet system (18 species)src/buddy/
KAIROSpersistent assistant modesrc/assistant/
KAIROS_BRIEFKAIROS brief modesrc/assistant/
KAIROS_CHANNELSKAIROS channel notificationssrc/assistant/
KAIROS_GITHUB_WEBHOOKSKAIROS GitHub webhook integrationsrc/tools/SubscribePRTool/
KAIROS_PUSH_NOTIFICATIONKAIROS push notificationssrc/tools/PushNotificationTool/
ULTRAPLANcloud deep planning (up to 30 min)src/commands/ultraplan.tsx
COORDINATOR_MODEmulti-agent orchestration modesrc/coordinator/
BRIDGE_MODEremote control bridge (claude.ai -> local CLI)src/bridge/
VOICE_MODEvoice interaction (STT + TTS)src/services/voice.ts
PROACTIVEinitiative mode (autonomous when idle)src/proactive/
FORK_SUBAGENTsub-agent forking modesrc/tools/AgentTool/
DAEMONdaemon runtime modesrc/bridge/

Infrastructure gates

FlagDescription
UDS_INBOXUnix Domain Socket inbox (IPC)
WORKFLOW_SCRIPTSworkflow script system
TORCHTorch experimental capability
MONITOR_TOOLMonitorTool availability
HISTORY_SNIPhistory snipping (SnipCompact)
BG_SESSIONSbackground session management (separate subprocess agent)
HARD_FAILhard-fail testing mode
CCR_REMOTE_SETUPweb remote setup flow
CHICAGO_MCPinternal MCP extension server
AGENT_TRIGGERScron trigger tools
AGENT_TRIGGERS_REMOTEremote trigger tools

Context optimization gates

FlagDescription
CACHED_MICROCOMPACTcached micro-compact (Prompt Cache-assisted)
CONTEXT_COLLAPSEcollapse tool-result context
REACTIVE_COMPACTcompact immediately on prompt_too_long
QUICK_SEARCHquick search capability
TOKEN_BUDGETtoken budget tracking + forced stop
STREAMLINED_OUTPUTstreamlined output format
CONNECTOR_TEXTconnector text block support

Security and compliance gates

FlagDescription
ANTI_DISTILLATION_CCanti-distillation protections
BASH_CLASSIFIERbash command safety classifier
NATIVE_CLIENT_ATTESTATIONnative client attestation
TRANSCRIPT_CLASSIFIERtranscript classifier for auto mode safety
UNATTENDED_RETRYunattended automatic retry

Data and telemetry gates

FlagDescription
EXTRACT_MEMORIESauto extract long-term memories from chat
MEMORY_SHAPE_TELEMETRYmemory-shape telemetry
COWORKER_TYPE_TELEMETRYcoworker type telemetry
SLOW_OPERATION_LOGGINGslow operation performance logs
PROMPT_CACHE_BREAK_DETECTIONprompt-cache break detection
COMMIT_ATTRIBUTIONClaude line-attribution in git commits

UI and interaction gates

FlagDescription
TERMINAL_PANELterminal panel component
MESSAGE_ACTIONSmessage action buttons (copy/edit/etc.)
BREAK_CACHE_COMMAND/break-cache command

Experimental gates

FlagDescription
LODESTONELodestone experimental capability
MCP_SKILLSMCP-based skills
EXPERIMENTAL_SKILL_SEARCHexperimental skill search
TEMPLATEStemplates/task classifier
TEAMMEMteam memory synchronization

User-setting sync gates

FlagDescription
FILE_PERSISTENCEremote file persistence
DOWNLOAD_USER_SETTINGSdownload user settings from server
UPLOAD_USER_SETTINGSupload user settings to server

Platform detection gates (compile-injected)

FlagDescription
IS_LIBC_GLIBCrunning on glibc Linux
IS_LIBC_MUSLrunning on musl Linux (e.g., Alpine)

How to see all features in dev mode

In dev mode (bun run dev), all feature() calls default to true:

# start in dev mode to expose all feature branches
bun run dev

# add USER_TYPE=ant to unlock internal-only runtime branches
USER_TYPE=ant bun run dev

Note: some features still require GrowthBook gates or config settings. USER_TYPE=ant alone does not force-enable everything.


Next