Mind · Inference

LayeredCheck

Hierarchical verification strategy

Definition

Mechanism

A Check strategy that evaluates constraints in a declared Hierarchy, cheapest first (e.g., existence -> Validate (schema) -> Understand (semantics), which is also increasing abstraction in the common case). It uses a Sequence of Gates where lower-level failures halt execution immediately, preventing resource waste on higher-level checks for fundamentally broken inputs.

Invariants

  1. A lower layer's failure stops the Sequence; the next layer does not run.
  2. Layers run in their declared order, cheapest first.
  3. Each layer declares whether a finding is a failure or a warning.

Risks

Failure modes

  1. Misordered layers

    an expensive check sits below a cheap one, so the halt saves nothing.

  2. Warning inflation

    findings are classed as warnings to keep the Sequence running, which defeats the halt.

Relationships

Builds on

Composes with

Infrastructure

Check

Side-effect-free observational verification yielding Verified/Falsified/Unknown

Infrastructure

Gate

Filter payload if the target condition is not met

Infrastructure

Sequence

Sequential ordering

References

Infrastructure

Hierarchy

Vertical rank ordering with Upper/Lower relations, inheritance, and authority

Infrastructure

Validate

Verifying inputs conform to expected schema

Nothing in this library builds on this pattern yet.

Reference

Signature

  • Check(Hierarchy)

Identity

Ref
LayeredCheck#6d73
Sema ID
sema:LayeredCheck#mh:SHA-256:6d7379c20e7b733e77ee96409251b53d8e06133944506d9f7443b13178a38042
Ring
2
Tier
2
Updated
2026-11-11
Supersedes
  • sema:LayeredCheck#mh:SHA-256:3fad5e7a1a45108d71e962e4186b7ad170660f00d4cfca98d272238c3ad5d3d0
  • sema:LayeredCheck#mh:SHA-256:6a86ad58c1141b1555efe8596df42dfaae516abed5c05a41092a3db7e5602aaa
  • sema:LayeredCheck#mh:SHA-256:32044e5d4fc4f4220e4d91e116d232010f83e13582413309e2b4700a0e7d21f7
  • sema:LayeredCheck#mh:SHA-256:0e4e77be2cafaea604d99d39536fc6b9f6ab264c6e8b4b2fea3f2a71e01419e0