---
library: "bootstrap"
slug: "Constraint"
name: "Constraint"
ref: "Constraint#7013"
hash: "sema:Constraint#mh:SHA-256:70136d525260a10eedf156aad1fe6c50510eadb10a89d063c7a85575b15708fc"
type: "Data Structures"
layer: "Infrastructure"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/Constraint"
---

# Constraint

Non-negotiable boundary condition

Infrastructure · Data Structures

## Mechanism

A boundary condition that must be satisfied by any valid solution. Constraints are non-compensatory: violating one constraint cannot be offset by exceeding another. They come in types: Resource (budget, time), Safety (harm prevention), Legal (compliance), Physical (laws of nature). Constraints propagate via Holographic Inheritance: child tasks inherit parent constraints.

## Invariants

- Non-Compensatory: Violation of any constraint = rejection.
- Inheritance: Child constraints must include all parent constraints.
- Explicitness: All constraints must be stated, not implied.

## Failure modes

- Constraint Relaxation: Silently loosening a constraint to fit a preferred solution.
- Hidden Constraint: A real-world constraint not captured in the specification.
- Constraint Conflict: Two constraints are mutually exclusive (no solution exists).

## Where this came from

—

## Used by

- [AcceptSpec](https://semahash.org/vocabularies/bootstrap/patterns/AcceptSpec.md) (references)
- [BoundaryReview](https://semahash.org/vocabularies/bootstrap/patterns/BoundaryReview.md) (references)
- [CapacityPressure](https://semahash.org/vocabularies/bootstrap/patterns/CapacityPressure.md) (references)
- [ConstraintFirst](https://semahash.org/vocabularies/bootstrap/patterns/ConstraintFirst.md) (references)
- [Context](https://semahash.org/vocabularies/bootstrap/patterns/Context.md) (references)
- [ContextCompress](https://semahash.org/vocabularies/bootstrap/patterns/ContextCompress.md) (references)
- [FrameSpec](https://semahash.org/vocabularies/bootstrap/patterns/FrameSpec.md) (references)
- [ProblemSpace](https://semahash.org/vocabularies/bootstrap/patterns/ProblemSpace.md) (references)
- [Reversibility](https://semahash.org/vocabularies/bootstrap/patterns/Reversibility.md) (references)
- [RuleSet](https://semahash.org/vocabularies/bootstrap/patterns/RuleSet.md) (references)
- [SelfReminder](https://semahash.org/vocabularies/bootstrap/patterns/SelfReminder.md) (references)
- [SemanticTabu](https://semahash.org/vocabularies/bootstrap/patterns/SemanticTabu.md) (references)
- [SolverManifest](https://semahash.org/vocabularies/bootstrap/patterns/SolverManifest.md) (references)
- [Spec](https://semahash.org/vocabularies/bootstrap/patterns/Spec.md) (references)
- [Task](https://semahash.org/vocabularies/bootstrap/patterns/Task.md) (references)
- [TimeboxThink](https://semahash.org/vocabularies/bootstrap/patterns/TimeboxThink.md) (references)

## Related

- [BoundaryReview](https://semahash.org/vocabularies/bootstrap/patterns/BoundaryReview.md)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: Constraint#7013
- Hash: sema:Constraint#mh:SHA-256:70136d525260a10eedf156aad1fe6c50510eadb10a89d063c7a85575b15708fc

## Links

- Page: https://semahash.org/vocabularies/bootstrap/patterns/Constraint
- JSON: https://semahash.org/vocabularies/bootstrap/patterns/Constraint.json
- Library: https://semahash.org/vocabularies/bootstrap
- Library index: https://semahash.org/vocabularies/bootstrap/index.json
