{
 "library": "bootstrap",
 "version": "0.11.0",
 "root": "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5",
 "license": null,
 "slug": "ExtendedThinking",
 "ref": "ExtendedThinking#3a90",
 "hash": "sema:ExtendedThinking#mh:SHA-256:3a9046a74fa5ecf3f06526936caf2038c95be83b02f0fbfe15dc2c448f572a1a",
 "stub": "3a90",
 "layer": "Mind",
 "type": "Reasoning",
 "summary": "Scale inference compute via extended reasoning",
 "mechanism": "Inference-time compute scaling where the model generates extended reasoning traces (potentially thousands of tokens) before producing a final answer. Unlike standard Chain#3ba0-of-Thought, this pattern explicitly trades latency and compute cost for accuracy by allowing the model to 'think longer'. The reasoning budget can be user-controlled or adaptive based on Task#a850 complexity.",
 "invariants": [
  "The reasoning budget is fixed before the trace begins.",
  "A trace is produced and logged for every answer.",
  "Emitted, not certified: the trace is what the model produced, not proof of how it concluded."
 ],
 "parameters": [
  {
   "name": "budget_mode",
   "type": "Enum",
   "range": "{UserControlled, Adaptive}",
   "description": "Whether the caller sets the reasoning budget or the {{task}}'s complexity does."
  }
 ],
 "signature": [],
 "preconditions": [
  "Complex prompt",
  "High token budget"
 ],
 "postconditions": [
  "High-accuracy answer"
 ],
 "failure_modes": [
  "Confabulation Chains: Long reasoning traces that sound plausible but contain errors.",
  "Overthinking: Spending compute on simple problems that don't benefit.",
  "Hidden Reasoning: Model reaches conclusions via paths not shown in the trace."
 ],
 "domain": "",
 "caution": "",
 "sources": [],
 "name": "ExtendedThinking",
 "builds_on": [
  {
   "alias": "chain",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Chain",
   "ref": "Chain#3ba0",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Chain"
  },
  {
   "alias": "task",
   "relation": "accepts",
   "library": "bootstrap",
   "slug": "Task",
   "ref": "Task#a850",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Task"
  }
 ],
 "related": [],
 "used_by": [
  {
   "slug": "ThinSlice",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/ThinSlice"
  }
 ],
 "url": "https://semahash.org/vocabularies/bootstrap/patterns/ExtendedThinking",
 "md_url": "https://semahash.org/vocabularies/bootstrap/patterns/ExtendedThinking.md",
 "library_url": "https://semahash.org/vocabularies/bootstrap"
}
