---
library: "bootstrap"
slug: "PhasedRefinement"
name: "PhasedRefinement"
ref: "PhasedRefinement#54f2"
hash: "sema:PhasedRefinement#mh:SHA-256:54f23b7e6f3657988dffc1ec8b3df73f08b1f54849d20fa4a71ea203ff49f492"
type: "Protocols"
layer: "Society"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/PhasedRefinement"
---

# PhasedRefinement

Layered, multi-pass improvement

Society · Protocols

## Mechanism

A structured [Refine](https://semahash.org/vocabularies/bootstrap/patterns/Refine.md) strategy that improves an [Artifact](https://semahash.org/vocabularies/bootstrap/patterns/Artifact.md) through a defined [Sequence](https://semahash.org/vocabularies/bootstrap/patterns/Sequence.md) of passes, where each pass targets a specific layer of abstraction (e.g., [Reason](https://semahash.org/vocabularies/bootstrap/patterns/Reason.md) (logic) -> [StructuralCoaching](https://semahash.org/vocabularies/bootstrap/patterns/StructuralCoaching.md) (structure) -> [Aesthetics](https://semahash.org/vocabularies/bootstrap/patterns/Aesthetics.md) (polish)). It uses a [Gate](https://semahash.org/vocabularies/bootstrap/patterns/Gate.md) to prevent premature optimization by ensuring deep structural issues are resolved before surface-level polishing begins.

## Invariants

- Non-Regression: Modifications in Phase(N) must not violate invariants established in Phase(N-1).
- Monotonic Quality: The artifact's quality score should not decrease after a pass.

## Signature

- Refine(Artifact)

## Preconditions

- A current [Artifact](https://semahash.org/vocabularies/bootstrap/patterns/Artifact.md) version exists

## Postconditions

- Artifact satisfies the acceptance criteria of the final phase

## Where this came from

—

## Builds on

- [Sequence](https://semahash.org/vocabularies/bootstrap/patterns/Sequence.md) (composes_with)
- [Refine](https://semahash.org/vocabularies/bootstrap/patterns/Refine.md) (composes_with)
- [Gate](https://semahash.org/vocabularies/bootstrap/patterns/Gate.md) (composes_with)
- [Artifact](https://semahash.org/vocabularies/bootstrap/patterns/Artifact.md) (references)
- [Aesthetics](https://semahash.org/vocabularies/bootstrap/patterns/Aesthetics.md) (references)
- [Reason](https://semahash.org/vocabularies/bootstrap/patterns/Reason.md) (references)
- [StructuralCoaching](https://semahash.org/vocabularies/bootstrap/patterns/StructuralCoaching.md) (references)

## Used by

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

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: PhasedRefinement#54f2
- Hash: sema:PhasedRefinement#mh:SHA-256:54f23b7e6f3657988dffc1ec8b3df73f08b1f54849d20fa4a71ea203ff49f492

## Links

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