Skip to main content

Settings Reference

This is the full public settings reference. The first-time workflow uses only a small set of settings, but the rest of the supported public surface is still available here.

Where Settings Live

InterfaceLocationUse Case
Studio + CLIpantoum.settings.yml and CLI flagsNormal upgrades
Advanced extensibilitypantoum.patches.ymlCustom patches and migration contexts

Main vs Advanced

Studio splits settings into:

  • Main for the small set of upgrade decisions most teams need
  • Advanced for the remaining supported controls

Main Settings

SettingPurpose
target_versionTarget SPFx version
ai_fix_m365_errorsClaude fixes M365 CLI upgrade issues
ai_fix_build_errorsClaude fixes build/test failures
ai_max_retriesRetry budget for AI-assisted fixing
update_production_depsThird-party dependency update strategy
per_solution_reportsSave reports inside each solution directory

AI Runtime Contract

Pantoum already uses provider-neutral names in the public settings contract:

SettingDefaultNotes
agent_providerclaudeFixed to Claude in this public release
agent_modelsonnetSupported values: sonnet, opus
thinking_effortmediumAdvanced tuning for Claude reasoning effort

Older claude_model values are still read and normalized to agent_model for backward compatibility.

Advanced Settings

AI Runtime

SettingDefaultNotes
agent_modelsonnetsonnet or opus
thinking_effortmediumAdvanced tuning for Claude behavior

Engine And Recovery

SettingDefaultNotes
excluded_patches[]Skip specific patches
env_injection_strategywebpack-patchHeft-related env handling
continue_on_solution_failfalseContinue after a failed solution
max_parallel_upgrades4Studio parallelism limit
analyze_complexityfalseStudio keeps this off by default
include_dev_deps_complexityfalseComplexity analysis detail
ai_fix_third_party_errorstrueClaude follow-up for dependency breakage
ai_fix_eslint_properlytruePrefer real code fixes over disable comments
ai_fix_typescript_warningstrueFix TypeScript warnings after the upgrade

Version Updates

SettingDefaultNotes
update_version_numberstrueMaster switch
update_package_jsontruePackage version bump
update_readme_filestrueREADME updates
update_version_badgestrueBadge updates
maintain_version_historytrueREADME history entries
version_commentUpgraded to {SPFxVersion}History text template

Dependencies, Output, And Templates

SettingDefaultNotes
update_dev_depsnoneDev dependency updates
clean_install_after_updatestrueClean reinstall after updates
write_pantoum_historytrueKeep run history
update_nvmrc_filetruePnP template support
update_devcontainer_configtruePnP template support
disable_animationsfalseStudio UI preference

Common CLI Mappings

SettingCLI Flag
target_version--toVersion
agent_provider--agentProvider
agent_model--agentModel
ai_fix_m365_errors--aiFixM365Errors
ai_fix_build_errors--aiFixBuildErrors
ai_max_retries--aiMaxRetries
update_production_deps--updateThirdPartyDeps
per_solution_reports--perSolutionReports

Settings Merge Order

Highest priority wins:

  1. CLI flags
  2. pantoum.settings.yml
  3. built-in defaults