# Workflow Exclusive Join Deadlock Detector

> Workflow Exclusive Join Deadlock Detector is a paid API for AI agents from detect.halowerk.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-17).

Detects potential deadlocks in workflow designs where all-of joins require members from mutually exclusive arms of an exclusive fork.

## Facts

- Endpoint: POST https://detect.halowerk.com/v1/workflow/workflow-exclusive-join-deadlock?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/workflow-exclusive-join-deadlock-detector-b499926e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ma7dHQz7eHZ-bJ82Dbf7X

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability workflow-exclusive-join-deadlock-detector-b499926e -d '<json body>'
```

Example prompt: Can you check my workflow for exclusive join deadlocks? It has two exclusive forks — the first with arms [['taskA','taskB'],['taskC']] and the second with arms [['taskD'],['taskE','taskF']] — and joins that require [['taskA','taskC']] and [['taskD','taskF']].

## When to prefer this

Use this endpoint when statically analyzing a workflow definition that uses exclusive (XOR) fork semantics combined with all-of (AND) join synchronization, specifically to catch deadlocks before runtime. It is purpose-built for the fork-join deadlock pattern and handles multi-fork, multi-join workflow graphs. Prefer this over general workflow linters when you need precise identification of which join/fork pairs create the deadlock, not just a pass/fail result.

## Known failure modes

- Invalid artifact schema — missing required 'exclusive_forks' or 'joins' fields returns a 400 error
- Exclusive fork has fewer than 2 arms — rejected as invalid fork definition
- Join 'requires' list is empty or contains unrecognized branch identifiers not referenced in any fork arm
- Input arrays exceed maximum sizes (64 forks, 128 joins, 32 arms per fork) causing rejection
- Branch identifier strings exceeding 128 characters or empty strings cause validation errors

## How this service works

An agent that imports a workflow needs all-of joins requiring members from distinct arms of an explicit exclusive fork detected.

## Output

A structured analysis result indicating whether any deadlock conditions were detected, specifying which joins require tokens from distinct arms of the same exclusive fork (making those tokens mutually exclusive and the join unreachable), along with the specific conflicting fork-join pairings.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "artifact": {
   "type": "object",
   "required": [
    "exclusive_forks",
    "joins"
   ],
   "properties": {
    "joins": {
     "type": "array",
     "items": {
      "type": "object",
      "required": [
       "requires"
      ],
      "properties": {
       "requires": {
        "type": "array",
        "items": {
         "type": "string",
         "maxLength": 128,
         "minLength": 1
        },
        "maxItems": 128,
        "minItems": 1
       }
      },
      "additionalProperties": false
     },
     "maxItems": 128,
     "minItems": 1
    },
    "exclusive_forks": {
     "type": "array",
     "items": {
      "type": "object",
      "required": [
       "arms"
      ],
      "properties": {
       "arms": {
        "type": "array",
        "items": {
         "type": "array",
         "items": {
          "type": "string",
          "maxLength": 128,
          "minLength": 1
         },
         "maxItems": 128,
         "minItems": 1
        },
        "maxItems": 32,
        "minItems": 2
       }
      },
      "additionalProperties": false
     },
     "maxItems": 64,
     "minItems": 1
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/workflow-exclusive-join-deadlock-detector-b499926e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from detect.halowerk.com](https://www.zero.xyz/host/detect.halowerk.com/llms.txt)
