This page summarizes the generated settings schema (schemas/settings.schema.json, title M31A Settings). The authoritative schema is generated from packages/cli/src/config/settingsSchema.ts with npm run schema:settings.
How to read this reference
Settings are grouped into 26 top-level keys. A value shown as default is the schema default when omitted. Keys marked "restart" in the schema only take effect after restarting M31A. For how scopes merge, see Configuration.
General
| Key | Default | Purpose |
|---|---|---|
preferredEditor | unset | Editor identifier (vscode, cursor, zed, vim, and others). |
openEditorInNewWindow | false | Open VS Code-family editors in a new window. |
vimMode | false | Vim input mode. |
defaultApprovalMode | default | default, auto_edit, or plan. |
devtools | false | Launch the DevTools inspector. |
enableAutoUpdate | true | Automatic updates. |
enableAutoUpdateNotification | true | Update notification prompts. |
enableNotifications | false | Terminal notifications for prompts and completion. |
notificationMethod | auto | Notification delivery method. |
checkpointing.enabled | false | Session checkpointing. |
plan.enabled | true | Plan Mode. |
plan.directory | unset | Directory for plan artifacts. |
plan.modelRouting | true | Route between model tiers in Plan Mode. |
retryFetchErrors | true | Retry transient fetch failures. |
maxAttempts | 10 | Maximum main-model attempts (capped at 10). |
debugKeystrokeLogging | false | Log keystrokes for debugging. |
sessionRetention.enabled | true | Automatic session cleanup. |
sessionRetention.maxAge | 30d | Age-based retention. |
sessionRetention.maxCount | unset | Count-based retention. |
sessionRetention.minRetention | 1d | Minimum retention floor. |
topicUpdateNarration | true | Topic and update progress narration. |
logRagSnippets | false | Log retrieved context snippets. |
Output
| Key | Default | Purpose |
|---|---|---|
format | text | text or json. |
UI
Selected keys (the full object contains 35 entries):
| Key | Default | Purpose |
|---|---|---|
theme | unset | Built-in or custom theme name. |
autoThemeSwitching | true | Follow terminal background color. |
terminalBackgroundPollingInterval | 60 | Poll interval in seconds. |
customThemes | {} | Custom theme definitions. |
hideWindowTitle | false | Hide window title. |
inlineThinkingMode | off | Inline thinking display. |
dynamicWindowTitle | true | Status icons in window title. |
showHomeDirectoryWarning | true | Warn when running in the home directory. |
showCompatibilityWarnings | true | Terminal compatibility warnings. |
hideTips | false | Hide tips. |
escapePastedAtSymbols | false | Escape pasted @ symbols. |
showShortcutsHint | true | Show shortcut hint. |
compactToolOutput | true | Structured compact tool output. |
hideBanner | false | Hide banner. |
hideContextSummary | false | Hide context summary above input. |
sidebar.items | unset | Ordered sidebar item IDs. |
sidebar.showLabels | true | Show sidebar labels. |
sidebar.hideCWD | false | Hide working directory. |
sidebar.hideSandboxStatus | false | Hide sandbox indicator. |
sidebar.hideModelInfo | false | Hide model info. |
sidebar.hideContextPercentage | true | Hide context percentage. |
hideSidebar | false | Hide sidebar. |
collapseDrawerDuringApproval | true | Collapse drawer during approval. |
showMemoryUsage | false | Show memory usage. |
showLineNumbers | true | Line numbers in chat. |
showCitations | false | Show citations. |
showModelInfoInChat | false | Show model name per turn. |
showUserIdentity | true | Show signed-in identity. |
useAlternateBuffer | true | Alternate screen buffer. |
renderProcess | true | Ink render process. |
terminalBuffer | false | New terminal buffer architecture. |
useBackgroundColor | true | Background colors. |
incrementalRendering | true | Reduce flicker. |
showSpinner | true | Working spinner. |
loadingPhrases | off | tips, witty, all, or off. |
errorVerbosity | low | low or full. |
customWittyPhrases | [] | Custom loading phrases. |
accessibility.screenReader | false | Plain-text rendering. |
debugRainbow | false | Render debugging. |
IDE and privacy
| Key | Default | Purpose |
|---|---|---|
ide.enabled | false | IDE integration mode. |
ide.hasSeenNudge | false | Nudge tracking. |
privacy.usageStatisticsEnabled | true | Usage statistics. |
telemetry | unset | Telemetry configuration. |
Model
| Key | Default | Purpose |
|---|---|---|
name | unset | NVIDIA NIM model slug. |
thinkingEffort | default | Reasoning budget. |
contextWindow | unset | Token limit override. |
requestTimeoutMs | unset | Request start timeout. |
maxSessionTurns | -1 | Turn limit; -1 is unlimited. |
summarizeToolOutput | unset | Per-tool summarization budgets. |
compressionThreshold | 0.5 | Compression trigger fraction. |
disableLoopDetection | false | Disable loop detection. |
skipNextSpeakerCheck | true | Skip next-speaker check. |
modelConfigs contains aliases, customAliases, overrides, customOverrides, modelDefinitions, modelIdResolutions, classifierIdResolutions, and modelChains. These define model metadata, aliases, and availability fallback chains.
Context
| Key | Default | Purpose |
|---|---|---|
fileName | unset | Context file name or array of names. |
importFormat | unset | Memory import format. |
includeDirectoryTree | true | Include directory tree in initial request. |
discoveryMaxDirs | 200 | Discovery search limit. |
memoryBoundaryMarkers | .git | Discovery boundaries. |
includeDirectories | [] | Extra workspace directories. |
loadMemoryFromIncludeDirectories | false | Scan extras on reload. |
fileFiltering.respectGitIgnore | true | Honor .gitignore. |
fileFiltering.respectM31aIgnore | true | Honor .m31aignore. |
fileFiltering.enableRecursiveFileSearch | true | Recursive @ search. |
fileFiltering.enableFuzzySearch | true | Fuzzy file search. |
fileFiltering.customIgnoreFilePaths | [] | Additional ignore files. |
Tools
| Key | Default | Purpose |
|---|---|---|
sandbox | unset | Legacy process sandbox. |
sandboxAllowedPaths | [] | Extra sandbox paths. |
sandboxNetworkAccess | false | Sandbox network access. |
shell.enableInteractiveShell | true | node-pty shell. |
shell.backgroundCompletionBehavior | silent | Background shell completion notice. |
shell.pager | cat | Shell output pager. |
shell.showColor | true | Color in shell output. |
shell.inactivityTimeout | 300 | Seconds without output before timeout. |
shell.enableShellOutputEfficiency | true | Shell output optimizations. |
core | unset | Built-in tool allowlist. |
allowed | unset | Tools that skip confirmation. |
confirmationRequired | unset | Tools that always prompt. |
exclude | unset | Tools hidden from discovery. |
discoveryCommand | unset | Custom tool discovery command. |
callCommand | unset | Custom tool invocation command. |
useRipgrep | true | Use ripgrep for search. |
truncateToolOutputThreshold | 40000 | Output truncation threshold. |
disableLLMCorrection | true | Disable LLM edit correction. |
MCP
| Key | Default | Purpose |
|---|---|---|
serverCommand | unset | Default server launch command. |
allowed | unset | Allowed server names. |
excluded | unset | Excluded server names. |
mcpServers holds named server definitions (command, args, URL, timeout).
Security
| Key | Default | Purpose |
|---|---|---|
toolSandboxing | false | Per-tool sandboxing. |
disableYoloMode | false | Block YOLO mode. |
disableAlwaysAllow | false | Hide "always allow" choices. |
enablePermanentToolApproval | false | Allow permanent approvals. |
autoAddToPolicyByDefault | false | Default to adding a policy rule. |
blockGitExtensions | false | Block Git-based extensions. |
allowedExtensions | [] | Extension source regex allowlist. |
folderTrust.enabled | true | Workspace trust. |
environmentVariableRedaction.enabled | false | Redact secret-like env vars. |
environmentVariableRedaction.allowed | [] | Never redact these. |
environmentVariableRedaction.blocked | [] | Always redact these. |
auth | unset | Authentication type settings. |
enableConseca | false | Experimental security checker. |
Advanced
| Key | Default | Purpose |
|---|---|---|
autoConfigureMemory | true | Configure Node memory limits. |
dnsResolutionOrder | unset | DNS order. |
excludedEnvVars | DEBUG, DEBUG_MODE | Variables excluded from context. |
ignoreLocalEnv | false | Ignore project .env files. |
bugCommand | unset | Bug report command settings. |
Experimental
Selected keys:
| Key | Default | Purpose |
|---|---|---|
worktrees | false | Git worktree support. |
enableAgents | true | Subagents. |
voiceMode | false | Voice dictation. |
extensionManagement | true | Extension management. |
extensionConfig | true | Extension settings requests. |
extensionRegistry | false | Registry explore UI. |
extensionRegistryURI | https://geminicli.com/extensions.json | Registry URI. |
extensionReloading | false | Hot reload extensions. |
useOSC52Paste / useOSC52Copy | false | OSC 52 clipboard. |
taskTracker | false | Task tracker tools. |
modelSteering | false | Model steering hints. |
directWebFetch | false | Bypass LLM web summarization. |
dynamicModelConfiguration | false | Dynamic model definitions. |
stressTestProfile | false | Force early compaction. |
autoMemory | false | Auto-extract memory and skills. |
generalistProfile / powerUserProfile | false | Context profiles. |
contextManagement | false | Context management logic. |
Extensions, skills, hooks, and admin
| Key | Default | Purpose |
|---|---|---|
extensions.disabled | [] | Disabled extensions. |
skills.enabled | true | Agent Skills. |
skills.disabled | [] | Disabled skills. |
hooksConfig.enabled | true | Hooks system. |
hooksConfig.disabled | [] | Disabled hook names. |
hooksConfig.notifications | unset | Hook execution indicators. |
hooks.BeforeTool and other events | [] | Per-event hook definitions. |
admin.secureModeEnabled | false | Block YOLO and always-allow. |
admin.extensions / admin.mcp / admin.skills | unset | Admin restrictions. |
Context management
| Key | Default | Purpose |
|---|---|---|
historyWindow.maxTokens | 150000 | Compression threshold. |
historyWindow.retainedTokens | 40000 | Tokens always retained. |
messageLimits.normalMaxTokens | 2500 | Per-turn token budget. |
messageLimits.retainedMaxTokens | 12000 | Per-message cap. |
messageLimits.normalizationHeadRatio | 0.25 | Head ratio on truncation. |
tools.distillation / tools.outputMasking | {} | Tool context controls. |
Other top-level keys
mcpServers— named MCP server definitions.policyPaths/adminPolicyPaths— additional policy sources.agents—overridesandbrowsersettings for subagents.useWriteTodos— enable thewrite_todostool.$schema— editor schema URL.
Next steps
See Configuration for file locations and merge behavior.