{"uid":"cap_zAWjuly5WhFPUprvfEcYm","slug":"git-three-way-line-edit-overlap-detector-07b405f7","name":"Git Three-Way Line Edit Overlap Detector","description":"Prüft die behauptete Anzahl widersprüchlicher Regionen ausdrücklich gelieferter basisrelativer Dreiweg-Edits.","url":"https://detect.halowerk.com/v1/F-A-NEXT-THREEWAY_MERGE/git-threeway-line-edit-overlap?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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}}},"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_xLrdDpq24TYJ4XFPd1n9A","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 count of conflicting regions produced by three-way line-level merges given explicit base, left, and right edit sets.","exampleAgentPrompt":"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].","exampleUseCases":[{"title":"CI merge conflict audit","prompt":"Before we merge these two branches, verify that my conflict detector correctly identified 2 overlapping edit regions — the base array is [0,1,2,3,4,5,6], left changes lines 1-3 to [10,11] and lines 5-6 to [50], right changes lines 2-4 to [20,21] and lines 5-6 to [60]."},{"title":"Automated merge tool validation","prompt":"My merge tool claims there are 0 conflicts between these two edit sets against the base [100,200,300,400,500] — left replaces lines 0-1 with [999] and right replaces lines 3-4 with [888]. Can you confirm that claim is correct?"},{"title":"Code review overlap check","prompt":"We have a base buffer [5,10,15,20,25,30], developer A edited lines 2-4 replacing them with [99,98] and developer B edited lines 1-3 replacing them with [77,76,75]. My script says there is 1 overlapping conflicting region — can you verify that?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T06:40:31.681Z","isFirstParty":false,"canonicalSlug":"git-three-way-line-edit-overlap-detector-07b405f7"}