# Halowerk Terminal Canonical Edit Trace Validator

> Halowerk Terminal Canonical Edit Trace 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 claimed readable byte counts against a synthetic canonical terminal edit trace, verifying consistency of terminal control signals and byte sequences.

## Facts

- Endpoint: POST https://detect.halowerk.com/v1/F-T-CANONICAL_TERMINAL/termios-canonical-edit-records?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/halowerk-terminal-canonical-edit-trace-validator-51bbc01b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4zl11dsABtwL7Ts8XtRah

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 halowerk-terminal-canonical-edit-trace-validator-51bbc01b -d '<json body>'
```

Example prompt: Check whether a claimed readable byte count of 42 is consistent with this canonical terminal edit trace: bytes [65, 10, 8, 65, 10], EOF=4, EOL=0, erase=127, kill=21, with canonical mode enabled (no signals, no extensions), icrnl=true, igncr=false, inlcr=false.

## When to prefer this

Use this endpoint when you need to programmatically verify whether a stated readable byte count is consistent with a canonical terminal (termios) edit trace, particularly in contexts involving terminal emulator testing, security auditing of terminal records, or fuzzing/differential testing of terminal line discipline implementations.

## Known failure modes

- Invalid byte values outside the allowed numeric range cause rejection
- claim value inconsistent with byte array and control characters returns mismatch error
- Missing required fields (bytes, claim, eof, eol, erase, kill, flags) cause 400 validation error
- Byte array exceeding 128 items is rejected
- Payment not provided or insufficient USDC causes 402 response

## How this service works

Prüft behauptete lesbare Bytemengen nach einem synthetischen kanonischen Terminal-Editiertrace.

## Output

Returns a detection or validation result indicating whether the claimed readable byte count is consistent with the provided canonical terminal edit trace, including control character values (EOF, EOL, erase, kill), line-discipline flags (icrnl, igncr, inlcr), and canonical mode settings.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "artifact": {
   "type": "object",
   "required": [
    "canonical_terminal"
   ],
   "properties": {
    "canonical_terminal": {
     "type": "object",
     "required": [
      "bytes",
      "canonical_no_signals_no_extensions",
      "claim",
      "eof",
      "eol",
      "erase",
      "icrnl",
      "igncr",
      "inlcr",
      "kill"
     ],
     "properties": {
      "eof": {
       "type": "number",
       "maximum": 1000000000000,
       "minimum": -1000000000000
      },
      "eol": {
       "type": "number",
       "maximum": 1000000000000,
       "minimum": -1000000000000
      },
      "kill": {
       "type": "number",
       "maximum": 1000000000000,
       "minimum": -1000000000000
      },
      "bytes": {
       "type": "array",
       "items": {
        "type": "number",
        "maximum": 1000000000000,
        "minimum": -1000000000000
       },
       "maxItems": 128
      },
      "claim": {
       "type": "number",
       "maximum": 1000000000000,
       "minimum": -1000000000000
      },
      "erase": {
       "type": "number",
       "maximum": 1000000000000,
       "minimum": -1000000000000
      },
      "icrnl": {
       "type": "boolean"
      },
      "igncr": {
       "type": "boolean"
      },
      "inlcr": {
       "type": "boolean"
      },
      "canonical_no_signals_no_extensions": {
       "type": "boolean"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/halowerk-terminal-canonical-edit-trace-validator-51bbc01b/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)
