# POSIX AIO Cancel/Complete Lifecycle Validator

> POSIX AIO Cancel/Complete Lifecycle Validator is a paid API for AI agents from detect.halowerk.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-04).

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.

## Facts

- Endpoint: POST https://detect.halowerk.com/v1/F-A-NIGHT-OS-AIO/posix-aio-cancel-complete-return-lifecycle?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-04
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/posix-aio-cancel-complete-lifecycle-validator-4ba2c0c5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_j77K26UI7MMI5amMlUcmC

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability posix-aio-cancel-complete-lifecycle-validator-4ba2c0c5 -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/posix-aio-cancel-complete-lifecycle-validator-4ba2c0c5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from detect.halowerk.com](https://www.zero.xyz/host/detect.halowerk.com/llms.txt)
