# Publication Bundle Consistency Checker

> Publication Bundle Consistency Checker is a paid API for AI agents from www.mahastrategies.com, paid per call via x402, $0.022/call, status unknown (last checked 2026-09-14).

Validates consistency across 2-8 declared publication views (article, registry, API) by comparing them against canonical URL, content, release, and source-set digests — flagging stale, withdrawn, or substituted views without live fetching.

## Facts

- Endpoint: POST https://www.mahastrategies.com/api/v1/micro/publication-bundle-consistency
- Price: $0.022/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/publication-bundle-consistency-checker-053b8802
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cpnQrerbztrQNzlm32h6j

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 publication-bundle-consistency-checker-053b8802 -d '<json body>'
```

Example prompt: Before we release this article, check that all 4 declared publication views are consistent — the canonical URL is https://example.com/articles/2024/my-story, content digest is sha256-abc123, release digest is sha256-def456, source-set digest is sha256-ghi789, and the data class is public. Flag anything stale or substituted.

## When to prefer this

Choose this endpoint when you need a deterministic, offline consistency check across multiple declared publication views before release — without performing live fetches or semantic content analysis. It is ideal for CI/CD pipelines, pre-release audits, and evidence-chain validation where you hold the digests locally and need to confirm no view has gone stale, been withdrawn, or been silently substituted. Prefer this over live-fetch validators when immutability and auditability of the check itself (via receiptDigest) are required.

## Known failure modes

- Invalid or malformed digest strings (exceeds 71 chars or wrong format) cause validation rejection
- Fewer than 1 or more than 8 views in the array triggers schema validation failure
- Missing required fields (canonicalUrl, contentDigest, releaseDigest, sourceSetDigest) cause request rejection
- Unsupported dataClass value (outside 'public' or 'synthetic') returns enum validation error
- Payment failure or insufficient USDC balance prevents execution
- Malformed canonicalUrl (empty or exceeding 512 chars) causes input rejection

## How this service works

Check declared publication views before release. Compare 2-8 article, registry and API views against canonical URL, content, release and source-set digests; flag stale, withdrawn or substituted views. No live fetch, release promotion or semantic content verification.

## Output

Returns a structured result object indicating whether the declared publication views are consistent with the provided canonical URL, content, release, and source-set digests. Includes a list of boundary violations (up to 128), an input digest, a receipt digest, the offer ID, and version metadata. Flags specific views as stale, withdrawn, or substituted where discrepancies are detected.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "type": "object",
     "properties": {
      "dataClass": {
       "type": "string",
       "enum": [
        "public",
        "synthetic"
       ]
      },
      "canonicalUrl": {
       "type": "string",
       "minLength": 1,
       "maxLength": 512
      },
      "contentDigest": {
       "type": "string",
       "maxLength": 71
      },
      "releaseDigest": {
       "type": "string",
       "maxLength": 71
      },
      "sourceSetDigest": {
       "type": "string",
       "maxLength": 71
      },
      "views": {
       "type": "array",
       "minItems": 1,
       "maxItems": 8
      }
     },
     "required": [
      "dataClass",
      "canonicalUrl",
      "contentDigest",
      "releaseDigest",
      "sourceSetDigest",
      "views"
     ],
     "additionalProperties": false
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "version": {
       "type": "string",
       "enum": [
        "maha-microproducts/0.1"
       ]
      },
      "offerId": {
       "type": "string",
       "enum": [
        "publication-bundle-consistency"
       ]
      },
      "amountBaseUnits": {
       "type": "string",
       "enum": [
        "22000"
       ]
      },
      "inputDigest": {
       "type": "string",
       "maxLength": 71
      },
      "result": {
       "type": "object"
      },
      "boundaries": {
       "type": "array",
       "minItems": 0,
       "maxItems": 128
      },
      "receiptDigest": {
       "type": "string",
       "maxLength": 71
      }
     },
     "required": [
      "version",
      "offerId",
      "amountBaseUnits",
      "inputDigest",
      "result",
      "boundaries",
      "receiptDigest"
     ],
     "additionalProperties": false
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/publication-bundle-consistency-checker-053b8802/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.mahastrategies.com](https://www.zero.xyz/host/www.mahastrategies.com/llms.txt)
