Skip to content

Pack is not declared in the harness manifest

Type URI: https://modeled-information-format.github.io/mif-rs/references/errors/pack-not-declared/v1 HTTP status: 404 Exit code: 2 Emitted by: mif-rh (MifRhError::PackNotDeclared)

pack '{name}' is not declared in {path} packs[] — declare it first

This fires when a pack-toggle target is not declared in harness.config.json’s packs[] array. It is a config-declaration check, not a filesystem check — distinct from PackNotFound, which fires for a bump-version --pack target that has no packs/<family>/<name>/ directory on disk.

MaybeIncorrect — declare the pack in the manifest’s packs[] array, then retry.