Back to Blog
Engineering

Claude Code Source Inference: Feature Map, Technical Path, and Likely Future Direction

Wendy Zhang
Wendy Zhang·Founder of sipsip.ai··14 min read
Notion-style feature map with toggle switches, source nodes, and coffee beans

This is an evidence-based inference post from source structure and flag usage. It focuses on architecture and product signals.

Current Technical Path (Module-by-Module)

FeatureFeature DescriptionInference Basis
Query RuntimeStateful query loop for tool-use, continuation, and budgets.src/query.ts; src/query/config.ts; src/query/tokenBudget.ts
Tool OrchestrationRuns tool calls in concurrency-safe vs serial batches.src/services/tools/toolOrchestration.ts; src/services/tools/StreamingToolExecutor.ts
Tool RegistryRegisters core tools and gate-based availability.src/tools.ts; src/Tool.ts; src/tools/*
Agent RuntimeSub-agent spawn, background execution, and isolation modes.src/tools/AgentTool/AgentTool.tsx; src/tasks/AgentTask
Permission + SandboxPermission rules and sandbox boundaries for execution.src/Tool.ts; src/utils/permissions/*; src/utils/sandbox/sandbox-adapter.ts
MCP PlatformMCP transports, auth/session handling, and tool/resource integration.src/services/mcp/client.ts; src/tools/MCPTool/*
Remote SessionsWebSocket/HTTP remote session lifecycle and control flow.src/remote/RemoteSessionManager.ts; src/remote/SessionsWebSocket.ts
State + App ShellBootstrap, app state, migrations, and command wiring.src/main.tsx; src/setup.ts; src/state/AppStateStore.ts; src/commands.ts
Companion Easter EggCompanion sprite and /buddy interaction path.src/buddy/*; BUDDY gate in src/commands.ts
Release SignalsRelease notes + migration scripts showing shipped evolution.src/utils/releaseNotes.ts; src/commands/release-notes/; src/migrations/

Full Feature Flag Inventory (from feature(...) calls)

FeatureFeature DescriptionInference Basis
ABLATION_BASELINEFeature-gated capability inferred from flag usage.src/entrypoints/cli.tsx
AGENT_MEMORY_SNAPSHOTMulti-agent orchestration and background delegation.src/main.tsx; +1 file(s)
AGENT_TRIGGERSMulti-agent orchestration and background delegation.src/cli/print.ts; +5 file(s)
AGENT_TRIGGERS_REMOTEMulti-agent orchestration and background delegation.src/skills/bundled/index.ts; +1 file(s)
ALLOW_TEST_VERSIONSFeature-gated capability inferred from flag usage.src/utils/nativeInstaller/download.ts
ANTI_DISTILLATION_CCFeature-gated capability inferred from flag usage.src/services/api/claude.ts
AUTO_THEMEFeature-gated capability inferred from flag usage.src/components/design-system/ThemeProvider.tsx; +1 file(s)
AWAY_SUMMARYFeature-gated capability inferred from flag usage.src/hooks/useAwaySummary.ts; +1 file(s)
BASH_CLASSIFIERShell safety/classification and command validation.src/cli/structuredIO.ts; +18 file(s)
BG_SESSIONSMulti-agent orchestration and background delegation.src/commands/exit/exit.tsx; +6 file(s)
BREAK_CACHE_COMMANDFeature-gated capability inferred from flag usage.src/context.ts
BRIDGE_MODERemote bridge/session connectivity.src/bridge/bridgeEnabled.ts; +11 file(s)
BUDDYCompanion/easter-egg interaction.src/buddy/CompanionSprite.tsx; +6 file(s)
BUILDING_CLAUDE_APPSFeature-gated capability inferred from flag usage.src/skills/bundled/index.ts
BUILTIN_EXPLORE_PLAN_AGENTSMulti-agent orchestration and background delegation.src/tools/AgentTool/builtInAgents.ts
BYOC_ENVIRONMENT_RUNNERFeature-gated capability inferred from flag usage.src/entrypoints/cli.tsx
CACHED_MICROCOMPACTLong-context control: compaction, budgeting, recovery.src/constants/prompts.ts; +4 file(s)
CCR_AUTO_CONNECTRemote bridge/session connectivity.src/bridge/bridgeEnabled.ts; +1 file(s)
CCR_MIRRORRemote bridge/session connectivity.src/bridge/bridgeEnabled.ts; +2 file(s)
CCR_REMOTE_SETUPRemote bridge/session connectivity.src/commands.ts
CHICAGO_MCPMCP ecosystem: tools/resources/skills and runtime behavior.src/entrypoints/cli.tsx; +9 file(s)
COMMIT_ATTRIBUTIONFeature-gated capability inferred from flag usage.src/cli/print.ts; +8 file(s)
COMPACTION_REMINDERSLong-context control: compaction, budgeting, recovery.src/utils/attachments.ts
CONNECTOR_TEXTFeature-gated capability inferred from flag usage.src/constants/betas.ts; +3 file(s)
CONTEXT_COLLAPSEFeature-gated capability inferred from flag usage.src/commands/context/context-noninteractive.ts; +11 file(s)
COORDINATOR_MODEMulti-agent orchestration and background delegation.src/QueryEngine.ts; +14 file(s)
COWORKER_TYPE_TELEMETRYTelemetry and observability instrumentation.src/services/analytics/metadata.ts
DAEMONRemote bridge/session connectivity.src/commands.ts; +1 file(s)
DIRECT_CONNECTRemote bridge/session connectivity.src/main.tsx
DOWNLOAD_USER_SETTINGSUser settings sync/import/export.src/cli/print.ts; +2 file(s)
DUMP_SYSTEM_PROMPTFeature-gated capability inferred from flag usage.src/entrypoints/cli.tsx
ENHANCED_TELEMETRY_BETATelemetry and observability instrumentation.src/utils/telemetry/sessionTracing.ts
EXPERIMENTAL_SKILL_SEARCHWorkflow and skill discovery/generation.src/commands.ts; +8 file(s)
EXTRACT_MEMORIESFeature-gated capability inferred from flag usage.src/cli/print.ts; +3 file(s)
FILE_PERSISTENCEFeature-gated capability inferred from flag usage.src/cli/print.ts; +1 file(s)
FORK_SUBAGENTMulti-agent orchestration and background delegation.src/commands.ts; +3 file(s)
HARD_FAILRetry and failure-policy behavior.src/main.tsx; +1 file(s)
HISTORY_PICKERFeature-gated capability inferred from flag usage.src/components/PromptInput/PromptInput.tsx; +1 file(s)
HISTORY_SNIPLong-context control: compaction, budgeting, recovery.src/QueryEngine.ts; +6 file(s)
HOOK_PROMPTSFeature-gated capability inferred from flag usage.src/screens/REPL.tsx
IS_LIBC_GLIBCFeature-gated capability inferred from flag usage.src/utils/envDynamic.ts
IS_LIBC_MUSLFeature-gated capability inferred from flag usage.src/utils/envDynamic.ts
KAIROSAssistant-mode family: sessions, channels, briefs, notifications.src/bridge/bridgeMain.ts; +56 file(s)
KAIROS_BRIEFAssistant-mode family: sessions, channels, briefs, notifications.src/commands.ts; +19 file(s)
KAIROS_CHANNELSAssistant-mode family: sessions, channels, briefs, notifications.src/cli/print.ts; +12 file(s)
KAIROS_DREAMAssistant-mode family: sessions, channels, briefs, notifications.src/skills/bundled/index.ts
KAIROS_GITHUB_WEBHOOKSAssistant-mode family: sessions, channels, briefs, notifications.src/commands.ts; +2 file(s)
KAIROS_PUSH_NOTIFICATIONAssistant-mode family: sessions, channels, briefs, notifications.src/components/Settings/Config.tsx; +2 file(s)
LODESTONEFeature-gated capability inferred from flag usage.src/interactiveHelpers.tsx; +3 file(s)
MCP_RICH_OUTPUTMCP ecosystem: tools/resources/skills and runtime behavior.src/tools/MCPTool/UI.tsx
MCP_SKILLSMCP ecosystem: tools/resources/skills and runtime behavior.src/commands.ts; +2 file(s)
MEMORY_SHAPE_TELEMETRYTelemetry and observability instrumentation.src/memdir/findRelevantMemories.ts; +1 file(s)
MESSAGE_ACTIONSFeature-gated capability inferred from flag usage.src/keybindings/defaultBindings.ts; +1 file(s)
MONITOR_TOOLFeature-gated capability inferred from flag usage.src/components/permissions/PermissionRequest.tsx; +8 file(s)
NATIVE_CLIENT_ATTESTATIONFeature-gated capability inferred from flag usage.src/constants/system.ts
NATIVE_CLIPBOARD_IMAGEFeature-gated capability inferred from flag usage.src/utils/imagePaste.ts
NEW_INITFeature-gated capability inferred from flag usage.src/commands/init.ts
OVERFLOW_TEST_TOOLFeature-gated capability inferred from flag usage.src/tools.ts; +1 file(s)
PERFETTO_TRACINGFeature-gated capability inferred from flag usage.src/utils/telemetry/perfettoTracing.ts
POWERSHELL_AUTO_MODEShell safety/classification and command validation.src/utils/permissions/permissions.ts; +1 file(s)
PROACTIVEFeature-gated capability inferred from flag usage.src/cli/print.ts; +14 file(s)
PROMPT_CACHE_BREAK_DETECTIONFeature-gated capability inferred from flag usage.src/commands/compact/compact.ts; +5 file(s)
QUICK_SEARCHFeature-gated capability inferred from flag usage.src/components/PromptInput/PromptInput.tsx; +1 file(s)
REACTIVE_COMPACTLong-context control: compaction, budgeting, recovery.src/commands/compact/compact.ts; +3 file(s)
REVIEW_ARTIFACTFeature-gated capability inferred from flag usage.src/components/permissions/PermissionRequest.tsx; +1 file(s)
RUN_SKILL_GENERATORWorkflow and skill discovery/generation.src/skills/bundled/index.ts
SELF_HOSTED_RUNNERFeature-gated capability inferred from flag usage.src/entrypoints/cli.tsx
SHOT_STATSTelemetry and observability instrumentation.src/components/Stats.tsx; +2 file(s)
SKILL_IMPROVEMENTWorkflow and skill discovery/generation.src/utils/hooks/skillImprovement.ts
SLOW_OPERATION_LOGGINGFeature-gated capability inferred from flag usage.src/utils/slowOperations.ts
SSH_REMOTERemote bridge/session connectivity.src/main.tsx
STREAMLINED_OUTPUTFeature-gated capability inferred from flag usage.src/cli/print.ts
TEAMMEMMulti-agent orchestration and background delegation.src/components/memory/MemoryFileSelector.tsx; +16 file(s)
TEMPLATESWorkflow and skill discovery/generation.src/entrypoints/cli.tsx; +4 file(s)
TERMINAL_PANELFeature-gated capability inferred from flag usage.src/hooks/useGlobalKeybindings.tsx; +3 file(s)
TOKEN_BUDGETLong-context control: compaction, budgeting, recovery.src/components/PromptInput/PromptInput.tsx; +5 file(s)
TORCHFeature-gated capability inferred from flag usage.src/commands.ts
TRANSCRIPT_CLASSIFIERFeature-gated capability inferred from flag usage.src/cli/print.ts; +43 file(s)
TREE_SITTER_BASHShell safety/classification and command validation.src/utils/bash/parser.ts
TREE_SITTER_BASH_SHADOWShell safety/classification and command validation.src/tools/BashTool/bashPermissions.ts; +1 file(s)
UDS_INBOXMulti-agent orchestration and background delegation.src/cli/print.ts; +8 file(s)
ULTRAPLANFeature-gated capability inferred from flag usage.src/commands.ts; +4 file(s)
ULTRATHINKFeature-gated capability inferred from flag usage.src/utils/thinking.ts
UNATTENDED_RETRYRetry and failure-policy behavior.src/services/api/withRetry.ts
UPLOAD_USER_SETTINGSUser settings sync/import/export.src/main.tsx; +1 file(s)
VERIFICATION_AGENTMulti-agent orchestration and background delegation.src/constants/prompts.ts; +3 file(s)
VOICE_MODEVoice interaction features.src/commands.ts; +13 file(s)
WEB_BROWSER_TOOLFeature-gated capability inferred from flag usage.src/main.tsx; +2 file(s)
WORKFLOW_SCRIPTSWorkflow and skill discovery/generation.src/commands.ts; +6 file(s)

Evidence-Based Future Direction Hypotheses

FeatureFeature DescriptionInference Basis
Multi-agent coordination as default workflowShift from single-turn helper to orchestrator with delegated/background tasks.AGENT_TRIGGERS, COORDINATOR_MODE, BG_SESSIONS, TEAMMEM appear across many runtime modules.
MCP as integration backboneMCP likely becomes the primary extensibility and enterprise integration layer.Dedicated MCP runtime plus multiple MCP-focused gates and tools.
Remote-first execution growthMore workflows likely execute in remote/session-managed contexts.BRIDGE_MODE, DIRECT_CONNECT, CCR_* and remote session manager modules.
Context economics as product moatLong-session reliability treated as core infra.CONTEXT_COLLAPSE, TOKEN_BUDGET, REACTIVE_COMPACT, HISTORY_SNIP in query/runtime paths.
Stronger policy-governed automationSecurity posture likely tightens around permissions and safer autonomous tool execution.Permission context + sandbox adapter + command classifiers in core execution paths.
Wendy Zhang
Wendy Zhang
Founder of sipsip.ai

With a background spanning advertising and internet, I've launched 8+ apps and built 10+ products across mobile, web, and AI. Now I'm building a system that extracts signal from noise — turning fragmented information into clear, actionable decisions.

Related Reading

Enjoyed this? Try Sipsip for free.

Start Free Trial