{"uid":"cap_j77K26UI7MMI5amMlUcmC","slug":"posix-aio-cancel-complete-lifecycle-validator-4ba2c0c5","name":"POSIX AIO Cancel/Complete Lifecycle Validator","description":"An offline asynchronous-I/O trace fixture author needs a control-block generation ledger, cancellation aggregate derived from observed cancellation subsets, and exactly-once completion-result retrieval across descriptor groups and reuse.","url":"https://detect.halowerk.com/v1/F-A-NIGHT-OS-AIO/posix-aio-cancel-complete-return-lifecycle?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"artifact":{"type":"object","required":["aio_lifecycle"],"properties":{"aio_lifecycle":{"type":"object","required":["claim","events"],"properties":{"claim":{"type":"number","maximum":1000000000000,"minimum":-1000000000000},"events":{"type":"array","items":{"type":"object","required":["op"],"properties":{"fd":{"type":"number","maximum":1000000000000,"minimum":-1000000000000},"id":{"type":"number","maximum":1000000000000,"minimum":-1000000000000},"op":{"type":"string","maxLength":1024},"bytes":{"type":"number","maximum":1000000000000,"minimum":-1000000000000},"target":{"type":"number","maximum":1000000000000,"minimum":-1000000000000},"canceled":{"type":"array","items":{"type":"number","maximum":1000000000000,"minimum":-1000000000000},"maxItems":512},"error_token":{"type":"number","maximum":1000000000000,"minimum":-1000000000000},"requested_bytes":{"type":"number","maximum":1000000000000,"minimum":-1000000000000}},"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_mkSCuJtk5rWF_5AnyIanY","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 and traces POSIX asynchronous I/O operation lifecycles including control-block generation, cancellation aggregation, and exactly-once completion-result retrieval across file descriptor groups.","exampleAgentPrompt":"I have an offline POSIX AIO trace with a claimed control-block count of 42, and I need you to validate the full cancel/complete lifecycle — including cancellation aggregation and exactly-once completion results — for a sequence of 5 async read and write events across file descriptors 3 and 7.","exampleUseCases":[{"title":"Verify AIO cancellation aggregation correctness","prompt":"I have a POSIX AIO trace fixture with a claim of 100 control blocks and 8 events — some marked as canceled with IDs [2, 5, 7] — can you validate that the cancellation aggregate and completion results are consistent and exactly-once across descriptor groups?"},{"title":"Test AIO control-block reuse across FD groups","prompt":"I need to check whether my async I/O trace correctly handles control-block reuse across file descriptors 4, 8, and 12, with a claim of 50 and 6 events including both aio_read and aio_write ops — please validate the full lifecycle."},{"title":"Audit async I/O completion ordering for a test fixture","prompt":"Can you run my POSIX AIO lifecycle trace through the validator? The claim is 200, and I have 10 events with error tokens and requested bytes set, and I want to confirm exactly-once completion retrieval ordering is correct."}],"resultDescription":"Returns a structured ledger of control-block generation, a cancellation aggregate derived from the observed cancellation subsets, and an exactly-once completion-result record for each descriptor group, flagging any lifecycle violations or inconsistencies in the submitted AIO event trace.","failureModes":["Invalid claim value outside allowed numeric range causes rejection","Events array exceeds 512-item limit","Malformed operation type string in event op field","Canceled IDs array exceeds 512 items","Missing required fields (claim or events) causes schema validation failure","Inconsistent fd/id references across events leading to lifecycle conflict errors"],"whenToPreferThis":"Use this endpoint when you need to validate offline POSIX asynchronous I/O traces — specifically when you require control-block generation ledger output, cancellation subset aggregation, and exactly-once completion semantics verified across file descriptor groups and reuse scenarios. Prefer this over generic I/O testing tools when working with low-level systems trace fixtures.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T06:38:11.866Z","isFirstParty":false,"canonicalSlug":"posix-aio-cancel-complete-lifecycle-validator-4ba2c0c5"}