# Custom-Rule Derivation

> Derive a candidate rule from repeated evidence through anti-pattern classification, boundary-principle evaluation, and candidate selection, migrate with rollback, verify elimination, and admit a tightening rule while routing a self-certifying or loosening rule through the developer's gate.

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

Listed in [Algorithm contracts](https://banes-lab.com/api/records/algorithms.md), after [Comment Normalization Remediation](https://banes-lab.com/records/algorithms/comment-normalization-remediation.md) and before [Machine Verdict Derivation](https://banes-lab.com/records/algorithms/machine-verdict-derivation.md).

## Domain

- [Quality engine](https://banes-lab.com/records/algorithms-domain/quality-engine.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)

## Composes

- [Pattern Distiller Kernel](https://banes-lab.com/records/algorithms/pattern-distiller-kernel.md)
- [Anti-Pattern Classification](https://banes-lab.com/records/algorithms/anti-pattern-classification.md)
- [Backup-Verified Migration](https://banes-lab.com/records/algorithms/backup-verified-migration.md)

## Math type

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

## Force

- [Correctness verification](https://banes-lab.com/records/force/correctness-verification.md)
- [Model governance](https://banes-lab.com/records/force/model-governance.md)
- [Modularity](https://banes-lab.com/records/force/modularity.md)
- [State transaction](https://banes-lab.com/records/force/state-transaction.md)

## Linked from

- [Pattern distillation](https://banes-lab.com/ontology/algorithms/algorithms-domain-pattern-distillation.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)
