feat(core,tui,app-server) personality migration (#10307)

## Summary
Keep existing users on Pragmatic, to preserve behavior while new users
default to Friendly

## Testing
- [x] Tested locally
- [x] add integration tests
This commit is contained in:
Dylan Hurd
2026-01-31 17:25:14 -07:00
committed by GitHub
parent 8a461765f3
commit 0f9858394b
6 changed files with 445 additions and 0 deletions
+7
View File
@@ -209,6 +209,13 @@ pub async fn run_main(
}
};
if let Err(err) =
codex_core::personality_migration::maybe_migrate_personality(&codex_home, &config_toml)
.await
{
tracing::warn!(error = %err, "failed to run personality migration");
}
let cloud_auth_manager = AuthManager::shared(
codex_home.to_path_buf(),
false,