{"uid":"cap_fBQE0UXPrSmDqergzkyUJ","slug":"mocharc-change-audit-0e631155","name":"Mocharc Change Audit","description":"Change audit: .mocharc: Audit JSON changes and validate before/after for .mocharc. 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-mocharc-117257b6-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_eLDLbnhUwD8MLtRVLO_FQ","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 audits JSON changes between two .mocharc configuration documents, reporting added/removed/changed paths and schema rule violations.","exampleAgentPrompt":"Can you audit the changes between my old and new .mocharc configs — here's the before: {} and after: {\"spec\":\"test/**/*.spec.js\",\"timeout\":5000} — and tell me what paths changed, what was added or removed, and whether any SchemaStore rule violations were introduced?","exampleUseCases":[{"title":"Pre-commit mocharc validation check","prompt":"Before I commit, can you compare my old .mocharc {\"reporter\":\"spec\"} with my updated one {\"reporter\":\"dot\",\"timeout\":2000} and tell me if any schema violations were introduced or resolved?"},{"title":"PR review config diff audit","prompt":"I'm reviewing a pull request that changes our .mocharc — the before is {\"spec\":\"tests/*.js\"} and the after is {\"spec\":\"tests/*.js\",\"bail\":true,\"retries\":3} — can you audit what was added or changed and flag any rule violations?"},{"title":"Catch accidental field removals","prompt":"Someone edited our .mocharc and I want to make sure nothing important was accidentally removed — before was {\"timeout\":3000,\"reporter\":\"min\",\"require\":\"setup.js\"} and after is {\"timeout\":3000,\"reporter\":\"min\"} — can you show me what changed and whether the removal causes any schema errors?"}],"resultDescription":"A structured report listing JSON pointer paths that were added, removed, or changed between the before and after documents, along with any schema rule violations introduced or resolved, based on the pinned SchemaStore definition for .mocharc.","failureModes":["Document exceeds 100 KB limit — request rejected","JSON nesting depth exceeds 32 levels — request rejected","Non-JSON input (YAML or TOML) — not parsed, may fail silently or error","Invalid JSON syntax in before or after field — parse error returned","SchemaStore definition unavailable — validation results may be incomplete"],"whenToPreferThis":"Use this endpoint when you specifically need to audit changes to a .mocharc configuration file against the SchemaStore JSON schema definition. It is ideal for CI pipelines, PR review automation, or pre-commit hooks where you want to catch schema violations introduced by config edits and get a structured diff of JSON pointer changes. Prefer this over generic JSON diff tools when you need schema-aware validation tied specifically to the Mocha test runner configuration format.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T19:16:44.186Z","isFirstParty":false,"canonicalSlug":"mocharc-change-audit-0e631155"}