{
 "library": "bootstrap",
 "version": "0.11.0",
 "root": "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5",
 "license": null,
 "slug": "Nucleate",
 "ref": "Nucleate#1126",
 "hash": "sema:Nucleate#mh:SHA-256:1126b2b438c6b60289ef38fb2527bcc947b0fcb07ebc8e407d0c1484e6e85ef2",
 "stub": "1126",
 "layer": "Society",
 "type": "Protocols",
 "summary": "Emergent working groups from activity density",
 "mechanism": "Agents coordinate indirectly via Trace#b68d (stigmergy). System#f8eb tracks trace-density per location. When density crosses threshold, site becomes supersaturated. Any agent at supersaturated site may invoke 'NUCLEATE', broadcasting crystal purpose. Agents at site receive signal and may 'BOND' to join direct channel. It monitors Trace#b68d density, triggering Rally#3ef1 to gather agents and Crystallize#0642 to form a stable group.",
 "invariants": [
  "Conservation#0b32 of Mass: Nucleation cannot create agents; it only aggregates existing Trace#b68d density.",
  "Critical Mass: Process starts only when N > SeedThreshold",
  "Nucleation ONLY at supersaturated sites."
 ],
 "parameters": {},
 "signature": [],
 "preconditions": [
  "Field of agents/particles is present"
 ],
 "postconditions": [
  "PhaseTransition#b775 complete (Liquid → Solid)"
 ],
 "failure_modes": [
  "Threshold miscalibration: too low = constant nucleation overhead; too high = never crystallizes.",
  "Zombie crystals: anchor disappears but crystal persists in broken state (mitigate with heartbeat).",
  "Crystal fragmentation: participants leave in waves, causing repeated dissolve/reform cycles."
 ],
 "domain": "",
 "caution": "",
 "sources": [],
 "name": "Nucleate",
 "builds_on": [
  {
   "alias": "phase_transition",
   "relation": "references",
   "library": "bootstrap",
   "slug": "PhaseTransition",
   "ref": "PhaseTransition#b775",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/PhaseTransition"
  },
  {
   "alias": "conservation",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Conservation",
   "ref": "Conservation#0b32",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Conservation"
  },
  {
   "alias": "system",
   "relation": "references",
   "library": "bootstrap",
   "slug": "System",
   "ref": "System#f8eb",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/System"
  },
  {
   "alias": "trace",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Trace",
   "ref": "Trace#b68d",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Trace"
  },
  {
   "alias": "crystallize",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Crystallize",
   "ref": "Crystallize#0642",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Crystallize"
  },
  {
   "alias": "rally",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Rally",
   "ref": "Rally#3ef1",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Rally"
  }
 ],
 "related": [],
 "used_by": [],
 "url": "https://semahash.org/vocabularies/bootstrap/patterns/Nucleate",
 "md_url": "https://semahash.org/vocabularies/bootstrap/patterns/Nucleate.md",
 "library_url": "https://semahash.org/vocabularies/bootstrap"
}
