momentic upgrade is the one-shot command for keeping a Momentic project
current. It does the following:
- installs the latest matching CLI release,
- flips the project to the simplified format,
- refreshes the recommended
aisettings while preserving any pinned agent sub-versions, and - rewrites every legacy
*.test.yaml/*.module.yamlthrough the simplified format serializer.
momentic migrate simplified-format
instead.
momentic@latest on first run. The CLI version bump writes your
new version to package.json, but the rest of the upgrade still runs in the
currently-installed process, so an old pinned CLI would migrate files with its
old serializer until the next invocation.
Options
string
Path to the Momentic configuration file. Defaults to
momentic.config.yaml in
the current directory.boolean
Preview the upgrade without writing any files or pushing snapshots. Prints the
same diff-style summary you would see during a real run so you can review
changes before applying them.