{"uid":"cap_6tPk7BxpQeTywpi6NWNhD","slug":"workflow-maximum-cycle-mean-delay-verifier-00ff72eb","name":"Workflow Maximum Cycle Mean Delay Verifier","description":"An agent that sizes a repeating autonomous pipeline needs its claimed maximum average cycle delay checked across all supplied strongly or weakly connected components without treating the workflow as a one-shot DAG.","url":"https://detect.halowerk.com/v1/workflow/workflow-maximum-cycle-mean-delay?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"artifact":{"type":"object","required":["states","edges","claimed_cycle_exists","claimed_mean_floor_ppm"],"properties":{"edges":{"type":"array","items":{"type":"object","required":["from","to","delay"],"properties":{"to":{"type":"integer","maximum":31,"minimum":0},"from":{"type":"integer","maximum":31,"minimum":0},"delay":{"type":"integer","maximum":1000000,"minimum":0}},"additionalProperties":false},"maxItems":256,"minItems":0},"states":{"type":"integer","maximum":32,"minimum":1},"claimed_cycle_exists":{"type":"boolean"},"claimed_mean_floor_ppm":{"type":"integer","maximum":1000000000000,"minimum":0}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7Yh2dLsCSyZSjFIIMCm76","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a claimed maximum average cycle delay across all strongly and weakly connected components of a repeating autonomous workflow graph using Karp's algorithm or equivalent.","exampleAgentPrompt":"Check whether my repeating pipeline graph with 8 states is correctly claiming a maximum cycle mean delay of 500000 ppm and that cycles actually exist — here are the edges: 0→1 delay 200, 1→2 delay 800, 2→0 delay 500.","exampleUseCases":[{"title":"Autonomous agent pipeline cycle audit","prompt":"I have a repeating autonomous pipeline with 12 states and I need to verify that the claimed maximum average cycle delay of 750000 ppm is accurate and that cycles actually exist — edges are: 0→1 delay 300, 1→2 delay 900, 2→3 delay 600, 3→0 delay 700, 4→5 delay 100, 5→4 delay 200. Can you check the cycle mean delay claim?"},{"title":"Workflow sizing pre-deployment check","prompt":"Before I deploy this looping workflow with 5 states, verify that the maximum cycle mean delay across all connected components matches the claimed floor of 400000 ppm and confirm cycles exist. Edges are: 0→1 delay 500, 1→2 delay 300, 2→0 delay 400, 3→4 delay 200, 4→3 delay 600."},{"title":"Detecting overstated cycle delay claim","prompt":"My pipeline scheduling tool claims the max average cycle delay for this 6-state directed graph is 900000 ppm with cycles present, but I think it's wrong — can you verify? Edges: 0→1 delay 100, 1→2 delay 150, 2→0 delay 50, 3→4 delay 500, 4→5 delay 300, 5→3 delay 200."}],"resultDescription":"Returns whether the claimed cycle existence and maximum average cycle mean delay (expressed as a parts-per-million floor) match the actual computed values across all strongly and weakly connected components of the supplied directed weighted graph.","failureModes":["Invalid node indices (must be 0–31) return a validation error","Edge count exceeds 256 maximum — request rejected","States count outside 1–32 range causes schema rejection","claimed_mean_floor_ppm exceeds allowed maximum (1,000,000,000,000)","Malformed edge objects missing required from/to/delay fields","Graph with no edges but claimed_cycle_exists=true may return immediate mismatch"],"whenToPreferThis":"Use this endpoint when you need to programmatically verify that a claimed maximum average cycle delay for a repeating, looping workflow or pipeline graph is correct — particularly when the workflow is not a DAG and has strongly or weakly connected components that must all be checked. Prefer this over manual graph analysis or generic compute services when the graph has up to 32 states and 256 edges and you need a fast, cheap, deterministic validation at $0.002 per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-01T00:50:54.579Z","isFirstParty":false,"canonicalSlug":"workflow-maximum-cycle-mean-delay-verifier-00ff72eb"}