# YAML Merge Sequence Key Precedence Validator

> YAML Merge Sequence Key Precedence Validator 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 coefficient sum produced by flat YAML-1.1 merge-key inheritance with explicit overrides across a sequence of maps.

## Facts

- Endpoint: POST https://detect.halowerk.com/v1/F-A-NEXT-YAML_MERGES/yaml-merge-sequence-key-precedence?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/yaml-merge-sequence-key-precedence-validator-ff0a01ba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-HQ30wDRB8ataBAGa4xHc

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 yaml-merge-sequence-key-precedence-validator-ff0a01ba -d '<json body>'
```

Example prompt: I have a YAML merge sequence with two maps — the first has merge values [10, 20] and entries [[1, 2], [3, 4]], the second has merge values [5] and entries [[6, 7]] — and I'm claiming the coefficient sum is 58 with a target of 60. Can you verify whether that claim is correct given flat YAML 1.1 merge-key precedence rules?

## When to prefer this

Use this endpoint when you need to verify correctness of YAML 1.1 merge-key inheritance computations, particularly when explicit overrides interact with flattened merge sequences and you need an authoritative arithmetic check on claimed coefficient sums. Prefer this over manual inspection when merge chains are complex or when automated CI validation of YAML config merges is needed.

## Known failure modes

- Claimed sum does not match computed value — returns mismatch with actual computed result
- Input arrays exceed maxItems limit of 512 — returns validation error
- Numeric values outside allowed range (-1e12 to 1e12) — returns schema error
- Malformed or missing required fields (claim, maps, target) — returns 400 bad request
- Ambiguous merge precedence due to conflicting override definitions

## How this service works

Prüft die behauptete Koeffizientensumme nach flacher YAML-1.1-Merge-Vererbung mit expliziten Überschreibungen.

## Output

A verification result indicating whether the claimed coefficient sum matches the value computed by applying flat YAML-1.1 merge-key inheritance rules with explicit overrides across the provided map sequence, along with the computed value for comparison.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "artifact": {
   "type": "object",
   "required": [
    "yaml_merges"
   ],
   "properties": {
    "yaml_merges": {
     "type": "object",
     "required": [
      "claim",
      "maps",
      "target"
     ],
     "properties": {
      "maps": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "entries",
         "merges"
        ],
        "properties": {
         "merges": {
          "type": "array",
          "items": {
           "type": "number",
           "maximum": 1000000000000,
           "minimum": -1000000000000
          },
          "maxItems": 512
         },
         "entries": {
          "type": "array",
          "items": {
           "type": "array",
           "items": {
            "type": "number",
            "maximum": 1000000000000,
            "minimum": -1000000000000
           },
           "maxItems": 512
          },
          "maxItems": 512
         }
        },
        "additionalProperties": false
       },
       "maxItems": 512
      },
      "claim": {
       "type": "number",
       "maximum": 1000000000000,
       "minimum": -1000000000000
      },
      "target": {
       "type": "number",
       "maximum": 1000000000000,
       "minimum": -1000000000000
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/yaml-merge-sequence-key-precedence-validator-ff0a01ba/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)
