{"uid":"cap_cpnQrerbztrQNzlm32h6j","slug":"publication-bundle-consistency-checker-053b8802","name":"Publication Bundle Consistency Checker","description":"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.","url":"https://www.mahastrategies.com/api/v1/micro/publication-bundle-consistency","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["dataClass","canonicalUrl","contentDigest","releaseDigest","sourceSetDigest","views"],"properties":{"views":{"type":"array","maxItems":8,"minItems":1},"dataClass":{"enum":["public","synthetic"],"type":"string"},"canonicalUrl":{"type":"string","maxLength":512,"minLength":1},"contentDigest":{"type":"string","maxLength":71},"releaseDigest":{"type":"string","maxLength":71},"sourceSetDigest":{"type":"string","maxLength":71}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["version","offerId","amountBaseUnits","inputDigest","result","boundaries","receiptDigest"],"properties":{"result":{"type":"object"},"offerId":{"enum":["publication-bundle-consistency"],"type":"string"},"version":{"enum":["maha-microproducts/0.1"],"type":"string"},"boundaries":{"type":"array","maxItems":128,"minItems":0},"inputDigest":{"type":"string","maxLength":71},"receiptDigest":{"type":"string","maxLength":71},"amountBaseUnits":{"enum":["22000"],"type":"string"}},"additionalProperties":false}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.022","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.022/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.022","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.022","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0gVhUYoNP--4FZc8YQ3de","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.022","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Pre-release multi-view bundle audit","prompt":"We're about to publish a public article and need to confirm all 3 declared views (web, API, registry) agree before going live — canonical URL is https://press.example.com/releases/q4-report, content digest sha256-aaa111, release digest sha256-bbb222, source-set digest sha256-ccc333. Flag any view that's stale or withdrawn."},{"title":"Detecting substituted synthetic content views","prompt":"I have 5 declared views for a synthetic dataset publication and I'm worried one may have been silently swapped. Can you run a consistency check against canonical URL https://data.example.org/synthetic/batch-42, with content digest sha256-xxx999, release digest sha256-yyy888, and source-set digest sha256-zzz777, data class synthetic?"},{"title":"Post-edit consistency verification","prompt":"We just revised an article and pushed updates to 8 views — please check that they all still align with canonical URL https://blog.example.com/posts/deep-dive, content digest sha256-q1w2e3, release digest sha256-r4t5y6, source-set digest sha256-u7i8o9, data class public, and tell me which views are stale or inconsistent."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:41:25.854Z","isFirstParty":false}