# Manifest-Based Design

> A design pattern that loads modules or plugins from a validated manifest listing each entry, version and dependency.

Record: `architecture:manifest-based-design`
Kind: pattern
Layer: [Declarative Core](https://banes-lab.com/records/layer/declarative-core.md)
Severity: contextual
Scope: plugin, module, deployment
Canonical: https://banes-lab.com/ontology#architecture-manifest-based-design

Listed in [Architecture principles](https://banes-lab.com/api/records/architecture.md), after [Capability Declaration](https://banes-lab.com/records/architecture/capability-declaration.md) and before [Homoiconicity](https://banes-lab.com/records/architecture/homoiconicity.md).

## Repair

- Refactored by: Add Manifest, Validate Manifest, Generate Manifest
- Detected by: manifest mismatch, load failure
- Violated by: undeclared dependencies/capabilities
- Measured by: manifest validation pass rate
- Enforced by: CI validation

## Requires

- [Manifest Schema](https://banes-lab.com/records/lexicon/manifest-schema.md)

## Reinforces

- [Self-Describing Architecture](https://banes-lab.com/records/architecture/self-describing-architecture.md)
- [Runtime Discovery](https://banes-lab.com/records/architecture/runtime-discovery.md)

## Enables

- [Plugin Loading](https://banes-lab.com/records/lexicon/plugin-loading.md)
- [Capability Declaration](https://banes-lab.com/records/architecture/capability-declaration.md)

## Conflicts with

- [Hardcoded Registration](https://banes-lab.com/records/lexicon/hardcoded-registration.md)

## In tension with

- [Manifest Drift](https://banes-lab.com/records/lexicon/manifest-drift.md)

## Tensions

- [Manifest-Based Design / Manifest Drift](https://banes-lab.com/records/tension/manifest-based-design-manifest-drift.md)

## Severity

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

## Category

- [Metadata / Self-Description / Declarative Systems](https://banes-lab.com/records/architecture-category/metadata-self-description-declarative-systems.md)

## Linked from

- [Documentation is code](https://banes-lab.com/disciplined-methodology/verify/documentation-is-code.md)
- [Definitions own what, code owns how](https://banes-lab.com/software-architecture/model/definitions-own-what.md)
- [Runtime Discovery / Dynamic Binding](https://banes-lab.com/ontology/principles/architecture-category-runtime-discovery-dynamic-binding.md)
- [Metadata / Self-Description / Declarative Systems](https://banes-lab.com/ontology/principles/architecture-category-metadata-self-description-declarative-systems.md)
- [Metadata / Self-Description / Declarative Systems](https://banes-lab.com/ontology/lexicon/lexicon-category-metadata-self-description-declarative-systems.md)
- [Severity levels](https://banes-lab.com/ontology/schema/the-vocabulary-severity.md)
- [The resolutions](https://banes-lab.com/ontology/schema/the-resolutions.md)
