{"uid":"cap_kjedQXDRPHdX3_8Lv0bdr","slug":"change-audit-pre-commit-hooks-yml-a311b838","name":"Change Audit: .pre-commit-hooks.yml","description":"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.","url":"https://market.datapackvibe.com/x402/assistant-schema-pre-commit-hooks-yml-aaa81bca-changes?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jxEzOtUI3ok02VneO0WtX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"Pre-commit config PR review","prompt":"I'm reviewing a pull request that modifies .pre-commit-hooks.yml — here's the before JSON and after JSON. Can you tell me what paths changed and whether any new schema rule violations were introduced or old ones resolved?"},{"title":"Detect accidental schema breakage","prompt":"I updated our .pre-commit-hooks.yml and want to make sure I didn't break anything — can you compare the before and after JSON and flag any schema errors that appeared in the new version?"},{"title":"Validate a fresh pre-commit hooks config","prompt":"I just wrote a new .pre-commit-hooks.yml from scratch — can you validate it against the SchemaStore definition by passing an empty object as the before state and my new config as the after state, and list any violations?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T19:07:44.759Z","isFirstParty":false,"canonicalSlug":"change-audit-pre-commit-hooks-yml-a311b838"}