# POSIX iovec Partial Scatter Provenance Analyzer

> POSIX iovec Partial Scatter Provenance Analyzer 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).

Computes residual buffer vectors and anonymous byte-origin mappings for POSIX iovec scatter-read operations after short reads and no-progress errors, including overlapping destination slices.

## Facts

- Endpoint: POST https://detect.halowerk.com/v1/F-A-NIGHT-OS-IOV-SCATTER/posix-iovec-partial-scatter-provenance?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-iovec-partial-scatter-provenance-analyzer-5ae2feb8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RJlSrIc-kDRLGmE31vlXH

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-iovec-partial-scatter-provenance-analyzer-5ae2feb8 -d '<json body>'
```

Example prompt: I have a POSIX iovec scatter read that completed short — can you compute the residual buffer vectors and final byte-origin mapping? I'll give you the iovec array with buffers, lengths, and offsets, plus the per-operation read counts and error codes from the results, and the total byte claim of 4096.

## When to prefer this

Use this endpoint when you need deterministic, auditable provenance of POSIX iovec scatter-read byte origins after partial or error-affected reads, especially when destination slices may overlap. It is the right choice for offline fixture authoring, test vector generation, or debugging complex scatter-gather I/O behavior where standard OS tooling cannot isolate residual buffer state.

## Known failure modes

- Invalid iovec array structure (mismatched buffer/length/offset fields)
- Results array length does not correspond to iovec count
- Claim value out of valid range
- Buffer overlap detection failure on malformed offset combinations
- No-progress error code not recognized

## How this service works

An offline vectored-read fixture author needs exact residual buffer vectors and final anonymous byte-origin mapping after short reads and no-progress errors, especially when destination slices overlap.

## Output

Returns the exact residual (unfilled) buffer vectors remaining after the scatter read operation completed, along with an anonymous byte-origin mapping that identifies which source provided each byte in the destination buffers, accounting for short reads, no-progress errors, and overlapping destination slice regions.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "artifact": {
   "type": "object",
   "required": [
    "iov_scatter"
   ],
   "properties": {
    "iov_scatter": {
     "type": "object",
     "required": [
      "claim",
      "iovecs",
      "results"
     ],
     "properties": {
      "claim": {
       "type": "number",
       "maximum": 1000000000000,
       "minimum": -1000000000000
      },
      "iovecs": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "buffer",
         "length",
         "offset"
        ],
        "properties": {
         "buffer": {
          "type": "number",
          "maximum": 1000000000000,
          "minimum": -1000000000000
         },
         "length": {
          "type": "number",
          "maximum": 1000000000000,
          "minimum": -1000000000000
         },
         "offset": {
          "type": "number",
          "maximum": 1000000000000,
          "minimum": -1000000000000
         }
        },
        "additionalProperties": false
       },
       "maxItems": 512
      },
      "results": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "count",
         "error"
        ],
        "properties": {
         "count": {
          "type": "number",
          "maximum": 1000000000000,
          "minimum": -1000000000000
         },
         "error": {
          "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-iovec-partial-scatter-provenance-analyzer-5ae2feb8/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)
