Upgrade from CoreMind 2.2 to 2.4
- Stop affected CLI processes, SDK hosts and MCP services. Back up configuration, sessions, durable tasks, checkpoints and service data. Copy entire checkpoint directories, including the original
.jsonand.json.appliedfiles. Keep original request IDs and receipts for external actions. - Pin the CLI and TypeScript SDK to
2.4.0. Check the CLI withnpx coremind-cli@2.4.0 --versionand update the application dependency withnpm install --save-exact coremind-ai@2.4.0. Install the Python wheel and its matching Worker usingpython -m pip install coremind-ai==2.4.0. Upgrade the standalone services you use to0.1.2individually. Their package names arecoremind-knowledge-mcp,coremind-memory-mcpandcoremind-ontology-mcp. - Review Python chat calls that omit
agent. Both clients use the project'sdefaultAgent, or the first entry inagentswhen no default is set. Passagent="main"to selectmainexplicitly. Compatible Workers that do not advertise a project default still usemain. Verify that cancelling async startup reaps the child process. - Use
coremind checkto validate workflow references, including Agent names in nested steps. Exercise multilingual output names across steps and verify that durable task hosts handletask_checkpoint_invalid. Setprovider.requiresToolsWithToolHistory: trueif a custom endpoint requires an empty tools array after messages with tool history. - In an isolated environment, verify session recovery, command output archiving and tool approvals. Check knowledge citation scope and index reopening, result order across memory banks and single-record ontology validation. Set
DEEPSEEK_API_KEYin the environment for the public evaluation runner. To reproduce an earlier DashScope evaluation, explicitly setCOREMIND_GENERALIZATION_PROVIDER=alibaba-model-studiowith that provider's credential. Review frozen original scores, supplemental grading and new case results independently.
To roll back, stop writes, retain upgrade logs and receipts, then reinstall the pinned 2.2 packages and restore the corresponding backups. Reconcile uncertain external operations against their original action IDs before resuming.