{
  "handle": "Parallel",
  "mechanism": "Concurrent execution of two or more branches under no ordering guarantee: a caller may not assume which branch runs, finishes, or observes state first. Genuine simultaneity and interleaving both satisfy it — the pattern is the contract, not the substrate.",
  "gloss": "Concurrent flow",
  "_meta": {
    "tier": 1,
    "ring": 0,
    "supersedes": [
      "sema:Parallel#mh:SHA-256:6272e213685ff8b1c909c783ae0859f93c55d3423c4278661a4b601ddf07d7a3",
      "sema:Parallel#mh:SHA-256:e799c1986d62c4a052090842aabe144193587f8a4d8dd23617d027b2e9b85098"
    ],
    "path": [
      "Infrastructure",
      "Data Structures"
    ]
  },
  "sema_id": "sema:Parallel#mh:SHA-256:d58d6696be11be09651e71307f0ea6f42bb45fac137ed985a61e475144f687a5",
  "sema_ref": "Parallel#d58d",
  "sema_stub": "d58d",
  "data_schema": {
    "type": "object",
    "description": "A parallel topology — independent branches executed concurrently with a join point.",
    "properties": {
      "branches": {
        "type": "array",
        "description": "Independent execution branches"
      },
      "join_semantics": {
        "type": "string",
        "enum": [
          "all",
          "any",
          "quorum"
        ],
        "description": "How branch results combine"
      }
    },
    "required": [
      "branches"
    ]
  },
  "invariants": [
    "No result may depend on the order branches were entered or completed. A branch set with an order requirement is a {{chain}}.",
    "Each declared branch is attempted. How outcomes combine is `join_semantics` and varies."
  ],
  "dependencies": {
    "references": {
      "chain": "sema:Chain#mh:SHA-256:3ba084dba5cf36bbdd43d03306c187ca75a2e3f448b555e257c26aab9b71c4fb"
    }
  },
  "sema_layer": "Infrastructure",
  "sema_category": "Data Structures",
  "used_by": {
    "references": {
      "BreadthGovernor": "sema:BreadthGovernor#mh:SHA-256:be54a4887d50ae1a49139c6c97d29a349c581d1af8f25f8554b13119700dd4d2",
      "OptimisticSolver": "sema:OptimisticSolver#mh:SHA-256:63aaa2e083c615a967019ce3aa709f431ff624aafce8b90ed6229144c102fda8",
      "Parallelize": "sema:Parallelize#mh:SHA-256:c1c795defd6f4f9cab2823cf832ae91f5f0651bef082108bb494047d91be04a1"
    }
  }
}
