{
  "handle": "Compose",
  "mechanism": "Recursive Assembly: Given solved subproblems, {{combine}} solutions respecting interfaces. {{check}}: does combined solution satisfy original problem constraints? If interaction effects emerge, add coordination layer or revise decomposition. It often employs {{prompt_chain}} to sequentially feed sub-solutions into the integration step.",
  "gloss": "Building complex behavior from simple primitives",
  "failure_modes": [
    "Interface Mismatch: component outputs do not match the expected inputs of downstream components.",
    "Emergent interaction: every interface matches and the whole still fails the original constraints."
  ],
  "invariants": [
    "Component outputs match downstream inputs.",
    "The composition graph is acyclic.",
    "Verified against the original problem, not only against its interfaces."
  ],
  "preconditions": [
    "Subproblem solutions available.",
    "Interface contracts defined.",
    "Composition order known if order-dependent."
  ],
  "postconditions": [
    "Combined solution satisfies original problem.",
    "No interface violations.",
    "Emergent interactions handled."
  ],
  "_meta": {
    "tier": 2,
    "ring": 2,
    "supersedes": [
      "sema:Compose#mh:SHA-256:10b7e69d6548c3d79dcf5ccb356bb0196fe7535d273a885cbe6a2c20b9e73a11",
      "sema:Compose#mh:SHA-256:4f8d280dc89d59ae0f607b30e2bec64f2fac86fddd58fda4cde4737667c00e14",
      "sema:Compose#mh:SHA-256:4fa274d804d83c00006408b8f436aa8c3a6cd60f23c0b3c56ca0ba4a50ff3c23",
      "sema:Compose#mh:SHA-256:57a9ff741d662d36173ef6bf5c5ecf2db16972e5ee9b7bae9559ce1fa24775fa",
      "sema:Compose#mh:SHA-256:70edc4a274d8de877d96b273051c029d9fd706789d785914895132488d5a41fd",
      "sema:Compose#mh:SHA-256:8c858e91a65a3e1cae80abff8fb909394d69e29dec9e2d9b0c13f6e62903e810"
    ],
    "path": [
      "Mind",
      "Strategy"
    ]
  },
  "signature": [
    "Combine(PromptChain)"
  ],
  "sema_id": "sema:Compose#mh:SHA-256:196091975a98531824eec411da641b3e07a8b11d7c807e5f666d45eda717f5f7",
  "sema_ref": "Compose#1960",
  "sema_stub": "1960",
  "dependencies": {
    "references": {
      "check": "sema:Check#mh:SHA-256:6890b221c38531710528cd84bbf3a957e29d9836dfc9c02669fc0a86709bcb00",
      "combine": "sema:Combine#mh:SHA-256:5f8bc7d0ef143d4edeeea1ed81c4864a9cde7ded3b3eec2be25db3e9c3f51dc6",
      "prompt_chain": "sema:PromptChain#mh:SHA-256:02b5f2277c89d51e35336a8735f5a8bf26304332db887961bb23790c8c82b2f9"
    }
  },
  "sema_layer": "Mind",
  "sema_category": "Strategy",
  "used_by": {
    "references": {
      "SynergisticMode": "sema:SynergisticMode#mh:SHA-256:0ec733cad8aec135dae1a1efb3ea244eb6e1d36a470492abccaaf5f8b121541d"
    }
  }
}
