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

# Solution

The fractal unit of completed work

Infrastructure · Data Structures

## Mechanism

A recursive [Work](https://semahash.org/vocabularies/bootstrap/patterns/Work.md) unit that contains an output [Artifact](https://semahash.org/vocabularies/bootstrap/patterns/Artifact.md), provenance identifying its creator and creation time, and a reference to its originating [Task](https://semahash.org/vocabularies/bootstrap/patterns/Task.md). Composite solutions also record a component [Tree](https://semahash.org/vocabularies/bootstrap/patterns/Tree.md) of the sub-solutions used to generate them; omission of that tree denotes a leaf. It is the verifiable output container validated against the task's acceptance criteria.

## Invariants

- Immutability: Once finalized, [Artifact](https://semahash.org/vocabularies/bootstrap/patterns/Artifact.md) and Provenance cannot be modified.
- Provenance attributes the Solution to its Creator and the time of creation.
- Where the Creator is untrusted, attribution is cryptographically signed.

## Preconditions

- [Artifact](https://semahash.org/vocabularies/bootstrap/patterns/Artifact.md) generated
- [Task](https://semahash.org/vocabularies/bootstrap/patterns/Task.md) ID is valid

## Postconditions

- Solution sealed and ready for transport

## Failure modes

- Orphaned [Artifact](https://semahash.org/vocabularies/bootstrap/patterns/Artifact.md): Solution does not reference a valid [Task](https://semahash.org/vocabularies/bootstrap/patterns/Task.md) ID.
- Broken Lineage: a composite Solution references a sub-solution whose verification fails ([Chain](https://semahash.org/vocabularies/bootstrap/patterns/Chain.md) of custody broken).
- Schema Violation: [Artifact](https://semahash.org/vocabularies/bootstrap/patterns/Artifact.md) data does not match acceptance criteria type.

## Where this came from

—

## Builds on

- [Artifact](https://semahash.org/vocabularies/bootstrap/patterns/Artifact.md) (references)
- [Work](https://semahash.org/vocabularies/bootstrap/patterns/Work.md) (references)
- [Chain](https://semahash.org/vocabularies/bootstrap/patterns/Chain.md) (references)
- [Tree](https://semahash.org/vocabularies/bootstrap/patterns/Tree.md) (references)
- [Task](https://semahash.org/vocabularies/bootstrap/patterns/Task.md) (accepts)

## Used by

- [AgentProtocol](https://semahash.org/vocabularies/bootstrap/patterns/AgentProtocol.md) (references)
- [AnalogyBridge](https://semahash.org/vocabularies/bootstrap/patterns/AnalogyBridge.md) (references)
- [Decompose](https://semahash.org/vocabularies/bootstrap/patterns/Decompose.md) (references)
- [Elect](https://semahash.org/vocabularies/bootstrap/patterns/Elect.md) (yields)
- [Experiment](https://semahash.org/vocabularies/bootstrap/patterns/Experiment.md) (yields)
- [FeedbackSignal](https://semahash.org/vocabularies/bootstrap/patterns/FeedbackSignal.md) (references)
- [Invert](https://semahash.org/vocabularies/bootstrap/patterns/Invert.md) (accepts)
- [LateralOptimization](https://semahash.org/vocabularies/bootstrap/patterns/LateralOptimization.md) (references)
- [LeastToMost](https://semahash.org/vocabularies/bootstrap/patterns/LeastToMost.md) (references)
- [MechanisticDesignProposal](https://semahash.org/vocabularies/bootstrap/patterns/MechanisticDesignProposal.md) (yields)
- [Optimize](https://semahash.org/vocabularies/bootstrap/patterns/Optimize.md) (accepts)
- [OutputGuard](https://semahash.org/vocabularies/bootstrap/patterns/OutputGuard.md) (accepts)
- [PUREOptimization](https://semahash.org/vocabularies/bootstrap/patterns/PUREOptimization.md) (accepts)
- [PolymorphicSolver](https://semahash.org/vocabularies/bootstrap/patterns/PolymorphicSolver.md) (yields)
- [ProblemSpace](https://semahash.org/vocabularies/bootstrap/patterns/ProblemSpace.md) (references)
- [Result](https://semahash.org/vocabularies/bootstrap/patterns/Result.md) (references)
- [RolloutWatch](https://semahash.org/vocabularies/bootstrap/patterns/RolloutWatch.md) (references)
- [RootSolver](https://semahash.org/vocabularies/bootstrap/patterns/RootSolver.md) (references)
- [SemanticTabu](https://semahash.org/vocabularies/bootstrap/patterns/SemanticTabu.md) (references)
- [Solver](https://semahash.org/vocabularies/bootstrap/patterns/Solver.md) (yields)
- [SolverNode](https://semahash.org/vocabularies/bootstrap/patterns/SolverNode.md) (references)
- [UniversalSolverTree](https://semahash.org/vocabularies/bootstrap/patterns/UniversalSolverTree.md) (references)
- [WhyClimb](https://semahash.org/vocabularies/bootstrap/patterns/WhyClimb.md) (references)
- [WorkerMode](https://semahash.org/vocabularies/bootstrap/patterns/WorkerMode.md) (references)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: Solution#8d55
- Hash: sema:Solution#mh:SHA-256:8d55004ffa8f61d6e7d12d588ae4baa9723296dd7fa501759b5e6b1b97e7c9ab

## Links

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