Socotra
CLI · command

socotra migrate

Upgrade an existing socotra.yaml to the latest schema version.


Synopsis

socotra migrate

Exit codes

CodeMeaning
0Migration successful
1Error during migration

Behavior

  • Creates a .bak backup of the original file before modification.
  • Uses SchemaMigrator to upgrade from version 1.0 to 1.1.
  • Reports what changed during migration.
Schema 1.0 → 1.1
  • socotra.architecture for constraint enforcement
  • socotra.shared for cross-module shared projects
  • socotra.host for explicit entry-point projects
  • allowedDependencies for fine-grained layer access

Examples

socotra migrate
Schema 1.1 · CLI 1.0