{
 "library": "bootstrap",
 "version": "0.11.0",
 "root": "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5",
 "license": null,
 "slug": "PatternDiscovery",
 "ref": "PatternDiscovery#742a",
 "hash": "sema:PatternDiscovery#mh:SHA-256:742a4d59a47458bf5ba632097b9cc410228dbedc941a561e7cfa70f2c63cd602",
 "stub": "742a",
 "layer": "Mind",
 "type": "Reasoning",
 "summary": "Prior-art gate for adding patterns",
 "mechanism": "Before a proposed pattern enters a declared registry, invoke Search#1da9 over a declared scope and method to retrieve plausible incumbents. Compare each candidate's mechanism and boundary with the proposal, using Novelty#954f to assess structural distinctness. Retrieval scores nominate candidates but do not establish coverage. Invoke Gate#664d on the dispositions and return its Decision#b140, 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."
 ],
 "parameters": {},
 "signature": [],
 "preconditions": [
  "Proposed pattern, registry scope, and discovery method are available."
 ],
 "postconditions": [
  "Prior-art Decision#b140 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."
 ],
 "domain": "",
 "caution": "",
 "sources": [],
 "name": "PatternDiscovery",
 "builds_on": [
  {
   "alias": "decision",
   "relation": "yields",
   "library": "bootstrap",
   "slug": "Decision",
   "ref": "Decision#b140",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Decision"
  },
  {
   "alias": "gate",
   "relation": "composes_with",
   "library": "bootstrap",
   "slug": "Gate",
   "ref": "Gate#664d",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Gate"
  },
  {
   "alias": "search",
   "relation": "composes_with",
   "library": "bootstrap",
   "slug": "Search",
   "ref": "Search#1da9",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Search"
  },
  {
   "alias": "novelty",
   "relation": "composes_with",
   "library": "bootstrap",
   "slug": "Novelty",
   "ref": "Novelty#954f",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Novelty"
  }
 ],
 "related": [],
 "used_by": [
  {
   "slug": "MintWhenFriction",
   "relation": "composes_with",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/MintWhenFriction"
  }
 ],
 "url": "https://semahash.org/vocabularies/bootstrap/patterns/PatternDiscovery",
 "md_url": "https://semahash.org/vocabularies/bootstrap/patterns/PatternDiscovery.md",
 "library_url": "https://semahash.org/vocabularies/bootstrap"
}
