# Metaprogramming Safety

> Treat code as data only through schemas, manifests, DSL grammars, reflection contracts, compile-time checks, runtime guards, and generated artifact validation.

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

Listed in [Algorithm contracts](https://banes-lab.com/api/records/algorithms.md), after [Control Plane Coordination](https://banes-lab.com/records/algorithms/control-plane-coordination.md) and before [Model Lifecycle Governance](https://banes-lab.com/records/algorithms/model-lifecycle-governance.md).

## Domain

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

## Tier

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

## Math type

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

## Force

- [Contract compatibility](https://banes-lab.com/records/force/contract-compatibility.md)
- [Correctness verification](https://banes-lab.com/records/force/correctness-verification.md)
- [Metaprogramming modeling](https://banes-lab.com/records/force/metaprogramming-modeling.md)
- [Model governance](https://banes-lab.com/records/force/model-governance.md)

## Linked from

- [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)
