# Recursion Control

> Increment depth on recursive entry, compare against maximum depth, reject excessive recursion, and unwind depth on completion.

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

Listed in [Algorithm contracts](https://banes-lab.com/api/records/algorithms.md), after [Safe Arithmetic Contract](https://banes-lab.com/records/algorithms/safe-arithmetic-contract.md) and before [Recursive Self-Verification](https://banes-lab.com/records/algorithms/recursive-self-verification.md).

## Domain

- [Context verification](https://banes-lab.com/records/algorithms-domain/context-verification.md)

## Stage

- [act](https://banes-lab.com/records/stage/act.md)

## Axis

- [formalization](https://banes-lab.com/records/reasoning/axis-formalization.md)

## Tier

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

## Composed by

- [Boundary Reconciliation](https://banes-lab.com/records/algorithms/boundary-reconciliation.md)
- [Plan Phase Verification](https://banes-lab.com/records/algorithms/plan-phase-verification.md)
- [Quality Governance Loop](https://banes-lab.com/records/algorithms/quality-governance-loop.md)

## Math type

- [Dynamical Systems](https://banes-lab.com/records/reasoning/math-type-dynamical-systems.md)

## Force

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

## Linked from

- [Governed plan loop](https://banes-lab.com/ontology/algorithms/algorithms-domain-governed-plan-loop.md)
- [Quality engine](https://banes-lab.com/ontology/algorithms/algorithms-domain-quality-engine.md)
- [The derivation loop](https://banes-lab.com/ontology/reasoning/reasoning-loop-derivation-loop.md)
- [The axes](https://banes-lab.com/ontology/reasoning/the-axes.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)
