# Layer Fitness Enforcement

> Bind each layer invariant to a machine check — layer order declared once, placement properties barred from globals, class selectors barred from globals, literals barred where a token exists, no horizontal margin, all DOM through the factory, no inline style — run them as hard errors with no warn tier and no inline disables, and gate the push on a clean verdict.

Record: `algorithms:layer-fitness-enforcement`
Kind: algorithm
Canonical: https://banes-lab.com/ontology/algorithms#algorithms-layer-fitness-enforcement
Closure: https://banes-lab.com/json/records/algorithms/layer-fitness-enforcement/closure

Listed in [Algorithm contracts](https://banes-lab.com/api/records/algorithms.md), after [Assembly Composition](https://banes-lab.com/records/algorithms/assembly-composition.md) and before [Type-Migration Centralization](https://banes-lab.com/records/algorithms/type-migration-centralization.md).

## Domain

- [CSS cascade](https://banes-lab.com/records/algorithms-domain/css-cascade.md)

## Tier

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

## Composes

- [Verification Fitness](https://banes-lab.com/records/algorithms/verification-fitness.md)

## Composed by

- [CSS Type-Cascade Kernel](https://banes-lab.com/records/algorithms/css-type-cascade-concern.md)

## Math type

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

## Force

- [Architecture evolution](https://banes-lab.com/records/force/architecture-evolution.md)
- [Contract compatibility](https://banes-lab.com/records/force/contract-compatibility.md)
- [Object creation](https://banes-lab.com/records/force/object-creation.md)

## Linked from

- [Architecture](https://banes-lab.com/ontology/algorithms/algorithms-domain-architecture.md)
- [CSS cascade](https://banes-lab.com/ontology/algorithms/algorithms-domain-css-cascade.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)
