# Model Version Ambiguity

> A defect in which models, prompts or indexes are used without recording their version and configuration.

Record: `architecture:model-version-ambiguity`
Kind: anti-pattern
Layer: [Enforcement Core](https://banes-lab.com/records/layer/enforcement-core.md)
Severity: discouraged
Scope: model_governance
Canonical: https://banes-lab.com/ontology#architecture-model-version-ambiguity

Listed in [Architecture principles](https://banes-lab.com/api/records/architecture.md), after [Ungrounded Content](https://banes-lab.com/records/architecture/ungrounded-content.md) and before [Domain-Driven Design (DDD)](https://banes-lab.com/records/architecture/domain-driven-design.md).

## Repair

- Refactored by: [model_registry](https://banes-lab.com/records/lexicon/model-registry.md), version_prompt_dataset_index, record_inference_context, governance_log
- Detected by: model_name_missing_version, embedding_index_unversioned, eval_results_without_config, prompt_not_versioned
- Violated by: Use models, embeddings, prompts, or evaluation artifacts without recording version, configuration, dataset, or inference context.
- Measured by: inferences logged without a model version
- Enforced by: a model registry, inference logging that requires a version

## Severity

- [discouraged](https://banes-lab.com/records/vocabulary/severity-discouraged.md)

## Category

- [Anti-patterns](https://banes-lab.com/records/architecture-category/anti-patterns.md)

## Force

- [Model governance](https://banes-lab.com/records/force/model-governance.md)

## Negated by

- [Model Governance](https://banes-lab.com/records/architecture/model-governance.md)

## Linked from

- [Systems built around a model](https://banes-lab.com/software-architecture/scale/systems-built-around-a-model.md)
- [Anti-patterns](https://banes-lab.com/ontology/principles/architecture-category-anti-patterns.md)
- [Model Architecture](https://banes-lab.com/ontology/principles/architecture-category-model-architecture.md)
- [Model Architecture](https://banes-lab.com/ontology/lexicon/lexicon-category-model-architecture.md)
- [Severity levels](https://banes-lab.com/ontology/schema/the-vocabulary-severity.md)
- [The forces](https://banes-lab.com/ontology/schema/the-forces.md)
