{"uid":"cap_mAGKJ9Ky69BGLhP6bImA6","slug":"rqm-failed-workflow-diagnosis-63b0a177","name":"RQM Failed Workflow Diagnosis","description":"Failed Workflow Diagnosis: Diagnose why this bounded quantum workflow failed and return supported corrective actions. Use when: Use when a bounded request matches rqm.studio.failed-workflow-diagnosis-request.v1 and the caller needs the... Returns: failure class, evidence terms, bounded corrective actions. Boundaries: Deterministic bounded local software evidence only; no QPU, provider, physical, formal-proof, certificati...","url":"https://jobs.rqmtechnologies.com/x402/buyer-jobs/failed-workflow-diagnosis-v1","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"request":{"type":"object","title":"WorkflowFailureRequest","required":["stage","error_text"],"properties":{"stage":{"enum":["parse","validate","compile","simulate"],"type":"string","title":"Stage"},"error_text":{"type":"string","title":"Error Text","maxLength":4096,"minLength":1},"circuit_openqasm":{"anyOf":[{"type":"string","maxLength":65536},{"type":"null"}],"title":"Circuit Openqasm","default":null},"structured_error":{"type":"object","title":"Structured Error","maxProperties":32,"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"}]}},"supported_context":{"type":"object","title":"Supported Context","maxProperties":32,"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"}]}}},"additionalProperties":false},"schema_version":{"const":"rqm.jobs.bazaar-buyer-job-request.v1"},"idempotency_key":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","maxLength":128,"minLength":1},"max_total_price":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,13})(?:\\.\\d{1,6})?$"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.5","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.5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Xe_O9iBzkIIwEjr8WjJpW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Diagnoses why a bounded quantum workflow failed at a specific pipeline stage and returns supported corrective actions.","exampleAgentPrompt":"My RQM quantum workflow failed at the compile stage with this error: 'Unresolved gate reference in circuit block at line 42' — can you diagnose why it failed and tell me what corrective actions are supported?","exampleUseCases":[{"title":"Debugging a compile-stage circuit error","prompt":"My quantum circuit job failed during compilation with the error 'Invalid qubit mapping: register size mismatch' — can you diagnose the root cause and suggest how to fix it?"},{"title":"Fixing a validate-stage workflow rejection","prompt":"I submitted a quantum workflow and it failed at the validate stage with the message 'Schema constraint violation on gate duration parameter' — please diagnose the failure and return any supported corrective steps."},{"title":"Resolving a simulation run failure","prompt":"My bounded quantum workflow failed at the simulate stage with error 'State vector dimension overflow: 28 qubits exceeded managed limit' — diagnose what went wrong and what actions I should take."}],"resultDescription":"Returns a structured diagnosis of the workflow failure including the identified root cause for the specified pipeline stage, along with a list of supported corrective actions the caller can take to resolve the issue.","failureModes":["Missing required fields (stage or error_text) returns a validation error","Error text exceeding 4096 characters is rejected","Unobserved provider incidents or hardware-level causal diagnoses are out of scope and will not be addressed","Invalid stage enum value returns a schema validation error","Insufficient max_total_price may result in payment rejection via x402 protocol"],"whenToPreferThis":"Use this endpoint when a bounded quantum workflow has failed at a known pipeline stage (parse, validate, compile, or simulate) and you have an error message to diagnose. It is specifically designed for RQM Circuit IR workflows and returns actionable corrective steps. Do not use it for general quantum hardware incidents, unobserved provider-side failures, or non-RQM workflow formats.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:54:44.445Z","isFirstParty":false}