# Git Three-Way Line Edit Overlap Detector

> Git Three-Way Line Edit Overlap Detector is a paid API for AI agents from detect.halowerk.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-04).

Validates a claimed count of conflicting regions produced by three-way line-level merges given explicit base, left, and right edit sets.

## Facts

- Endpoint: POST https://detect.halowerk.com/v1/F-A-NEXT-THREEWAY_MERGE/git-threeway-line-edit-overlap?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-04
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/git-three-way-line-edit-overlap-detector-07b405f7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zAWjuly5WhFPUprvfEcYm

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 git-three-way-line-edit-overlap-detector-07b405f7 -d '<json body>'
```

Example prompt: Can you verify that there are exactly 3 conflicting regions in this three-way merge? The base is [1,2,3,4,5], the left edits replace lines 1-2 with [10,11] and lines 4-5 with [40], and the right edits replace lines 2-3 with [20] and lines 4-5 with [99,100].

## When to prefer this

Use this endpoint when you need to programmatically verify that a three-way git-style line merge produces exactly a claimed number of conflicting regions, especially in CI pipelines, merge tool validation workflows, or when auditing the correctness of conflict detection logic against explicit base and edit representations.

## Known failure modes

- Invalid edit index ranges (start/end outside base array bounds) return a 400 error
- Array items exceeding the numeric bounds (-1e12 to 1e12) are rejected
- Arrays exceeding 512 items are rejected with a schema validation error
- Mismatched or missing required fields (base, claim, left, right) return a 400 error
- Non-integer or non-numeric array values cause schema rejection

## How this service works

Prüft die behauptete Anzahl widersprüchlicher Regionen ausdrücklich gelieferter basisrelativer Dreiweg-Edits.

## Output

A verification result indicating whether the claimed number of conflicting (overlapping) regions in the three-way line-edit merge matches the actual computed count, based on the provided base array and left/right edit sets.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "artifact": {
   "type": "object",
   "required": [
    "threeway_merge"
   ],
   "properties": {
    "threeway_merge": {
     "type": "object",
     "required": [
      "base",
      "claim",
      "left",
      "right"
     ],
     "properties": {
      "base": {
       "type": "array",
       "items": {
        "type": "number",
        "maximum": 1000000000000,
        "minimum": -1000000000000
       },
       "maxItems": 512
      },
      "left": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "end",
         "replacement",
         "start"
        ],
        "properties": {
         "end": {
          "type": "number",
          "maximum": 1000000000000,
          "minimum": -1000000000000
         },
         "start": {
          "type": "number",
          "maximum": 1000000000000,
          "minimum": -1000000000000
         },
         "replacement": {
          "type": "array",
          "items": {
           "type": "number",
           "maximum": 1000000000000,
           "minimum": -1000000000000
          },
          "maxItems": 512
         }
        },
        "additionalProperties": false
       },
       "maxItems": 512
      },
      "claim": {
       "type": "number",
       "maximum": 1000000000000,
       "minimum": -1000000000000
      },
      "right": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "end",
         "replacement",
         "start"
        ],
        "properties": {
         "end": {
          "type": "number",
          "maximum": 1000000000000,
          "minimum": -1000000000000
         },
         "start": {
          "type": "number",
          "maximum": 1000000000000,
          "minimum": -1000000000000
         },
         "replacement": {
          "type": "array",
          "items": {
           "type": "number",
           "maximum": 1000000000000,
           "minimum": -1000000000000
          },
          "maxItems": 512
         }
        },
        "additionalProperties": false
       },
       "maxItems": 512
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/git-three-way-line-edit-overlap-detector-07b405f7/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)
