# Manifest-Driven Documentation

> For a module whose public surface is machine-derivable, make its metadata manifest the single documentation source of truth: authored narrative lives in mandated, shape-validated manifest fields (with self-expanding custom fields), the API surface is collected deterministically from the built type-declarations, one marker-layered document is compiled per module from both, and a governance router runs the context-detection rules on the manifest strings where a manifest governs (rendering each field to its markdown fragment first) and on the document itself where none exists. Beyond the module document, a manifest may declare typed documents — each a form plus concern that routes through the pure location function to a computed path — generated and drift-checked the same way, so the manifest is the single content generator with no separate template mechanism.

Record: `algorithms:manifest-driven-documentation`
Kind: algorithm
Canonical: https://banes-lab.com/ontology/algorithms#algorithms-manifest-driven-documentation
Closure: https://banes-lab.com/json/records/algorithms/manifest-driven-documentation/closure

Listed in [Algorithm contracts](https://banes-lab.com/api/records/algorithms.md), after [Architectural Contract Algebra](https://banes-lab.com/records/algorithms/architectural-contract-algebra.md) and before [Consumer Config SSOT](https://banes-lab.com/records/algorithms/consumer-config-ssot.md).

## Domain

- [Architecture](https://banes-lab.com/records/algorithms-domain/architecture.md)

## Tier

- [leaf](https://banes-lab.com/records/vocabulary/domain-tier-leaf.md)

## Composes

- [Document Truth Alignment](https://banes-lab.com/records/algorithms/document-truth-alignment.md)
- [Self-Description Manifest](https://banes-lab.com/records/algorithms/self-description-manifest.md)
- [Extension Point](https://banes-lab.com/records/algorithms/extension-point.md)

## Math type

- [Computation](https://banes-lab.com/records/reasoning/math-type-computation.md)

## Force

- [Contract compatibility](https://banes-lab.com/records/force/contract-compatibility.md)
- [Correctness verification](https://banes-lab.com/records/force/correctness-verification.md)
- [Modularity](https://banes-lab.com/records/force/modularity.md)

## Linked from

- [Architecture](https://banes-lab.com/ontology/algorithms/algorithms-domain-architecture.md)
- [The mathematics](https://banes-lab.com/ontology/reasoning/the-mathematics.md)
- [Domain tiers](https://banes-lab.com/ontology/schema/the-vocabulary-domain-tier.md)
- [The forces](https://banes-lab.com/ontology/schema/the-forces.md)
