This repository has two different "experimental" mechanisms:
bun run build:dev
Builds a dev-stamped binary (cli-dev) and marks it as an experimental build.
It does not automatically enable every compile-time feature flag in the source.
feature('FLAG_NAME')
Bun compile-time flags that include or strip code paths at build time.
bun run build
Builds the regular external binary at ./cli.bun run build:dev
Builds ./cli-dev with a -dev.YYYYMMDD.tHHMMSS.sha... version and the experimental GrowthBook client key.bun run build:dev:full
Builds ./cli-dev with the snapshot-safe experimental bundle listed below.The following flags were smoke-tested against this leaked source snapshot and compile successfully together:
QUICK_SEARCH
Enables prompt quick-search UI paths.HISTORY_PICKER
Enables interactive prompt history picker UI.TOKEN_BUDGET
Enables token budget tracking and related UI warnings.VOICE_MODE
Enables voice-mode UI and command paths.
Runtime still depends on optional native audio support.ULTRAPLAN
Enables ultraplan command and prompt-input triggers.CACHED_MICROCOMPACT
Enables cached microcompact plumbing.PROMPT_CACHE_BREAK_DETECTION
Enables cache-break detection around compact/query flow.These are the flags used by build:dev:full.
CHICAGO_MCP compiles from this snapshot, but the resulting binary is not
runtime-safe because it reaches unresolved @ant/* computer-use modules.
It is intentionally excluded from build:dev:full.
The codebase references these compile-time flags:
ABLATION_BASELINEAGENT_MEMORY_SNAPSHOTAGENT_TRIGGERSAGENT_TRIGGERS_REMOTEALLOW_TEST_VERSIONSANTI_DISTILLATION_CCAUTO_THEMEAWAY_SUMMARYBASH_CLASSIFIERBG_SESSIONSBREAK_CACHE_COMMANDBRIDGE_MODEBUDDYBUILDING_CLAUDE_APPSBUILTIN_EXPLORE_PLAN_AGENTSBYOC_ENVIRONMENT_RUNNERCACHED_MICROCOMPACTCCR_AUTO_CONNECTCCR_MIRRORCCR_REMOTE_SETUPCHICAGO_MCPCOMMIT_ATTRIBUTIONCOMPACTION_REMINDERSCONNECTOR_TEXTCONTEXT_COLLAPSECOORDINATOR_MODECOWORKER_TYPE_TELEMETRYDAEMONDIRECT_CONNECTDOWNLOAD_USER_SETTINGSDUMP_SYSTEM_PROMPTENHANCED_TELEMETRY_BETAEXPERIMENTAL_SKILL_SEARCHEXTRACT_MEMORIESFILE_PERSISTENCEFORK_SUBAGENTHARD_FAILHISTORY_PICKERHISTORY_SNIPHOOK_PROMPTSIS_LIBC_GLIBCIS_LIBC_MUSLKAIROSKAIROS_BRIEFKAIROS_CHANNELSKAIROS_DREAMKAIROS_GITHUB_WEBHOOKSKAIROS_PUSH_NOTIFICATIONLODESTONEMCP_RICH_OUTPUTMCP_SKILLSMEMORY_SHAPE_TELEMETRYMESSAGE_ACTIONSMONITOR_TOOLNATIVE_CLIENT_ATTESTATIONNATIVE_CLIPBOARD_IMAGENEW_INITOVERFLOW_TEST_TOOLPERFETTO_TRACINGPOWERSHELL_AUTO_MODEPROACTIVEPROMPT_CACHE_BREAK_DETECTIONQUICK_SEARCHREACTIVE_COMPACTREVIEW_ARTIFACTRUN_SKILL_GENERATORSELF_HOSTED_RUNNERSHOT_STATSSKILL_IMPROVEMENTSLOW_OPERATION_LOGGINGSSH_REMOTETEAMMEMTEMPLATESTERMINAL_PANELTOKEN_BUDGETTORCHTRANSCRIPT_CLASSIFIERTREE_SITTER_BASHTREE_SITTER_BASH_SHADOWUDS_INBOXULTRAPLANULTRATHINKUNATTENDED_RETRYUPLOAD_USER_SETTINGSVERIFICATION_AGENTVOICE_MODEWEB_BROWSER_TOOLWORKFLOW_SCRIPTSThese are the most prominent feature families in the snapshot:
KAIROS, KAIROS_BRIEF, KAIROS_CHANNELS, KAIROS_GITHUB_WEBHOOKS, KAIROS_PUSH_NOTIFICATION, KAIROS_DREAMTRANSCRIPT_CLASSIFIER, BASH_CLASSIFIER, TREE_SITTER_BASH, TREE_SITTER_BASH_SHADOWBRIDGE_MODE, DAEMON, DIRECT_CONNECT, SSH_REMOTE, CHICAGO_MCP, WEB_BROWSER_TOOLULTRAPLAN, COORDINATOR_MODE, FORK_SUBAGENT, AGENT_TRIGGERS, AGENT_TRIGGERS_REMOTE, VERIFICATION_AGENTCONTEXT_COLLAPSE, REACTIVE_COMPACT, CACHED_MICROCOMPACT, PROMPT_CACHE_BREAK_DETECTION, TOKEN_BUDGET, HISTORY_SNIP, BG_SESSIONS, TEAMMEM, EXTRACT_MEMORIESQUICK_SEARCH, HISTORY_PICKER, VOICE_MODE, MESSAGE_ACTIONS, AUTO_THEME, SHOT_STATSThese flags do appear in source, but turning them on currently fails to build because referenced modules are missing from the leaked snapshot:
KAIROSKAIROS_BRIEFPROACTIVEBRIDGE_MODEDAEMONDIRECT_CONNECTSSH_REMOTECOORDINATOR_MODECHICAGO_MCPBUDDYUDS_INBOXCONTEXT_COLLAPSEREACTIVE_COMPACTEXPERIMENTAL_SKILL_SEARCHMCP_SKILLSWORKFLOW_SCRIPTSMONITOR_TOOLREVIEW_ARTIFACTTEAMMEMTRANSCRIPT_CLASSIFIERThe failures are mostly missing files such as assistant-mode modules, remote/server modules, workflow/monitor tools, skill-search modules, classifier prompt files, and team-memory helpers.