# Causality

Record: `arch:causality`
Kind: principle
Layer: [Causality Core](https://banes-lab.com/records/layer/causality-core.md)
Severity: contextual
Scope: event, workflow, distributed state
Canonical: https://banes-lab.com/ontology#arch-causality

## Repair

- Refactored by: Add Causation ID, Add Ordering Rules
- Detected by: missing causation/correlation metadata
- Violated by: processing effects without known cause/order
- Measured by: causal trace completeness
- Enforced by: event schema and workflow tests

## requires

- [Causation Tracking](https://banes-lab.com/records/lex/causation-tracking.md)

## reinforces

- [Traceability](https://banes-lab.com/records/arch/traceability.md)
- [Event Ordering](https://banes-lab.com/records/arch/event-ordering.md)

## enables

- [Correct Workflow Reasoning](https://banes-lab.com/records/lex/correct-workflow-reasoning.md)

## conflicts-with

- [Unordered Side Effects](https://banes-lab.com/records/lex/unordered-side-effects.md)

## tensions-with

- [Parallelism](https://banes-lab.com/records/arch/parallelism.md)

## tensions

- [Causality Parallelism](https://banes-lab.com/records/tension/causality-parallelism.md)

## referenced-by

- [Event Ordering](https://banes-lab.com/records/arch/event-ordering.md)
- [Causal Dependency](https://banes-lab.com/records/arch/causal-dependency.md)
- [Causation ID](https://banes-lab.com/records/arch/causation-id.md)
- [Distributed Tracing](https://banes-lab.com/records/arch/distributed-tracing.md)
