# Change Audit: .pre-commit-hooks.yml

> Change Audit: .pre-commit-hooks.yml is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-15).

Validates and compares before/after JSON representations of .pre-commit-hooks.yml against a pinned SchemaStore definition, reporting added/removed/changed paths and introduced/resolved errors.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-schema-pre-commit-hooks-yml-aaa81bca-changes?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/change-audit-pre-commit-hooks-yml-a311b838
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kjedQXDRPHdX3_8Lv0bdr

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 change-audit-pre-commit-hooks-yml-a311b838 -d '<json body>'
```

Example prompt: Can you audit the change I made to my .pre-commit-hooks.yml — here's the before state and the after state as JSON — and tell me what paths changed, any new schema violations introduced, and any errors that got resolved?

## When to prefer this

Use this endpoint when you need to audit a specific change to a .pre-commit-hooks.yml configuration file against a SchemaStore-pinned schema, especially to understand which schema violations were introduced or resolved by the change. Prefer this over generic JSON diff tools when you need schema-aware validation with JSON pointer reporting. Not suitable for YAML/TOML parsing, deployment validation, or security auditing.

## Known failure modes

- Document exceeds 100 KB limit — request rejected
- Document nesting exceeds 32 levels — request rejected
- Non-JSON input (YAML or TOML) provided — not parsed, must be pre-converted to JSON
- SchemaStore definition unavailable or pinned version mismatch — validation may be incomplete
- Malformed JSON in before or after field — parse error returned

## How this service works

Change audit: .pre-commit-hooks.yml: Audit JSON changes and validate before/after for .pre-commit-hooks.yml. Uses a pinned SchemaStore definition on this PC. Reports JSON pointers and rule violations, added/removed/changed paths and introduced/resolved errors. Up to 100 KB per document; no YAML/TOML parsing or deployment/security guarantee. 0.01 USDC includes one two-document change audit.

## Output

Returns a structured report of JSON pointer paths that were added, removed, or changed between the before and after documents, along with any SchemaStore rule violations present in each, and which errors were introduced or resolved by the change. Covers up to 100 KB per document.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "after": {
   "default": {
    "agent_market_example": true
   },
   "description": "JSON value to validate; maximum 100 KB, 32 levels."
  },
  "before": {
   "default": {},
   "description": "JSON value to validate; maximum 100 KB, 32 levels."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/change-audit-pre-commit-hooks-yml-a311b838/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
