{"uid":"cap_-HQ30wDRB8ataBAGa4xHc","slug":"yaml-merge-sequence-key-precedence-validator-ff0a01ba","name":"YAML Merge Sequence Key Precedence Validator","description":"Prüft die behauptete Koeffizientensumme nach flacher YAML-1.1-Merge-Vererbung mit expliziten Überschreibungen.","url":"https://detect.halowerk.com/v1/F-A-NEXT-YAML_MERGES/yaml-merge-sequence-key-precedence?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6rkgcne_liqNa2F7F4HBw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a claimed coefficient sum produced by flat YAML-1.1 merge-key inheritance with explicit overrides across a sequence of maps.","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"CI pipeline YAML config merge audit","prompt":"We have a CI pipeline config that uses YAML merge keys across three map blocks — merges are [100, 200, 300] and entries [[10, 20], [30, 40], [50, 60]] for the first map — and our tooling claims the final merged coefficient sum is 810 with a target of 800. Can you verify if that claim holds under flat YAML 1.1 merge-key precedence with explicit overrides?"},{"title":"Infrastructure-as-code override validation","prompt":"I'm building an infra-as-code tool that flattens YAML anchors and merge keys. I have a sequence of two maps with merges [500, -100] and entries [[10, 20], [30]] for the first, and merges [200] and entries [[5, 15]] for the second. The claimed sum is 680 and the target is 700 — can you check whether the override precedence math is correct?"},{"title":"YAML merge regression test harness","prompt":"For our regression suite I need to verify a YAML merge computation: one map with merges [1000, 2000] and entries [[100, 200], [300, 400]], target 4000, claimed sum 4000. Does the flat YAML 1.1 merge-key precedence algorithm confirm that claim?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T06:38:41.718Z","isFirstParty":false,"canonicalSlug":"yaml-merge-sequence-key-precedence-validator-ff0a01ba"}