Skip to main content
Static checks over the local project. Use these in pre-commit hooks or CI to catch duplicate IDs and config drift before runs. For schema, file-reference, and entity ID validation of simplified format YAML, see momentic lint.

duplicate-ids

Detect duplicate step and command IDs across tests and modules. For simplified format projects, this delegates to momentic lint.

Options

boolean
Rename duplicate IDs in place to make them unique.

duplicate-names

Detect duplicate test and module names so every entity is uniquely identifiable.

unused

Report modules that are not referenced by any test, directly or transitively through other modules. Useful for finding .module.yaml files left orphaned after tests are deleted or refactored. Exits non-zero when unused modules are found.

config

Validate momentic.config.yaml against the configuration schema.

Common flags

string
Path to the Momentic configuration file. Defaults to momentic.config.yaml in the current directory.

Examples

Detect and auto-fix duplicate IDs: