# Stage Ordering

> Build the runnability DAG from dependsOn, topologically order the cascade by the invalidates relation so fixes point forward, partition into normalization prefix, structural band, and semantic suffix, and permit back-edges only inside the suffix.

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

Listed in [Algorithm contracts](https://banes-lab.com/api/records/algorithms.md), after [Canonical Config Resolution](https://banes-lab.com/records/algorithms/canonical-config-resolution.md) and before [Comment Normalization Remediation](https://banes-lab.com/records/algorithms/comment-normalization-remediation.md).

## Domain

- [Quality engine](https://banes-lab.com/records/algorithms-domain/quality-engine.md)

## Stage

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

## Axis

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

## Tier

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

## Composed by

- [Quality-Engine Kernel](https://banes-lab.com/records/algorithms/quality-engine-concern.md)

## Named in the derivation of

- [Quality Governance Loop](https://banes-lab.com/records/algorithms/quality-governance-loop.md)

## Math type

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

## Force

- [Causality ordering](https://banes-lab.com/records/force/causality-ordering.md)
- [Semantic consistency](https://banes-lab.com/records/force/semantic-consistency.md)

## Linked from

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