1. Purpose
The Layered Risk & Error Containment Architecture defines how risk, error, failure, misuse, drift, and cascade effects should be contained across multiple layers before they can propagate through a system.
It exists because many systems rely on a single containment layer:
one approval step
one policy
one classifier
one review queue
one alert threshold
one firewall
one rollback plan
one human checkpoint
one appeal channel
one safety guardrailBut complex systems fail through layered pathways.
A risk can enter through one layer, evade another, amplify through a third, and become irreversible before repair can catch it.
LRECA asks:
Can risk and error be contained layer by layer before they become cascade, harm, lock-in, or unrecoverable state change?The Constructs & Operating Systems Registry identifies Layered Risk & Error Containment Architecture as a security / restoration construct for preventing risk, error, and failure pathways from crossing system layers faster than detection, rollback, and repair can respond.
2. Core Question
Does this system have enough layered containment to detect, isolate, damp, rollback, and repair risk or error before it propagates into cascade?
Secondary questions:
- What risk or error class is being contained?
- What layers can it cross?
- Where can it be detected?
- Where can it be stopped?
- Where can it be rolled back?
- Where can it be repaired?
- What is the blast radius if containment fails?
- Are layers independent enough?
- Are privilege surfaces overbroad?
- Are boundaries valid?
- Can affected nodes access repair?
- Does one layer failing collapse the whole architecture?
- Does containment reduce risk or only make risk less visible?
- Is ∅ required because containment cannot be guaranteed under current structure?
3. Construct Class
| Field | Value |
|---|---|
| Construct Class | Layered Containment / Risk Architecture Construct |
| Secondary Class | Error Containment / Blast Radius / Rollback Architecture |
| Operating System | No |
| Primary Module | Security / AI Governance / Restoration |
| Related Modules | Cybernetics, Coherence, Scaling, Institutions, Failure Modes |
LRECA is an architecture construct because it defines how containment layers should be arranged.
It is not only a diagnostic. It also guides system design.
Its core concern is:
risk must encounter multiple independent coherence-preserving membranes before it can become systemic harm4. Core Containment Model
LRECA organizes containment into layered membranes.
1. Prevention Layer
2. Boundary Layer
3. Classification Layer
4. Execution Layer
5. Detection Layer
6. Rollback Layer
7. Restoration Layer
8. Feedback Layer
9. Recurrence Memory Layer
10. Time-Validation LayerA minimal containment pattern:
risk appears
→ boundary limits exposure
→ classifier detects class
→ execution scope limits blast radius
→ monitoring detects deviation
→ rollback reverses state
→ restoration repairs affected nodes
→ feedback updates system
→ recurrence memory reduces future risk
→ time validation confirms containment heldCompressed:
LRECA = BΣ + Ξ + Π + Γ + Au + Rollback + ℛ + FI + U7 + ΤIts core distinction:
containment is not blocking; containment is bounded propagation with recovery5. When to Use
Use Layered Risk & Error Containment Architecture when a system can generate errors, propagate risk, alter external state, affect users, or create cascading harm.
Use LRECA when:
- an AI system has tool access
- a workflow can delete, modify, deny, route, classify, or publish
- a security system can overblock or underblock
- a platform policy can affect many users
- an institutional process can misclassify cases
- a contract can bind users over time
- a model update can propagate unexpected behavior
- a database, infrastructure, or deployment action can create irreversible changes
- failure may spread across layers
- rollback is weak
- affected-node repair is missing
- hidden debt accumulates after errors
- high-risk actions depend on a single approval or classifier
- a system needs blast-radius reduction before scaling
Do not use LRECA as the primary construct when the central question is:
| If the question is... | Prefer... |
|---|---|
| Is AI repair-ready overall? | Repair-First AI Architecture |
| How should AI decide whether to act? | AI Decision Pipeline |
| What could go wrong? | Shadow Teaming |
| Which path may proceed? | Light Teaming |
| What security regime is active? | Security Regime Classifier |
| What failure mode is active? | Failure Mode Mapper |
| What restoration arc applies? | Restoration Arc Mapper |
| Which membrane failed first? | BDMT |
| What membrane pattern applies? | BMA |
LRECA defines the layered containment architecture those constructs may evaluate or use.
6. Derivation
LRECA is derived from a recurring UTS pattern:
risk appears
+ one containment layer catches some cases
+ layer fails under edge case, pressure, or drift
+ no downstream rollback or repair exists
= cascade escapeA second pattern:
system has prevention controls
+ prevention fails
+ detection is late
+ rollback is missing
+ affected nodes carry burden
= containment collapseA third pattern:
containment blocks visible error
+ hidden debt persists
+ recurrence continues
= containment theaterLRECA exists because resilient systems assume individual layers can fail.
Its core distinction is:
a single successful layer is not containment architecture7. UTS Basis
LRECA assembles the following UTS mechanics.
7.1 State Variables
| Variable | Role in LRECA |
|---|---|
| O | Measures whether containment preserves whole-system coherence. |
| H | Tracks hidden debt created by escaped, suppressed, or unrepaired risk. |
| ε | Tracks error, uncertainty, unknown cases, and detection ambiguity. |
| ι | Detects inversion where containment becomes control, suppression, or obscuration. |
| Au | Measures traceability of risk, error, layer crossing, detection, rollback, and repair. |
| µᵢ | Preserves meaning, state integrity, role integrity, and affected-node standing during containment. |
| BΣ | Tracks boundaries between layers, roles, privileges, data, tools, and affected nodes. |
| K | Tracks compatibility between containment architecture and risk class. |
| R | Measures restoration capacity after containment failure or partial escape. |
| Φ | Tracks force, privilege, autonomy, amplification, propagation speed, and blast radius. |
7.2 Primary U-Layer Pattern
LRECA most commonly localizes through:
U0 → U2 → U4 → U3 → U5 → U7Meaning:
substrate / infrastructure
→ boundaries and layers
→ risk classification
→ execution scope
→ detection, rollback, and timing
→ recurrence memoryLayered containment begins in infrastructure, is structured through boundaries, classifies risk, constrains execution, coordinates detection and rollback over time, and learns through recurrence memory.
8. Inputs
8.1 Core Observational Inputs
| Input | Description |
|---|---|
| System under containment | AI system, workflow, platform, institution, infrastructure, security process, contract, or governance system. |
| Risk class | The kind of risk being contained: safety, security, legal, reputational, technical, financial, epistemic, operational, or affected-node risk. |
| Error class | The kind of error: misclassification, deletion, overblocking, underblocking, drift, hallucination, routing failure, access error, data corruption, etc. |
| Containment layers | Layers designed to prevent, detect, limit, rollback, repair, or learn from risk. |
| Boundary layers | Access, privilege, role, data, consent, tool, environmental, or deployment boundaries. |
| Privilege layers | Levels of authority, permission, autonomy, tool access, or execution power. |
| Detection points | Places where error or risk can be identified. |
| Rollback points | Places where harmful state change can be reversed, paused, or isolated. |
| Restoration points | Places where affected-node repair, state repair, memory repair, or boundary repair can occur. |
| Affected nodes | Nodes potentially harmed or burdened if containment fails. |
| Blast radius | Maximum scope of damage if a layer fails. |
| Cascade pathways | Routes by which risk can propagate across layers. |
| Feedback pathways | How failure signals update containment architecture. |
| Prior incidents | Past containment failures or near-misses. |
| Recurrence pattern | Repeated failures, escapes, or control drift. |
8.2 Diagnostic Inputs
| Diagnostic | What It Measures | Why It Matters |
|---|---|---|
| Risk Propagation | How risk travels across layers | Core containment map. |
| Error Containment | Whether errors remain bounded | Core LRECA diagnostic. |
| Boundary Integrity | Whether boundaries between layers, roles, and privileges hold | Prevents escape. |
| Layer Separation | Whether failure in one layer does not collapse all layers | Required for resilience. |
| Effective Auditability | Whether risk path, layer crossing, and repair can be traced | Required for learning and accountability. |
| Detection Latency | Time from error occurrence to detection | Long latency increases blast radius. |
| Rollback Capacity | Ability to reverse harmful state | Required for high-impact systems. |
| Restoration Capacity | Ability to repair affected nodes and system state | Required after containment failure. |
| Cascade Risk | Likelihood risk spreads across layers | Determines containment urgency. |
| Damping | Whether containment settles disturbance without overcorrection | Prevents rigid or oscillatory containment. |
| Blast Radius | Maximum damage scope | Determines layer design. |
| Privilege Surface | Scope of permissions or authority exposed to error | Reducing it limits harm. |
| Feedback Integrity | Whether failures update containment architecture | Required for recurrence reduction. |
| Recurrence Risk | Likelihood containment failure repeats | Shows architecture weakness. |
| Hidden Debt | Unrepaired burden after containment appears successful | Detects containment theater. |
9. Outputs
LRECA produces layered containment assessments, architecture maps, and containment repair decisions.
9.1 Containment Architecture Assessment
Possible outputs:
Containment sufficient
Containment sufficient with monitoring
Containment partial
Containment single-layer
Containment porous
Containment overcoupled
Containment collapsed
Containment theater
Containment invalid under current risk9.2 Layer Separation Assessment
Possible outputs:
Layers independent
Layers partially independent
Layers overcoupled
Layer boundary unclear
Layer dependency hidden
Layer collapse likely
Layer separation failed9.3 Blast Radius Assessment
Possible outputs:
Blast radius minimal
Blast radius bounded
Blast radius elevated
Blast radius unknown
Blast radius excessive
Blast radius systemic
Blast radius unacceptable9.4 Decision Outputs
| Output | Meaning |
|---|---|
| Containment sufficient | Layering is adequate for the risk class. |
| Add containment layer | Existing architecture is underlayered. |
| Repair boundary layer | Boundary between layers, roles, data, or privilege is weak. |
| Reduce blast radius | Scope of possible damage must be lowered. |
| Reduce privilege surface | Permissions or autonomy must be narrowed. |
| Add rollback point | Harmful state needs reversal or pause path. |
| Increase auditability | Risk propagation cannot be traced. |
| Increase restoration capacity | Affected-node or system repair is insufficient. |
| Pause execution | Risk can propagate faster than containment can respond. |
| Return ∅ | No coherent containment architecture exists under current conditions. |
10. Operating Logic
10.1 Basic Flow
1. Identify system under containment.
2. Identify risk class and error class.
3. Map containment layers.
4. Map boundary and privilege layers.
5. Map detection points.
6. Map rollback points.
7. Map restoration points.
8. Identify affected nodes.
9. Estimate blast radius.
10. Map cascade pathways.
11. Check feedback pathways.
12. Check prior incidents and recurrence.
13. Classify containment architecture.
14. Add layers, repair boundaries, reduce blast radius, add rollback, increase restoration, pause execution, or return ∅.
15. Validate over time.10.2 Layered Containment Rule
IF a system can create high-impact error,
THEN containment must exist across multiple independent layers.
IF one layer failing allows systemic harm,
THEN containment is overcoupled.
IF rollback is absent,
THEN high-impact execution requires stricter containment or must pause.
IF affected-node repair is absent,
THEN containment is incomplete.
IF recurrence continues,
THEN containment architecture must change, not only the incident response.10.3 Blast Radius Rule
Containment should minimize blast radius before execution.
Blast radius increases with:
- autonomy
- tool access
- privilege
- scale
- coupling depth
- detection latency
- rollback weakness
- restoration weakness
- cascade paths
- hidden dependencies
When blast radius exceeds restoration capacity,
execution is inadmissible.11. Operators Used
| Operator | Role in LRECA |
|---|---|
| Ξ — Classification | Classifies risk, error, containment layer, and architecture status. |
| Δ — Differentiation | Separates layer from layer, prevention from restoration, blocking from containment. |
| Μ — Mapping | Maps risk propagation, boundaries, privilege, rollback, restoration, and cascade. |
| Π — Constraint / Scoping | Limits blast radius, privilege, autonomy, scope, and execution range. |
| Λ — Compatibility | Tests fit between containment architecture and risk class. |
| ⊗ — Coupling | Evaluates layer coupling, dependency, privilege linkage, and cascade paths. |
| Γ — Execution | Allows execution only when containment gates pass. |
| ℛ — Restoration | Repairs escaped risk, affected-node burden, boundary failure, and hidden debt. |
| Σ — Integration / Coherence Binding | Integrates containment layers into coherent risk architecture. |
| Τ — Time Validation | Confirms containment reduces recurrence over time. |
12. Gates Required
| Gate | Required Condition | Failure Result |
|---|---|---|
| Layer Separation Gate | Layers remain sufficiently independent. | Repair layer boundaries or reduce coupling. |
| Containment Integrity Gate | Risk cannot cross layers faster than detection and response. | Add containment or pause execution. |
| Blast Radius Gate | Maximum damage scope is compatible with repair capacity. | Reduce scope, privilege, or autonomy. |
| Rollback Gate | Harmful state can be reversed or paused where needed. | Add rollback or block execution. |
| BΣ validity | Boundaries between roles, layers, data, tools, and affected nodes hold. | Boundary reconstitution required. |
| Au-Traceability | Risk propagation, detection, rollback, and restoration are traceable. | Auditability restoration required. |
| FI-Gate | Failure signals can update containment architecture. | Feedback restoration required. |
| HR-Gate | High-risk pathways have proportional containment and review. | Constrain, stage, or reject execution. |
| R sufficiency | Restoration capacity exists for potential escaped risk. | Increase restoration capacity. |
| Cascade Containment Gate | Secondary failures can be contained. | Contain cascade before continuing. |
| Τ validation | Containment holds across recurrence. | Keep containment status provisional. |
13. Failure Modes Detected
| Failure Mode | Detection Signal |
|---|---|
| Containment Collapse | Risk crosses layers without interruption. |
| Layer Collapse | Multiple layers fail as one coupled unit. |
| Boundary Bypass | Risk or error avoids intended boundary. |
| Privilege Escalation | Error gains higher authority or access. |
| Blast Radius Expansion | Potential damage scope increases beyond design. |
| Rollback Failure | Harmful state cannot be reversed. |
| Detection Latency Failure | Error is detected too late to contain. |
| Auditability Collapse | Risk path cannot be traced. |
| Cascade Escape | Failure spreads across layers or systems. |
| High-Risk Gate Bypass | High-impact path proceeds without containment. |
| Single-Layer Defense Failure | One layer is relied upon as total defense. |
| Restoration Lockout | Affected nodes or state cannot be repaired. |
| Overcoupled Containment | Containment layers depend on the same failing assumption. |
| Containment Theater | Controls appear layered but do not reduce propagation or repair burden. |
| Recurrence Without Architecture Change | Same containment failure repeats after incident response. |
14. Restoration Links
| Restoration Arc | When Activated |
|---|---|
| Containment Restoration | Containment layer fails or becomes porous. |
| Boundary Reconstitution | Layer, access, role, data, or privilege boundaries fail. |
| Layer Separation Repair | Layers are too coupled to contain risk independently. |
| Rollback Restoration | Reversal or pause path is missing. |
| Auditability Restoration | Risk path, layer crossing, or repair cannot be traced. |
| Runtime Restoration Provisioning | Repair must exist during operation. |
| Cascade Containment | Failure spreads across layers or systems. |
| Privilege Surface Reduction | Access or authority is too broad. |
| Damping Restoration | Containment overcorrects, oscillates, or fails to settle. |
| Recurrence Reduction | Repeated containment failure requires architecture change. |
| Origin-Layer Repair | Containment failure originates below visible layer. |
15. U-Layer Localization
| U-Layer | Relevance |
|---|---|
| U0 — Substrate | Infrastructure, code, model, data store, physical substrate, or platform base where containment is implemented. |
| U1 — Power / Budgets | Resources, authority, staffing, compute, privilege, and support capacity for containment and repair. |
| U2 — Configuration / Boundaries | Layer boundaries, role boundaries, data boundaries, access scopes, privilege boundaries, and consent boundaries. |
| U3 — Execution / Runtime | Operational behavior, tool use, state changes, deployments, enforcement, and runtime containment. |
| U4 — Classification / Metrics | Risk classes, error classes, severity, alerts, thresholds, containment status, and blast-radius classification. |
| U5 — Coordination / Time | Detection latency, rollback timing, response windows, propagation speed, and validation cycles. |
| U6 — Coherence Field | Trust, legitimacy, affected-node confidence, and perceived reliability of containment. |
| U7 — Memory / Recurrence | Prior incidents, near-misses, recurrence, containment learning, and architectural memory. |
| U8 — Environment / Forcing | Adversarial pressure, market pressure, crisis, deployment urgency, scarcity, regulation, or external load. |
LRECA most commonly localizes through:
U0 → U2 → U4 → U3 → U5 → U7This means containment architecture begins in substrate, is configured through boundaries, classifies risk, constrains runtime, coordinates detection and rollback over time, and learns through recurrence.
16. Example Use Case
Scenario
An AI coding agent is allowed to edit a production repository.
Current controls:
system prompt says be careful
agent can edit files directly
tests may run after edits
human review happens sometimes
rollback is manual
logs are partialThe team wants the agent to make larger automated changes.
LRECA Evaluation
The construct checks:
- risk class
- error class
- containment layers
- privilege surface
- detection points
- rollback points
- restoration points
- blast radius
- cascade pathways
- recurrence history
Likely Findings
Containment architecture: single-layer / partial
Privilege surface: too broad
Blast radius: high
Rollback capacity: manual / weak
Detection latency: delayed
Auditability: partial
Restoration capacity: insufficient for production scope
Execution expansion: inadmissibleRecommended Output
Do not expand production autonomy yet.
Add branch-only editing layer.
Require diff review before merge.
Require automated tests before execution.
Add scoped file permissions.
Add rollback / restore point.
Improve action logs.
Limit blast radius by module.
Validate recurrence before increasing autonomy.Interpretation
The agent’s capability is not the issue by itself.
The issue is that risk can cross from generation to production state change too quickly.
LRECA inserts containment membranes between capability and irreversible impact.
17. Anti-Patterns
Do not use LRECA to:
- rely on one classifier as full containment
- rely on one human review as full containment
- treat blocking as restoration
- treat monitoring as rollback
- treat rollback as affected-node repair
- assume prevention will always work
- allow high privilege without blast-radius control
- ignore detection latency
- ignore cascade pathways
- ignore hidden dependencies between layers
- claim layered defense when all layers share the same failure assumption
- use containment language without restoration points
- scale before recurrence validation
- overcontain in a way that creates suppression or operational paralysis
18. Completion Criteria
A LRECA assessment is complete when:
- system under containment is identified
- risk class is identified
- error class is identified
- containment layers are mapped
- boundary and privilege layers are mapped
- detection points are mapped
- rollback points are mapped
- restoration points are mapped
- affected nodes are identified
- blast radius is estimated
- cascade pathways are mapped
- feedback pathways are checked
- prior incidents and recurrence are assessed
- containment architecture is classified
- layer addition, boundary repair, blast-radius reduction, rollback addition, restoration capacity increase, pause, or ∅ is returned
- time validation is defined
19. Machine-Readable Summary
construct_id: "CONSTRUCT-045"
title: "Layered Risk & Error Containment Architecture"
abbreviation: "LRECA"
type: "construct"
status: "draft-integrated"
construct_class: "Layered Containment / Risk Architecture Construct"
operating_system: false
primary_module: "Security / AI Governance / Restoration"
related_modules:
- "Cybernetics"
- "Coherence"
- "Scaling"
- "Institutions"
- "Failure Modes"
core_question: "Does this system have enough layered containment to detect, isolate, damp, rollback, and repair risk or error before it propagates into cascade?"
definition: "Layered Risk & Error Containment Architecture defines a multi-layer containment architecture for preventing errors, risks, failures, misuse paths, and cascade effects from crossing boundaries faster than detection, damping, rollback, and restoration can respond."
core_distinctions:
- "containment is not blocking; containment is bounded propagation with recovery"
- "a single successful layer is not containment architecture"
compressed_form: "LRECA = BΣ + Ξ + Π + Γ + Au + Rollback + ℛ + FI + U7 + Τ"
containment_layers:
- "Prevention Layer"
- "Boundary Layer"
- "Classification Layer"
- "Execution Layer"
- "Detection Layer"
- "Rollback Layer"
- "Restoration Layer"
- "Feedback Layer"
- "Recurrence Memory Layer"
- "Time-Validation Layer"
inputs:
state_variables:
- "O"
- "H"
- "ε"
- "ι"
- "Au"
- "µᵢ"
- "BΣ"
- "K"
- "R"
- "Φ"
diagnostics:
- "Risk Propagation"
- "Error Containment"
- "Boundary Integrity"
- "Layer Separation"
- "Effective Auditability"
- "Detection Latency"
- "Rollback Capacity"
- "Restoration Capacity"
- "Cascade Risk"
- "Damping"
- "Blast Radius"
- "Privilege Surface"
- "Feedback Integrity"
- "Recurrence Risk"
- "Hidden Debt"
gates:
- "Layer Separation Gate"
- "Containment Integrity Gate"
- "Blast Radius Gate"
- "Rollback Gate"
- "BΣ validity"
- "Au-Traceability"
- "FI-Gate"
- "HR-Gate"
- "R sufficiency"
- "Cascade Containment Gate"
- "Τ validation"
observations:
- "system under containment"
- "risk class"
- "error class"
- "containment layers"
- "boundary layers"
- "privilege layers"
- "detection points"
- "rollback points"
- "restoration points"
- "affected nodes"
- "blast radius"
- "cascade pathways"
- "feedback pathways"
- "prior incidents"
- "recurrence pattern"
outputs:
assessments:
- "containment architecture status"
- "layer separation status"
- "risk propagation status"
- "error containment status"
- "blast radius status"
- "rollback sufficiency"
- "restoration sufficiency"
- "cascade containment status"
- "auditability status"
- "time-validation requirement"
decisions:
- "containment sufficient"
- "add containment layer"
- "repair boundary layer"
- "reduce blast radius"
- "reduce privilege surface"
- "add rollback point"
- "increase auditability"
- "increase restoration capacity"
- "pause execution"
- "return ∅"
maps:
- "layered containment map"
- "risk propagation map"
- "error containment map"
- "boundary layer map"
- "privilege surface map"
- "blast radius map"
- "rollback point map"
- "restoration point map"
- "cascade map"
- "time-validation map"
dependencies:
operators:
- "Ξ"
- "Δ"
- "Μ"
- "Π"
- "Λ"
- "⊗"
- "Γ"
- "ℛ"
- "Σ"
- "Τ"
failure_modes:
- "Containment Collapse"
- "Layer Collapse"
- "Boundary Bypass"
- "Privilege Escalation"
- "Blast Radius Expansion"
- "Rollback Failure"
- "Detection Latency Failure"
- "Auditability Collapse"
- "Cascade Escape"
- "High-Risk Gate Bypass"
- "Single-Layer Defense Failure"
- "Restoration Lockout"
- "Overcoupled Containment"
- "Containment Theater"
- "Recurrence Without Architecture Change"
restoration_arcs:
- "Containment Restoration"
- "Boundary Reconstitution"
- "Layer Separation Repair"
- "Rollback Restoration"
- "Auditability Restoration"
- "Runtime Restoration Provisioning"
- "Cascade Containment"
- "Privilege Surface Reduction"
- "Damping Restoration"
- "Recurrence Reduction"
- "Origin-Layer Repair"
u_layers:
primary:
- "U0"
- "U2"
- "U3"
- "U4"
- "U5"
- "U7"
secondary:
- "U1"
- "U6"
- "U8"
null_outcome_allowed: true
containment_is_bounded_propagation_with_recovery: true
single_layer_is_not_architecture: true20. Citation
Citation ID: construct-layered-risk-error-containment-architecture-v1-0
Recommended citation:
Universal Theory Stack. “CONSTRUCT-045 — Layered Risk & Error Containment Architecture.” UTS Constructs Registry, Version 1.0.0, 2026.
21. Summary
The Layered Risk & Error Containment Architecture defines how systems contain risk and error across multiple independent layers.
Its core distinctions are:
containment is not blocking; containment is bounded propagation with recovery
a single successful layer is not containment architectureLRECA maps risk class, error class, containment layers, boundary layers, privilege layers, detection points, rollback points, restoration points, affected nodes, blast radius, cascade pathways, feedback pathways, recurrence, and time validation.
Its core logic is:
Risk should encounter multiple independent membranes before it can become systemic harm, and each membrane must support detection, rollback, repair, and recurrence learning.When risk can propagate faster than containment, rollback, or restoration can respond, LRECA recommends adding containment layers, repairing boundaries, reducing blast radius, narrowing privilege, adding rollback, increasing auditability, increasing restoration capacity, pausing execution, or:
∅LRECA gives UTS a layered architecture for preventing local error from becoming systemic cascade.