---
library: "bootstrap"
slug: "PatternDiscovery"
name: "PatternDiscovery"
ref: "PatternDiscovery#742a"
hash: "sema:PatternDiscovery#mh:SHA-256:742a4d59a47458bf5ba632097b9cc410228dbedc941a561e7cfa70f2c63cd602"
type: "Reasoning"
layer: "Mind"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/PatternDiscovery"
---

# PatternDiscovery

Prior-art gate for adding patterns

Mind · Reasoning

## Mechanism

Before a proposed pattern enters a declared registry, invoke [Search](https://semahash.org/vocabularies/bootstrap/patterns/Search.md) over a declared scope and method to retrieve plausible incumbents. Compare each candidate's mechanism and boundary with the proposal, using [Novelty](https://semahash.org/vocabularies/bootstrap/patterns/Novelty.md) to assess structural distinctness. Retrieval scores nominate candidates but do not establish coverage. Invoke [Gate](https://semahash.org/vocabularies/bootstrap/patterns/Gate.md) on the dispositions and return its [Decision](https://semahash.org/vocabularies/bootstrap/patterns/Decision.md), candidates, deltas, unresolved comparisons, and search record. PatternDiscovery does not mint.

## Invariants

- Search Record: Scope, method, candidates, and dispositions are recorded; no-match means none found under that search, not global absence.
- Semantic Gate: Halt if any candidate covers the proposal's mechanism and boundary. Proceed requires either no candidate under the declared search or, for every resolved candidate, evidence of a material structural delta it does not cover.
- Uncertainty: An unresolved comparison yields halt or debt, never unqualified proceed.

## Preconditions

- Proposed pattern, registry scope, and discovery method are available.

## Postconditions

- Prior-art [Decision](https://semahash.org/vocabularies/bootstrap/patterns/Decision.md) and supporting evidence returned.

## Failure modes

- Retrieval Miss: Different terminology, representation, scope, or discovery method keeps a covering incumbent out of the candidate set.
- False Merge: Surface resemblance or a retrieval score is treated as semantic coverage despite a material structural delta.
- Fragmentation: A covering or unresolved candidate is ignored and an overlapping pattern enters the registry.

## Where this came from

—

## Builds on

- [Decision](https://semahash.org/vocabularies/bootstrap/patterns/Decision.md) (yields)
- [Gate](https://semahash.org/vocabularies/bootstrap/patterns/Gate.md) (composes_with)
- [Search](https://semahash.org/vocabularies/bootstrap/patterns/Search.md) (composes_with)
- [Novelty](https://semahash.org/vocabularies/bootstrap/patterns/Novelty.md) (composes_with)

## Used by

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

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: PatternDiscovery#742a
- Hash: sema:PatternDiscovery#mh:SHA-256:742a4d59a47458bf5ba632097b9cc410228dbedc941a561e7cfa70f2c63cd602

## Links

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